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)No response from hosted gameserver
Pages: [1]   Go Down
  Print  
Author Topic: No response from hosted gameserver  (Read 360 times) Bookmark and Share
Jr. Member
**
OS: Windows
Type: Renting Server, no B3
Gameservers: COD4
Posts: 24
Offline Offline
« on: August 18, 2010, 02:00:44 PM »

Hello all,
I have a wampserver running on a dedicated Win2003 server along with B3. I got B3 installed and it appears to be running. When I start B3 i see the following message in the B3 window:

------------------------------------------------------------------------------------------------------------
Starting www.BigBrotherBot.com (b3) v1.3.3 [nt] (Daniel) [Win32 standalone]

Using config file: C:\Documents and Settings\All Users\Application Data\BigBroth
erBot\conf\b3.xml
Using external plugin directory: C:\Program Files\BigBrotherBot_1.3.3\extplugins

Activating log   : b3.log
Connecting to DB : OK
Using Gamelog    : games_mp.log
Loading Events   : 32 events loaded
Loading Plugins  : .......... (10)
Starting Plugins : .......... (10)
Startup Complete : B3 is running! Let's get to work!

(If you run into problems, check b3.log in the B3 root directory for detailed lo
g info)
------------------------------------------------------------------------------------------------------------

However, when I attempt to type any command such as "!iamgod" the server does nothing. There are no signs of B3 activity on the server what so ever. So I checked the log file. Maybe you folks can tell me what's going on:
Code:
100818 14:52:33 BOT     www.BigBrotherBot.com (b3) v1.3.3 [nt] (Daniel) [Win32 standalone]
100818 14:52:33 BOT     Python: 2.6.1 (r261:67517, Dec  4 2008, 16:51:00) [MSC v.1500 32 bit (Intel)]
100818 14:52:33 BOT     Starting Cod4Parser v1.3.2 for server 192.168.0.5:28960
100818 14:52:33 BOT     --------------------------------------------
100818 14:52:33 BOT     Attempting to connect to database mysql://b3:******@localhost/mysql...
100818 14:52:33 BOT     Connected to database [1 times]
100818 14:52:33 BOT     Working in Remote-Log-Mode : ftp://davidf:password@67.201.15.58/67.201.15.58_port_28960/main/games_mp.log
100818 14:52:33 BOT     Starting bot reading file games_mp.log

100818 14:52:33 BOT     Loading Plugins (external plugin directory: C:\Program Files\BigBrotherBot_1.3.3\extplugins)
100818 14:52:33 BOT     Loading Plugin #1 censor [@conf\plugin_censor.xml]
100818 14:52:33 BOT     CensorPlugin: Loading config @conf\plugin_censor.xml for CensorPlugin
100818 14:52:33 DEBUG Register Event: Stop Process: CensorPlugin
100818 14:52:33 DEBUG Register Event: Program Exit: CensorPlugin
100818 14:52:33 BOT     Plugin censor (2.2.0 - ThorN) loaded
100818 14:52:33 BOT     Loading Plugin #2 spamcontrol [@conf\plugin_spamcontrol.xml]
100818 14:52:33 BOT     SpamcontrolPlugin: Loading config @conf\plugin_spamcontrol.xml for SpamcontrolPlugin
100818 14:52:33 DEBUG Register Event: Stop Process: SpamcontrolPlugin
100818 14:52:33 DEBUG Register Event: Program Exit: SpamcontrolPlugin
100818 14:52:33 BOT     Plugin spamcontrol (1.1.2 - ThorN) loaded
100818 14:52:33 BOT     Loading Plugin #3 admin [@conf\plugin_admin.xml]
100818 14:52:33 BOT     AdminPlugin: Loading config @conf\plugin_admin.xml for AdminPlugin
100818 14:52:33 DEBUG Register Event: Stop Process: AdminPlugin
100818 14:52:33 DEBUG Register Event: Program Exit: AdminPlugin
100818 14:52:33 BOT     Plugin admin (1.7 - ThorN, xlr8or, Courgette) loaded
100818 14:52:33 BOT     Loading Plugin #4 stats [@conf\plugin_stats.xml]
100818 14:52:33 BOT     StatsPlugin: Loading config @conf\plugin_stats.xml for StatsPlugin
100818 14:52:33 DEBUG AdminPlugin: Command "mapstats (mstats)" registered with cmd_mapstats for level (1, 100)
100818 14:52:33 DEBUG AdminPlugin: Command "testscore (ts)" registered with cmd_testscore for level (1, 100)
100818 14:52:33 DEBUG AdminPlugin: Command "topstats (tstats)" registered with cmd_topstats for level (9, 100)
100818 14:52:33 DEBUG Register Event: Stop Process: StatsPlugin
100818 14:52:33 DEBUG Register Event: Program Exit: StatsPlugin
100818 14:52:33 BOT     Plugin stats (1.2.3 - ThorN) loaded
100818 14:52:33 BOT     Loading Plugin #5 pingwatch [@conf\plugin_pingwatch.xml]
100818 14:52:33 BOT     PingwatchPlugin: Loading config @conf\plugin_pingwatch.xml for PingwatchPlugin
100818 14:52:33 VERBOSE Added crontab <bound method PingwatchPlugin.check of <b3.plugins.pingwatch.PingwatchPlugin instance at 0x0119B0D0>> (18453936) - [0, 30]s -1m -1h -1d -1M -1DOW
100818 14:52:33 DEBUG AdminPlugin: Command "ci (None)" registered with cmd_ci for level (20, 100)
100818 14:52:33 DEBUG Register Event: Stop Process: PingwatchPlugin
100818 14:52:33 DEBUG Register Event: Program Exit: PingwatchPlugin
100818 14:52:33 BOT     Plugin pingwatch (1.2.2 - ThorN) loaded
100818 14:52:33 BOT     Loading Plugin #6 adv [@conf\plugin_adv.xml]
100818 14:52:33 BOT     AdvPlugin: Loading config @conf\plugin_adv.xml for AdvPlugin
100818 14:52:33 VERBOSE Added crontab <bound method AdvPlugin.adv of <b3.plugins.adv.AdvPlugin instance at 0x0119B418>> (18456272) - 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
100818 14:52:33 DEBUG Register Event: Stop Process: AdvPlugin
100818 14:52:33 DEBUG Register Event: Program Exit: AdvPlugin
100818 14:52:33 BOT     Plugin adv (1.1.4 - ThorN) loaded
100818 14:52:33 BOT     Loading Plugin #7 status [@conf\plugin_status.xml]
100818 14:52:33 BOT     StatusPlugin: Loading config @conf\plugin_status.xml for StatusPlugin
100818 14:52:33 VERBOSE Added crontab <bound method StatusPlugin.update of <b3.plugins.status.StatusPlugin instance at 0x011A0698>> (18807568) - [0]s -1m -1h -1d -1M -1DOW
100818 14:52:33 DEBUG Register Event: Stop Process: StatusPlugin
100818 14:52:33 DEBUG Register Event: Program Exit: StatusPlugin
100818 14:52:33 BOT     Plugin status (1.4.1 - ThorN) loaded
100818 14:52:33 BOT     Loading Plugin #8 welcome [@conf\plugin_welcome.xml]
100818 14:52:33 BOT     WelcomePlugin: Loading config @conf\plugin_welcome.xml for WelcomePlugin
100818 14:52:33 DEBUG AdminPlugin: Command "greeting (None)" registered with cmd_greeting for level (20, 100)
100818 14:52:33 DEBUG Register Event: Stop Process: WelcomePlugin
100818 14:52:33 DEBUG Register Event: Program Exit: WelcomePlugin
100818 14:52:33 BOT     Plugin welcome (1.1 - ThorN) loaded
100818 14:52:33 BOT     Loading Plugin publist
100818 14:52:33 BOT     PublistPlugin: No config file found for PublistPlugin. (was not required either)
100818 14:52:33 DEBUG Register Event: Stop Process: PublistPlugin
100818 14:52:33 DEBUG Register Event: Program Exit: PublistPlugin
100818 14:52:33 BOT     Plugin publist (1.5 - ThorN, Courgette) loaded
100818 14:52:33 BOT     Loading Plugin ftpytail
100818 14:52:33 BOT     FtpytailPlugin: No config file found for FtpytailPlugin. (was not required either)
100818 14:52:33 DEBUG Register Event: Stop Process: FtpytailPlugin
100818 14:52:33 DEBUG Register Event: Program Exit: FtpytailPlugin
100818 14:52:33 BOT     Plugin ftpytail (1.4 - Bakes) loaded
100818 14:52:33 VERBOSE 0 cid changed from None to -1
100818 14:52:33 VERBOSE RCON sending (192.168.0.5:28960) say ^3RBot ^8www.BigBrotherBot.com ^0(^8b3^0) ^9v1.3.3 [nt] ^9(^3Daniel^9)^3 ^2[ONLINE]
100818 14:52:33 DEBUG Client Connected: [-1] World - WORLD ({})
100818 14:52:33 WARNING RCON: ERROR reading: [Errno 10054] An existing connection was forcibly closed by the remote host
100818 14:52:33 DEBUG Storage: getClient <b3.clients.Client object at 0x011FA5F0>
100818 14:52:33 BOT     Client found in storage 1, welcome back World
100818 14:52:33 DEBUG Storage: setClient <b3.clients.Client object at 0x011FA5F0>
100818 14:52:33 DEBUG Storage: setClient data {'time_add': 1282122471, 'time_edit': 1282168353, 'name': 'World', 'group_bits': 0, 'ip': '', 'auto_login': 1, 'greeting': '', 'pbid': 'WORLD', 'connections': 11, 'mask_level': 0, 'guid': 'WORLD', 'id': 1}
100818 14:52:33 DEBUG Client Authorized: [-1] World - WORLD
100818 14:52:33 VERBOSE RCON: retry sending say ^3RBot ^8www.BigBrotherBot.com ^0(^8b3^0) ^9v1.3.3 [nt] ^9(^3Daniel^9)^3 ^2[ONLINE] (1/2)...
100818 14:52:33 WARNING RCON: ERROR reading: [Errno 10054] An existing connection was forcibly closed by the remote host
100818 14:52:33 ERROR RCON: too much tries. Abording (say ^3RBot ^8www.BigBrotherBot.com ^0(^8b3^0) ^9v1.3.3 [nt] ^9(^3Daniel^9)^3 ^2[ONLINE])
100818 14:52:33 DEBUG RCON: Did not send any data
« Last Edit: August 18, 2010, 02:15:00 PM by Courgette » 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: August 18, 2010, 02:19:37 PM »

hi

Code:
WARNING RCON: ERROR reading: [Errno 10054] An existing connection was forcibly closed by the remote host
means the game server at rcon_ip:rcon_port rejected your rcon connection. Double check your b3.xml for rcon_port, rcon_ip and rcon_pass

Are bot B3 and your game server running on the same machine ? If yes, then change the game_log setting to the path of your game log file. I.E.: c:\somewhere\game_mp.log

Also if yes, then try to set rcon_ip to 127.0.0.1
Logged

Jr. Member
**
OS: Windows
Type: Renting Server, no B3
Gameservers: COD4
Posts: 24
Offline Offline
« Reply #2 on: August 18, 2010, 03:38:26 PM »

B3 & Mysql = Local
Call of Duty 4 = Game Hosting Co.

Here is my B3.xml:


<configuration>
   <settings name="b3">
      <!-- Define your game: cod/cod2/cod4/cod5/iourt41/etpro/wop/smg/bfbc2 -->
      <set name="parser">cod4</set>
      <!-- Your database info: [mysql]://[db-user]:[db-password]@[db-server[:port]]/[db-name] -->
      <set name="database">mysql://b3:password@localhost/mysql</set>
      <!-- Name of the bot -->
      <set name="bot_name">Boot</set>
      <!-- Ingame messages are prefixed with this code, you can use colorcodes -->
      <set name="bot_prefix">^3Bot</set>
      <set name="time_format">%I:%M%p %Z %m/%d/%y</set>
      <!-- The timezone your bot is in -->
      <set name="time_zone">PST</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">password</set>
      <!-- The port the server is running on -->
      <set name="port">28960</set>
      <!-- The gameserver generates a logfile, put the path and name here -->
      <set name="game_log">http://ftp://name:password@67.201.15.58/67.201.15.58_port_28960/main/games_mp.log</set>
      <!-- The public IP your gameserver is residing on -->
      <set name="public_ip">67.201.15.58</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">127.0.0.1</set>
      <!-- Is the gameserver running PunkBuster Anticheat: on/off -->
      <set name="punkbuster">off</set>
   </settings>
Logged
Jr. Member
**
OS: Windows
Type: Renting Server, no B3
Gameservers: COD4
Posts: 24
Offline Offline
« Reply #3 on: August 18, 2010, 03:59:41 PM »

I got it now  Grin

You were right my friend, The rcon_ip should have been the same as the remote ip.
Logged
Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal