Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!
January Donations
MordyT USD25.00
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 ]

Author Topic: New BLOPS server, not responding to commands  (Read 1168 times)

Offline chaingun427

  • Newbie
  • *
  • Posts: 5
New BLOPS server, not responding to commands
« on: April 15, 2015, 09:26:17 PM »
I started a new COD7 server at Gameservers.com, but up until now I have been unable to get either a local install of B3 (xampp and python 3) nor a hosted one at Elitegameservers.net to work.  I'm attaching the b3.xml and log from the egs.net server as i'd rather get it working.

As of right now it will show an initial message, something about [Poison Ivy], and one console line that says "Big Brother Bot is watching",
so i'm assuming that it can access the rcon just fine, and it is for the most part working.

However when I enter !help i get no response. I am literally just working on getting the admin extension to work for now, i'll work on more later.
I don't know if punkbuster is on or not tbh so i just set it to off
b3.xml
Code: [Select]
<configuration>
<!--
 If you want to generate a new config 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
 -->
<settings name="b3">
<!--
Next line: the parser defines the game:
                cod/cod2/cod4/cod5/cod6/cod7/cod8
                iourt41/iourt42
                bfbc2/bf3/moh
                etpro/altitude/oa081/smg/sof2/wop/wop15
homefront/ro2/csgo/ravaged/arma2
            (it should NOT be 'changeme')
-->
<set name="parser">cod7</set>
    <set name="database">sqlite://@conf/database.sqlite</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">CST</set>
<!-- How much detail in the b3 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">3074</set>
<!-- The gameserver generates a logfile, put the path and name here (very important !) -->
<set name="game_log">http://logs.gameservers.com/***.199.99.92:3074/f3ff81cc-5948-4aee-9a28-d0c41ee81397</set>
<!-- If you want to run b3 on a different computer than where your server reside (remote access to the gamelog), you can connect via ftp or http by using the following syntax:
<set name="game_log">ftp://username:[email protected]/path/to/games_mp.log</set>
<set name="game_log">http://serverhost/path/to/games_mp.log</set>
Note: you can protect your http access with a .htaccess, b3 can authenticate itself.
-->
<!-- The public IP your gameserver is residing on -->
<set name="public_ip">***.199.99.92</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">***.199.99.92</set>
<!-- Is the gameserver running PunkBuster Anticheat: on/off -->
<set name="punkbuster">off</set>
<!-- Delay between each log reading. Set a higher value to consume less disk ressources 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 ressources -->
<set name="lines_per_second">50</set>
</settings>
<settings name="autodoc">
<!-- Autodoc will generate a user documentation for all B3 commands
* type : can be one of : html, htmltable, xml
* maxlevel : if you want to exclude commands reserved for higher levels
* destination : can be a file or a ftp url
by default, a html documentation is created in your conf folder
-->
<set name="type">html</set>
<set name="maxlevel">100</set>
<!-- <set name="destination">C:\Users\b3\Desktop\test_doc.htm</set> -->
<!-- <set name="destination">ftp://user:[email protected]/www/test_doc.htm</set> -->
</settings>
    <settings name="update">
        <!-- B3 checks if a new version is available at startup. Choose here what channel you want to check against.
            Available channels are :
                stable : will only show stable releases of B3
                beta : will also check if a beta release is available
                dev : will also check if a development release is available
            If you don't know what channel to use, use 'stable'
        -->
        <set name="channel">stable</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>
 
<!-- Define here the plugins you want to load.
            
            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.
            
            You can load a plugin but having it diabled by default. This
            allows to later enabled it ingame with the !enable command. To do so use
            the following syntax :
                <plugin name="adv" config="@conf/plugin_adv.xml" disabled="yes"/>
            
            You can override the plugin path (official plugins and extplugins folders)
            by specifying the exact location of the plugin file with the 'path' attribute :
                <plugin name="adv" config="@conf/plugin_adv.xml" path="c:/somewhere/else/"/>
            
            -->
<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" />

<!-- The next plugins are external, 3rd party plugins and should reside in the external_dir. Example: -->
<!-- plugin config="@b3/extplugins/conf/newplugin.xml" name="newplugin" -->

<!-- You can add new/custom plugins to this list using the same form as above. -->

<!--
This is a non-standard plugin, and quite resource heavy. Please take
a look in the B3 forums (look for XLR Extensions) for more
information before enabling this. Extra database tables are
necessary.
<plugin name="xlrstats" config="@b3/extplugins/conf/xlrstats.xml"/>
-->

<!-- You can find many others plugin for B3 which can extend functionalities a lot !
Please take a look at the official website for more informations. -->
</plugins>
</configuration>

and the log file is attached.

Any help would be greatly appreciated.

[attachment deleted by admin]

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: New BLOPS server, not responding to commands
« Reply #1 on: April 15, 2015, 10:10:03 PM »
B3 is unable to download your game log file at http://logs.gameservers.com/***.199.99.92:3074/f3ff81cc-5948-4aee-9a28-d0c41ee81397

It receives a "403 forbidden" error which usually means the login or password is incorrect

Offline chaingun427

  • Newbie
  • *
  • Posts: 5
Re: New BLOPS server, not responding to commands
« Reply #2 on: April 15, 2015, 11:25:34 PM »
Ok, I see how to authenticate via FTP, but not HTTP... This is the information that Gameservers.com provides me with which to use the file. http://logs.gameservers.com/

It says the 403 specifies a timeout but I don't know how to change that to whatever the correct value is supposed to be.

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: New BLOPS server, not responding to commands
« Reply #3 on: April 16, 2015, 12:43:23 AM »
you can change the timeout value in your b3.xml file, under section "server". Your current value is '1', try '2' instead:

<settings name="server">
<set name="log_timeout">2</set>

Offline chaingun427

  • Newbie
  • *
  • Posts: 5
Re: New BLOPS server, not responding to commands
« Reply #4 on: April 16, 2015, 01:16:26 AM »
changed to
Code: [Select]
<settings name="server">
<set name="log_timeout">1</set>
<!-- The RCON pass of your gameserver -->
<set name="rcon_password">****</set>
<!-- The port the server is running on -->
Set new Rcon password and tested it.
changed log url and tried it. Should the log URL provided by the host be prefixed or suffixed by anything?

Offline chaingun427

  • Newbie
  • *
  • Posts: 5
Re: New BLOPS server, not responding to commands
« Reply #5 on: April 16, 2015, 01:30:17 AM »
Here's my current log as well.

[attachment deleted by admin]

Offline chaingun427

  • Newbie
  • *
  • Posts: 5
Re: New BLOPS server, not responding to commands
« Reply #6 on: April 17, 2015, 01:40:44 AM »
should have mentioned, i set the timeout to 1, 2, 3, 4, 5, and 6 and got no response at all on any of them

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: New BLOPS server, not responding to commands
« Reply #7 on: April 17, 2015, 02:04:32 AM »
I see no more 403 errors in the log. It seems fine. Have you given sufficient time to b3 to finish initializing before trying commands?

Offline MordyT

  • Moderator
  • Hero Member
  • *
  • Posts: 3644
  • Over $300 Donated to B3!
    • MordyT
Re: New BLOPS server, not responding to commands
« Reply #8 on: April 17, 2015, 02:42:44 PM »
Woah, slow down a second.

The timeout needs to match http://logs.gameservers.com/timeout (which B3 can do automatically) and is currently 1.

The 403 error is "403 - Requests issued faster than the timeout value"

Now, the log URL (Which is the value under <set name="game_log">) can be accessed in a regular browser - for first step (to make sure it isn't a gameservers issue) is to join the server, load that URL in your web browser, say something, refresh and see if it is in the log. Do a Ctrl+f to find it if you need to.

Lastly you will want to change your url as it is now on a public forum - which can be done in the gameservers control panel.
Help will be given to those with a b3.log

If drop off the map it is due to RL becoming busy :)

System: Python 2.7.3 - Deb 7 - B3 Source Code - 128MB RAM box (rented at $5 a year) - remote MySQL - Remote Web Services

 


Rate this page +1 at Google Search

anything