Hi there!
I have a CODwaw server that's been running for soon to be 4 weeks now with b3, and i have to say i love b3.
Now then, i've got alot of people coming and going on my server, and i've added alot of rules in different languages with the apropriate commands.
French rules, german rules, polish rules etc etc. The bad thing is that these languages often use special characters and b3 doesn't like that. Special characters like Â, ò, é and so on.
One sample line from our german rules = Kein laufen, außer man steht unter Beschuss
oder flieht vor Granaten!
And by inserting that into the plugin_admin.xml file gives me the following error.
100723 12:55:27 BOT Connected to database [1 times]
100723 12:55:27 BOT Game log C:\Program Files (x86)\Activision\Call of Duty - World at War\main\games_mp.log
100723 12:55:27 BOT Starting bot reading file C:\Program Files (x86)\Activision\Call of Duty - World at War\main\games_mp.log
100723 12:55:27 BOT Loading Plugins (external plugin directory: C:\Program Files (x86)\b3\b3\extplugins)
100723 12:55:27 BOT Loading Plugin #1 admin [@conf\plugin_admin.xml]
100723 12:55:27 BOT AdminPlugin: Loading config @conf\plugin_admin.xml for AdminPlugin
100723 12:55:27 CRITICAL AdminPlugin: The config file XML syntax is broken: 'not well-formed (invalid token): line 172, column 46'
Traceback (most recent call last):
File "C:\Program Files (x86)\b3\b3\plugin.py", line 53, in __init__
self.loadConfig(config)
File "C:\Program Files (x86)\b3\b3\plugin.py", line 97, in loadConfig
self.config = b3.config.load(fileName)
File "C:\Program Files (x86)\b3\b3\config.py", line 271, in load
if config.load(fileName):
File "C:\Program Files (x86)\b3\b3\config.py", line 180, in load
self.readfp(f)
File "C:\Program Files (x86)\b3\b3\config.py", line 75, in readfp
raise ConfigFileNotValid("%s" % e)
ConfigFileNotValid: 'not well-formed (invalid token): line 172, column 46'
100723 12:55:27 INFO STDOUT 220
100723 12:55:27 INFO STDOUT
Line 172 looks like this
<set name="ruleger2">^1#2: ^2Kein laufen, außer man steht unter Beschuss oder flieht vor Granaten!</set>
On another note, i also get this at the start of the log when starting up my b3 bot.
100723 12:55:26 ERROR STDERR C:\Program Files (x86)\Python 2.6.5\lib\site-packages\MySQLdb\__init__.py:34: DeprecationWarning: the sets module is deprecated
from sets import ImmutableSet
I get this error no even if the rest of the bot works or not. So for now i haven't really bothered trying to fix it, as it works, and i don't want to fix something that isn't broken

We've also got russian rules, but with a-z letters as the game doesn't seem to want to support the special characters of the russian alphabet. And if i should try to copy paste a russian line into the game, it just gives me question marks along the whole line.
Anyway, primarily wondering how one could support special characters like that in the xml files so that commands like "rulesger" works without the b3 bot crashing upon startup.