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: B3 Mw2  (Read 1515 times) Bookmark and Share
Jr. Member
**
OS: Windows
Type: Home user
Gameservers: Cod:alterIWnet
Posts: 10
Offline Offline
« on: March 21, 2011, 10:55:04 AM »

Hello, my name is ofir, and i am having this problem :

[console]

Starting www.bigbrotherbot.net <b3> v1.4.1 [nt] <Daniel> [Win32 standdalone]

Using config file: conf\b3.xml
Using external plugin directory: C:\B3WX\BigBrotherBot_1.4.1\extplugins
Activating log : C:\B3WX\BigBrotherBot_1.4.1\b3.log
Connecting to DB : OK
Traceback <most recent call last>:
File "b3\run.pyo", line 174, in main
File "b3\run.pyo", line 138, in run
File "b3\"__init__.pyo", line 161, in start
File "b3\parser.pyo", line 314, in __init__
TypeError: 'NoneType' object is unsubscriptable
Press the [ENTER] key

[/console]
p.s, if u see any mistake, i wrote it myself, cant copy cmd
What should i do?  

My b3.log file is EMPTY, my b3 isnt running.

My b3.xml :
Code:
<?xml version="1.0" ?>
- <configuration>
- <settings name="b3">
  <set name="parser">cod6</set>
  <set name="database">mysql://b3:YOU-ARE-NOT-GOING-TO-GET-MY-PASS@localhost/b3</set>
  <set name="bot_name">B3</set>
  <set name="bot_prefix">^0(^2b3^0)^7:</set>
  <set name="time_format">%I:%M%p %Z %m/%d/%y</set>
  <set name="time_zone">CST</set>
  <set name="log_level">9</set>
  <set name="logfile">C:\\B3WX\\BigBrotherBot_1.4.1\\b3.log</set>
  </settings>
- <settings name="server">
  <set name="rcon_password">blablabla u cant has it.</set>
  <set name="port">28960</set>
  <set name="game_log" />
  <set name="public_ip">My External IP</set>
  <set name="rcon_ip">192.168.1.100</set>
  <set name="punkbuster">off</set>
  </settings>
- <settings name="autodoc">
  <set name="type">html</set>
  <set name="maxlevel">100</set>
  <set name="destination">c:/b3_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 name="censor" config="@conf/plugin_censor.xml" />
  <plugin name="spamcontrol" config="@conf/plugin_spamcontrol.xml" />
  <plugin name="admin" config="@conf/plugin_admin.xml" />
  <plugin name="tk" config="@conf/plugin_tk.xml" />
  <plugin name="stats" config="@conf/plugin_stats.xml" />
  <plugin name="pingwatch" config="@conf/plugin_pingwatch.xml" />
  <plugin name="adv" config="@conf/plugin_adv.xml" />
  <plugin name="status" config="@conf/plugin_status.xml" />
  <plugin name="welcome" config="@conf/plugin_welcome.xml" />
  <plugin name="punkbuster" config="@conf/plugin_punkbuster.xml" />
  <plugin name="xlrstats" config="@b3/extplugins/conf/xlrstats.xml" />
  </plugins>
  </configuration>

Ps. its not my real pass, nither the ip i have in the real b3.xml file, any assistance? i posted anything i can.
Logged

Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Online Online
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #1 on: March 21, 2011, 11:00:24 AM »

Welcome Ofir,

in your b3.xml, you need to setup where B3 can find your game server log file.

search for
Code:
<set name="game_log" />
replace with
Code:
<set name="game_log">c:\where\ever\is\you\gamelog\file.log</set>
Logged

Jr. Member
**
OS: Windows
Type: Home user
Gameservers: Cod:alterIWnet
Posts: 10
Offline Offline
« Reply #2 on: March 21, 2011, 11:12:13 AM »

Welcome Ofir,

in your b3.xml, you need to setup where B3 can find your game server log file.

search for
Code:
<set name="game_log" />
replace with
Code:
<set name="game_log">c:\where\ever\is\you\gamelog\file.log</set>

First of all, thank you.

And second of all, i am using iSnipe mod, forgot to mention that, And after i modifyd the B3.XML, it says its incorrect when i run b3.
Logged
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Online Online
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #3 on: March 21, 2011, 11:13:57 AM »

please always post your b3.log file whenever you have an issue. And in this case also your b3.xml file (hide passwords)
Logged

Jr. Member
**
OS: Windows
Type: Home user
Gameservers: Cod:alterIWnet
Posts: 10
Offline Offline
« Reply #4 on: March 21, 2011, 11:16:44 AM »

please always post your b3.log file whenever you have an issue. And in this case also your b3.xml file (hide passwords)
b3.log is empty, gonna post xml in few minutes.
Logged
Jr. Member
**
OS: Windows
Type: Home user
Gameservers: Cod:alterIWnet
Posts: 10
Offline Offline
« Reply #5 on: March 21, 2011, 12:02:28 PM »

please always post your b3.log file whenever you have an issue. And in this case also your b3.xml file (hide passwords)
Here is the newst xml, still same error as first post
Code:
<?xml version="1.0" ?>
- <configuration>
- <settings name="b3">
  <set name="parser">cod6</set>
  <set name="database">mysql://b3:naa@localhost/b3</set>
  <set name="bot_name">B3</set>
  <set name="bot_prefix">^0(^2b3^0)^7:</set>
  <set name="time_format">%I:%M%p %Z %m/%d/%y</set>
  <set name="time_zone">CST</set>
  <set name="log_level">9</set>
  <set name="logfile">C:\\B3WX\\BigBrotherBot_1.4.1/b3.log</set>
  </settings>
- <settings name="server">
  <set name="rcon_password">naa</set>
  <set name="port">28960</set>
  <set name="game_log" />
  C:\Users\OFIR\Desktop\Mw2server\mods\isnipe\games_mp.log
  <set name="public_ip">naa</set>
  <set name="rcon_ip">192.168.1.100</set>
  <set name="punkbuster">off</set>
  </settings>
- <settings name="autodoc">
  <set name="type">html</set>
  <set name="maxlevel">100</set>
  <set name="destination">c:/o/b3_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 name="censor" config="@conf/plugin_censor.xml" />
  <plugin name="spamcontrol" config="@conf/plugin_spamcontrol.xml" />
  <plugin name="admin" config="@conf/plugin_admin.xml" />
  <plugin name="tk" config="@conf/plugin_tk.xml" />
  <plugin name="stats" config="@conf/plugin_stats.xml" />
  <plugin name="pingwatch" config="@conf/plugin_pingwatch.xml" />
  <plugin name="adv" config="@conf/plugin_adv.xml" />
  <plugin name="status" config="@conf/plugin_status.xml" />
  <plugin name="welcome" config="@conf/plugin_welcome.xml" />
  <plugin name="punkbuster" config="@conf/plugin_punkbuster.xml" />
  <plugin name="xlrstats" config="@b3/extplugins/conf/xlrstats.xml" />
  </plugins>
  </configuration>
Logged
Dev. Team
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: COD2,COD4,COD5
Posts: 1098
Offline Offline
« Reply #6 on: March 21, 2011, 12:19:31 PM »

You need to put the line in exactly as Courgette posted. Yours is on two lines and is missing the correct xml tags.
Logged
Moderator
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2627
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #7 on: March 21, 2011, 12:26:33 PM »

Like this:

<set name="game_log">C:\Users\OFIR\Desktop\Mw2server\mods\isnipe\games_mp.log</set>
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: Home user
Gameservers: Cod:alterIWnet
Posts: 10
Offline Offline
« Reply #8 on: March 21, 2011, 12:30:29 PM »

You need to put the line in exactly as Courgette posted. Yours is on two lines and is missing the correct xml tags.

Thats what ive done like Courgette posted, And thats what i get

[console]
Using config file: conf\b3.xml
file "b3\run.pyo", line 174, in main
file "b3\run.pyo, line 138, in run
file "b3\__init__.pyo", line 139, in start
file "b3\config.pyo", line 271, in load
file "b3\config.pyo", line 180, in load
file "b3\config.pyo", line 75, in readfp
ConfigFileNotValid: 'mismatched tag: line 16, column 89'
press the  [ENTER] key
[/console]

b3.xml (from txt not web browser as i gave before)

Code:
<?xml version="1.0"?>
<configuration>
  <settings name="b3">
    <set name="parser">cod6</set>
    <set name="database">mysql://b3:naa@localhost/b3</set>
    <set name="bot_name">B3</set>
    <set name="bot_prefix">^0(^2b3^0)^7:</set>
    <set name="time_format">%I:%M%p %Z %m/%d/%y</set>
    <set name="time_zone">CST</set>
    <set name="log_level">9</set>
    <set name="logfile">C:\\B3WX\\BigBrotherBot_1.4.1/b3.log</set>
  </settings>
  <settings name="server">
    <set name="rcon_password">naa</set>
    <set name="port">28960</set>
    <set name="game_log">C:\Users\OFIR\Desktop\Mw2server\mods\isnipe\games_mp.log</set></set><set name="public_ip">naa</set>
    <set name="rcon_ip">192.168.1.100</set>
    <set name="punkbuster">off</set>
  </settings>
  <settings name="autodoc">
    <set name="type">html</set>
    <set name="maxlevel">100</set>
    <set name="destination">c:/o/b3_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 name="censor" config="@conf/plugin_censor.xml"/>
    <plugin name="spamcontrol" config="@conf/plugin_spamcontrol.xml"/>
    <plugin name="admin" config="@conf/plugin_admin.xml"/>
    <plugin name="tk" config="@conf/plugin_tk.xml"/>
    <plugin name="stats" config="@conf/plugin_stats.xml"/>
    <plugin name="pingwatch" config="@conf/plugin_pingwatch.xml"/>
    <plugin name="adv" config="@conf/plugin_adv.xml"/>
    <plugin name="status" config="@conf/plugin_status.xml"/>
    <plugin name="welcome" config="@conf/plugin_welcome.xml"/>
    <plugin name="punkbuster" config="@conf/plugin_punkbuster.xml"/>
    <plugin name="xlrstats" config="@b3/extplugins/conf/xlrstats.xml"/>
  </plugins>
</configuration>

Logged
Jr. Member
**
OS: Windows
Type: Home user
Gameservers: Cod:alterIWnet
Posts: 10
Offline Offline
« Reply #9 on: March 21, 2011, 12:35:15 PM »

Like this:

<set name="game_log">C:\Users\OFIR\Desktop\Mw2server\mods\isnipe\games_mp.log</set>

i thank you fine sir, its actually working!

but still thats my console, and I DO GET rcon from X in IW4 Console.

[console]
Using config file: conf\b3.xml
Using external plugin directory: C:\b3wx\bigbrotherbot_1.4.1\extplugins
Activaiting log : c:\bewx\bigbrotherbot_1.4.1\b3.log
Connecting to DB : OK
Using gamelog : C:\users\ofir\desktop\mw2server\mods\isnipe\games_mp.log
Testing RCON : OK
Loading Events : 32 events loaded
Loading Plugins : 220
Press the [ENTER] key.
[/console]

When i click the enter key it closes the b3_run.exe :\
Logged
Dev. Team
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: COD2,COD4,COD5
Posts: 1098
Offline Offline
« Reply #10 on: March 21, 2011, 12:44:29 PM »

You seem to have an extra </set> in there and two lines on one line:

Code:
   <set name="game_log">C:\Users\OFIR\Desktop\Mw2server\mods\isnipe\games_mp.log</set></set><set name="public_ip">naa</set>

should be

Code:
   <set name="game_log">C:\Users\OFIR\Desktop\Mw2server\mods\isnipe\games_mp.log</set>
   <set name="public_ip">naa</set>
Logged
Jr. Member
**
OS: Windows
Type: Home user
Gameservers: Cod:alterIWnet
Posts: 10
Offline Offline
« Reply #11 on: March 21, 2011, 01:14:48 PM »

You seem to have an extra </set> in there and two lines on one line:

Code:
   <set name="game_log">C:\Users\OFIR\Desktop\Mw2server\mods\isnipe\games_mp.log</set></set><set name="public_ip">naa</set>

should be

Code:
   <set name="game_log">C:\Users\OFIR\Desktop\Mw2server\mods\isnipe\games_mp.log</set>
   <set name="public_ip">naa</set>

yeah found it out and b3 is working, tested commands also,

but, how do i remove !iamgod from user group? i dont want people super admin lol
Logged
Moderator
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2627
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #12 on: March 21, 2011, 01:23:10 PM »

No need to, it auto-disables after 1 superadmin.
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
Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal