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 ForumsGame specific SupportBattle Field Bad Company 2 (Moderator: MordyT)Issue downloading poweradminbfbc2 And Installing 1.7.0a
Pages: [1] 2   Go Down
  Print  
Author Topic: Issue downloading poweradminbfbc2 And Installing 1.7.0a  (Read 830 times) Bookmark and Share
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoD4, BFBC2, MoH, CoD:BO
Posts: 11
Offline Offline
WWW
« on: June 14, 2011, 02:45:22 PM »

Im hoping that im doing something stupid here and that someone will spot my mistake, but I want to get poweradminbfbc2 running on our 4 bfbc2 servers and to do this I have setup a separate Dev copy as im currently running 1.6.1,  Due to the link on the download only letting me download poweradminbfbc2 for 1.7.1a im having to upgrade.

I have put the files in the correct place and I cannot seem to get the plugins to load.

OS: Win Server 2008r2
Python: Python: 2.7
Bot: 1.7.0a
poweradminbfbc2: 0.10
Log File: http://www.pastie.org/private/ywb3tgypk98tdrwbizey6w
b3.xml: http://www.pastie.org/private/2bcodo7dyq89zpqxko2b2g

I currently run 1.6.1 for all my other servers so if you can link me to an older version of poweradminbfbc2 so i can just keep using 1.6.1 that would be appreciated as the one here http://forum.bigbrotherbot.net/downloads/?sa=view;down=58 is for a version of b3 thats not even out of development and wont run on 1.6.1 Smiley
« Last Edit: June 14, 2011, 03:02:52 PM by domuk » 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: June 14, 2011, 09:16:32 PM »

Hi, it is just a mistake in the b3.xml syntax. Try that one http://www.pastie.org/private/sa4bd2f5d21lywveendxg
Logged

Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoD4, BFBC2, MoH, CoD:BO
Posts: 11
Offline Offline
WWW
« Reply #2 on: June 15, 2011, 05:18:49 AM »

Cool thanks for that but, Iv now hit problem two  Cheesy

Code:
110615 14:11:33 BOT    'Loading Plugins (external plugin directory: G:\\Game Admins\\B3 - Dev\\b3\\extplugins)'
110615 14:11:33 BOT    'Loading Plugin #1 chatlogger [G:\\Game Admins\\B3 - Dev\\b3\\extplugins\\conf\\plugin_chatlogger.xml]'
110615 14:11:33 INFO 'Could not load built in plugin chatlogger (No module named chatlogger)'
110615 14:11:33 INFO 'trying external plugin directory : G:\\Game Admins\\B3 - Dev\\b3\\extplugins'
110615 14:11:33 BOT    'ChatloggerPlugin: Loading config G:\\Game Admins\\B3 - Dev\\b3\\extplugins\\conf\\plugin_chatlogger.xml for ChatloggerPlugin'
110615 14:11:33 DEBUG 'ChatloggerPlugin: save chat to database : disabled'
110615 14:11:33 DEBUG 'ChatloggerPlugin: save chat to file : enabled'
110615 14:11:33 INFO 'ChatloggerPlugin: Using file (b3\\conf\\chat.log) to store log'
110615 14:11:33 INFO "ChatloggerPlugin: Using value 'D' for the file rotation rate"
110615 14:11:33 DEBUG 'Register Event: Stop Process: ChatloggerPlugin'
110615 14:11:33 DEBUG 'Register Event: Program Exit: ChatloggerPlugin'
110615 14:11:33 BOT    'Plugin chatlogger (1.0.0 - Courgette) loaded'
110615 14:11:33 BOT    'Loading Plugin #2 admin [b3\\conf\\plugin_admin.xml]'
110615 14:11:33 BOT    'AdminPlugin: Loading config b3\\conf\\plugin_admin.xml for AdminPlugin'
110615 14:11:33 DEBUG 'Register Event: Stop Process: AdminPlugin'
110615 14:11:33 DEBUG 'Register Event: Program Exit: AdminPlugin'
110615 14:11:33 BOT    'Plugin admin (1.11.0 - ThorN, xlr8or, Courgette) loaded'
110615 14:11:33 BOT    'Loading Plugin #3 adv [b3\\conf\\plugin_adv.xml]'
110615 14:11:33 BOT    'AdvPlugin: Loading config b3\\conf\\plugin_adv.xml for AdvPlugin'
110615 14:11:33 INFO 'AdvPlugin: adv rate is 2'
110615 14:11:33 VERBOSE 'AdvPlugin: self._feedmaxitems: 4'
110615 14:11:34 DEBUG 'AdvPlugin: 2 -> (*/2,0)'
110615 14:11:34 VERBOSE 'Added crontab <bound method AdvPlugin.adv of <b3.plugins.adv.AdvPlugin instance at 0x0000000002DF4A48>> (44915120) - 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'
110615 14:11:34 DEBUG 'Register Event: Stop Process: AdvPlugin'
110615 14:11:34 DEBUG 'Register Event: Program Exit: AdvPlugin'
110615 14:11:34 BOT    'Plugin adv (1.3.1 - ThorN) loaded'
110615 14:11:34 BOT    'Loading Plugin #4 poweradminbfbc2 [external_dir\\conf\\poweradminbfbc2.xml]'
110615 14:11:34 INFO 'Could not load built in plugin poweradminbfbc2 (No module named poweradminbfbc2)'
110615 14:11:34 INFO 'trying external plugin directory : G:\\Game Admins\\B3 - Dev\\b3\\extplugins'
110615 14:11:34 BOT    'Poweradminbfbc2Plugin: Loading config external_dir\\conf\\poweradminbfbc2.xml for Poweradminbfbc2Plugin'
110615 14:11:34 CRITICAL 'Poweradminbfbc2Plugin: Could not find config file external_dir\\conf\\poweradminbfbc2.xml'
Traceback (most recent call last):
  File "G:\Game Admins\B3 - Dev\b3\plugin.py", line 97, in loadConfig
    self.config = b3.config.load(fileName)
  File "G:\Game Admins\B3 - Dev\b3\config.py", line 271, in load
    if config.load(fileName):
  File "G:\Game Admins\B3 - Dev\b3\config.py", line 177, in load
    raise ConfigFileNotFound(fileName)
ConfigFileNotFound: 'external_dir\\conf\\poweradminbfbc2.xml'

The files are there in the correct directory as the chatlogger works which is also in the same place.
Logged
Moderator
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2615
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #3 on: June 15, 2011, 05:24:05 AM »

110615 14:11:34   CRITICAL   'Poweradminbfbc2Plugin: Could not find config file external_dir\\conf\\poweradminbfbc2.xml'

Do you have a poweradminbfbc2.xml in your extplugins/conf?
Logged

Need B3 Bot hosting? Check out Host4B3.com
Check Twitter.com/Host4B3 for updates if the site it down.

Help will be given to those with a b3.log

System: Python 2.7.1 - B3 Source Code - Locally hosted MySQL & Apache - Win 2k3
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoD4, BFBC2, MoH, CoD:BO
Posts: 11
Offline Offline
WWW
« Reply #4 on: June 15, 2011, 05:50:25 AM »

Yep, along with chatlogger.

Also can someone give me a link to poweradminbfbc2 for 1.6.1? It would save me having to upgrade all my game servers to 1.7.0a.
« Last Edit: June 15, 2011, 05:52:08 AM by domuk » Logged
Moderator
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2615
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #5 on: June 15, 2011, 06:29:20 AM »

One last thing you can try (and no, I don't have a link)
In your B3.xml, change
   <plugin name="poweradminbfbc2" config="external_dir/conf/poweradminbfbc2.xml"/>

to
   <plugin name="poweradminbfbc2" config="@b3/extplugins/conf/poweradminbfbc2.xml"/>
Logged

Need B3 Bot hosting? Check out Host4B3.com
Check Twitter.com/Host4B3 for updates if the site it down.

Help will be given to those with a b3.log

System: Python 2.7.1 - B3 Source Code - Locally hosted MySQL & Apache - Win 2k3
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoD4, BFBC2, MoH, CoD:BO
Posts: 11
Offline Offline
WWW
« Reply #6 on: June 15, 2011, 07:05:30 AM »

Thanks, that did the trick. Seems that using
<plugin name="poweradminbfbc2" config="external_dir/conf/poweradminbfbc2.xml"/>

Doesn't work. Thanks for the quick support Smiley
Logged
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoD4, BFBC2, MoH, CoD:BO
Posts: 11
Offline Offline
WWW
« Reply #7 on: June 18, 2011, 09:06:07 AM »

I have had b3 running for a few days and I have started it today to make some changes to the admin commands and now it wont reboot with poweradminbfbc2 running. I get the following error.
Code:
110618 18:00:58 DEBUG "Storage: setClient data {'time_add': 1307719647, 'time_edit': 1308416458, 'name': '[CeltS] Mendol', 'group_bits': 32, 'ip': '', 'auto_login': 1, 'greeting': u'', 'pbid': u'33275f4cafdafead6aaa6f5560d7ad32', 'connections': 33, 'mask_level': 0, 'guid': 'EA_9E6C8E44BC37F5AB927C26EC36AFA822', 'id': 54}"
110618 18:00:58 DEBUG 'Client Authorized: [Mendol] [CeltS] Mendol - EA_9E6C8E44BC37F5AB927C26EC36AFA822'
110618 18:00:58 VERBOSE 'Queueing event Client Authenticated Client<Mendol>'
110618 18:01:00 DEBUG "getCommand: ('admin.say', '[b3]: [CeltS] Are looking for New Members', 'all')"
110618 18:01:00 VERBOSE "RCON (1/1) ('admin.say', '[b3]: [CeltS] Are looking for New Members', 'all')"
110618 18:01:00 ERROR '**** Event queue was full (15)'
110618 18:01:00 DEBUG 'client sheinrich found on the server'
110618 18:01:00 VERBOSE 'Queueing event Client Team Change 1'
110618 18:01:02 ERROR '**** Event queue was full (15)'
110618 18:01:02 DEBUG "Client Connected: [sheinrich] [Haiberg] sheinrich - EA_ACA961A4A5631BA6722CCB655B85DCB7 ({'squadId': '7', 'guid': 'EA_ACA961A4A5631BA6722CCB655B85DCB7', 'name': 'sheinrich', 'kills': '3', 'deaths': '8', 'ping': '92', 'teamId': '1', 'score': '1420', 'clanTag': 'Haiberg'})"
110618 18:01:02 DEBUG 'Storage: getClient Client<sheinrich>'
110618 18:01:02 BOT    'Client found in storage 295, welcome back [Haiberg] sheinrich'
110618 18:01:02 DEBUG 'Storage: setClient Client<sheinrich>'
110618 18:01:02 DEBUG "Storage: setClient data {'time_add': 1307734860, 'time_edit': 1308416462, 'name': '[Haiberg] sheinrich', 'group_bits': 0, 'ip': '', 'auto_login': 1, 'greeting': u'', 'pbid': u'637c74322a006330d30e92a55ecc88c3', 'connections': 9, 'mask_level': 0, 'guid': 'EA_ACA961A4A5631BA6722CCB655B85DCB7', 'id': 295}"
110618 18:01:02 DEBUG 'Client Authorized: [sheinrich] [Haiberg] sheinrich - EA_ACA961A4A5631BA6722CCB655B85DCB7'
110618 18:01:02 VERBOSE 'Queueing event Client Authenticated Client<sheinrich>'
110618 18:01:04 ERROR '**** Event queue was full (15)'
110618 18:01:04 DEBUG 'client Marko_UK found on the server'
110618 18:01:04 VERBOSE 'Queueing event Client Team Change 2'

But as soon as I remove poweradmin it starts working fine. It is how ever working fine on my other 2 servers.
Logged
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3478
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #8 on: June 18, 2011, 09:17:47 AM »

please post a full log showing the bot starting
Logged

Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoD4, BFBC2, MoH, CoD:BO
Posts: 11
Offline Offline
WWW
« Reply #9 on: June 19, 2011, 07:23:53 AM »

http://www.pastie.org/private/cy6pcbmcup3nrtkq6ztsg
That be the full log after it starts up. I have noticed it seems to hang on that last line and the console window confirm everythings running.
Logged
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3478
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #10 on: June 19, 2011, 12:35:05 PM »

those errors should not prevent B3 from starting. Can you use some commands in-game ?

Also try that topic
Logged

Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoD4, BFBC2, MoH, CoD:BO
Posts: 11
Offline Offline
WWW
« Reply #11 on: June 19, 2011, 03:41:12 PM »

No commands work ingame, It normally puts one advert out then stops and wont respond any more.

Where do I put <set name="event_queue_size">30</set>

Also my conf hasn't changed since I first posted. What I find odd is that my two other servers run from the same database and adv/admin configs and they seem to work fine.

Logged
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3478
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #12 on: June 19, 2011, 09:21:23 PM »

Where do I put <set name="event_queue_size">30</set>
in the 'b3' section of b3.xml
Logged

Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoD4, BFBC2, MoH, CoD:BO
Posts: 11
Offline Offline
WWW
« Reply #13 on: June 20, 2011, 05:46:14 AM »

Yep that seemed to do the job. Thanks for the great support.
Logged
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3478
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #14 on: June 20, 2011, 07:14:09 AM »

you're welcome.

I'm interested in having a look at your full b3.log file showing the bot running for at least half an hour with lots of players. I added benchmark info to the log recently and I'm curious about those results in your case.
Please email it at courgette [at] bigbrotherbot.net
Logged

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


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal