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)Problem with plugins?
Pages: [1]   Go Down
  Print  
Author Topic: Problem with plugins?  (Read 291 times) Bookmark and Share
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoD6
Posts: 10
Offline Offline
« on: March 23, 2011, 11:21:30 PM »

Hi guys i just trying to add b3 to my dedi serv but i dont get proper cmd window at run_b3.exe

Here is my b3.xml
Code:
<?xml version='1.0'?>
<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://XREH:*****@localhost/b3</set>
<!-- Name of the bot -->
<set name="bot_name">KTULHU</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 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">******</set>
<!-- The port the server is running on -->
<set name="port">28960</set>
<!-- The gameserver generates a logfile, put the path and name here -->
<set name="game_log">F:\CallofDuty-ModernWarfare2\main\games_mp.log</set>
<!-- The public IP your gameserver is residing on -->
<set name="public_ip">127.0.0.1</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">127.0.0.1</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">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="@b3/conf/plugin_spamcontrol.xml" name="spamcontrol" />
<plugin config="@b3/conf/plugin_admin.xml" name="admin" />
<plugin config="@b3/conf/plugin_stats.xml" name="stats" />
<plugin config="@b3/conf/plugin_pingwatch.xml" name="pingwatch" />
<plugin config="@b3/conf/plugin_adv.xml" name="adv" />
<plugin config="@b3/conf/plugin_status.xml" name="status" />
<plugin config="@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="@b3/extplugins/conf/xlrstats.xml" name="xlrstats" />
<plugin name="ctime" config="@b3/extplugins/conf/plugin_ctime.xml"/>
<!-- You can add new/custom plugins to this list using the same form as above. -->
</plugins>
</configuration>

b3.log
Code:
110324 09:30:32 BOT    www.bigbrotherbot.net (b3) v1.4.1 [nt] (Daniel) [Win32 standalone]
110324 09:30:32 BOT    Python: 2.6.1 (r261:67517, Dec  4 2008, 16:51:00) [MSC v.1500 32 bit (Intel)]
110324 09:30:32 BOT    Starting Cod6Parser v0.2 for server 127.0.0.1:28960
110324 09:30:32 BOT    --------------------------------------------
110324 09:30:32 BOT    Attempting to connect to database mysql://XREH:******@localhost/b3...
110324 09:30:32 BOT    Connected to database [1 times]
110324 09:30:32 BOT    Game log F:\CallofDuty-ModernWarfare2\main\games_mp.log
110324 09:30:32 BOT    Starting bot reading file F:\CallofDuty-ModernWarfare2\main\games_mp.log
110324 09:30:32 VERBOSE RCON sending (127.0.0.1:28960) status
110324 09:30:33 BOT    Loading Plugins (external plugin directory: C:\B3WX\BigBrotherBot_1.4.1\extplugins)
110324 09:30:33 BOT    Loading Plugin #1 spamcontrol [C:\B3WX\BigBrotherBot_1.4.1\conf\plugin_spamcontrol.xml]
110324 09:30:33 BOT    SpamcontrolPlugin: Loading config C:\B3WX\BigBrotherBot_1.4.1\conf\plugin_spamcontrol.xml for SpamcontrolPlugin
110324 09:30:33 DEBUG Register Event: Stop Process: SpamcontrolPlugin
110324 09:30:33 DEBUG Register Event: Program Exit: SpamcontrolPlugin
110324 09:30:33 BOT    Plugin spamcontrol (1.1.2 - ThorN) loaded
110324 09:30:33 BOT    Loading Plugin #2 admin [C:\B3WX\BigBrotherBot_1.4.1\conf\plugin_admin.xml]
110324 09:30:33 BOT    AdminPlugin: Loading config C:\B3WX\BigBrotherBot_1.4.1\conf\plugin_admin.xml for AdminPlugin
110324 09:30:33 DEBUG Register Event: Stop Process: AdminPlugin
110324 09:30:33 DEBUG Register Event: Program Exit: AdminPlugin
110324 09:30:33 BOT    Plugin admin (1.8.2 - ThorN, xlr8or, Courgette) loaded
110324 09:30:33 BOT    Loading Plugin #3 stats [C:\B3WX\BigBrotherBot_1.4.1\conf\plugin_stats.xml]
110324 09:30:33 BOT    StatsPlugin: Loading config C:\B3WX\BigBrotherBot_1.4.1\conf\plugin_stats.xml for StatsPlugin
110324 09:30:33 DEBUG StatsPlugin: Using default value (0) for commands::mapstats
110324 09:30:33 DEBUG StatsPlugin: Using default value (0) for commands::testscore
110324 09:30:33 DEBUG StatsPlugin: Using default value (2) for commands::topstats
110324 09:30:33 DEBUG Register Event: Stop Process: StatsPlugin
110324 09:30:33 DEBUG Register Event: Program Exit: StatsPlugin
110324 09:30:33 BOT    Plugin stats (1.3.4 - ThorN, GrosBedo) loaded
110324 09:30:33 BOT    Loading Plugin #4 pingwatch [C:\B3WX\BigBrotherBot_1.4.1\conf\plugin_pingwatch.xml]
110324 09:30:33 BOT    PingwatchPlugin: Loading config C:\B3WX\BigBrotherBot_1.4.1\conf\plugin_pingwatch.xml for PingwatchPlugin
110324 09:30:33 VERBOSE Added crontab <bound method PingwatchPlugin.check of <b3.plugins.pingwatch.PingwatchPlugin instance at 0x02CC7648>> (46968912) - [0, 30]s -1m -1h -1d -1M -1DOW
110324 09:30:33 DEBUG AdminPlugin: Command "ci (None)" registered with cmd_ci for level (20, 100)
110324 09:30:33 DEBUG Register Event: Stop Process: PingwatchPlugin
110324 09:30:33 DEBUG Register Event: Program Exit: PingwatchPlugin
110324 09:30:33 BOT    Plugin pingwatch (1.2.2 - ThorN) loaded
110324 09:30:33 BOT    Loading Plugin #5 adv [C:\B3WX\BigBrotherBot_1.4.1\conf\plugin_adv.xml]
110324 09:30:33 BOT    AdvPlugin: Loading config C:\B3WX\BigBrotherBot_1.4.1\conf\plugin_adv.xml for AdvPlugin
110324 09:30:33 INFO AdvPlugin: adv rate is 2
110324 09:30:33 VERBOSE AdvPlugin: self._feedmaxitems: 4
110324 09:30:41 DEBUG AdvPlugin: 2 -> (*/2,0)
110324 09:30:41 VERBOSE Added crontab <bound method AdvPlugin.adv of <b3.plugins.adv.AdvPlugin instance at 0x02CC7990>> (47549712) - 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
110324 09:30:41 DEBUG Register Event: Stop Process: AdvPlugin
110324 09:30:41 DEBUG Register Event: Program Exit: AdvPlugin
110324 09:30:41 BOT    Plugin adv (1.2.2 - ThorN) loaded
110324 09:30:41 BOT    Loading Plugin #6 status [C:\B3WX\BigBrotherBot_1.4.1\conf\plugin_status.xml]
110324 09:30:41 BOT    StatusPlugin: Loading config C:\B3WX\BigBrotherBot_1.4.1\conf\plugin_status.xml for StatusPlugin
110324 09:30:41 VERBOSE Added crontab <bound method StatusPlugin.update of <b3.plugins.status.StatusPlugin instance at 0x02D620A8>> (55582416) - [0]s -1m -1h -1d -1M -1DOW
110324 09:30:41 DEBUG Register Event: Stop Process: StatusPlugin
110324 09:30:41 DEBUG Register Event: Program Exit: StatusPlugin
110324 09:30:41 BOT    Plugin status (1.4.3 - ThorN) loaded
110324 09:30:41 BOT    Loading Plugin #7 welcome [C:\B3WX\BigBrotherBot_1.4.1\conf\plugin_welcome.xml]
110324 09:30:41 BOT    WelcomePlugin: Loading config C:\B3WX\BigBrotherBot_1.4.1\conf\plugin_welcome.xml for WelcomePlugin
110324 09:30:41 DEBUG AdminPlugin: Command "greeting (None)" registered with cmd_greeting for level (20, 100)
110324 09:30:41 INFO WelcomePlugin: delay set to 30. The bot will wait 30s after a player connects to write the welcome message
110324 09:30:41 INFO WelcomePlugin: min_gap set to 3600. The bot will not welcome a player more than once every 3600 seconds
110324 09:30:41 DEBUG Register Event: Stop Process: WelcomePlugin
110324 09:30:41 DEBUG Register Event: Program Exit: WelcomePlugin
110324 09:30:41 BOT    Plugin welcome (1.1 - ThorN) loaded
110324 09:30:41 BOT    Loading Plugin #8 xlrstats [C:\B3WX\BigBrotherBot_1.4.1\extplugins\conf\xlrstats.xml]
110324 09:30:41 INFO Could not load built in plugin xlrstats (No module named xlrstats)
110324 09:30:41 INFO trying external plugin directory : C:\B3WX\BigBrotherBot_1.4.1\extplugins
110324 09:30:41 BOT    XlrstatsPlugin: Loading config C:\B3WX\BigBrotherBot_1.4.1\extplugins\conf\xlrstats.xml for XlrstatsPlugin
110324 09:30:41 DEBUG XlrstatsPlugin: Using default value (2) for settings::assist_timespan
110324 09:30:41 DEBUG XlrstatsPlugin: Using default value (10) for settings::damage_assist_release
110324 09:30:41 DEBUG XlrstatsPlugin: Using default value (0) for settings::announce
110324 09:30:41 DEBUG XlrstatsPlugin: Using default value (xlr_playerstats) for tables::playerstats
110324 09:30:41 DEBUG XlrstatsPlugin: Using default value (xlr_weaponstats) for tables::weaponstats
110324 09:30:41 DEBUG XlrstatsPlugin: Using default value (xlr_weaponusage) for tables::weaponusage
110324 09:30:41 DEBUG XlrstatsPlugin: Using default value (xlr_bodyparts) for tables::bodyparts
110324 09:30:41 DEBUG XlrstatsPlugin: Using default value (xlr_playerbody) for tables::playerbody
110324 09:30:41 DEBUG XlrstatsPlugin: Using default value (xlr_opponents) for tables::opponents
110324 09:30:41 DEBUG XlrstatsPlugin: Using default value (xlr_mapstats) for tables::mapstats
110324 09:30:41 DEBUG XlrstatsPlugin: Using default value (xlr_playermaps) for tables::playermaps
110324 09:30:41 DEBUG XlrstatsPlugin: Using default value (xlr_actionstats) for tables::actionstats
110324 09:30:41 DEBUG XlrstatsPlugin: Using default value (xlr_playeractions) for tables::playeractions
110324 09:30:41 DEBUG XlrstatsPlugin: Using default value (xlr_history_monthly) for tables::history_monthly
110324 09:30:41 DEBUG XlrstatsPlugin: Using default value (xlr_history_weekly) for tables::history_weekly
110324 09:30:41 DEBUG Register Event: Stop Process: XlrstatsPlugin
110324 09:30:41 DEBUG Register Event: Program Exit: XlrstatsPlugin
110324 09:30:41 BOT    Plugin xlrstats (2.2.9 - Tim ter Laak / Mark Weirath) loaded
110324 09:30:41 BOT    Loading Plugin #9 ctime [C:\B3WX\BigBrotherBot_1.4.1\extplugins\conf\plugin_ctime.xml]
110324 09:30:41 INFO Could not load built in plugin ctime (No module named ctime)
110324 09:30:41 INFO trying external plugin directory : C:\B3WX\BigBrotherBot_1.4.1\extplugins
110324 09:30:41 CRITICAL Error loading plugin: No module named ctime
Traceback (most recent call last):
  File "b3\parser.pyo", line 535, in loadPlugins
  File "b3\parser.pyo", line 643, in pluginImport
ImportError: No module named ctime


win7x64

and here is the problem




loaded plugins 220?
« Last Edit: March 23, 2011, 11:32:05 PM by XREH » 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: March 24, 2011, 12:08:36 AM »

you are missing the ctime plugin. You can find this plugin in the xlrstats package.
Logged

Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal