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 ]

Pages: [1]   Go Down
  Print  
Author Topic: COD5 PLUGIN ISSUES  (Read 1449 times) Bookmark and Share
Full Member
***
Posts: 99
Offline Offline
« on: November 12, 2009, 02:10:51 PM »

Here is the B3 log, I don't know what I did wrong...
Code:
091111 16:58:45 BOT     www.BigBrotherBot.com (b3) v1.2.1 [nt] (Daniel Win32)
091111 16:58:45 BOT     Python: 2.6.3 (r263rc1:75186, Oct  2 2009, 20:40:30) [MSC v.1500 32 bit (Intel)]
091111 16:58:45 BOT     Starting Cod5Parser server for 68.106.91.179:28965
091111 16:58:45 BOT     --------------------------------------------
091111 16:58:45 BOT     Attempting to connect to database mysql://b7:******@localhost/b3...
091111 16:58:45 ERROR STDERR C:\COD5\BigBrotherBot_1.2.1\library.zip\MySQLdb\__init__.py:34: DeprecationWarning: the sets module is deprecated

091111 16:58:45 BOT     Connected to database [1 times]
091111 16:58:45 BOT     Game log C:\COD5\mods\mp_openwarfare\games_mp.log
091111 16:58:45 BOT     Starting bot reading file C:\COD5\mods\mp_openwarfare\games_mp.log
091111 16:58:45 VERBOSE RCON sending (68.106.91.179:28965) status
091111 16:58:46 BOT     Loading Plugin #1 censor [C:\COD5\BigBrotherBot_1.2.1\conf\plugin_censor.xml]
091111 16:58:46 BOT     CensorPlugin: Loading config C:\COD5\BigBrotherBot_1.2.1\conf\plugin_censor.xml for CensorPlugin
091111 16:58:46 DEBUG Register Event: Stop Process: CensorPlugin
091111 16:58:46 DEBUG Register Event: Program Exit: CensorPlugin
091111 16:58:46 BOT     Plugin censor (2.1.0 - ThorN) loaded
091111 16:58:46 BOT     Loading Plugin #2 spamcontrol [C:\COD5\BigBrotherBot_1.2.1\conf\plugin_spamcontrol.xml]
091111 16:58:46 BOT     SpamcontrolPlugin: Loading config C:\COD5\BigBrotherBot_1.2.1\conf\plugin_spamcontrol.xml for SpamcontrolPlugin
091111 16:58:46 DEBUG Register Event: Stop Process: SpamcontrolPlugin
091111 16:58:46 DEBUG Register Event: Program Exit: SpamcontrolPlugin
091111 16:58:46 BOT     Plugin spamcontrol (1.1.2 - ThorN) loaded
091111 16:58:46 BOT     Loading Plugin #3 admin [C:\COD5\BigBrotherBot_1.2.1\conf\plugin_admin.xml]
091111 16:58:46 BOT     AdminPlugin: Loading config C:\COD5\BigBrotherBot_1.2.1\conf\plugin_admin.xml for AdminPlugin
091111 16:58:46 DEBUG Register Event: Stop Process: AdminPlugin
091111 16:58:46 DEBUG Register Event: Program Exit: AdminPlugin
091111 16:58:46 BOT     Plugin admin (1.4.3 - ThorN) loaded
091111 16:58:46 BOT     Loading Plugin #4 tk [C:\COD5\BigBrotherBot_1.2.1\conf\plugin_tk.xml]
091111 16:58:46 BOT     TkPlugin: Loading config C:\COD5\BigBrotherBot_1.2.1\conf\plugin_tk.xml for TkPlugin
091111 16:58:46 DEBUG TkPlugin: tk max level is 40
091111 16:58:46 DEBUG TkPlugin: Send messages privately ? True
091111 16:58:46 DEBUG Register Event: Stop Process: TkPlugin
091111 16:58:46 DEBUG Register Event: Program Exit: TkPlugin
091111 16:58:46 BOT     Plugin tk (1.2.2 - ThorN) loaded
091111 16:58:46 BOT     Loading Plugin #5 stats [C:\COD5\BigBrotherBot_1.2.1\conf\plugin_stats.xml]
091111 16:58:46 BOT     StatsPlugin: Loading config C:\COD5\BigBrotherBot_1.2.1\conf\plugin_stats.xml for StatsPlugin
091111 16:58:46 DEBUG AdminPlugin: Command "mapstats (mstats)" registered with cmd_mapstats for level (1, 100)
091111 16:58:46 DEBUG AdminPlugin: Command "testscore (ts)" registered with cmd_testscore for level (1, 100)
091111 16:58:46 DEBUG AdminPlugin: Command "topstats (tstats)" registered with cmd_topstats for level (9, 100)
091111 16:58:46 DEBUG Register Event: Stop Process: StatsPlugin
091111 16:58:46 DEBUG Register Event: Program Exit: StatsPlugin
091111 16:58:46 BOT     Plugin stats (1.2.3 - ThorN) loaded
091111 16:58:46 BOT     Loading Plugin #6 pingwatch [C:\COD5\BigBrotherBot_1.2.1\conf\plugin_pingwatch.xml]
091111 16:58:46 BOT     PingwatchPlugin: Loading config C:\COD5\BigBrotherBot_1.2.1\conf\plugin_pingwatch.xml for PingwatchPlugin
091111 16:58:46 VERBOSE Added crontab <bound method PingwatchPlugin.check of <b3.plugins.pingwatch.PingwatchPlugin instance at 0x022F2DC8>> (36653456) - [0, 30]s -1m -1h -1d -1M -1DOW
091111 16:58:46 DEBUG Register Event: Stop Process: PingwatchPlugin
091111 16:58:46 DEBUG Register Event: Program Exit: PingwatchPlugin
091111 16:58:46 BOT     Plugin pingwatch (1.1.4 - ThorN) loaded
091111 16:58:46 BOT     Loading Plugin #7 adv [C:\COD5\BigBrotherBot_1.2.1\conf\plugin_adv.xml]
091111 16:58:46 BOT     AdvPlugin: Loading config C:\COD5\BigBrotherBot_1.2.1\conf\plugin_adv.xml for AdvPlugin
091111 16:58:46 CRITICAL Error loading plugin: 'NoneType' object has no attribute 'strip'
Traceback (most recent call last):
  File "b3\parser.pyo", line 438, in loadPlugins
  File "b3\plugin.pyo", line 43, in __init__
  File "b3\plugin.pyo", line 99, in loadConfig
  File "b3\plugins\adv.pyo", line 113, in onLoadConfig
  File "b3\plugins\adv.pyo", line 147, in loadFromConfig
  File "b3\plugins\adv.pyo", line 153, in load
AttributeError: 'NoneType' object has no attribute 'strip'
091111 16:58:46 INFO STDOUT Traceback (most recent call last):

091111 16:58:46 INFO STDOUT   File "b3\run.pyo", line 124, in main

091111 16:58:46 INFO STDOUT   File "b3\run.pyo", line 102, in run

091111 16:58:46 INFO STDOUT   File "b3\__init__.pyo", line 99, in start

091111 16:58:46 INFO STDOUT   File "b3\parser.pyo", line 285, in __init__

091111 16:58:46 INFO STDOUT   File "b3\parser.pyo", line 441, in loadPlugins

091111 16:58:46 INFO STDOUT   File "b3\parser.pyo", line 849, in critical

091111 16:58:46 INFO STDOUT   File "b3\output.pyo", line 51, in critical

091111 16:58:46 INFO STDOUT SystemExit: 220

091111 16:58:46 INFO STDOUT Press Enter to terminate
« Last Edit: November 12, 2009, 02:52:48 PM by Courgette » Logged

Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3478
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #1 on: November 12, 2009, 04:43:00 PM »

probably something wrong in plugin_adv.xml
Logged

Full Member
***
OS: Windows
Type: Gameserver Rental Co.
Gameservers: BF3
Posts: 79
Offline Offline
WWW
« Reply #2 on: November 13, 2009, 11:08:34 PM »

When i had this kind of error i was missing " in my .xml file, drove me insane till i finally found it.
Logged
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3478
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #3 on: November 14, 2009, 04:52:12 AM »

It is best to use an xml capable editor. This kind of editors colorize you xml making easy to spot errors.
Logged

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


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal