Fixes for Blazer's xwisp10b XWIS wrapper [message #245281] |
Wed, 14 February 2007 16:17 ![Go to next message Go to previous message](/theme/Renegade_Forums/images/down.png) |
Polleke
Messages: 20 Registered: August 2004
Karma:
|
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
|
|
|