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) TypeError: unsubscriptable object
Pages: [1] 2 3 ... 5   Go Down
  Print  
Author Topic: TypeError: unsubscriptable object  (Read 3657 times) Bookmark and Share
Full Member
***
OS: Linux
Type: Gameserver Rental Co.
Gameservers: COD
Posts: 53
Offline Offline
WWW
« on: March 01, 2011, 12:21:28 PM »

Code:
[root@thejackster B3]# python ./b3_run.py -c /home/GameServers/B3/b3/conf/b3.xml
checking for updates...
...no update available.
Starting www.bigbrotherbot.net (b3) v1.4.1 [posix] (Daniel)

Using config file: /home/GameServers/B3/b3/conf/b3.xml
Using external plugin directory: /home/GameServers/B3/b3/extplugins
Activating log   : /home/GameServers/B3/b3.log
Connecting to DB : OK
Traceback (most recent call last):
  File "/home/GameServers/B3/b3/run.py", line 174, in main
    run(config=options.config, nosetup=options.nosetup)
  File "/home/GameServers/B3/b3/run.py", line 138, in run
    b3.start(config, nosetup)
  File "/home/GameServers/B3/b3/__init__.py", line 161, in start
    console = parser(conf)
  File "/home/GameServers/B3/b3/parser.py", line 314, in __init__
    if game_log[0:6] == 'ftp://' or game_log[0:7] == 'sftp://' or game_log[0:7] == 'http://':
TypeError: unsubscriptable object


er?
Logged

WarServers.NET

The BEST Game Server provider!

XLRstats dev.
Dev. Team
*
OS: Linux
Type: Home user
Gameservers: COD5, COD7, BF3
Posts: 947
Offline Offline
WWW
Support Specialty: XLRstats webfront
« Reply #1 on: March 01, 2011, 03:55:44 PM »

What game? Also attach your your b3.xml (remove passwords) and b3.log pls.
Logged

Full Member
***
OS: Linux
Type: Gameserver Rental Co.
Gameservers: COD
Posts: 53
Offline Offline
WWW
« Reply #2 on: March 01, 2011, 04:45:25 PM »

Game: COD

XML:
Code:
<?xml version="1.0"?>
<configuration>
  <settings name="b3">
    <set name="parser">cod4</set>
    <set name="database">mysql://jacksterb3:password@db4free.net/jacksterb3</set>
    <set name="bot_name">^6B3</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">GMT</set>
    <set name="log_level">21</set>
    <set name="logfile">/home/GameServers/B3/b3.log</set>
  </settings>
  <settings name="server">
    <set name="rcon_password">xxxx</set>
    <set name="port">28960</set>
    <set name="game_log"></set>
    <set name="public_ip">178.238.130.174</set>
    <set name="rcon_ip">127.0.0.1</set>
    <set name="punkbuster">on</set>
  </settings>
  <settings name="autodoc">
    <set name="type">html</set>
    <set name="maxlevel">100</set>
    <set name="destination">/home/jack/warservers.net/servers/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>

LOG:
Code:
110301 13:15:59 BOT    www.bigbrotherbot.net (b3) v1.4.1 [posix] (Daniel)
110301 13:15:59 BOT    Python: 2.4.3 (#1, Nov 11 2010, 13:34:43)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-48)]
110301 13:15:59 BOT    Starting Cod4Parser v1.3.2 for server 127.0.0.1:28960
110301 13:15:59 BOT    --------------------------------------------
110301 13:15:59 BOT    Attempting to connect to database mysql://jacksterb3:******@db4free.net/jacksterb3...
110301 13:16:00 BOT    Connected to database [1 times]

Thank you.
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 #3 on: March 01, 2011, 05:10:34 PM »

You need to set the path to your game log, and also use the COD parser rather than the COD4 one.
Logged
Full Member
***
OS: Linux
Type: Gameserver Rental Co.
Gameservers: COD
Posts: 53
Offline Offline
WWW
« Reply #4 on: March 02, 2011, 03:07:47 AM »

Yep that did it.  Smiley

but i get this in the log:

Code:
110302 03:44:47 ERROR Query failed - <type 'instance'>: (1146, "Table 'jacksterb3.xlr_playerstats' doesn't exist")
110302 03:44:47 ERROR Query failed - <type 'instance'>: (1146, "Table 'jacksterb3.xlr_playerstats' doesn't exist")
110302 03:44:48 ERROR Query failed - <type 'instance'>: (1146, "Table 'jacksterb3.xlr_playerstats' doesn't exist")
110302 03:44:48 BOT    Shutting down...
110302 03:44:48 BOT    Shutting down database connections...
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 #5 on: March 02, 2011, 06:30:15 AM »

Yep that did it.  Smiley

but i get this in the log:

Code:
110302 03:44:47 ERROR Query failed - <type 'instance'>: (1146, "Table 'jacksterb3.xlr_playerstats' doesn't exist")
110302 03:44:47 ERROR Query failed - <type 'instance'>: (1146, "Table 'jacksterb3.xlr_playerstats' doesn't exist")
110302 03:44:48 ERROR Query failed - <type 'instance'>: (1146, "Table 'jacksterb3.xlr_playerstats' doesn't exist")
110302 03:44:48 BOT    Shutting down...
110302 03:44:48 BOT    Shutting down database connections...

Looks like you need to create the XLR stats databases.
Logged
Full Member
***
OS: Linux
Type: Gameserver Rental Co.
Gameservers: COD
Posts: 53
Offline Offline
WWW
« Reply #6 on: March 02, 2011, 06:53:48 AM »

I put the XLRstats in the DB.

But I get this:


Code:
110302 07:50:35 BOT    www.bigbrotherbot.net (b3) v1.4.1 [posix] (Daniel)
110302 07:50:35 BOT    Python: 2.4.3 (#1, Nov 11 2010, 13:34:43)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-48)]
110302 07:50:35 BOT    Starting CodParser v1.4.15 for server 178.238.130.174:28960
110302 07:50:35 BOT    --------------------------------------------
110302 07:50:35 BOT    Attempting to connect to database mysql://jacksterb3:******@db4free.net/jacksterb3...
110302 07:50:36 BOT    Connected to database [1 times]
110302 07:50:37 BOT    Loading Plugins (external plugin directory: /home/GameServers/B3/b3/extplugins)
110302 07:50:37 BOT    Loading Plugin #1 censor [@conf/plugin_censor.xml]
110302 07:50:37 BOT    CensorPlugin: Loading config @conf/plugin_censor.xml for CensorPlugin
110302 07:50:37 BOT    Plugin censor (2.2.1 - ThorN) loaded
110302 07:50:37 BOT    Loading Plugin #2 spamcontrol [@conf/plugin_spamcontrol.xml]
110302 07:50:37 BOT    SpamcontrolPlugin: Loading config @conf/plugin_spamcontrol.xml for SpamcontrolPlugin
110302 07:50:37 BOT    Plugin spamcontrol (1.1.2 - ThorN) loaded
110302 07:50:37 BOT    Loading Plugin #3 admin [@conf/plugin_admin.xml]
110302 07:50:37 BOT    AdminPlugin: Loading config @conf/plugin_admin.xml for AdminPlugin
110302 07:50:37 BOT    Plugin admin (1.8.2 - ThorN, xlr8or, Courgette) loaded
110302 07:50:37 BOT    Loading Plugin #4 tk [@conf/plugin_tk.xml]
110302 07:50:37 BOT    TkPlugin: Loading config @conf/plugin_tk.xml for TkPlugin
110302 07:50:37 BOT    Plugin tk (1.2.4 - ThorN) loaded
110302 07:50:37 BOT    Loading Plugin #5 stats [@conf/plugin_stats.xml]
110302 07:50:37 BOT    StatsPlugin: Loading config @conf/plugin_stats.xml for StatsPlugin
110302 07:50:37 BOT    Plugin stats (1.3.4 - ThorN, GrosBedo) loaded
110302 07:50:37 BOT    Loading Plugin #6 pingwatch [@conf/plugin_pingwatch.xml]
110302 07:50:37 BOT    PingwatchPlugin: Loading config @conf/plugin_pingwatch.xml for PingwatchPlugin
110302 07:50:37 BOT    Plugin pingwatch (1.2.2 - ThorN) loaded
110302 07:50:37 BOT    Loading Plugin #7 adv [@conf/plugin_adv.xml]
110302 07:50:37 BOT    AdvPlugin: Loading config @conf/plugin_adv.xml for AdvPlugin
110302 07:50:37 BOT    Plugin adv (1.2.2 - ThorN) loaded
110302 07:50:37 BOT    Loading Plugin #8 status [@conf/plugin_status.xml]
110302 07:50:37 BOT    StatusPlugin: Loading config @conf/plugin_status.xml for StatusPlugin
110302 07:50:37 BOT    Plugin status (1.4.3 - ThorN) loaded
110302 07:50:37 BOT    Loading Plugin #9 welcome [@conf/plugin_welcome.xml]
110302 07:50:37 BOT    WelcomePlugin: Loading config @conf/plugin_welcome.xml for WelcomePlugin
110302 07:50:37 BOT    Plugin welcome (1.1 - ThorN) loaded
110302 07:50:37 BOT    Loading Plugin #10 punkbuster [@conf/plugin_punkbuster.xml]
110302 07:50:37 BOT    PunkbusterPlugin: Loading config @conf/plugin_punkbuster.xml for PunkbusterPlugin
110302 07:50:37 BOT    Plugin punkbuster (1.0.8 - ThorN) loaded
110302 07:50:37 BOT    Loading Plugin #11 xlrstats [/home/GameServers/B3/b3/extplugins/conf/xlrstats.xml]
110302 07:50:37 BOT    XlrstatsPlugin: Loading config /home/GameServers/B3/b3/extplugins/conf/xlrstats.xml for XlrstatsPlugin
110302 07:50:37 BOT    Plugin xlrstats (2.2.9 - Tim ter Laak / Mark Weirath) loaded
110302 07:50:37 BOT    Loading Plugin publist
110302 07:50:37 BOT    PublistPlugin: No config file found for PublistPlugin. (was not required either)
10302 07:50:37 BOT    Plugin publist (1.8 - ThorN, Courgette) loaded
110302 07:50:37 BOT    Client found in storage 1, welcome back World
110302 07:50:41 WARNING Could not query server for fs_game
110302 07:50:41 WARNING Could not query server for fs_basepath
110302 07:50:42 WARNING Could not query server for fs_homepath
110302 07:50:43 WARNING Could not query server for shortversion
110302 07:50:43 BOT    Starting Plugin censor
110302 07:50:43 BOT    Starting Plugin spamcontrol
110302 07:50:43 BOT    Starting Plugin admin
110302 07:50:43 WARNING AdminPlugin: could not get command_prefix_big, using default
110302 07:50:43 BOT    Starting Plugin tk
110302 07:50:43 BOT    Starting Plugin stats
110302 07:50:43 BOT    Starting Plugin pingwatch
110302 07:50:43 BOT    Starting Plugin adv
110302 07:50:43 BOT    Starting Plugin status
110302 07:50:43 BOT    Starting Plugin welcome
110302 07:50:43 BOT    Starting Plugin punkbuster
110302 07:50:43 BOT    Starting Plugin xlrstats
110302 07:50:43 BOT    Starting Plugin publist
110302 07:50:44 BOT    Start reading...
110302 07:50:44 BOT    Shutting down...
110302 07:50:44 BOT    Shutting down database connections...


110302 07:50:37   BOT       Loading Plugin publist
110302 07:50:37   BOT       PublistPlugin: No config file found for PublistPlugin. (was not required either)
10302 07:50:37   BOT       Plugin publist (1.8 - ThorN, Courgette) loaded

I have not defined this in the config yet it still tries to load it.
« Last Edit: March 02, 2011, 06:55:23 AM by Jackster » 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 #7 on: March 02, 2011, 08:33:51 AM »

Set log_level to 9 and try again, it should give a more informative error message. Unless the bot shut down because you shut it down, in which case it could be working correctly, but change it to 9 anyway in case something is wrong.

change

    <set name="log_level">21</set>

To

    <set name="log_level">9</set>



The Publist lines are not errors, Publist is what sends your server details to the master list and is loaded by default.
Logged
Full Member
***
OS: Linux
Type: Gameserver Rental Co.
Gameservers: COD
Posts: 53
Offline Offline
WWW
« Reply #8 on: March 02, 2011, 09:35:06 AM »

I don't understand it anymore:

Code:


110302 10:30:06 DEBUG AdminPlugin: Command "advload (None)" registered with cmd_advload for level (100, 100)
110302 10:30:06 DEBUG AdminPlugin: Command "advrem (None)" registered with cmd_advrem for level (100, 100)
110302 10:30:06 DEBUG AdvPlugin: XLRstats found, @topstats available!
110302 10:30:06 BOT     Starting Plugin status
110302 10:30:06 BOT     Starting Plugin welcome
110302 10:30:06 DEBUG Register Event: Client Authenticated: WelcomePlugin
110302 10:30:06 BOT     Starting Plugin punkbuster
110302 10:30:06 DEBUG AdminPlugin: Command "pbss (None)" registered with cmd_pbss for level (20, 100)
110302 10:30:06 DEBUG AdminPlugin: Command "pbbuildbans (None)" registered with cmd_pbbuildbans for level (80, 100)
110302 10:30:06 BOT     Starting Plugin xlrstats
110302 10:30:06 DEBUG AdminPlugin: Command "xlrhide (None)" registered with cmd_xlrhide for level (60, 100)
110302 10:30:06 DEBUG AdminPlugin: Command "xlrstats (None)" registered with cmd_xlrstats for level (1, 100)
110302 10:30:06 DEBUG AdminPlugin: Command "xlrtopstats (None)" registered with cmd_xlrtopstats for level (2, 100)
110302 10:30:06 DEBUG Register Event: Client Join Team: XlrstatsPlugin
110302 10:30:06 DEBUG Register Event: Client Kill: XlrstatsPlugin
110302 10:30:06 DEBUG Register Event: Client Team Kill: XlrstatsPlugin
110302 10:30:06 DEBUG Register Event: Client Suicide: XlrstatsPlugin
110302 10:30:06 DEBUG Register Event: Game Round Start: XlrstatsPlugin
110302 10:30:06 DEBUG Register Event: Client Action: XlrstatsPlugin
110302 10:30:06 DEBUG Register Event: Client Damage: XlrstatsPlugin
110302 10:30:06 DEBUG XlrstatsPlugin: Got client id for B3: 1; World
110302 10:30:06 VERBOSE XlrstatsPlugin: Checking if we need to update tables for version 2.0.0
110302 10:30:06 DEBUG XlrstatsPlugin: Optimizing Table(s): xlr_playerstats, xlr_weaponstats, xlr_weaponusage, xlr_bodyparts, xlr_playerbody, xlr_opponents, xlr_mapstats, xlr_playermaps, xlr_actionstats, xlr_playeractions
110302 10:30:06 DEBUG XlrstatsPlugin: Optimize Success
110302 10:30:06 DEBUG XlrstatsPlugin: No Webfront Url available, using defaults
110302 10:30:06 DEBUG XlrstatsPlugin: Calculating kill_bonus
110302 10:30:06 VERBOSE Added crontab <bound method XlrstatsPlugin.calculateKillBonus of <xlrstats.XlrstatsPlugin instance at 0x9c4188c>> (164208428) - 0s [0, 10, 20, 30, 40, 50]m -1h -1d -1M -1DOW
110302 10:30:06 BOT     Starting Plugin publist
110302 10:30:06 DEBUG Set cvar _B3 = [B3 v1.4.1 [posix]]
110302 10:30:07 VERBOSE RCON sending (178.238.130.174:28960) set _B3 "B3 v1.4.1 [posix]"
110302 10:30:08 DEBUG PublistPlugin: publist will send heartbeat at 18:36 every day
110302 10:30:08 VERBOSE Added crontab <bound method PublistPlugin.update of <b3.plugins.publist.PublistPlugin instance at 0x9c90eec>> (164193676) - 0s 36m 18h -1d -1M -1DOW
110302 10:30:08 INFO PublistPlugin: initial heartbeat will be sent to B3 master server in 300.0 seconds
110302 10:30:08 BOT     Start reading...
110302 10:30:08 DEBUG AUTODOC: saving html documentation
110302 10:30:08 DEBUG AUTODOC: get commands with level <= 100
110302 10:30:08 DEBUG Writing to /home/lol/warservers.net/servers/b3_doc.html
110302 10:30:08 INFO STDOUT Error: 'CodParser' object has no attribute 'input'
  File "/home/GameServers/B3/b3/__init__.py", line 177, in start
    console.start()
  File "/home/GameServers/B3/b3/parser.py", line 396, in start
    self.run()
  File "/home/GameServers/B3/b3/parser.py", line 771, in run
    lines = self.read()
  File "/home/GameServers/B3/b3/parser.py", line 915, in read
    filestats = os.fstat(self.input.fileno())

110302 10:30:08 INFO STDOUT

110302 10:30:08 BOT     Shutting down...
110302 10:30:08 VERBOSE AdvPlugin: Warning: No handle func for AdvPlugin
110302 10:30:08 INFO StatusPlugin: B3 stop/exit.. updating status
110302 10:30:08 DEBUG StatusPlugin: Writing XML status to /root/status.xml
110302 10:30:08 DEBUG XlrstatsPlugin: xlrstats.dumpEvent -- Type 2, Client None, Target None, Data
110302 10:30:08 VERBOSE PunkbusterPlugin: Warning: No handle func for PunkbusterPlugin
110302 10:30:08 BOT     Shutting down database connections...
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 #9 on: March 02, 2011, 10:17:34 AM »

I think you need to check the path of your gamelog again.
Logged
Full Member
***
OS: Linux
Type: Gameserver Rental Co.
Gameservers: COD
Posts: 53
Offline Offline
WWW
« Reply #10 on: March 02, 2011, 10:54:27 AM »

The game log is correct.

Is it not that html file?
Logged

WarServers.NET

The BEST Game Server provider!
Full Member
***
OS: Linux
Type: Gameserver Rental Co.
Gameservers: COD
Posts: 53
Offline Offline
WWW
« Reply #11 on: March 02, 2011, 12:43:26 PM »

I'm stuck.  I am using GameCP to run my servers.


In the games_mp.log their is:

Code:
  0:00 ------------------------------------------------------------
  0:00 InitGame: \_Website\http://gamecp.com\g_compassShowEnemies\0\g_gametype\sd\gamename\Call of Duty 4\mapname\mp_showdown\protocol\6\shortversion\1.7\sv_allowAnonymous\0\sv_disableClientConsole\0\sv_floodprotect\1\sv_hostname\This server is managed with GameCP\sv_maxclients\32\sv_maxPing\350\sv_maxRate\25000\sv_minPing\0\sv_privateClients\0\sv_punkbuster\1\sv_pure\1\sv_voice\0\ui_maxclients\32
  2:55 ShutdownGame:
  2:55 ------------------------------------------------------------
  2:55 ------------------------------------------------------------
  2:55 InitGame: \_Website\http://gamecp.com\g_compassShowEnemies\0\g_gametype\sd\gamename\Call of Duty 4\mapname\mp_showdown\protocol\6\shortversion\1.7\sv_allowAnonymous\0\sv_disableClientConsole\0\sv_floodprotect\1\sv_hostname\This server is managed with GameCP\sv_maxclients\32\sv_maxPing\350\sv_maxRate\25000\sv_minPing\0\sv_privateClients\0\sv_punkbuster\0\sv_pure\1\sv_voice\0\ui_maxclients\32
  5:31 ShutdownGame:
  5:31 ------------------------------------------------------------
  5:31 ------------------------------------------------------------
  5:31 InitGame: \_Website\http://gamecp.com\g_compassShowEnemies\0\g_gametype\sd\gamename\Call of Duty 4\mapname\mp_showdown\protocol\6\shortversion\1.7\sv_allowAnonymous\0\sv_disableClientConsole\0\sv_floodprotect\1\sv_hostname\This server is managed with GameCP\sv_maxclients\32\sv_maxPing\350\sv_maxRate\25000\sv_minPing\0\sv_privateClients\0\sv_punkbuster\0\sv_pure\1\sv_voice\0\ui_maxclients\32
  8:11 ShutdownGame:
  8:11 ------------------------------------------------------------
  8:11 ------------------------------------------------------------
  8:11 InitGame: \_Website\http://gamecp.com\g_compassShowEnemies\0\g_gametype\sd\gamename\Call of Duty 4\mapname\mp_showdown\protocol\6\shortversion\1.7\sv_allowAnonymous\0\sv_disableClientConsole\0\sv_floodprotect\1\sv_hostname\This server is managed with GameCP\sv_maxclients\32\sv_maxPing\350\sv_maxRate\25000\sv_minPing\0\sv_privateClients\0\sv_punkbuster\0\sv_pure\1\sv_voice\0\ui_maxclients\32
 10:47 ShutdownGame:
 10:47 ------------------------------------------------------------
 

And in the console_mp.log:

Code:
Build 13620 Thu Oct 04 00:43:04 2007
logfile opened on Wed Mar  2 13:34:35 2011

sv_cheats is write protected.
      dvar set sv_pure 0
      dvar set sv_kickBanTime 3600
      dvar set sv_voice 1
      dvar set sv_voiceQuality 5
      dvar set sv_allowAnonymous 0
      dvar set sv_mapRotation gametype tdm map mp_showdown gametype tdm map mp_bloc gametype tdm map mp_bog gametype tdm map mp_cargoship gametype tdm map mp_citystreets gametype tdm map mp_convoy gametype tdm map mp_countdown gametype tdm map mp_crash gametype tdm map mp_crossfire gametype tdm map mp_farm gametype tdm map mp_overgrown gametype tdm map mp_pipeline gametype tdm map mp_backlot gametype tdm map mp_strike gametype tdm map mp_vacant
Error: couldn't exec GV/war.cfg
      dvar set g_gametype sd
      dvar set sv_maxclients 24
      dvar set sv_punkbuster 0
sv_punkbuster is write protected.
map_rotate...

"sv_mapRotation" is:"gametype tdm map mp_showdown gametype tdm map mp_bloc gametype tdm map mp_bog gametype tdm map mp_cargoship gametype tdm map mp_citystreets gametype tdm map mp_convoy gametype tdm map mp_countdown gametype tdm map mp_crash gametype tdm map mp_crossfire gametype tdm map mp_farm gametype tdm map mp_overgrown gametype tdm map mp_pipeline gametype tdm map mp_backlot gametype tdm map mp_strike gametype tdm map mp_vacant"

"sv_mapRotationCurrent" is:""

      dvar set sv_mapRotationCurrent gametype tdm map mp_showdown gametype tdm map mp_bloc gametype tdm map mp_bog gametype tdm map mp_cargoship gametype tdm map mp_citystreets gametype tdm map mp_convoy gametype tdm map mp_countdown gametype tdm map mp_crash gametype tdm map mp_crossfire gametype tdm map mp_farm gametype tdm map mp_overgrown gametype tdm map mp_pipeline gametype tdm map mp_backlot gametype tdm map mp_strike gametype tdm map mp_vacant
      dvar set sv_mapRotationCurrent  tdm map mp_showdown gametype tdm map mp_bloc gametype tdm map mp_bog gametype tdm map mp_cargoship gametype tdm map mp_citystreets gametype tdm map mp_convoy gametype tdm map mp_countdown gametype tdm map mp_crash gametype tdm map mp_crossfire gametype tdm map mp_farm gametype tdm map mp_overgrown gametype tdm map mp_pipeline gametype tdm map mp_backlot gametype tdm map mp_strike gametype tdm map mp_vacant
      dvar set sv_mapRotationCurrent  map mp_showdown gametype tdm map mp_bloc gametype tdm map mp_bog gametype tdm map mp_cargoship gametype tdm map mp_citystreets gametype tdm map mp_convoy gametype tdm map mp_countdown gametype tdm map mp_crash gametype tdm map mp_crossfire gametype tdm map mp_farm gametype tdm map mp_overgrown gametype tdm map mp_pipeline gametype tdm map mp_backlot gametype tdm map mp_strike gametype tdm map mp_vacant
Setting g_gametype: tdm.
      dvar set g_gametype tdm
      dvar set sv_mapRotationCurrent  mp_showdown gametype tdm map mp_bloc gametype tdm map mp_bog gametype tdm map mp_cargoship gametype tdm map mp_citystreets gametype tdm map mp_convoy gametype tdm map mp_countdown gametype tdm map mp_crash gametype tdm map mp_crossfire gametype tdm map mp_farm gametype tdm map mp_overgrown gametype tdm map mp_pipeline gametype tdm map mp_backlot gametype tdm map mp_strike gametype tdm map mp_vacant
      dvar set sv_mapRotationCurrent  gametype tdm map mp_bloc gametype tdm map mp_bog gametype tdm map mp_cargoship gametype tdm map mp_citystreets gametype tdm map mp_convoy gametype tdm map mp_countdown gametype tdm map mp_crash gametype tdm map mp_crossfire gametype tdm map mp_farm gametype tdm map mp_overgrown gametype tdm map mp_pipeline gametype tdm map mp_backlot gametype tdm map mp_strike gametype tdm map mp_vacant
Setting map: mp_showdown.
      dvar set g_gametype tdm
g_gametype tdm is not a valid gametype, defaulting to dm
      dvar set g_gametype dm
      dvar set mapname mp_showdown
------ Server Initialization ------
Server: mp_showdown
      dvar set ui_maxclients 32
      dvar set sv_maxclients 24
      dvar set sv_running 1
Current language: english
Current search path:
/home/jack/service5/cod4/main/iw_13.iwd (265 files)
/home/jack/service5/cod4/main/iw_12.iwd (33 files)
/home/jack/service5/cod4/main/iw_11.iwd (448 files)
/home/jack/service5/cod4/main/iw_10.iwd (230 files)
/home/jack/service5/cod4/main/iw_09.iwd (447 files)
/home/jack/service5/cod4/main/iw_08.iwd (66 files)
/home/jack/service5/cod4/main/iw_07.iwd (34 files)
/home/jack/service5/cod4/main/iw_06.iwd (416 files)
/home/jack/service5/cod4/main/iw_05.iwd (716 files)
/home/jack/service5/cod4/main/iw_04.iwd (765 files)
/home/jack/service5/cod4/main/iw_03.iwd (670 files)
/home/jack/service5/cod4/main/iw_02.iwd (1296 files)
/home/jack/service5/cod4/main/iw_01.iwd (1456 files)
/home/jack/service5/cod4/main/iw_00.iwd (1054 files)
/home/jack/service5/cod4/main
/home/jack/service5/cod4/main_shared
/home/jack/service5/cod4/players
/home/jack/service5/cod4/main/localized_english_iw06.iwd (7 files)
    localized assets iwd file for english
/home/jack/service5/cod4/main/localized_english_iw05.iwd (1338 files)
    localized assets iwd file for english
/home/jack/service5/cod4/main/localized_english_iw04.iwd (1730 files)
    localized assets iwd file for english
/home/jack/service5/cod4/main/localized_english_iw03.iwd (3705 files)
    localized assets iwd file for english
/home/jack/service5/cod4/main/localized_english_iw02.iwd (3483 files)
    localized assets iwd file for english
/home/jack/service5/cod4/main/localized_english_iw01.iwd (3181 files)
    localized assets iwd file for english
/home/jack/service5/cod4/main/localized_english_iw00.iwd (2903 files)
    localized assets iwd file for english

File Handles:
handle 1: console_mp.log
----------------------
48486 files in iwd files

And a lot of the settings....

I have got B3 to go to both and each time i get:

Code:
110302 13:32:32 BOT    www.bigbrotherbot.net (b3) v1.4.1 [posix] (Daniel)
110302 13:32:32 BOT    Python: 2.4.3 (#1, Nov 11 2010, 13:34:43)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-48)]
110302 13:32:32 BOT    Starting CodParser v1.4.15 for server 178.238.130.174:28960
110302 13:32:32 BOT    --------------------------------------------
110302 13:32:32 BOT    Attempting to connect to database mysql://jacksterb3:******@db4free.net/jacksterb3...
110302 13:32:32 BOT    Connected to database [1 times]
110302 13:32:32 BOT    Game log /home/jack/service5/cod4/main/console_mp.log
110302 13:32:32 BOT    Starting bot reading file /home/jack/service5/cod4/main/console_mp.log

IDK Sad
Logged

WarServers.NET

The BEST Game Server provider!
Full Member
***
OS: Linux
Type: Gameserver Rental Co.
Gameservers: COD
Posts: 53
Offline Offline
WWW
« Reply #12 on: March 02, 2011, 12:44:47 PM »

An in SSH I get:

Code:
[root@thejackster B3]# python ./b3_run.py -c /home/GameServers/B3/b3/conf/b3.xml
checking for updates...
...no update available.
Starting www.bigbrotherbot.net (b3) v1.4.1 [posix] (Daniel)

Using config file: /home/GameServers/B3/b3/conf/b3.xml
Using external plugin directory: /home/GameServers/B3/b3/extplugins
Activating log   : /home/GameServers/B3/b3.log
Connecting to DB : OK
Using Gamelog    : /home/jack/service5/cod4/main/gamelog.log
Traceback (most recent call last):
  File "/home/GameServers/B3/b3/run.py", line 174, in main
    run(config=options.config, nosetup=options.nosetup)
  File "/home/GameServers/B3/b3/run.py", line 138, in run
    b3.start(config, nosetup)
  File "/home/GameServers/B3/b3/__init__.py", line 161, in start
    console = parser(conf)
  File "/home/GameServers/B3/b3/parser.py", line 342, in __init__
    self.input.seek(0, os.SEEK_END)
AttributeError: 'module' object has no attribute 'SEEK_END'
[root@thejackster B3]#
Logged

WarServers.NET

The BEST Game Server provider!
Full Member
***
OS: Linux
Type: Gameserver Rental Co.
Gameservers: COD
Posts: 53
Offline Offline
WWW
« Reply #13 on: March 02, 2011, 03:16:52 PM »

Fixed.


Changed

Code:
<set name="game_log"/>

to

Code:
<set name="local_game_log">

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 #14 on: March 02, 2011, 03:49:04 PM »

You don't need local_game_log unless you are connecting to a remote game log, do your commands work?
Logged
Tags:
Pages: [1] 2 3 ... 5   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal