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)Johnny needs help
Pages: [1] 2 3   Go Down
  Print  
Author Topic: Johnny needs help  (Read 1480 times) Bookmark and Share
Jr. Member
**
OS: Windows
Type: Renting Server, no B3
Gameservers: UrT
Posts: 20
Offline Offline
« on: March 12, 2011, 07:57:33 AM »

Hello guys i have a problem with my b3 bot 

The b3 console says: TypeError: 'NoneType' object is unsubscribtable

i hope anyone can help me
Sorry for my bad english

game: UrT41
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 12, 2011, 08:05:33 AM »

Hi Johnny,

please attach your b3.log file. It will give details about what goes wrong for your case
Logged

Jr. Member
**
OS: Windows
Type: Renting Server, no B3
Gameservers: UrT
Posts: 20
Offline Offline
« Reply #2 on: March 12, 2011, 10:51:41 AM »

110312 15:48:48   BOT       www.BigBrotherBot.com (b3) v1.3.2 [nt] (Daniel) [Win32 standalone]
110312 15:48:48   BOT       Python: 2.6.1 (r261:67517, Dec  4 2008, 16:51:00) [MSC v.1500 32 bit (Intel)]
110312 15:48:48   BOT       Starting Iourt41Parser v1.7.11 for server 192.168.0.1:27960
110312 15:48:48   BOT       --------------------------------------------
110312 15:48:48   BOT       Attempting to connect to database mysql://b3:******@localhost/b3_db...
110312 15:48:48   BOT       Connected to database [1 times]
110312 15:48:48   ERROR   STDERR Traceback (most recent call last):

110312 15:48:48   ERROR   STDERR   File "b3\run.pyo", line 152, in main

110312 15:48:48   ERROR   STDERR   File "b3\run.pyo", line 116, in run

110312 15:48:48   ERROR   STDERR   File "b3\__init__.pyo", line 154, in start

110312 15:48:48   ERROR   STDERR   File "b3\parser.pyo", line 283, in __init__

110312 15:48:48   ERROR   STDERR TypeError: 'NoneType' object is unsubscriptable


is that the right b3_log

Logged
Beta Testers
*
OS: Linux
Type: Owner dedicated server(s)
Posts: 234
Offline Offline
« Reply #3 on: March 12, 2011, 10:54:54 AM »

version 1.3.2 ? use the new version and try again.

I had some problems with python 2.6, 2.7 works much better for me.
Logged
Jr. Member
**
OS: Windows
Type: Renting Server, no B3
Gameservers: UrT
Posts: 20
Offline Offline
« Reply #4 on: March 12, 2011, 11:33:19 AM »

the new version of python doesn't work Undecided
b3 run the 2.6 version

give it a new version of b3 bot??
Logged
Beta Testers
*
OS: Linux
Type: Owner dedicated server(s)
Posts: 234
Offline Offline
« Reply #5 on: March 12, 2011, 11:43:23 AM »

you can find a v 1.4.2b beta somewhere here in the board. Works great Smiley
Logged
Jr. Member
**
OS: Windows
Type: Renting Server, no B3
Gameservers: UrT
Posts: 20
Offline Offline
« Reply #6 on: March 12, 2011, 11:46:31 AM »

i have the version now but the problem is still there  Sad

i hope you can help me

Logged
Jr. Member
**
OS: Windows
Type: Renting Server, no B3
Gameservers: UrT
Posts: 20
Offline Offline
« Reply #7 on: March 12, 2011, 11:48:09 AM »

are you german? that would be good
Logged
Jr. Member
**
OS: Windows
Type: Renting Server, no B3
Gameservers: UrT
Posts: 20
Offline Offline
« Reply #8 on: March 12, 2011, 12:02:44 PM »

Please can anyone help me  Cry
Logged
Full Member
***
OS: Linux
Type: Gameserver Rental Co.
Gameservers: COD
Posts: 53
Offline Offline
WWW
« Reply #9 on: March 12, 2011, 01:02:59 PM »

People will help. Don't keep asking every 10 mins.
Logged

WarServers.NET

The BEST Game Server provider!
Dev. Team
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: COD2,COD4,COD5
Posts: 1098
Offline Offline
« Reply #10 on: March 12, 2011, 01:49:54 PM »

Please post your B3 xml and the current B3 log. (remove passwords)
Logged
Jr. Member
**
OS: Windows
Type: Renting Server, no B3
Gameservers: UrT
Posts: 20
Offline Offline
« Reply #11 on: March 12, 2011, 02:29:27 PM »

Here the xml:



<?xml version="1.0"?>
<configuration>
  <settings name="b3">
    <set name="parser">iourt41</set>
    <set name="database">mysql://b3:********@localhost/b3_db</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">20</set>
    <set name="logfile">b3.log</set>
  </settings>
  <settings name="server">
    <set name="rcon_password">lol</set>
    <set name="port">27960</set>
    <set name="game_log"></set>
    <set name="public_ip">93.207.159.31</set>
    <set name="rcon_ip">93.207.159.31</set>
    <set name="punkbuster">off</set>
  </settings>
  <settings name="autodoc">
    <set name="type">html</set>
    <set name="maxlevel">100</set>
    <set name="destination">/b3/to/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"/>
  </plugins>
</configuration>

And here the log





110312 21:38:04   BOT       www.bigbrotherbot.net (b3) v1.4.1 [nt] (Daniel) [Win32 standalone]
110312 21:38:04   BOT       Python: 2.6.1 (r261:67517, Dec  4 2008, 16:51:00) [MSC v.1500 32 bit (Intel)]
110312 21:38:04   BOT       Starting Iourt41Parser v1.7.12 for server 93.207.159.31:27960
110312 21:38:04   BOT       --------------------------------------------
110312 21:38:04   BOT       Attempting to connect to database mysql://b3:******@localhost/b3_db...
110312 21:38:04   BOT       Connected to database [1 times]



Logged
Jr. Member
**
OS: Windows
Type: Renting Server, no B3
Gameservers: UrT
Posts: 20
Offline Offline
« Reply #12 on: March 12, 2011, 02:51:29 PM »

ok and here is that was in the console is



Starting www.bigbrotherbot.net (b3) v1.4.1 [nt] (Daniel) [Win32 standalone]

Using config file: C:\ProgramData\BigBrotherBot\conf\b3.xml
Using external plugin directory: C:\Program Files (x86)\BigBrotherBot_1.4.1\extp
lugins
Activating log   : 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
Logged
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #13 on: March 12, 2011, 02:57:39 PM »

in your b3.xml, you have to set the path to your game log file at :
Code:
<set name="game_log"></set>

See this section of the doc to learn how to set this value
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 #14 on: March 12, 2011, 05:50:14 PM »

Also, set your log level to 9 if that doesn't help and post the log...
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] 2 3   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal