Changes

Posted on 28 Feb 2006 by StealthEye
I have done several changes to scripts.dll since the start of the site. At first I have modified the ingame bot to be able to change, hide and in any other way modify the messages sent by anyone. This makes the autocomplete work better (so, when you type "repwf" your message is replaced with "Repair the weapons factory!".

I have also moved a lot of configuration to (ini) data files, so you can easily change settings without recompiling the whole program. Involved commands include !help text, !mods text, !rules text, autocomplete options and an pre join messages ignore list, as bots like TreeAngle would join every 15 minutes, which would result in useless spamming of the about to join messages...

I worked on a !smp (set max players) command, to change the player count on the fly. The only problem it has right now is that it cannot exceed your original max player count set in your fds config, so if you set maxplayers to 10, then do !smp 4 and do !smp 8, 8 players can join, however, if you set maxplayers to 10, !smp 20 will not work properly. (It will state there can be 20 users in game, but if you try to join, you get the "game is full" message).

You can now use !help <command> to get extra information on a specific command.

Also, I fixed some (potential) memory leaks.