Fixes for Blazer's xwisp10b XWIS wrapper [message #245281] |
Wed, 14 February 2007 16:17 |
Polleke
Messages: 20 Registered: August 2004
Karma: 0
|
Recruit |
|
|
Hey everyone,
Over the last few days I've been working on improving the xwisp.pl script. I didn't feel like keeping those modifications to myself. Blazer hasn't responded to my PM so I'm doing it this way. Most people running xwisp.pl will already use some of these changes to even get the orginal script running.
The fixes included:
- Password support has been added (requires full xwisp.pl+fds restart)
- MacRem input no longer disconnect after each command (fixes Brenbot 1.5 support)
- Fix server setting flags (they were mixed up)
- $FDS_Dir no longer points to $FDS_Dir/Server but $FDS_Dir/
- The server port is pulled from the correct config file
- MaxPlayers is pulled from the correct config file
- MaxPlayers is multiplied by two to get a correct listing
Just replacing the original xwisp.pl should work fine. Please note the change to $FDS_Dir. It no longer points to a /Server directory but directly to the place the renegade binary sits.
Remaining issues are: changing the password requires a full xwisp+fds restart. The console screws up after closing xwisp.pl. Players online is not correctly reported in the server listing (might be a general XWISP issue).
Things I would like to do: unify logging, make different log channels and support file logging.
I've also added a source code patch so you can review my exact changes. This is my first go at Perl, I'm not entirely sure all changes are "the way to do things (tm)"
Enjoy: http://kakofonix.vanschayck.nl/xwisp/
Thanks,
Polleke
[Updated on: Wed, 14 February 2007 16:21] Report message to a moderator
|
|
|
Re: Fixes for Blazer's xwisp10b XWIS wrapper [message #245305 is a reply to message #245281] |
Wed, 14 February 2007 22:52 |
|
Same Problem i cant join on XWIS but on GSA it works:
[:Buggy147!u@h JOINGAME 2 49 12 1 0 1303752710 0 :#a00DT6]
Player Buggy147 joined server channel
[DEBUG] Updatating dynamic data structures.
[DEBUG] Updating XWIS server channel topic.
[: 328 u Buggy147`1252]
[:Buggy147!u@h GAMEOPT a00DT6 :RGINFO]
[NOTICE] Got RGINFO from Buggy147
GAMEOPT Buggy147 :GINFO:BDE1B9A9 1800.0000
GAMEOPT Buggy147 :TINFO:0 0
GAMEOPT Buggy147 :TINFO:1 0
[:Buggy147!u@h GAMEOPT a00DT6 :NAT:hBuggy147]
[NOTICE] GAMEOPT Buggy147 :NAT:bc6dd0e55,1322,c6dd0e55,00000001,0000
[NOTICE] Buggy147 is joining the game from XWIS/WOL
[:Buggy147!u@h GAMEOPT a00DT6 :NAT:c15b2a8c0,071a,06b0b54d,00000001]
[DEBUG]: Client NAT name:Buggy147 IP:06b0b54d PORT:071a
[NOTICE] GAMEOPT Buggy147 :NAT:f00
[DEBUG]: Buggy147 is a non-NAT player
GAMEOPT Buggy147 :NAT:el,071a,a00DT6
[:Buggy147!u@h GAMEOPT a00DT6 :NAT:ec,0000,Buggy147]
player_info
No players
0game_info
GameSpy mode active since Thu Feb 15 06:50:12 2007
Gameplay Pending
Map : C&C_Mesa.mix
Time : 0.30.00
Fps : 57
GDI : 0/24 players 0 points
NOD : 0/24 players 0 points
00000000[:Buggy147!u@h GAMEOPT a00DT6 :NAT:ed,0000,Buggy147]
[:Buggy147!u@h GAMEOPT a00DT6 :NAT:ee,0000,Buggy147]
[:Buggy147!u@h GAMEOPT a00DT6 :NAT:ef,0000,Buggy147]
[:Buggy147!u@h GAMEOPT a00DT6 :NAT:eg,0000,Buggy147]
[:Buggy147!u@h PART #a00DT6]
[DEBUG]: Removed vistor Buggy147 from watchlist
[DEBUG] Updatating dynamic data structures.
[DEBUG] Updating XWIS server channel topic.
[:Buggy147!u@h GAMEOPT a00DT6 :NAT:g]
|
|
|
Re: Fixes for Blazer's xwisp10b XWIS wrapper [message #245310 is a reply to message #245281] |
Thu, 15 February 2007 00:03 |
Polleke
Messages: 20 Registered: August 2004
Karma: 0
|
Recruit |
|
|
Buggy, for the tird time, did you try the suggestions I gave you?
This weird thing I see in your log is that it is not intercepting any calls. Are you by any chance running the FDS through the macrem wrapper? You shouldn't.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Fixes for Blazer's xwisp10b XWIS wrapper [message #395198 is a reply to message #245281] |
Thu, 16 July 2009 10:29 |
Polleke
Messages: 20 Registered: August 2004
Karma: 0
|
Recruit |
|
|
Attached is the current xwisp-pol3.pl I'm using. It binds the RemoteAdminIP to 127.0.0.1, so it can't be exploited from the outside when not using a firewall.
It also stops a lot of the debug information. And hopefully finally fixes the players online.
I'm using this together with SSGM and BrenBot 1.52 (yes, 1.52 with some tricks you can run this on Linux) on Debian 5.0. Tested up to 10 players, still works pretty decent.
|
|
|