In our support boards we aim to provide support for the B3 core in its current state. Older releases of B3 are NOT supported. Check our front page for the latest version. You may post feature requests in our General Discussion board. Modifications and Hacks of the core B3 code are NOT supported.
Before you ask for support: [ Read the Support Instructions ] - More info: [ Full Support Disclaimer ]

You are here: Big Brother Bot ForumSupport ForumsInstallation Support (Moderator: MordyT)MySQL or MYSQL-Python??
Pages: [1]   Go Down
  Print  
Author Topic: MySQL or MYSQL-Python??  (Read 1178 times) Bookmark and Share
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoD4, MW2 (alterIW), Black Ops
Posts: 37
Offline Offline
WWW
« on: February 01, 2011, 09:11:59 AM »

I was reading a  lot of step-by-step installs of B3 for Black Ops.

http://www.bigbrotherbot.net/forums/installers/step-by-step-guide-for-installing-b3-bot-and-creating-database/

I have multiple instances of B3 running already (MW2 & CoD4).  It's very easy for me to create another instance
using my current database (MYSQL). 

Why must I install another DB to get the Black Ops version to work? 

I cannot get the Python version to work with my current DB.  Why isn't there a Windows version yet?  I've
tried to do the py2exe but that doesn't work. 

Can any of smart people just create an EXE version that works with BO and put it on your GITHUB site??  Please??

Thanks,
Kelso
Logged

If you can't play with the big dogs, stay on the porch.

Dev. Team
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD2, CoD4, CoDWaW, BFBC2, CoDBO
Posts: 134
Offline Offline
« Reply #1 on: February 01, 2011, 09:54:25 AM »

You can get mysql-python for windows here: http://www.lfd.uci.edu/~gohlke/pythonlibs/
Works perfectly.
Logged

Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoD4, MW2 (alterIW), Black Ops
Posts: 37
Offline Offline
WWW
« Reply #2 on: February 01, 2011, 01:33:02 PM »

I already have MYSQL working perfectly...
Logged

If you can't play with the big dogs, stay on the porch.
Dev. Team
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD2, CoD4, CoDWaW, BFBC2, CoDBO
Posts: 134
Offline Offline
« Reply #3 on: February 01, 2011, 02:51:25 PM »

mysql-python is a python library that allows programs written in python to use mysql.
Logged

Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoD4, MW2 (alterIW), Black Ops
Posts: 37
Offline Offline
WWW
« Reply #4 on: February 01, 2011, 03:16:13 PM »

Ahhh... It's a library.  So, it's not ANOTHER database, it's a way for Python to communicate to my already existing mysql database? Yeah?
Logged

If you can't play with the big dogs, stay on the porch.
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoD4, MW2 (alterIW), Black Ops
Posts: 37
Offline Offline
WWW
« Reply #5 on: February 01, 2011, 03:39:43 PM »

So, I got further than I ever have...

Here's my B3 LOG file..
110201 16:32:54   BOT       www.bigbrotherbot.net (b3) v1.4.1 [nt] (Daniel)
110201 16:32:54   BOT       Python: 2.7.1 (r271:86832, Nov 27 2010, 18:30:46) [MSC v.1500 32 bit (Intel)]
110201 16:32:54   BOT       Starting Cod7Parser v1.1.2 for server serverIP:3074
110201 16:32:54   BOT       --------------------------------------------
110201 16:32:54   BOT       Attempting to connect to database mysql://b3:******@localhost/b329th...
110201 16:32:54   BOT       Connected to database [1 times]
110201 16:32:54   BOT       Game log game.log
110201 16:32:54   BOT       Starting bot reading file game.log
110201 16:32:54   ERROR   Error reading file game.log
110201 16:32:54   ERROR   STDERR Error reading file game.log

110201 16:32:54   ERROR   STDERR

Now what???

Here is my B3.xml file:
Code:
<?xml version='1.0'?>
<!--
 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/iourt41/etpro/wop/smg/bfbc2/moh -->
<set name="parser">cod7</set>
<!-- Your database info: [mysql]://[db-user]:[db-password]@[db-server[:port]]/[db-name] -->
<set name="database">mysql://b3:password@localhost:3306/b329th</set>
<!-- Name of the bot -->
<set name="bot_name">b3</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">MST</set>
<!-- How much detail in the 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">
<set name="port">3074</set>
      <!--#For COD7 parser you may need to create an empty file with this name-->
<set name="game_log">game.log</set>
      <set name="bo_logurl">http://logs.gameservers.com/66.55.###.###:3074/aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee</set>
      <set name="public_ip">66.55.###.###</set>
      <set name="rcon_ip">serverIP</set>
      <set name="rcon_port">3074</set>
      <set name="rcon_password">MyRconPassword</set>
      <set name="timeout">3</set>
      <set name="punkbuster">off</set>
</settings>
<settings name="autodoc">
<!-- Autodoc will generate a user documentation for all B3 commands -->
<!-- by default, a html documentation is created in your conf folder -->

<!-- html, htmltable or xml -->
<set name="type">html</set>
<!-- if you want to exclude commands reserved for higher levels -->
<set name="maxlevel">100</set>
<!-- Destination can be a file or a ftp url -->
<set name="destination">test_doc.html</set>
</settings>
<settings name="messages">
<set name="kicked_by">%s^7 was kicked by %s^7 %s</set>
<set name="kicked">%s^7 was kicked %s</set>
<set name="banned_by">%s^7 was banned by %s^7 %s</set>
<set name="banned">%s^7 was banned %s</set>
<set name="temp_banned_by">%s^7 was temp banned by %s^7 for %s^7 %s</set>
<set name="temp_banned">%s^7 was temp banned for %s^7 %s</set>
<set name="unbanned_by">%s^7 was un-banned by %s^7 %s</set>
<set name="unbanned">%s^7 was un-banned %s</set>
</settings>
<settings name="plugins">
<set name="external_dir">@b3/extplugins</set>
</settings>
<plugins><!-- 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. -->

<plugin config="@conf/plugin_admin.xml" name="admin" priority="3" />
<plugin config="@conf/plugin_censor.xml" name="censor" />
<plugin config="@conf/plugin_spamcontrol.xml" name="spamcontrol" />
<plugin config="@conf/plugin_tk.xml" name="tk" />
<plugin config="@conf/plugin_stats.xml" name="stats" />
<plugin config="@conf/plugin_pingwatch.xml" name="pingwatch" />
<plugin config="@conf/plugin_adv.xml" name="adv" />
<plugin config="@conf/plugin_status.xml" name="status" />
<plugin config="@conf/plugin_welcome.xml" name="welcome" />
<!-- The punkbuster plugin was not installed since punkbuster is not supported or disabled. -->
<!-- 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="@b3/extplugins/conf/xlrstats.xml" name="xlrstats" />
<!-- plugin config="@b3/extplugins/conf/geowelcome.xml" name="geowelcome" /-->
<plugin name="chatlogger" priority="18" config="@b3/extplugins/conf/plugin_chatlogger.xml"/>
<!-- You can add new/custom plugins to this list using the same form as above. -->
</plugins>
</configuration>
Logged

If you can't play with the big dogs, stay on the porch.
Dev. Team
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: COD2,COD4,COD5
Posts: 1098
Offline Offline
« Reply #6 on: February 01, 2011, 05:31:05 PM »

Try giving a full pathname to the game_log, at the moment you just have game.log.

Also if you haven't got the latest version create an empty file for the game.log. The full pathname will help you put it in the right place as well!
Logged
Dev. Team
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD2, CoD4, CoDWaW, BFBC2, CoDBO
Posts: 134
Offline Offline
« Reply #7 on: February 01, 2011, 06:17:42 PM »

You might want to switch to official cod7 version: https://github.com/xlr8or/big-brother-bot/tree/CoD7

It is in the same testing stage as the old 3 versions, but it's pretty stable to use on the production game server and will be updated if some bugs occur or when we add new features to it. Feedback and bug reporting is appreciated Smiley
Logged

Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoD4, MW2 (alterIW), Black Ops
Posts: 37
Offline Offline
WWW
« Reply #8 on: February 02, 2011, 08:58:10 AM »

Thanks for your help everyone.

I got B3 working with Python... what a nightmare for a python newb.

I can send advertised messages (spams) to the Black Ops server from B3 automatically... Nice.

B3 does not respond to the "!amgod" or "!register" or "!rules" or any commands.  To me, it almost acts
as if it's not reading the log file so it doesn't know what to do.

Here are my b3.xml & b3.log files...

Code:
<?xml version='1.0'?>
<!--
 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 -->
<set name="parser">cod7</set>
<!-- Your database info: mysql://dbusername:dbpass@host/dbname -->
<set name="database">mysql://b3:**********@localhost/b329th</set>
<!-- Name of the bot -->
<set name="bot_name">b3</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">GMT</set>
<!-- How much detail in the 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">Password</set>
<!-- The port the server is running on -->
<set name="port">3194</set>
<!-- The gameserver generates a logfile, put the path and name here -->
<set name="game_log">http://logs.gameservers.com/#.#.###.##:3194/aaaaaa-bbbb-cccc-3333-dddddddddddd</set>
<set name="bo_logurl">C:\Program Files\BigBrotherBot_1.4.2 - 29th\Freelander-big-brother-bot-0daf662\game.log</set>
<!-- The public IP your gameserver is residing on -->
<set name="public_ip">#.#.###.##</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">#.#.###.##</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">3</set>
<!-- Number of lines to process per second. Set a lower value to consume less CPU ressources -->
<set name="lines_per_second">200</set>
</settings>
<settings name="autodoc">
<!-- Autodoc will generate a user documentation for all B3 commands -->
<!-- by default, a html documentation is created in your conf folder -->

<!-- html, htmltable or xml -->
<set name="type">html</set>
<!-- if you want to exclude commands reserved for higher levels -->
<set name="maxlevel">100</set>
<!-- Destination can be a file or a ftp url -->
<set name="destination">test_doc.html</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">@b3/extplugins</set>
</settings>
<plugins><!-- 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. -->

<plugin config="@conf/plugin_admin.xml" name="admin" />
<plugin config="@conf/plugin_censor.xml" name="censor" />
<plugin config="@conf/plugin_spamcontrol.xml" name="spamcontrol" />
<plugin config="@conf/plugin_tk.xml" name="tk" />
<plugin config="@conf/plugin_stats.xml" name="stats" />
<plugin config="@conf/plugin_pingwatch.xml" name="pingwatch" />
<plugin config="@conf/plugin_adv.xml" name="adv" />
<plugin config="@conf/plugin_status.xml" name="status" />
<plugin config="@conf/plugin_welcome.xml" name="welcome" />
<plugin config="@b3/extplugins/conf/xlrstats.xml" name="xlrstats" />

<!-- The punkbuster plugin was not installed since punkbuster is not supported or disabled. -->
<!-- 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 name="chatlogger" priority="18" config="@b3/extplugins/conf/plugin_chatlogger.xml"/>
<!-- You can add new/custom plugins to this list using the same form as above. -->
</plugins>
</configuration>

I don't get any errors loading the b3.xml

Here is the b3.log file.

Code:
110202 09:16:07 BOT     www.bigbrotherbot.net (b3) v1.4.2b [nt] (Daniel)
110202 09:16:07 BOT     Python: 2.7.1 (r271:86832, Nov 27 2010, 18:30:46) [MSC v.1500 32 bit (Intel)]
110202 09:16:07 BOT     Starting Cod7Parser v1.1.2 for server 8.2.###.##:3194
110202 09:16:07 BOT     --------------------------------------------
110202 09:16:07 BOT     Attempting to connect to database mysql://b3:******@localhost/b329th...
110202 09:16:07 BOT     Connected to database [1 times]
110202 09:16:07 BOT     Working in Remote-Log-Mode : http://logs.gameservers.com/8.2.###.##:3194/7fbb416f-e763-413d-9049-920ad52163e1
110202 09:16:07 BOT     Starting bot reading file games_mp.log
110202 09:16:07 VERBOSE RCON sending (8.2.###.##:3194) status
110202 09:16:08 BOT     Loading Plugins (external plugin directory: C:\Program Files\BigBrotherBot_1.4.2 - 29th\Freelander-big-brother-bot-0daf662\b3\extplugins)
110202 09:16:08 BOT     Loading Plugin #1 admin [@conf\plugin_admin.xml]
110202 09:16:08 BOT     AdminPlugin: Loading config @conf\plugin_admin.xml for AdminPlugin
110202 09:16:08 DEBUG Register Event: Stop Process: AdminPlugin
110202 09:16:08 DEBUG Register Event: Program Exit: AdminPlugin
110202 09:16:08 BOT     Plugin admin (1.9.1 - ThorN, xlr8or, Courgette) loaded
110202 09:16:08 BOT     Loading Plugin #2 censor [@conf\plugin_censor.xml]
110202 09:16:08 BOT     CensorPlugin: Loading config @conf\plugin_censor.xml for CensorPlugin
110202 09:16:08 DEBUG Register Event: Stop Process: CensorPlugin
110202 09:16:08 DEBUG Register Event: Program Exit: CensorPlugin
110202 09:16:08 BOT     Plugin censor (2.2.1 - ThorN) loaded
110202 09:16:08 BOT     Loading Plugin #3 spamcontrol [@conf\plugin_spamcontrol.xml]
110202 09:16:08 BOT     SpamcontrolPlugin: Loading config @conf\plugin_spamcontrol.xml for SpamcontrolPlugin
110202 09:16:08 DEBUG Register Event: Stop Process: SpamcontrolPlugin
110202 09:16:08 DEBUG Register Event: Program Exit: SpamcontrolPlugin
110202 09:16:08 BOT     Plugin spamcontrol (1.1.2 - ThorN) loaded
110202 09:16:08 BOT     Loading Plugin #4 tk [@conf\plugin_tk.xml]
110202 09:16:08 BOT     TkPlugin: Loading config @conf\plugin_tk.xml for TkPlugin
110202 09:16:08 DEBUG TkPlugin: tk max level is 40
110202 09:16:08 DEBUG TkPlugin: Send messages privately ? True
110202 09:16:08 DEBUG Register Event: Stop Process: TkPlugin
110202 09:16:08 DEBUG Register Event: Program Exit: TkPlugin
110202 09:16:08 BOT     Plugin tk (1.2.4 - ThorN) loaded
110202 09:16:08 BOT     Loading Plugin #5 stats [@conf\plugin_stats.xml]
110202 09:16:08 BOT     StatsPlugin: Loading config @conf\plugin_stats.xml for StatsPlugin
110202 09:16:08 DEBUG StatsPlugin: Using default value (0) for commands::mapstats
110202 09:16:08 DEBUG StatsPlugin: Using default value (0) for commands::testscore
110202 09:16:08 DEBUG StatsPlugin: Using default value (2) for commands::topstats
110202 09:16:08 DEBUG Register Event: Stop Process: StatsPlugin
110202 09:16:08 DEBUG Register Event: Program Exit: StatsPlugin
110202 09:16:08 BOT     Plugin stats (1.3.5 - ThorN, GrosBedo) loaded
110202 09:16:08 BOT     Loading Plugin #6 pingwatch [@conf\plugin_pingwatch.xml]
110202 09:16:08 BOT     PingwatchPlugin: Loading config @conf\plugin_pingwatch.xml for PingwatchPlugin
110202 09:16:08 VERBOSE Added crontab <bound method PingwatchPlugin.check of <b3.plugins.pingwatch.PingwatchPlugin instance at 0x03250670>> (52750416) - [0, 30]s -1m -1h -1d -1M -1DOW
110202 09:16:08 DEBUG AdminPlugin: Command "ci (None)" registered with cmd_ci for level (20, 100)
110202 09:16:08 DEBUG Register Event: Stop Process: PingwatchPlugin
110202 09:16:08 DEBUG Register Event: Program Exit: PingwatchPlugin
110202 09:16:08 BOT     Plugin pingwatch (1.2.2 - ThorN) loaded
110202 09:16:08 BOT     Loading Plugin #7 adv [@conf\plugin_adv.xml]
110202 09:16:08 BOT     AdvPlugin: Loading config @conf\plugin_adv.xml for AdvPlugin
110202 09:16:08 INFO AdvPlugin: adv rate is 45s
110202 09:16:08 VERBOSE AdvPlugin: self._feedmaxitems: 4
110202 09:16:12 DEBUG AdvPlugin: 45s -> (*,*/45)
110202 09:16:12 VERBOSE Added crontab <bound method AdvPlugin.adv of <b3.plugins.adv.AdvPlugin instance at 0x03250AA8>> (52888112) - [0, 45]s -1m -1h -1d -1M -1DOW
110202 09:16:12 DEBUG Register Event: Stop Process: AdvPlugin
110202 09:16:12 DEBUG Register Event: Program Exit: AdvPlugin
110202 09:16:12 BOT     Plugin adv (1.2.2 - ThorN) loaded
110202 09:16:12 BOT     Loading Plugin #8 status [@conf\plugin_status.xml]
110202 09:16:12 BOT     StatusPlugin: Loading config @conf\plugin_status.xml for StatusPlugin
110202 09:16:12 VERBOSE Added crontab <bound method StatusPlugin.update of <b3.plugins.status.StatusPlugin instance at 0x0405C530>> (67571600) - [0]s -1m -1h -1d -1M -1DOW
110202 09:16:12 DEBUG Register Event: Stop Process: StatusPlugin
110202 09:16:12 DEBUG Register Event: Program Exit: StatusPlugin
110202 09:16:12 BOT     Plugin status (1.4.4 - ThorN) loaded
110202 09:16:12 BOT     Loading Plugin #9 welcome [@conf\plugin_welcome.xml]
110202 09:16:12 BOT     WelcomePlugin: Loading config @conf\plugin_welcome.xml for WelcomePlugin
110202 09:16:12 DEBUG AdminPlugin: Command "greeting (None)" registered with cmd_greeting for level (20, 100)
110202 09:16:12 INFO WelcomePlugin: delay set to 30. The bot will wait 30s after a player connects to write the welcome message
110202 09:16:12 INFO WelcomePlugin: min_gap set to 3600. The bot will not welcome a player more than once every 3600 seconds
110202 09:16:12 DEBUG Register Event: Stop Process: WelcomePlugin
110202 09:16:12 DEBUG Register Event: Program Exit: WelcomePlugin
110202 09:16:12 BOT     Plugin welcome (1.1 - ThorN) loaded
110202 09:16:12 BOT     Loading Plugin #10 xlrstats [C:\Program Files\BigBrotherBot_1.4.2 - 29th\Freelander-big-brother-bot-0daf662\b3\extplugins\conf\xlrstats.xml]
110202 09:16:12 INFO Could not load built in plugin xlrstats (No module named xlrstats)
110202 09:16:12 INFO trying external plugin directory : C:\Program Files\BigBrotherBot_1.4.2 - 29th\Freelander-big-brother-bot-0daf662\b3\extplugins
110202 09:16:12 BOT     XlrstatsPlugin: Loading config C:\Program Files\BigBrotherBot_1.4.2 - 29th\Freelander-big-brother-bot-0daf662\b3\extplugins\conf\xlrstats.xml for XlrstatsPlugin
110202 09:16:12 DEBUG XlrstatsPlugin: Using default value (2) for settings::assist_timespan
110202 09:16:12 DEBUG XlrstatsPlugin: Using default value (10) for settings::damage_assist_release
110202 09:16:12 DEBUG XlrstatsPlugin: Using default value (0) for settings::announce
110202 09:16:12 DEBUG XlrstatsPlugin: Using default value (xlr_playerstats) for tables::playerstats
110202 09:16:12 DEBUG XlrstatsPlugin: Using default value (xlr_weaponstats) for tables::weaponstats
110202 09:16:12 DEBUG XlrstatsPlugin: Using default value (xlr_weaponusage) for tables::weaponusage
110202 09:16:12 DEBUG XlrstatsPlugin: Using default value (xlr_bodyparts) for tables::bodyparts
110202 09:16:12 DEBUG XlrstatsPlugin: Using default value (xlr_playerbody) for tables::playerbody
110202 09:16:12 DEBUG XlrstatsPlugin: Using default value (xlr_opponents) for tables::opponents
110202 09:16:12 DEBUG XlrstatsPlugin: Using default value (xlr_mapstats) for tables::mapstats
110202 09:16:12 DEBUG XlrstatsPlugin: Using default value (xlr_playermaps) for tables::playermaps
110202 09:16:12 DEBUG XlrstatsPlugin: Using default value (xlr_actionstats) for tables::actionstats
110202 09:16:12 DEBUG XlrstatsPlugin: Using default value (xlr_playeractions) for tables::playeractions
110202 09:16:12 DEBUG XlrstatsPlugin: Using default value (xlr_history_monthly) for tables::history_monthly
110202 09:16:12 DEBUG XlrstatsPlugin: Using default value (xlr_history_weekly) for tables::history_weekly
110202 09:16:12 DEBUG Register Event: Stop Process: XlrstatsPlugin
110202 09:16:12 DEBUG Register Event: Program Exit: XlrstatsPlugin
110202 09:16:12 BOT     Plugin xlrstats (2.3.2 - Tim ter Laak / Mark Weirath) loaded
110202 09:16:12 BOT     Loading Plugin #11 chatlogger [C:\Program Files\BigBrotherBot_1.4.2 - 29th\Freelander-big-brother-bot-0daf662\b3\extplugins\conf\plugin_chatlogger.xml]
110202 09:16:12 INFO Could not load built in plugin chatlogger (No module named chatlogger)
110202 09:16:12 INFO trying external plugin directory : C:\Program Files\BigBrotherBot_1.4.2 - 29th\Freelander-big-brother-bot-0daf662\b3\extplugins
110202 09:16:12 BOT     ChatloggerPlugin: Loading config C:\Program Files\BigBrotherBot_1.4.2 - 29th\Freelander-big-brother-bot-0daf662\b3\extplugins\conf\plugin_chatlogger.xml for ChatloggerPlugin
110202 09:16:12 DEBUG ChatloggerPlugin: Using default value (chatlog) for db_table
110202 09:16:12 DEBUG ChatloggerPlugin: max age : 0 => 0 days
110202 09:16:12 INFO ChatloggerPlugin: chat log messages are kept forever
110202 09:16:12 DEBUG Register Event: Stop Process: ChatloggerPlugin
110202 09:16:12 DEBUG Register Event: Program Exit: ChatloggerPlugin
110202 09:16:12 BOT     Plugin chatlogger (0.2.0 - Courgette) loaded
110202 09:16:12 BOT     Loading Plugin publist
110202 09:16:12 BOT     PublistPlugin: No config file found for PublistPlugin. (was not required either)
110202 09:16:12 DEBUG Register Event: Stop Process: PublistPlugin
110202 09:16:12 DEBUG Register Event: Program Exit: PublistPlugin
110202 09:16:12 BOT     Plugin publist (1.9.1 - ThorN, Courgette) loaded
110202 09:16:12 BOT     Loading httpytail
110202 09:16:12 BOT     HttpytailPlugin: No config file found for HttpytailPlugin. (was not required either)
110202 09:16:12 DEBUG Register Event: Stop Process: HttpytailPlugin
110202 09:16:12 DEBUG Register Event: Program Exit: HttpytailPlugin
110202 09:16:12 BOT     Plugin httpytail (0.1 - GrosBedo) loaded
110202 09:16:12 VERBOSE 0 cid changed from None to -1
110202 09:16:12 VERBOSE RCON sending (8.2.###.##:3194) say ^0(^2b3^0)^7: ^8www.bigbrotherbot.net ^0(^8b3^0) ^9v1.4.2b [nt] ^9(^3Daniel^9)^3 ^2[ONLINE]
110202 09:16:12 DEBUG Client Connected: [-1] World - WORLD ({})
110202 09:16:12 DEBUG Storage: getClient <b3.clients.Client object at 0x04092CD0>
110202 09:16:12 BOT     Client found in storage 1, welcome back World
110202 09:16:12 DEBUG Storage: setClient <b3.clients.Client object at 0x04092CD0>
110202 09:16:12 DEBUG Storage: setClient data {'time_add': 1296625586, 'time_edit': 1296663372, 'name': 'World', 'group_bits': 0, 'ip': '', 'auto_login': 1, 'greeting': '', 'pbid': 'WORLD', 'connections': 4, 'mask_level': 0, 'guid': 'WORLD', 'id': 1}
110202 09:16:12 DEBUG Client Authorized: [-1] World - WORLD
110202 09:16:13 VERBOSE RCON sending (8.2.###.##:3194) status
110202 09:16:14 INFO map is: mp_cracked
110202 09:16:14 DEBUG Forcing server cvar logfile to 2
.
.
.Had to cut some out...
.
.
.
110202 09:34:00 VERBOSE RCON sending (8.2.###.##:3194) sv_mapRotation
110202 09:34:00 ERROR HttpytailPlugin: 403
110202 09:34:00 DEBUG HttpytailPlugin: HTTP Error 403:
110202 09:34:01 DEBUG Get cvar sv_mapRotation = ["sv_mapRotation" is: "gametype sd map mp_array map mp_cairo map mp_cosmodrome map mp_cracked map mp_crisis map mp_duga map mp_firingrange map mp_havoc map mp_mountain map mp_radiation map mp_russianbase map mp_villa^7" default: "^7"
  Domain is any text]
110202 09:34:01 ERROR Error executing crontab <bound method AdvPlugin.adv of <b3.plugins.adv.AdvPlugin instance at 0x03250AA8>>: cannot concatenate 'str' and 'NoneType' objects
[('C:\\Program Files\\BigBrotherBot_1.4.2 - 29th\\Freelander-big-brother-bot-0daf662\\b3\\cron.py', 276, 'run', 'c.run()'), ('C:\\Program Files\\BigBrotherBot_1.4.2 - 29th\\Freelander-big-brother-bot-0daf662\\b3\\cron.py', 210, 'run', 'CronTab.run(self)'), ('C:\\Program Files\\BigBrotherBot_1.4.2 - 29th\\Freelander-big-brother-bot-0daf662\\b3\\cron.py', 66, 'run', 'self.command()'), ('C:\\Program Files\\BigBrotherBot_1.4.2 - 29th\\Freelander-big-brother-bot-0daf662\\b3\\plugins\\adv.py', 220, 'adv', 'ad = "^2Next map: ^3" + self.console.getNextMap()')]
110202 09:34:01 VERBOSE RCON sending (8.2.###.##:3194) status
110202 09:34:02 VERBOSE StatusPlugin: Building XML status
110202 09:34:02 DEBUG StatusPlugin: Writing XML status to C:\Users\Tony/status.xml
110202 09:34:02 VERBOSE RCON sending (8.2.###.##:3194) status

Logged

If you can't play with the big dogs, stay on the porch.
Dev. Team
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: COD2,COD4,COD5
Posts: 1098
Offline Offline
« Reply #9 on: February 02, 2011, 09:41:40 AM »

You appear to have mixed versions there parts of mine & Freelander's at least!

Httpytail plugin is running and it shouldn't be in either version, so the remote log isn't getting read, and so the local one isn't being created.

I would keep your startup xml file and clear out everything else, then re-download from the link that Just a baka gave  https://github.com/xlr8or/big-brother-bot/tree/CoD7 and put your xml back in

In your startup xml try replacing

<set name="bo_logurl">C:\Program Files\BigBrotherBot_1.4.2 - 29th\Freelander-big-brother-bot-0daf662\game.log</set>

with

<set name="local_game_log">C:\Program Files\BigBrotherBot_1.4.2 - 29th\Freelander-big-brother-bot-0daf662\game.log</set>
« Last Edit: February 02, 2011, 07:55:40 PM by 82ndAB.Bravo17 » Logged
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoD4, MW2 (alterIW), Black Ops
Posts: 37
Offline Offline
WWW
« Reply #10 on: February 02, 2011, 03:25:20 PM »

OK.  You guys are awesome!

Now it works, it reads the log from the website, creates a log on my local hard drive, and responds to commands (ie. !iamgod, !rules, etc.)

Now...of these plugins, which will work?
Chatlogger
XLRStats
Welcome

Thanks again, everyone!!
Logged

If you can't play with the big dogs, stay on the porch.
Dev. Team
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD2, CoD4, CoDWaW, BFBC2, CoDBO
Posts: 134
Offline Offline
« Reply #11 on: February 02, 2011, 03:30:44 PM »

All the 3 plugins should work since a good written plugin is not parser-dependent. Also there were several reports claiming XLRStats and Chatlogger work. Welcome plugin is a something that will work with any game supported by b3 Smiley
Logged

Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoD4, MW2 (alterIW), Black Ops
Posts: 37
Offline Offline
WWW
« Reply #12 on: February 02, 2011, 03:44:19 PM »

Nice!  I have to go now.  Thanks everyone for your help.

I'll enter those plugins tomorrow morning.

Again, Thank You!!
Logged

If you can't play with the big dogs, stay on the porch.
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoD4, MW2 (alterIW), Black Ops
Posts: 37
Offline Offline
WWW
« Reply #13 on: February 06, 2011, 07:39:59 AM »

I just wanted to give props where props are due.

http://www.29thid.us/
Logged

If you can't play with the big dogs, stay on the porch.
Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal