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 ForumsGeneral Usage Support (Moderator: MordyT)Commands not working
Pages: [1]   Go Down
  Print  
Author Topic: Commands not working  (Read 400 times) Bookmark and Share
Newbie
*
OS: Windows
Type: Renting Server with B3
Gameservers: CoD4
Posts: 7
Offline Offline
« on: November 24, 2011, 08:11:24 AM »

B3 has the right rcon pass, as the messages scroll, however when i type !iamgod or !help nothing happens.

Code:
<?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">cod4</set>
<!-- Your database info: [mysql]://[db-user]:[db-password]@[db-server[:port]]/[db-name] -->
<set name="database">mysql://49896:therightpasswordhere@localhost/49896</set>
<!-- Name of the bot -->
<set name="bot_name">^6# ^5Server</set>
<!-- Ingame messages are prefixed with this code, you can use colorcodes -->
<set name="bot_prefix">^6#^0[^5B3^0]:</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">myrconpassword...</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">ftp://MasonF123:therightpasswordhere@74.63.54.46/74.63.54.46_port_28960/main/games_mp.log</set>
<!-- The public IP your gameserver is residing on -->
<set name="public_ip">74.63.54.46</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">74.63.54.46</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" />
<plugin config="@b3/extplugins/conf/banlist.xml" name="banlist" />
<plugin config="@b3/extplugins/conf/plugin_chatlogger.xml" name="chatlogger" />
<plugin config="@b3/extplugins/conf/xlrstats.xml" name="xlrstats" />
<plugin name="ctime" />
<!-- You can add new/custom plugins to this list using the same form as above. -->
</plugins>
</configuration>


There's the b3.xml

The b3 log is attatched.

Most say it's because I don't have the path right to the log mp log, but it is. Any other solutions?

Game = COD4 btw.


Logged

Beta Testers
*
OS: Windows
Type: Owner dedicated server(s)
Gameservers: alterIW
Posts: 652
Offline Offline
WWW
« Reply #1 on: November 24, 2011, 09:07:37 AM »

Disable your banlist plugin and see if it works. That might be preventing B3 from working correctly.

Code:
111123 20:47:06 ERROR 'BanlistPlugin: "file \'conf\\\\banlist.txt\' not found or not a file."'
111123 20:47:06 INFO 'BanlistPlugin: [banlist 2] updating from http://somewhere.com/banlist.txt'
111123 20:47:06 DEBUG "BanlistPlugin: headers : {'Accept-encoding': 'gzip', 'User-agent': 'B3 Banlist plugin/2.4.1'}"
111123 20:47:06 ERROR 'BanlistPlugin: HTTPError()'
111123 20:47:06 ERROR 'BanlistPlugin: "failed to create \'conf\\\\banlist2.txt\' from http://somewhere.com/banlist.txt. (HTTP Error 404: Not Found)"'
111123 20:47:06 INFO 'BanlistPlugin: [banlist 3] updating from ftp://user:pass@somewhere.tld/banlist.txt'
111123 20:47:06 DEBUG "BanlistPlugin: headers : {'Accept-encoding': 'gzip', 'User-agent': 'B3 Banlist plugin/2.4.1'}"
111123 20:47:28 ERROR 'BanlistPlugin: "failed to create \'conf\\\\banlist3.txt\' from ftp://user:pass@somewhere.tld/banlist.txt. (<urlopen error ftp error: [Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond>)"'
111123 20:47:28 ERROR 'BanlistPlugin: "file \'conf\\\\guidbanlist.txt\' not found or not a file."'
111123 20:47:28 ERROR 'BanlistPlugin: "file \'conf\\\\guidbanlist2.txt\' not found or not a file."'
Logged
Newbie
*
OS: Windows
Type: Renting Server with B3
Gameservers: CoD4
Posts: 7
Offline Offline
« Reply #2 on: November 24, 2011, 09:24:09 AM »

Nope.

Attatched the new log.
Logged
Beta Testers
*
OS: Windows
Type: Owner dedicated server(s)
Gameservers: alterIW
Posts: 652
Offline Offline
WWW
« Reply #3 on: November 24, 2011, 10:21:04 AM »

The most common issue with commands not being recognized is that B3 is not pointing to the game log. Are you sure you're pointing to the correct game log? You're not running a mod? I see it points to the "main" folder. Are you running multiple servers? If so, you're not pointing to the wrong one, are you?

I suggest you stop B3, delete the logs, restart it and join the game server. Next, type !iamgod in the game chat, then when it doesn't respond, exit and stop B3. Go into the b3.log and search for the log entry that shows you connecting to the server and for the !iamgod command. If you don't see it, B3 isn't reading the right log.
Logged
Newbie
*
OS: Windows
Type: Renting Server with B3
Gameservers: CoD4
Posts: 7
Offline Offline
« Reply #4 on: November 24, 2011, 11:59:41 AM »

I am running promod, so thanks for that tip.

I re-routed it to the games_mp.log file in the promod folder, however now it's saying this error a ton of times:

Code:
111124 14:41:03 VERBOSE 'FtpytailPlugin: Connecting to 74.63.54.46:21 ...'
111124 14:41:03 DEBUG "FtpytailPlugin: 500 User 'MasonF123' or password is not valid."
111124 14:41:03 DEBUG 'FtpytailPlugin: ftp error: resetting local log file?'
Logged
Beta Testers
*
OS: Windows
Type: Owner dedicated server(s)
Gameservers: alterIW
Posts: 652
Offline Offline
WWW
« Reply #5 on: November 24, 2011, 01:22:47 PM »

I am running promod, so thanks for that tip.

I re-routed it to the games_mp.log file in the promod folder, however now it's saying this error a ton of times:

Code:
111124 14:41:03 VERBOSE 'FtpytailPlugin: Connecting to 74.63.54.46:21 ...'
111124 14:41:03 DEBUG "FtpytailPlugin: 500 User 'MasonF123' or password is not valid."
111124 14:41:03 DEBUG 'FtpytailPlugin: ftp error: resetting local log file?'

That means your FTP information is wrong. Cut and paste the FTP URL you used into a web browser and see if you get the server log. If you do, it's right and something else is blocking. Maybe your FTP username is case sensitive. Can you create an FTP user that goes directly into the folder where the file is and make it a lowercase name?
Logged
Newbie
*
OS: Windows
Type: Renting Server with B3
Gameservers: CoD4
Posts: 7
Offline Offline
« Reply #6 on: November 24, 2011, 01:57:35 PM »

Did all of that and got the same error with the different username...
Logged
Beta Testers
*
OS: Windows
Type: Owner dedicated server(s)
Gameservers: alterIW
Posts: 652
Offline Offline
WWW
« Reply #7 on: November 24, 2011, 02:43:12 PM »

Did all of that and got the same error with the different username...

It looks like the FTP connection is getting a 500 error, which, from Google searches I've done, indicates a port might be wrong. Try it without the port. Remember, cut and paste the URL into a browser and see if it opens the file. If it does, the path is correct.
Logged
Newbie
*
OS: Windows
Type: Renting Server with B3
Gameservers: CoD4
Posts: 7
Offline Offline
« Reply #8 on: November 24, 2011, 08:01:13 PM »

Yeah, I copied and pasted into a browser. It works perfectly.

Mordy suggested that the IP is banned from the TC admin, so my gameserver people will have to unban or move the bot to a different IP.
Logged
Beta Testers
*
OS: Windows
Type: Owner dedicated server(s)
Gameservers: alterIW
Posts: 652
Offline Offline
WWW
« Reply #9 on: November 25, 2011, 12:51:22 AM »

Yeah, I copied and pasted into a browser. It works perfectly.

Mordy suggested that the IP is banned from the TC admin, so my gameserver people will have to unban or move the bot to a different IP.

Yes, that is a possibility.
Logged
Newbie
*
OS: Windows
Type: Renting Server with B3
Gameservers: CoD4
Posts: 7
Offline Offline
« Reply #10 on: November 25, 2011, 07:29:39 PM »

Got it all working, my guys unbanned the bot.

Thanks for your quick replies! Really appreciate all your hard work! Smiley
Logged
Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal