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)Initial Start Up
Pages: [1]   Go Down
  Print  
Author Topic: Initial Start Up  (Read 335 times) Bookmark and Share
Jr. Member
**
OS: Linux
Type: Home user
Gameservers: aiw|mw2
Posts: 11
Offline Offline
« on: November 26, 2010, 03:57:54 PM »

hello everyone, i reconfigure the b3 settings and it appears that when i restart the bot i am now faced with  a new problem.

this is what i am facing Terminal:
Code:
Starting www.bigbrotherbot.net (b3) v1.4.1 [posix] (Daniel)

Using config file: /home/b3/conf/b3.xml
Using external plugin directory: /srv/bot/b3/extplugins
Activating log   : b3.log
Connecting to DB : OK
Using Gamelog    : /srv/mw2server/main/games_mp.log
Testing RCON     : OK
Loading Events   : 32 events loaded
Loading Plugins  : .........Unhandled exception in thread started by
Error in sys.excepthook:

Original exception was:
four2zero@ms-7032:/srv/bot$
Starting www.bigbrotherbot.net (b3) v1.4.1 [posix] (Daniel)

Using config file: /home/b3/conf/b3.xml
Using external plugin directory: /srv/bot/b3/extplugins
Activating log   : b3.log
Connecting to DB : OK
Using Gamelog    : /srv/mw2server/main/games_mp.log
Testing RCON     : OK
Loading Events   : 32 events loaded
Loading Plugins  : .........Unhandled exception in thread started by
Error in sys.excepthook:

Original exception was:
four2zero@ms-7032:/srv/bot$

here is the b3 log:
Code:
101126 15:50:56 BOT    www.bigbrotherbot.net (b3) v1.4.1 [posix] (Daniel)
101126 15:50:56 BOT    Python: 2.6.6 (r266:84292, Sep 15 2010, 15:52:39)
[GCC 4.4.5]
101126 15:50:56 BOT    Starting Cod6Parser v0.2 for server 76.94.31.248:28969
101126 15:50:56 BOT    --------------------------------------------
101126 15:50:56 BOT    Attempting to connect to database mysql://root:******@localhost/b3...
101126 15:50:56 BOT    Connected to database [1 times]
101126 15:50:56 BOT    Game log /srv/mw2server/main/games_mp.log
101126 15:50:56 BOT    Starting bot reading file /srv/mw2server/main/games_mp.log
101126 15:50:56 VERBOSE RCON sending (76.94.31.248:28969) status
101126 15:50:57 BOT    Loading Plugins (external plugin directory: /srv/bot/b3/extplugins)
101126 15:50:57 BOT    Loading Plugin #1 censor [/home/b3/conf/plugin_censor.xml]
101126 15:50:57 BOT    CensorPlugin: Loading config /home/b3/conf/plugin_censor.xml for CensorPlugin
101126 15:50:57 DEBUG Register Event: Stop Process: CensorPlugin
101126 15:50:57 DEBUG Register Event: Program Exit: CensorPlugin
101126 15:50:57 BOT    Plugin censor (2.2.1 - ThorN) loaded
101126 15:50:57 BOT    Loading Plugin #2 spamcontrol [/home/b3/conf/plugin_spamcontrol.xml]
101126 15:50:57 BOT    SpamcontrolPlugin: Loading config /home/b3/conf/plugin_spamcontrol.xml for SpamcontrolPlugin
101126 15:50:57 DEBUG Register Event: Stop Process: SpamcontrolPlugin
101126 15:50:57 DEBUG Register Event: Program Exit: SpamcontrolPlugin
101126 15:50:57 BOT    Plugin spamcontrol (1.1.2 - ThorN) loaded
101126 15:50:57 BOT    Loading Plugin #3 admin [/home/b3/conf/plugin_admin.xml]
101126 15:50:57 BOT    AdminPlugin: Loading config /home/b3/conf/plugin_admin.xml for AdminPlugin
101126 15:50:57 DEBUG Register Event: Stop Process: AdminPlugin
101126 15:50:57 DEBUG Register Event: Program Exit: AdminPlugin
101126 15:50:57 BOT    Plugin admin (1.8.2 - ThorN, xlr8or, Courgette) loaded
101126 15:50:57 BOT    Loading Plugin #4 tk [/home/b3/conf/plugin_tk.xml]
101126 15:50:57 BOT    TkPlugin: Loading config /home/b3/conf/plugin_tk.xml for TkPlugin
101126 15:50:57 DEBUG TkPlugin: tk max level is 40
101126 15:50:57 DEBUG TkPlugin: Send messages privately ? True
101126 15:50:57 DEBUG Register Event: Stop Process: TkPlugin
101126 15:50:57 DEBUG Register Event: Program Exit: TkPlugin
101126 15:50:57 BOT    Plugin tk (1.2.4 - ThorN) loaded
101126 15:50:57 BOT    Loading Plugin #5 stats [/home/b3/conf/plugin_stats.xml]
101126 15:50:57 BOT    StatsPlugin: Loading config /home/b3/conf/plugin_stats.xml for StatsPlugin
101126 15:50:57 DEBUG StatsPlugin: Using default value (0) for commands::mapstats
101126 15:50:57 DEBUG StatsPlugin: Using default value (0) for commands::testscore
101126 15:50:57 DEBUG StatsPlugin: Using default value (2) for commands::topstats
101126 15:50:57 DEBUG Register Event: Stop Process: StatsPlugin
101126 15:50:57 DEBUG Register Event: Program Exit: StatsPlugin
101126 15:50:57 BOT    Plugin stats (1.3.4 - ThorN, GrosBedo) loaded
101126 15:50:57 BOT    Loading Plugin #6 pingwatch [/home/b3/conf/plugin_pingwatch.xml]
101126 15:50:57 BOT    PingwatchPlugin: Loading config /home/b3/conf/plugin_pingwatch.xml for PingwatchPlugin
101126 15:50:57 VERBOSE Added crontab <bound method PingwatchPlugin.check of <b3.plugins.pingwatch.PingwatchPlugin instance at 0x9aaf94c>> (162201292) - [0, 30]s -1m -1h -1d -1M -1DOW
101126 15:50:57 DEBUG AdminPlugin: Command "ci (None)" registered with cmd_ci for level (20, 100)
101126 15:50:57 DEBUG Register Event: Stop Process: PingwatchPlugin
101126 15:50:57 DEBUG Register Event: Program Exit: PingwatchPlugin
101126 15:50:57 BOT    Plugin pingwatch (1.2.2 - ThorN) loaded
101126 15:50:57 BOT    Loading Plugin #7 adv [/home/b3/conf/plugin_adv.xml]
101126 15:50:58 BOT    AdvPlugin: Loading config /home/b3/conf/plugin_adv.xml for AdvPlugin
101126 15:50:58 INFO AdvPlugin: adv rate is 2
101126 15:50:58 VERBOSE AdvPlugin: self._feedmaxitems: 4
101126 15:50:58 DEBUG AdvPlugin: 2 -> (*/2,0)
101126 15:50:58 VERBOSE Added crontab <bound method AdvPlugin.adv of <b3.plugins.adv.AdvPlugin instance at 0x9ad4a4c>> (163613132) - 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
101126 15:50:58 DEBUG Register Event: Stop Process: AdvPlugin
101126 15:50:58 DEBUG Register Event: Program Exit: AdvPlugin
101126 15:50:58 BOT    Plugin adv (1.2.2 - ThorN) loaded
101126 15:50:58 BOT    Loading Plugin #8 status [/home/b3/conf/plugin_status.xml]
101126 15:50:58 BOT    StatusPlugin: Loading config /home/b3/conf/plugin_status.xml for StatusPlugin
101126 15:50:58 VERBOSE Added crontab <bound method StatusPlugin.update of <b3.plugins.status.StatusPlugin instance at 0x9c0ca4c>> (164159884) - [0]s -1m -1h -1d -1M -1DOW
101126 15:50:58 DEBUG Register Event: Stop Process: StatusPlugin
101126 15:50:58 DEBUG Register Event: Program Exit: StatusPlugin
101126 15:50:58 BOT    Plugin status (1.4.3 - ThorN) loaded
101126 15:50:58 BOT    Loading Plugin #9 welcome [/home/b3/conf/plugin_welcome.xml]
101126 15:50:58 BOT    WelcomePlugin: Loading config /home/b3/conf/plugin_welcome.xml for WelcomePlugin
101126 15:50:58 DEBUG AdminPlugin: Command "greeting (None)" registered with cmd_greeting for level (20, 100)
101126 15:50:58 INFO WelcomePlugin: delay set to 30. The bot will wait 30s after a player connects to write the welcome message
101126 15:50:58 INFO WelcomePlugin: min_gap set to 3600. The bot will not welcome a player more than once every 3600 seconds
101126 15:50:58 DEBUG Register Event: Stop Process: WelcomePlugin
101126 15:50:58 DEBUG Register Event: Program Exit: WelcomePlugin
101126 15:50:58 BOT    Plugin welcome (1.1 - ThorN) loaded
101126 15:50:58 BOT    Loading Plugin #10 xlrstats [/srv/bot/b3/extplugin/conf/xlrstats.xml]
101126 15:50:58 INFO Could not load built in plugin xlrstats (No module named xlrstats)
101126 15:50:58 INFO trying external plugin directory : /srv/bot/b3/extplugins
101126 15:50:58 BOT    XlrstatsPlugin: Loading config /srv/bot/b3/extplugin/conf/xlrstats.xml for XlrstatsPlugin
101126 15:50:58 CRITICAL XlrstatsPlugin: Could not find config file /srv/bot/b3/extplugin/conf/xlrstats.xml
Traceback (most recent call last):
  File "/srv/bot/b3/plugin.py", line 97, in loadConfig
    self.config = b3.config.load(fileName)
  File "/srv/bot/b3/config.py", line 271, in load
    if config.load(fileName):
  File "/srv/bot/b3/config.py", line 177, in load
    raise ConfigFileNotFound(fileName)
ConfigFileNotFound: '/srv/bot/b3/extplugin/conf/xlrstats.xml'

and here is the b3.xml:
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">cod6</set>
<!-- Your database info: [mysql]://[db-user]:[db-password]@[db-server[:port]]/[db-name] -->
<set name="database">mysql://root:XXXXX@localhost/b3</set>
<!-- Name of the bot -->
<set name="bot_name">HAL</set>
<!-- Ingame messages are prefixed with this code, you can use colorcodes -->
<set name="bot_prefix">[^0(^2HAL^3)^7:]</set>
<set name="time_format">%I:%M%p %Z %m/%d/%y</set>
<!-- The timezone your bot is in -->
<set name="time_zone">PST</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">XXXX</set>
<!-- The port the server is running on -->
<set name="port">28969</set>
<!-- The gameserver generates a logfile, put the path and name here -->
<set name="game_log">/srv/mw2server/main/games_mp.log</set>
<!-- The public IP your gameserver is residing on -->
<set name="public_ip">four2zero.no-ip.info</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">four2zero.no-ip.info</set>
<!-- Is the gameserver running PunkBuster Anticheat: on/off -->
<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">/srv/bot/b3/docs/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">/srv/bot/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="/home/b3/conf/plugin_censor.xml" name="censor" />
<plugin config="/home/b3/conf/plugin_spamcontrol.xml" name="spamcontrol" />
<plugin config="/home/b3/conf/plugin_admin.xml" name="admin" />
<plugin config="/home/b3/conf/plugin_tk.xml" name="tk" />
<plugin config="/home/b3/conf/plugin_stats.xml" name="stats" />
<plugin config="/home/b3/conf/plugin_pingwatch.xml" name="pingwatch" />
<plugin config="/home/b3/conf/plugin_adv.xml" name="adv" />
<plugin config="/home/b3/conf/plugin_status.xml" name="status" />
<plugin config="/home/b3/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="/srv/bot/b3/extplugin/conf/xlrstats.xml" name="xlrstats" />
<!-- You can add new/custom plugins to this list using the same form as above. -->
</plugins>
</configuration>

any feed back is appreciated
Logged

Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #1 on: November 26, 2010, 04:41:04 PM »

when loading the xlrstats plugin, the bot failed to find the xlrstats config file. The issue is most likely in your b3.xml on the line
Code:
<plugin config="/srv/bot/b3/extplugin/conf/xlrstats.xml" name="xlrstats" />

Make sure that /srv/bot/b3/extplugin/conf/xlrstats.xml exists
Code:
$ file /srv/bot/b3/extplugin/conf/xlrstats.xml
and is readable by the user you run the bot under.
Logged

Jr. Member
**
OS: Linux
Type: Home user
Gameservers: aiw|mw2
Posts: 11
Offline Offline
« Reply #2 on: November 27, 2010, 06:35:54 PM »

yeah, i noticed a typo so its fixed now. One other question how can i modify the rules  or set new rules so they are advertised as they should be with the messaging system of b3. ?
Logged
B3 Contrib/Support
*
OS: --No B3 installed--
Type: --No B3 installed--
Posts: 1225
Offline Offline
Support Specialty: B3-Core, CoD/BFBC2 parsers, FTP-functionality, Plugin development
« Reply #3 on: November 27, 2010, 08:26:08 PM »

plugin_admin.xml
Logged

Jr. Member
**
OS: Linux
Type: Home user
Gameservers: aiw|mw2
Posts: 11
Offline Offline
« Reply #4 on: November 27, 2010, 08:32:14 PM »

Also too, I am notice that the b3 is leveled wrong meaning, showing up on the left side of the screen might be too high, it interferes map that pops up when being used. can that be adjusted. ?
Logged
Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal