Description: Here's Race to Seven version 0.11.1 . Call it what you will - a final release - or just a beta. Anyhow, it works. And it's got a new config system. It's also got a tonload of stuff that you have to read to get it to work.
-------------------------CHANGELOG-------------------------
0.11.1:
FEATURE: When you /match config set _variable, it will show you what you set it to.
FEATURE: Added configuration file support
FEATURE: New versioning system (Major.APIversion.minor)
The configuration file works like this:
When loading the plugin, in the first and only argument, enter the name and
path of the config file. Example:
-loadplugin racetoseven,/path/to/config.txt
If no config file is set, the plugin will use it's default values, which may
be accessed and set via /match config set. Here is a sample config file:
-allowPlayersDuringMatch <true|false>
-capNum <interger>
-reportURL <string>
-------------------------
-allowPlayersDuringMatch false
-capNum 7
#Note there are NO quotation marks around http://www.garrettsites.net. Let's keep it that way, OK?
-reportURL http://www.garrettsites.net/
style: fb
capture the flag
super flags allowed
jumping allowed
all shots ricochet
shakable bad flags: timeout=4.000000, wins=1
antidote flags
-capNum SET
Race to 7 plugin loaded
Plugin:/home/death/bzflag/plugins/racetoseven/racetoseven.so loaded
Plugin:/home/death/bzflag/plugins/killall/killall.so loaded
Plugin:/home/death/bzflag/plugins/playHistoryTracker/playHistoryTracker.so loaded
Plugin:/home/death/bzflag/plugins/chathistory/chathistory.so loaded
RacetoSeven ERROR: Could not open config file. Using default values.
Race to 7 plugin loaded
Plugin:/home/death/bzflag/plugins/fixedspawn/fixedspawn.so loaded
Plugin:/home/death/bzflag/plugins/airspawn/airspawn.so loaded
Plugin:/home/death/bzflag/plugins/shockwaveDeath/shockwavedeath.so loaded
Plugin:/home/death/bzflag/plugins/vocaliser/vocaliser.so loaded
RacetoSeven ERROR: Could not open config file. Using default values.
Race to 7 plugin loaded
Plugin:/home/death/bzflag/plugins/Janitor/Janitor.so loaded
Plugin:/home/death/bzflag/plugins/bzfscron/bzfscron.so loaded
RacetoSeven ERROR: Could not open config file. Using default values.
Race to 7 plugin loaded
Plugin:/home/death/bzflag/plugins/chatchannel/ChatChannel.so loaded
There is a voting arbiter with the following settings:
vote time is 60 seconds
veto time is 2 seconds
It caused a crash. I had some bots on, just started a match... was abut to cap the first flag, when it kicked someone for trying to join (first person to try to join since match was started) and it died.
In your earlier post, why did the plugin load 4 times? The first time it loaded, it said this:
-capNum SET
that means it parsed the config file sucessfully. You then loaded it 3 more times, and thats when you got errors. Try loading it only once and see if it works.
RPG - the plugin is only loaded once in my conf file. At the very bottom of it, neatly organized. Why it's saying it three times is beyond me. But a questionf or you, RPG - can you make any use of the valgrind dumps... do you wanna see regular backtraces I was posting before... or what??