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)B3 Not working
Pages: [1]   Go Down
  Print  
Author Topic: B3 Not working  (Read 496 times) Bookmark and Share
Newbie
*
OS: Windows
Type: Renting Server, no B3
Gameservers: COD6
Posts: 4
Offline Offline
« on: October 23, 2011, 08:11:59 AM »

Hello I have installed the b3 mod and it seems to be working fine. It will start and messages will appear in game, however nothing like commands will work. Also I noticed that nothing is being saved to the database. I have the firewall disabled and still can not get b3 to record stats or receive commands.

This is installed on a Windows 7 machine.

Quote
<?xml version='1.0'?>
<!--
 This file is generated by the B3 setup Procedure.
 If you want to regenerate this file and make sure the format is
 correct, you can invoke the setup procedure with the
 command : b3_run -s b3.xml

 This is B3 main config file (the one you specify when you run B3 with the
 command : b3_run -c b3.xml)

 For any change made in this config file, you have to restart the bot.
 Whenever you can specify a file/directory path, the following shortcuts
 can be used :
  @b3 : the folder where B3 code is installed in
  @conf : the folder containing this config file
 -->
<configuration>
   <settings name="b3">
      <!-- Define your game: altitude/bfbc2/cod/cod2/cod4/cod5/cod6/cod7/etpro/homefront/iourt41/moh/oa081/smg/wop/wop15/ -->
      <set name="parser">cod6</set>
      <!-- Your database info: [mysql]://[db-user]:[db-password]@[db-server[:port]]/[db-name] -->
      <set name="database">mysql://syrus:XXXXXX@localhost/b3</set>
      <!-- Name of the bot -->
      <set name="bot_name">B3</set>
      <!-- Ingame messages are prefixed with this code, you can use colorcodes -->
      <set name="bot_prefix">^0(^2b3^0)^7:</set>
      <set name="time_format">%I:%M%p %Z %m/%d/%y</set>
      <!-- The timezone your bot is in -->
      <set name="time_zone">est</set>
      <!-- How much detail in the logfile: 9 = verbose, 10 = debug, 21 = bot, 22 = console -->
      <set name="log_level">9</set>
      <!-- Name of the logfile the bot will generate -->
      <set name="logfile">b3.log</set>
   </settings>
   <settings name="server">
      <!-- The RCON pass of your gameserver -->
      <set name="rcon_password">XXXXXX</set>
      <!-- The port the server is running on -->
      <set name="port">28970</set>
      <!-- The gameserver generates a logfile, put the path and name here -->
      <set name="game_log">http://204.62.12.164:82/TKXBENWUZOCEQUVSUOKHVWINJGAGPLUGYDEFAFCUUEYQOHRGJC</set>
      <!-- The public IP your gameserver is residing on -->
      <set name="public_ip">204.62.12.164</set>
      <!-- The IP the bot can use to send RCON commands to (127.0.0.1 when on the same box) -->
      <set name="rcon_ip">204.62.12.164</set>
      <!-- Delay between each log reading. Set a higher value to consume less disk resources or bandwidth if you remotely connect (ftp or http remote log access) -->
      <set name="delay">0.33</set>
      <!-- Number of lines to process per second. Set a lower value to consume less CPU resources -->
      <set name="lines_per_second">50</set>
      <!-- Is the gameserver running PunkBuster Anticheat: on/off -->
      <set name="punkbuster">on</set>
   </settings>
   <settings name="autodoc">
      <!-- Autodoc will generate a user documentation for all B3 commands -->
      <!-- by default, a html documentation is created in your conf folder -->

      <!-- html, htmltable or xml -->
      <set name="type">html</set>
      <!-- if you want to exclude commands reserved for higher levels -->
      <set name="maxlevel">100</set>
      <!-- Destination can be a file or a ftp url -->
      <set name="destination">b3_doc.htm</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 order is important. Plugins that add new in-game commands all depend on the admin plugin. Make sure to have the admin plugin before them. -->

                <plugin config="@conf/plugin_admin.xml" name="admin" />      
                <plugin config="@conf/plugin_censor.xml" name="censor" />
      <plugin config="@conf/plugin_spamcontrol.xml" name="spamcontrol" />
      <plugin config="@conf/plugin_tk.xml" name="tk" />
      <plugin config="@conf/plugin_stats.xml" name="stats" />
      <plugin config="@conf/plugin_pingwatch.xml" name="pingwatch" />
      <plugin config="@conf/plugin_adv.xml" name="adv" />
      <plugin config="@conf/plugin_status.xml" name="status" />
      <plugin config="@conf/plugin_welcome.xml" name="welcome" />
      <plugin config="@conf/plugin_punkbuster.xml" name="punkbuster" />
      <!-- You can add new/custom plugins to this list using the same form as above. -->
   </plugins>
</configuration>


Log file attached
Logged

Beta Testers
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 244
Offline Offline
« Reply #1 on: October 23, 2011, 08:58:17 AM »

Delete the gameslog that BBB is reading, restart the gameserver and check if the logfile is recreated.

BBB don't understand the gamelog that you provided. Probably the path to the file points to a different file, or you are running some strangly modded server, which changes the log.
Logged

Dev. Team
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: COD2,COD4,COD5
Posts: 1098
Offline Offline
« Reply #2 on: October 23, 2011, 09:02:58 AM »

You probably shouldn't be using http: for the game log, it should either be a local file or one accessed over an ftp connection.
Logged
Newbie
*
OS: Windows
Type: Renting Server, no B3
Gameservers: COD6
Posts: 4
Offline Offline
« Reply #3 on: October 23, 2011, 09:12:57 AM »

Can I move the gamelog to my local machine from my server host? That path is the stream they provide. the only other option is ftp which would look like this do to their directory structure.

<set name="game_log">http://ftp://XXXXXX:XXXXXX@204.62.12.164 port 28970/main/games_mp.log</set>
Logged
Newbie
*
OS: Windows
Type: Renting Server, no B3
Gameservers: COD6
Posts: 4
Offline Offline
« Reply #4 on: October 23, 2011, 09:23:35 AM »

Delete the gameslog that BBB is reading, restart the gameserver and check if the logfile is recreated.

BBB don't understand the gamelog that you provided. Probably the path to the file points to a different file, or you are running some strangly modded server, which changes the log.

I deleted the game_mp.log and restarted the server but it did not recreate it.

Only thing on our server is iSnipe
« Last Edit: October 23, 2011, 09:39:16 AM by SyruStheViruS » Logged
Dev. Team
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: COD2,COD4,COD5
Posts: 1098
Offline Offline
« Reply #5 on: October 23, 2011, 10:34:52 AM »

I suggest you use the ftp connection.
Logged
Newbie
*
OS: Windows
Type: Renting Server, no B3
Gameservers: COD6
Posts: 4
Offline Offline
« Reply #6 on: October 23, 2011, 10:44:05 AM »

I suggest you use the ftp connection.

I have tried the ftp and it will not work either. I am running iSnipe mod on this server so I am assuming I need to link to the games_mp.log file there? mods\iSnipe\games_mp.log
Logged
Beta Testers
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 244
Offline Offline
« Reply #7 on: October 23, 2011, 02:44:28 PM »

If you type the address you provide in the BBB into your server browser, you should see the log. If you don't see it, the BBB won't see it either.
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 #8 on: October 24, 2011, 04:28:24 AM »

I deleted the game_mp.log and restarted the server but it did not recreate it.

Only thing on our server is iSnipe


If it is not re-creating it then the server is not set to log. You will need to edit the server.cfg (or whatever) and enable logging.

I have tried the ftp and it will not work either. I am running iSnipe mod on this server so I am assuming I need to link to the games_mp.log file there? mods\iSnipe\games_mp.log
Correct.

As bravo mentioned you should use the FTP connection they give...
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
Beta Testers
*
OS: Windows
Type: Owner dedicated server(s)
Gameservers: alterIW
Posts: 652
Offline Offline
WWW
« Reply #9 on: October 28, 2011, 04:51:19 PM »

I have tried the ftp and it will not work either. I am running iSnipe mod on this server so I am assuming I need to link to the games_mp.log file there? mods\iSnipe\games_mp.log

An FTP connection would look something like this:

Code:
ftp://FTPusername:FTPpassword@12.34.56.78/12.34.56.78 Port 27960/mods/isnipe/games_mp.log

FTPusername is the username to connect to the server via FTP.
FTPpassword is the password to connect to the server via FTP.
12.34.56.78 is your server IP addresss
12.34.56.78 Port 27960/mods/isnipe/games_mp.log is the path to your games_mp.log file.
« Last Edit: October 28, 2011, 07:44:10 PM by Courgette » Logged
Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal