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 Can't Connect To RCON
Pages: [1] 2   Go Down
  Print  
Author Topic: B3 Can't Connect To RCON  (Read 777 times) Bookmark and Share
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoD6
Posts: 11
Offline Offline
« on: December 19, 2011, 08:22:20 AM »

I have been configuring B3 for a few hours now. I have gotten everything set up, but when it gets to the part where it connects to RCON, it says it can't connect. I know RCON is configured properly on the server because I was able to use another RCON tool to connect.


Quote
Starting www.bigbrotherbot.net (b3) v1.7.1 [nt] [Myrthe] [Win32 standalone]

Using config file: conf\b3.xml
Using external plugin directory: C:\BigBrotherBot\extplugins
Activating log   : b3.log
Connecting to DB : OK
Using Gamelog    : C:\Users\FBI\Desktop\New folder\main\games_mp.log
Testing RCON     : >>> Oops: No response
>>> Could be something wrong with the rcon connection to the server!
>>> Hint 1: The server is not running or it is changing maps.
>>> Hint 2: Check your server-ip and port.
Loading Events   : 34 events loaded
Loading Plugins  : ........... (11)
Starting Plugins : ........... (11)
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)

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://john:******@localhost/b3</set>
      <!-- Name of the bot -->
      <set name="bot_name">GOD</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">MST</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">**********</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">C:\Users\FBI\Desktop\New folder\main\games_mp.log</set>
      <!-- The public IP your gameserver is residing on -->
      <set name="public_ip">**.***.**.**</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>
      <!-- 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">off</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">url</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_censor.xml" name="censor" />
      <plugin config="@conf/plugin_spamcontrol.xml" name="spamcontrol" />
      <plugin config="@conf/plugin_admin.xml" name="admin" />
      <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>

Logged

Sr. Member
****
OS: Windows
Type: Owner dedicated server(s)
Gameservers: BF3
Posts: 212
Offline Offline
WWW
« Reply #1 on: December 19, 2011, 08:39:29 AM »

<set name="public_ip">**.***.**.**</set>
<set name="rcon_ip">127.0.0.1</set>


These values must be the same.
Logged

Very sorry for my English I do not know him enough to be understood.
That is why I use the google translator.
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoD6
Posts: 11
Offline Offline
« Reply #2 on: December 19, 2011, 08:46:12 AM »

I have tried it both ways. Using both 127.0.0.1 and using my ip.
Logged
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoD6
Posts: 11
Offline Offline
« Reply #3 on: December 19, 2011, 08:53:55 AM »

LOG:

http://www.pastie.org/3041490
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 #4 on: December 19, 2011, 09:32:25 AM »

<set name="public_ip">**.***.**.**</set>
<set name="rcon_ip">127.0.0.1</set>

Set both of these to your public IP, restart the bot, and if it errors post a new 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
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoD6
Posts: 11
Offline Offline
« Reply #5 on: December 19, 2011, 09:34:28 AM »

New Log

http://pastie.org/3041698
Logged
Sr. Member
****
OS: Windows
Type: Owner dedicated server(s)
Gameservers: BF3
Posts: 212
Offline Offline
WWW
« Reply #6 on: December 19, 2011, 09:36:41 AM »

B3 and gameserver are on the same machine?
Logged

Very sorry for my English I do not know him enough to be understood.
That is why I use the google translator.
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: December 19, 2011, 09:37:23 AM »

I assume your game port is 28961?

Are you telling me, that ON THE SAME MACHINE as B3 is on right now, another RCON tool can connect with the following:
IP: 68.110.81.45
Port: 28961
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: Owner dedicated server(s)
Gameservers: CoD6
Posts: 11
Offline Offline
« Reply #8 on: December 19, 2011, 09:37:40 AM »

Yes they are running on the same machine.
Logged
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoD6
Posts: 11
Offline Offline
« Reply #9 on: December 19, 2011, 09:39:21 AM »

I can get onto RCON by using this tool http://alteriw.net/viewtopic.php?f=95&t=27038

But it has no real functionality and I really want a B3 environment.  I use those ports and ip's and it connects just fine.
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 #10 on: December 19, 2011, 09:39:22 AM »

Well, congrats. I am officially stumped.
Hopefully a dev can look at this and help you in short order as this makes no sense.
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
Sr. Member
****
OS: Windows
Type: Owner dedicated server(s)
Gameservers: BF3
Posts: 212
Offline Offline
WWW
« Reply #11 on: December 19, 2011, 09:40:52 AM »

B3 and gameserver are on the same machine?
Yes they are running on the same machine.

...
<set name="public_ip">127.0.0.1</set>
<set name="rcon_ip">127.0.0.1</set>

If you are on one machine is localhost.
Logged

Very sorry for my English I do not know him enough to be understood.
That is why I use the google translator.
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoD6
Posts: 11
Offline Offline
« Reply #12 on: December 19, 2011, 09:42:26 AM »

I have tried setting them both to localhost, but it fails as well.

What else could be causing this problem? Could one of you either remote connect or try to get on RCON on my server?
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 #13 on: December 19, 2011, 09:44:19 AM »

I have tried setting them both to localhost, but it fails as well.

What else could be causing this problem? Could one of you either remote connect or try to get on RCON on my server?
If you want to e-mail me admin (symbol above 2) host4b3 period com with the rcon credentials I will take a look.
EDIT: After lunch
« Last Edit: December 19, 2011, 09:45:52 AM by MordyT » 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
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #14 on: December 19, 2011, 10:08:22 AM »

it may be a firewall or antivirus issue
Logged

Tags:
Pages: [1] 2   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal