i tried to install thebrain plugin and i get a problem -- b3 doesnt connect to my server everything happens ok untill it says testing plugins and then it just says press the [ENTER] key.
im not sure whats wrong with it i put the .xml file in extplugins\conf and the .py file in in the extplugins folder and added the extra line of code in b3.xml
b3 code:
Code:
<!--
This file is generated by the B3 setup Procedure.
If you want to regenerate this file and make sure the format is
correct, you can invoke the setup procedure with the
command : b3_run -s b3.xml
This is B3 main config file (the one you specify when you run B3 with the
command : b3_run -c b3.xml)
For any change made in this config file, you have to restart the bot.
Whenever you can specify a file/directory path, the following shortcuts
can be used :
@b3 : the folder where B3 code is installed in
@conf : the folder containing this config file
-->
<configuration>
<settings name="b3">
<!-- Define your game: cod/cod2/cod4/cod5/cod6/cod7/iourt41/etpro/wop/smg/bfbc2/moh/oa081 -->
<set name="parser">cod6</set>
<!-- Your database info: [mysql]://[db-user]:[db-password]@[db-server[:port]]/[db-name] -->
<set name="database">mysql://b3:modernwarfare@localhost/B3</set>
<!-- Name of the bot -->
<set name="bot_name">TCO</set>
<!-- Ingame messages are prefixed with this code, you can use colorcodes -->
<set name="bot_prefix">^0(^2b3^0)^7:</set>
<set name="time_format">%I:%M%p %Z %m/%d/%y</set>
<!-- The timezone your bot is in -->
<set name="time_zone">CST</set>
<!-- How much detail in the b3 logfile: 9 = verbose, 10 = debug, 21 = bot, 22 = console -->
<set name="log_level">9</set>
<!-- Name of the logfile the bot will generate -->
<set name="logfile">b3.log</set>
</settings>
<settings name="server">
<!-- The RCON pass of your gameserver -->
<set name="rcon_password">modernwarfare</set>
<!-- The port the server is running on -->
<set name="port">28961</set>
<!-- The gameserver generates a logfile, put the path and name here (very important !) -->
<set name="game_log">C:\Program Files (x86)\Activision\Dedicated Server\mods\pwndxp\games_mp.log</set>
<!-- If you want to run b3 on a different computer than where your server reside (remote access to the gamelog), you can connect via ftp or http by using the following syntax:
<set name="game_log">ftp://username:password@serverhost/path/to/games_mp.log</set>
<set name="game_log">http://serverhost/path/to/games_mp.log</set>
Note: you can protect your http access with a .htaccess, b3 can authenticate itself.
-->
<!-- The public IP your gameserver is residing on -->
<set name="public_ip">86.11.23.177</set>
<!-- The IP the bot can use to send RCON commands to (127.0.0.1 when on the same box) -->
<set name="rcon_ip">192.168.2.3</set>
<!-- Is the gameserver running PunkBuster Anticheat: on/off -->
<set name="punkbuster">off</set>
<!-- Delay between each log reading. Set a higher value to consume less disk ressources or bandwidth if you remotely connect (ftp or http remote log access) -->
<set name="delay">0.33</set>
<!-- Number of lines to process per second. Set a lower value to consume less CPU ressources -->
<set name="lines_per_second">50</set>
</settings>
<settings name="autodoc">
<!-- Autodoc will generate a user documentation for all B3 commands
* type : can be one of : html, htmltable, xml
* maxlevel : if you want to exclude commands reserved for higher levels
* destination : can be a file or a ftp url
by default, a html documentation is created in your conf folder
-->
<set name="type">html</set>
<set name="maxlevel">100</set>
<!-- <set name="destination">C:\Users\b3\Desktop\test_doc.htm</set> -->
<set name="destination">C:\Program Files (x86)\Activision\Dedicated Server\Dateien\b3_doc.html</set>
<!-- <set name="destination">ftp://user:pass@somewhere.com/www/test_doc.htm</set> -->
</settings>
<settings name="messages">
<set name="kicked_by">$clientname^7 was kicked by $adminname^7 $reason</set>
<set name="kicked">$clientname^7 was kicked $reason</set>
<set name="banned_by">$clientname^7 was banned by $adminname^7 $reason</set>
<set name="banned">$clientname^7 was banned $reason</set>
<set name="temp_banned_by">$clientname^7 was temp banned by $adminname^7 for $banduration^7 $reason</set>
<set name="temp_banned">$clientname^7 was temp banned for $banduration^7 $reason</set>
<set name="unbanned_by">$clientname^7 was un-banned by $adminname^7 $reason</set>
<set name="unbanned">$clientname^7 was un-banned $reason</set>
</settings>
<settings name="plugins">
<set name="external_dir">C:\Program Files (x86)\Activision\BigBrotherBot_1.5.0\extplugins</set>
</settings>
<plugins>
<!-- Define here the plugins you want to load.
Plugin order is important. Plugins that add new in-game commands all
depend on the admin plugin. Make sure to have the admin plugin before
them.
You can load a plugin but having it diabled by default. This
allows to later enabled it ingame with the !enable command. To do so use
the following syntax :
<plugin name="adv" config="@conf/plugin_adv.xml" disabled="yes"/>
You can override the plugin path (official plugins and extplugins folders)
by specifying the exact location of the plugin file with the 'path' attribute :
<plugin name="adv" config="@conf/plugin_adv.xml" path="c:/somewhere/else/"/>
-->
<plugin name="admin" config="C:\Program Files (x86)\Activision\BigBrotherBot_1.5.0\conf/plugin_admin.xml" />
<plugin name="adv" config="C:\Program Files (x86)\Activision\BigBrotherBot_1.5.0\conf/plugin_adv.xml" />
<plugin name="status" config="C:\Program Files (x86)\Activision\BigBrotherBot_1.5.0\conf/plugin_status.xml" />
<!-- The next plugins are external, 3rd party plugins and should reside in the external_dir. Example: -->
<!-- plugin config="@b3/extplugins/conf/newplugin.xml" name="newplugin" -->
<plugin config="C:\Program Files (x86)\Activision\BigBrotherBot_1.5.0\extplugins\conf/aimbotdetector.xml" name="aimbotdetector" />
<plugin config="C:\Program Files (x86)\Activision\BigBrotherBot_1.5.0\extplugins\conf/autoreg.xml" name="autoreg" />
<plugin config="C:\Program Files (x86)\Activision\BigBrotherBot_1.5.0\extplugins\conf/alteradmin.xml" name="alteradmin" />
<plugin config="C:\Program Files (x86)\Activision\BigBrotherBot_1.5.0\extplugins\conf/plugin_pingkicker.xml" name="pingkicker" />
<plugin config="C:\Program Files (x86)\Activision\BigBrotherBot_1.5.0\extplugins\conf/plugin_spree.xml" name="spree" />
<plugin config="C:\Program Files (x86)\Activision\BigBrotherBot_1.5.0\extplugins\conf/plugin_thebrain.xml" name="thebrain" />
<!-- You can add new/custom plugins to this list using the same form as above. -->
<!--
This is a non-standard plugin, and quite resource heavy. Please take
a look in the B3 forums (look for XLR Extensions) for more
information before enabling this. Extra database tables are
necessary.
<plugin name="xlrstats" config="@b3/extplugins/conf/xlrstats.xml"/>
-->
<!-- You can find many others plugin for B3 which can extend functionalities a lot !
Please take a look at the official website for more informations. -->
</plugins>
</configuration>
b3 log file:
110630 17:30:52 BOT www.bigbrotherbot.net (b3) v1.5.0 [nt] [Daniel] [Win32 standalone]
110630 17:30:52 BOT Python: 2.6.1 (r261:67517, Dec 4 2008, 16:51:00) [MSC v.1500 32 bit (Intel)]
110630 17:30:52 BOT Starting Cod6Parser v0.4 for server 192.168.2.3:28961
110630 17:30:52 BOT --------------------------------------------
110630 17:30:52 BOT Attempting to connect to database mysql://b3:******@localhost/B3...
110630 17:30:52 BOT Connected to database [1 times]
110630 17:30:52 BOT Game log C:\Program Files (x86)\Activision\Dedicated Server\mods\pwndxp\games_mp.log
110630 17:30:52 BOT Starting bot reading file C:\Program Files (x86)\Activision\Dedicated Server\mods\pwndxp\games_mp.log
110630 17:30:52 BOT rcon status Cache Expire Time: [2 sec] Type: [memory]
110630 17:30:52 VERBOSE RCON sending (192.168.2.3:28961) status
110630 17:30:53 WARNING RCON: ERROR reading: No readable socket
110630 17:30:53 VERBOSE RCON: retry sending status (1/5)...
110630 17:30:54 WARNING RCON: ERROR reading: No readable socket
110630 17:30:54 VERBOSE RCON: retry sending status (2/5)...
110630 17:30:55 WARNING RCON: ERROR reading: No readable socket
110630 17:30:55 VERBOSE RCON: retry sending status (3/5)...
110630 17:30:56 BOT Loading Plugins (external plugin directory: C:\Program Files (x86)\Activision\BigBrotherBot_1.5.0\extplugins)
110630 17:30:56 BOT Loading Plugin #1 admin [C:\Program Files (x86)\Activision\BigBrotherBot_1.5.0\conf\plugin_admin.xml]
110630 17:30:56 BOT AdminPlugin: Loading config C:\Program Files (x86)\Activision\BigBrotherBot_1.5.0\conf\plugin_admin.xml for AdminPlugin
110630 17:30:56 DEBUG Register Event: Stop Process: AdminPlugin
110630 17:30:56 DEBUG Register Event: Program Exit: AdminPlugin
110630 17:30:56 BOT Plugin admin (1.9.1 - ThorN, xlr8or, Courgette) loaded
110630 17:30:56 BOT Loading Plugin #2 adv [C:\Program Files (x86)\Activision\BigBrotherBot_1.5.0\conf\plugin_adv.xml]
110630 17:30:56 BOT AdvPlugin: Loading config C:\Program Files (x86)\Activision\BigBrotherBot_1.5.0\conf\plugin_adv.xml for AdvPlugin
110630 17:30:56 INFO AdvPlugin: adv rate is 2
110630 17:30:56 VERBOSE AdvPlugin: self._feedmaxitems: 4
110630 17:30:57 DEBUG AdvPlugin: 2 -> (*/2,0)
110630 17:30:57 VERBOSE Added crontab <bound method AdvPlugin.adv of <b3.plugins.adv.AdvPlugin instance at 0x02AB86C0>> (60664496) - 0s [0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58]m -1h -1d -1M -1DOW
110630 17:30:57 DEBUG Register Event: Stop Process: AdvPlugin
110630 17:30:57 DEBUG Register Event: Program Exit: AdvPlugin
110630 17:30:57 BOT Plugin adv (1.2.2 - ThorN) loaded
110630 17:30:57 BOT Loading Plugin #3 status [C:\Program Files (x86)\Activision\BigBrotherBot_1.5.0\conf\plugin_status.xml]
110630 17:30:57 BOT StatusPlugin: Loading config C:\Program Files (x86)\Activision\BigBrotherBot_1.5.0\conf\plugin_status.xml for StatusPlugin
110630 17:30:57 VERBOSE Added crontab <bound method StatusPlugin.update of <b3.plugins.status.StatusPlugin instance at 0x039D9B70>> (61054192) - [0]s -1m -1h -1d -1M -1DOW
110630 17:30:57 DEBUG Register Event: Stop Process: StatusPlugin
110630 17:30:57 DEBUG Register Event: Program Exit: StatusPlugin
110630 17:30:57 BOT Plugin status (1.4.4 - ThorN) loaded
110630 17:30:57 BOT Loading Plugin #4 aimbotdetector [C:\Program Files (x86)\Activision\BigBrotherBot_1.5.0\extplugins\conf\aimbotdetector.xml]
110630 17:30:57 INFO Could not load built in plugin aimbotdetector (No module named aimbotdetector)
110630 17:30:57 INFO trying external plugin directory : C:\Program Files (x86)\Activision\BigBrotherBot_1.5.0\extplugins
110630 17:30:57 BOT AimbotdetectorPlugin: Loading config C:\Program Files (x86)\Activision\BigBrotherBot_1.5.0\extplugins\conf\aimbotdetector.xml for AimbotdetectorPlugin
110630 17:30:57 DEBUG AimbotdetectorPlugin: Checking hitlocation :: head
110630 17:30:57 DEBUG AimbotdetectorPlugin: Checking hitlocation :: chest
110630 17:30:57 DEBUG AimbotdetectorPlugin: Checking hitlocation :: neck
110630 17:30:57 DEBUG AimbotdetectorPlugin: Checking hitlocation :: abdomen
110630 17:30:57 DEBUG AimbotdetectorPlugin: Players with level 40 and above will not be checked
110630 17:30:57 DEBUG AimbotdetectorPlugin: Aimbot Detector Plugin is set to kick
110630 17:30:57 DEBUG AimbotdetectorPlugin: Starting
110630 17:30:57 DEBUG Register Event: Stop Process: AimbotdetectorPlugin
110630 17:30:57 DEBUG Register Event: Program Exit: AimbotdetectorPlugin
110630 17:30:57 BOT Plugin aimbotdetector (1.1 - Freelander) loaded
110630 17:30:57 BOT Loading Plugin #5 autoreg [C:\Program Files (x86)\Activision\BigBrotherBot_1.5.0\extplugins\conf\autoreg.xml]
110630 17:30:57 INFO Could not load built in plugin autoreg (No module named autoreg)
110630 17:30:57 INFO trying external plugin directory : C:\Program Files (x86)\Activision\BigBrotherBot_1.5.0\extplugins
110630 17:30:57 BOT AutoregPlugin: Loading config C:\Program Files (x86)\Activision\BigBrotherBot_1.5.0\extplugins\conf\autoreg.xml for AutoregPlugin
110630 17:30:57 DEBUG Register Event: Stop Process: AutoregPlugin
110630 17:30:57 DEBUG Register Event: Program Exit: AutoregPlugin
110630 17:30:57 BOT Plugin autoreg (1.1.2 - PtitBigorneau www.ptitbigorneau.fr) loaded
110630 17:30:57 BOT Loading Plugin #6 alteradmin [C:\Program Files (x86)\Activision\BigBrotherBot_1.5.0\extplugins\conf\alteradmin.xml]
110630 17:30:57 INFO Could not load built in plugin alteradmin (No module named alteradmin)
110630 17:30:57 INFO trying external plugin directory : C:\Program Files (x86)\Activision\BigBrotherBot_1.5.0\extplugins
110630 17:30:57 BOT AlteradminPlugin: Loading config C:\Program Files (x86)\Activision\BigBrotherBot_1.5.0\extplugins\conf\alteradmin.xml for AlteradminPlugin
110630 17:30:57 DEBUG Register Event: Stop Process: AlteradminPlugin
110630 17:30:57 DEBUG Register Event: Program Exit: AlteradminPlugin
110630 17:30:57 BOT Plugin alteradmin (1.0.0 - Civice) loaded
110630 17:30:57 BOT Loading Plugin #7 pingkicker [C:\Program Files (x86)\Activision\BigBrotherBot_1.5.0\extplugins\conf\plugin_pingkicker.xml]
110630 17:30:57 INFO Could not load built in plugin pingkicker (No module named pingkicker)
110630 17:30:57 INFO trying external plugin directory : C:\Program Files (x86)\Activision\BigBrotherBot_1.5.0\extplugins
110630 17:30:57 BOT PingkickerPlugin: Loading config C:\Program Files (x86)\Activision\BigBrotherBot_1.5.0\extplugins\conf\plugin_pingkicker.xml for PingkickerPlugin
110630 17:30:57 VERBOSE Added crontab <bound method PingkickerPlugin.check of <pingkicker.PingkickerPlugin instance at 0x03A4ADC8>> (61127216) - [0, 25, 50]s -1m -1h -1d -1M -1DOW
110630 17:30:57 DEBUG Register Event: Stop Process: PingkickerPlugin
110630 17:30:57 DEBUG Register Event: Program Exit: PingkickerPlugin
110630 17:30:57 BOT Plugin pingkicker (1.0.1 - Walker) loaded
110630 17:30:57 BOT Loading Plugin #8 spree [C:\Program Files (x86)\Activision\BigBrotherBot_1.5.0\extplugins\conf\plugin_spree.xml]
110630 17:30:57 INFO Could not load built in plugin spree (No module named spree)
110630 17:30:57 INFO trying external plugin directory : C:\Program Files (x86)\Activision\BigBrotherBot_1.5.0\extplugins
110630 17:30:57 BOT SpreePlugin: Loading config C:\Program Files (x86)\Activision\BigBrotherBot_1.5.0\extplugins\conf\plugin_spree.xml for SpreePlugin
110630 17:30:57 VERBOSE SpreePlugin: spree-messages are loaded in memory
110630 17:30:57 DEBUG Register Event: Stop Process: SpreePlugin
110630 17:30:57 DEBUG Register Event: Program Exit: SpreePlugin
110630 17:30:57 BOT Plugin spree (Unknown Version - Unknown Author) loaded
110630 17:30:57 BOT Loading Plugin #9 thebrain [C:\Program Files (x86)\Activision\BigBrotherBot_1.5.0\extplugins\conf\plugin_thebrain.xml]
110630 17:30:57 INFO Could not load built in plugin thebrain (No module named thebrain)
110630 17:30:57 INFO trying external plugin directory : C:\Program Files (x86)\Activision\BigBrotherBot_1.5.0\extplugins
110630 17:30:57 CRITICAL Error loading plugin: Non-ASCII character '\xa7' in file C:\Program Files (x86)\Activision\BigBrotherBot_1.5.0\extplugins\thebrain.py on line 322, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details (thebrain.py, line 322)
Traceback (most recent call last):
File "b3\parser.pyo", line 554, in loadPlugins
File "b3\parser.pyo", line 667, in pluginImport
File "C:\Program Files (x86)\Activision\BigBrotherBot_1.5.0\extplugins\thebrain.py", line 322
SyntaxError: Non-ASCII character '\xa7' in file C:\Program Files (x86)\Activision\BigBrotherBot_1.5.0\extplugins\thebrain.py on line 322, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details (thebrain.py, line 322)
110630 17:31:00 VERBOSE RCON sending (192.168.2.3:28961) status
110630 17:31:00 VERBOSE StatusPlugin: Building XML status
110630 17:31:00 ERROR Error executing crontab <bound method StatusPlugin.update of <b3.plugins.status.StatusPlugin instance at 0x039D9B70>>: 'NoneType' object has no attribute 'gameName'
[('b3\\cron.pyo', 276, 'run', None), ('b3\\cron.pyo', 210, 'run', None), ('b3\\cron.pyo', 66, 'run', None), ('b3\\plugins\\status.pyo', 135, 'update', None)]
110630 17:31:25 VERBOSE RCON sending (192.168.2.3:28961) status