Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!
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: Commands Not working on server  (Read 995 times)

Offline shojib

  • Jr. Member
  • **
  • Posts: 11
Commands Not working on server
« on: October 12, 2016, 11:36:41 AM »
Hello,
I am new to b3 bot, and I have successfully installed b3 bot in my windows machine.
When I start b3 I see this: 
Code: [Select]
Starting www.bigbrotherbot.net (b3) v1.9.2 [nt] [PoisonIvy]

Using config file: b3\conf\b3.xml
checking for updates...
latest B3 stable version is 1.10.10

                 _\|/_
                 (o o)           1.10.10
         +----oOO---OOo-----------------------+
         |                                    |
         |                                    |
         | A newer version of B3 is available |
         |                                    |
         |       https://goo.gl/nvgHWG        |
         |                                    |
         +------------------------------------+


Using external plugin directory: C:\Users\Shahriar Shojib\Desktop\b3-1.9.2\b3\extplugins
Activating log   : b3.log
Connecting to DB : OK
Using Gamelog    : C:\Games\Call of Duty Modern Warfare\main\games_mp.log
Testing RCON     : OK
Loading Events   : 34 events loaded
Loading Plugins  : ............ (14)
Starting Plugins : ............ (14)
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 log info)


And after this, In the game , I see that I am sending a message that b3 is online and xlrstats plugin is loaded. but when I send !iamgod command I see no output, and not a single command works.
I think the error is this:
Code: [Select]
CONSOLE	'16:08 say;;0;bolod;\x15!iamgod'
161012 15:34:36 VERBOSE 'line did not match format: say;;0;bolod;\x15!iamgod'

For your additional information, I have attatched the log file as well, please let me know what the problem could be and how to fix it.
Thanks.
shahriar

Offline shojib

  • Jr. Member
  • **
  • Posts: 11
Re: Commands Not working on server
« Reply #1 on: October 12, 2016, 11:39:51 AM »
I am using my local machine to create server as well.

Offline Fenix

  • Dev. Team
  • Hero Member
  • *
  • Posts: 984
    • GitHub
Re: Commands Not working on server
« Reply #2 on: October 12, 2016, 12:34:35 PM »
You have some errors in your log which highlight the fact that you are tryong to load the chatlogger and the banlist plugin without having installed them. When this happens b3 1.9.2 becomes unresponsive. This has been fixed in B3 1.10, so I suggest you to upgrade to the latest b3 version: https://github.com/BigBrotherBot/big-brother-bot/releases

Offline shojib

  • Jr. Member
  • **
  • Posts: 11
Re: Commands Not working on server
« Reply #3 on: October 12, 2016, 12:47:46 PM »
On B3 1.10.10 I generated a config file from http://config.bigbrotherbot.net/form.php?parser=cod4.
And it's showing this: 

Any idea?

Offline shojib

  • Jr. Member
  • **
  • Posts: 11
Re: Commands Not working on server
« Reply #4 on: October 12, 2016, 12:50:47 PM »
my config:

Offline Fenix

  • Dev. Team
  • Hero Member
  • *
  • Posts: 984
    • GitHub
Re: Commands Not working on server
« Reply #5 on: October 12, 2016, 12:51:15 PM »
You should always post the logfile when an error is generated. Also note that the online tool for generating configuration files is not compliant with B3 1.10, so you should copy b3.distribution.ini to b3.cod4.ini and modify it using an editor with syntax highlight system (such as Notepad++ on Windows).

Offline shojib

  • Jr. Member
  • **
  • Posts: 11
Re: Commands Not working on server
« Reply #6 on: October 12, 2016, 01:02:16 PM »
I don't see any log files, I downloaded the zip file from github and extracted in desktop.

Offline Fenix

  • Dev. Team
  • Hero Member
  • *
  • Posts: 984
    • GitHub
Re: Commands Not working on server
« Reply #7 on: October 12, 2016, 01:04:13 PM »
I removed your post since the configuration file contains the RCON password to control your server. You should always mask your passwords when posting logs and configuration files. As for your problem, how are you starting b3? Are you pointing B3 to the correct configuration file?

And please stop making so many posts. One post with all the info is more than enough

Offline shojib

  • Jr. Member
  • **
  • Posts: 11
Re: Commands Not working on server
« Reply #8 on: October 12, 2016, 01:08:08 PM »
Hello,
sorry for making a mess out of it.
I tried running the b3.exe and use the GUI.
And tried > .\b3_run.exe server.ini
output:

Code: [Select]
Starting B3      : www.bigbrotherbot.net (b3) v1.10.10 [AngryBiscuit] [nt32]
Autorestart mode : OFF
Checking update  : no update available
Traceback (most recent call last):
  File "c:\jenkins_slave\workspace\B3-stable-release\b3\run.py", line 224, in run_console
  File "c:\jenkins_slave\workspace\B3-stable-release\b3\__init__.py", line 323, in start
  File "c:\jenkins_slave\workspace\B3-stable-release\b3\__init__.py", line 257, in getShortPath
  File "c:\jenkins_slave\workspace\B3-stable-release\b3\__init__.py", line 179, in getAbsolutePath
  File "c:\jenkins_slave\workspace\B3-stable-release\b3\__init__.py", line 162, in getConfPath
AttributeError: 'NoneType' object has no attribute 'config'
press any key to continue...

Offline Fenix

  • Dev. Team
  • Hero Member
  • *
  • Posts: 984
    • GitHub
Re: Commands Not working on server
« Reply #9 on: October 12, 2016, 02:33:25 PM »
  • Create a shortcut on your desktop for b3_run.exe. 
  • Edit the shortcut by appending to the path the configuration file, i.e: b3_run.exe --config full_path_to_b3_config_file.ini.
  • Save the shortcut.
  • Launch B3 using the shortcut.

Offline shojib

  • Jr. Member
  • **
  • Posts: 11
Re: Commands Not working on server
« Reply #10 on: October 13, 2016, 06:07:27 AM »
This is what I am getting 
Code: [Select]
C:\Users\Shahriar Shojib>"C:\Users\Shahriar Shojib\Desktop\b3\b3_run.exe" --config C:\Users\Shahriar Shojib\Desktop\b3\server.ini
CRITICAL: invalid configuration file specified!

Offline shojib

  • Jr. Member
  • **
  • Posts: 11
Re: Commands Not working on server
« Reply #11 on: October 13, 2016, 06:19:26 AM »
I got the b3 1.10.10 working, however it is still not responding to my commands.
Log file attatched.
cmdline: "C:\Users\Shahriar Shojib\Desktop\b3\b3_run.exe" --config C:\BigBrotherBot\conf\b3.distribution.xml
Output: 
Code: [Select]
Starting B3      : www.bigbrotherbot.net (b3) v1.10.10 [AngryBiscuit] [nt32]
Autorestart mode : OFF
Checking update  : no update available
Loading config   : @conf\b3.distribution.xml
Loading parser   : cod4
Activating log   : ~\b3.log
Connecting to DB : OK
Using gamelog    : C:\Games\Call of Duty Modern Warfare\main\games_mp.log
Testing RCON     : OK
Loading events   : 42 events loaded
Loading plugins  : ........ (8)
Starting plugins : ........ (8)
Startup complete : B3 is running! Let's get to work!

If you run into problems check your B3 log file for more information

Offline Fenix

  • Dev. Team
  • Hero Member
  • *
  • Posts: 984
    • GitHub
Re: Commands Not working on server
« Reply #12 on: October 13, 2016, 09:15:30 AM »
Check that C:\Games\Call of Duty Modern Warfare\main\games_mp.log is actually getting updated

Offline shojib

  • Jr. Member
  • **
  • Posts: 11
Re: Commands Not working on server
« Reply #13 on: October 13, 2016, 09:19:48 AM »
yes
here are some output:
Code: [Select]
  0:00 ------------------------------------------------------------
  0:00 InitGame: \g_compassShowEnemies\0\g_gametype\sd\gamename\Call of Duty 4\mapname\mp_backlot\protocol\6\shortversion\1.7\sv_allowAnonymous\0\sv_disableClientConsole\0\sv_floodprotect\4\sv_hostname\GameRanger\sv_maxclients\8\sv_maxPing\230\sv_maxRate\25000\sv_minPing\0\sv_privateClients\0\sv_punkbuster\0\sv_pure\1\sv_voice\1\ui_maxclients\32
  0:01 J;;0;bolod
  2:55 ShutdownGame:
  2:55 ------------------------------------------------------------
  2:55 ------------------------------------------------------------
  2:55 InitGame: \g_compassShowEnemies\0\g_gametype\sd\gamename\Call of Duty 4\mapname\mp_backlot\protocol\6\shortversion\1.7\sv_allowAnonymous\0\sv_disableClientConsole\0\sv_floodprotect\4\sv_hostname\GameRanger\sv_maxclients\8\sv_maxPing\230\sv_maxRate\25000\sv_minPing\0\sv_privateClients\0\sv_punkbuster\0\sv_pure\1\sv_voice\1\ui_maxclients\32
  2:56 J;;0;bolod
  5:31 ShutdownGame:
  5:31 ------------------------------------------------------------
  5:31 ------------------------------------------------------------
  5:31 InitGame: \g_compassShowEnemies\0\g_gametype\sd\gamename\Call of Duty 4\mapname\mp_backlot\protocol\6\shortversion\1.7\sv_allowAnonymous\0\sv_disableClientConsole\0\sv_floodprotect\4\sv_hostname\GameRanger\sv_maxclients\8\sv_maxPing\230\sv_maxRate\25000\sv_minPing\0\sv_privateClients\0\sv_punkbuster\0\sv_pure\1\sv_voice\1\ui_maxclients\32
  5:32 J;;0;bolod
  7:52 say;;0;bolod;^0(^2b3^0)^7: ^8www.bigbrotherbot.net ^0(^8b3^0) ^9v1.9.2 [nt] ^9[^3PoisonIvy^9]^3 ^2[ONLINE]
  7:54 say;;0;bolod;^0(^2b3^0)^7: XLRstats v. 2.7.1 by Tim ter Laak / Mark Weirath started.
  7:59 say;;0;bolod;!iamgod
  8:11 ShutdownGame:
  8:11 ------------------------------------------------------------
  8:11 ------------------------------------------------------------
  8:11 InitGame: \g_compassShowEnemies\0\g_gametype\sd\gamename\Call of Duty 4\mapname\mp_backlot\protocol\6\shortversion\1.7\sv_allowAnonymous\0\sv_disableClientConsole\0\sv_floodprotect\4\sv_hostname\GameRanger\sv_maxclients\8\sv_maxPing\230\sv_maxRate\25000\sv_minPing\0\sv_privateClients\0\sv_punkbuster\0\sv_pure\1\sv_voice\1\ui_maxclients\32
  8:11 J;;0;bolod
  8:12 say;;0;bolod;^0(^2b3^0)^7: XLRstats Disabled: Not enough players online!
  8:17 say;;0;bolod;!h
  8:55 D;;0;allies;bolod;;-1;world;;none;1;MOD_FALLING;none
  8:56 D;;0;allies;bolod;;-1;world;;none;85;MOD_FALLING;none
  9:11 say;;0;bolod;!help
  9:15 say;;0;bolod;!iamgod
  9:36 say;;0;bolod;^0(^2b3^0)^7: ^2Big Brother Bot is watching you... www.BigBrotherBot.net
 10:47 ShutdownGame:
 10:47 ------------------------------------------------------------
 10:47 ------------------------------------------------------------
 10:47 InitGame: \g_compassShowEnemies\0\g_gametype\sd\gamename\Call of Duty 4\mapname\mp_backlot\protocol\6\shortversion\1.7\sv_allowAnonymous\0\sv_disableClientConsole\0\sv_floodprotect\4\sv_hostname\GameRanger\sv_maxclients\8\sv_maxPing\230\sv_maxRate\25000\sv_minPing\0\sv_privateClients\0\sv_punkbuster\0\sv_pure\1\sv_voice\1\ui_maxclients\32
 10:47 J;;0;bolod
 11:37 say;;0;bolod;^0(^2b3^0)^7: News: Saying goodbye
 13:23 ShutdownGame:
 13:23 ------------------------------------------------------------
 13:23 ------------------------------------------------------------
 13:23 InitGame: \g_compassShowEnemies\0\g_gametype\sd\gamename\Call of Duty 4\mapname\mp_backlot\protocol\6\shortversion\1.7\sv_allowAnonymous\0\sv_disableClientConsole\0\sv_floodprotect\4\sv_hostname\GameRanger\sv_maxclients\8\sv_maxPing\230\sv_maxRate\25000\sv_minPing\0\sv_privateClients\0\sv_punkbuster\0\sv_pure\1\sv_voice\1\ui_maxclients\32
 13:24 J;;0;bolod
 14:13 say;;0;bolod;^0(^2b3^0)^7: ^8www.bigbrotherbot.net ^0(^8b3^0) ^9v1.9.2 [nt] ^9[^3PoisonIvy^9]^3 ^2[ONLINE]
 14:14 say;;0;bolod;^0(^2b3^0)^7: XLRstats v. 2.7.1 by Tim ter Laak / Mark Weirath started.
 15:33 say;;0;bolod;^0(^2b3^0)^7: ^2Big Brother Bot is watching you... www.BigBrotherBot.net
 16:03 ShutdownGame:
 16:03 ------------------------------------------------------------
 16:03 ------------------------------------------------------------
 16:03 InitGame: \g_compassShowEnemies\0\g_gametype\sd\gamename\Call of Duty 4\mapname\mp_backlot\protocol\6\shortversion\1.7\sv_allowAnonymous\0\sv_disableClientConsole\0\sv_floodprotect\4\sv_hostname\GameRanger\sv_maxclients\8\sv_maxPing\230\sv_maxRate\25000\sv_minPing\0\sv_privateClients\0\sv_punkbuster\0\sv_pure\1\sv_voice\1\ui_maxclients\32
 16:03 J;;0;bolod
 16:03 say;;0;bolod;^0(^2b3^0)^7: XLRstats Disabled: Not enough players online!
 16:08 say;;0;bolod;!iamgod
 17:33 say;;0;bolod;^0(^2b3^0)^7: News: Saying goodbye
 19:18 ExitLevel: executed
 19:18 ShutdownGame:
 19:18 ------------------------------------------------------------
 19:18 ------------------------------------------------------------
 19:18 InitGame: \g_compassShowEnemies\0\g_gametype\sd\gamename\Call of Duty 4\mapname\mp_backlot\protocol\6\shortversion\1.7\sv_allowAnonymous\0\sv_disableClientConsole\0\sv_floodprotect\4\sv_hostname\GameRanger\sv_maxclients\8\sv_maxPing\230\sv_maxRate\25000\sv_minPing\0\sv_privateClients\0\sv_punkbuster\0\sv_pure\1\sv_voice\1\ui_maxclients\32
 19:19 J;;0;bolod
 19:31 say;;0;bolod;^0(^2b3^0)^7: server watched by @admins
 20:09 ShutdownGame:
 20:09 ------------------------------------------------------------
  0:00 ------------------------------------------------------------
  0:00 InitGame: \g_compassShowEnemies\0\g_gametype\war\gamename\Call of Duty 4\mapname\mp_crash\protocol\6\shortversion\1.7\sv_allowAnonymous\0\sv_disableClientConsole\0\sv_floodprotect\4\sv_hostname\GameRanger\sv_maxclients\8\sv_maxPing\230\sv_maxRate\25000\sv_minPing\0\sv_privateClients\0\sv_punkbuster\0\sv_pure\1\sv_voice\1\ui_maxclients\32
  0:01 J;;0;bolod
  0:35 say;;0;bolod;^0(^2b3^0)^7: ^8www.bigbrotherbot.net ^0(^8b3^0) ^9v1.9.2 [nt] ^9[^3PoisonIvy^9]^3 ^2[ONLINE]
  0:36 say;;0;bolod;^0(^2b3^0)^7: XLRstats v. 2.7.1 by Tim ter Laak / Mark Weirath started.
  0:45 say;;0;bolod;!iamgod
  0:49 say;;0;bolod;^0(^2b3^0)^7: ^2Big Brother Bot is watching you... www.BigBrotherBot.net
  0:54 say;;0;bolod;!h
  2:30 say;;0;bolod;^0(^2b3^0)^7: ^8www.bigbrotherbot.net ^0(^8b3^0) ^9v1.9.2 [nt] ^9[^3PoisonIvy^9]^3 ^2[ONLINE]
  2:48 say;;0;bolod;^0(^2b3^0)^7: ^2Big Brother Bot is watching you... www.BigBrotherBot.net
  4:17 say;;0;bolod;^0(^2b3^0)^7: ^8www.bigbrotherbot.net ^0(^8b3^0) ^9v1.9.2 [nt] ^9[^3PoisonIvy^9]^3 ^2[ONLINE]
  4:21 say;;0;bolod;!iamgod
  5:37 say;;0;test;!iamgod
  5:52 say;;0;test;!h
 11:01 ExitLevel: executed
 11:01 ShutdownGame:
 11:01 ------------------------------------------------------------
 11:01 ------------------------------------------------------------
 11:01 InitGame: \g_compassShowEnemies\0\g_gametype\war\gamename\Call of Duty 4\mapname\mp_backlot\protocol\6\shortversion\1.7\sv_allowAnonymous\0\sv_disableClientConsole\0\sv_floodprotect\4\sv_hostname\GameRanger\sv_maxclients\8\sv_maxPing\230\sv_maxRate\25000\sv_minPing\0\sv_privateClients\0\sv_punkbuster\0\sv_pure\1\sv_voice\1\ui_maxclients\32
 11:02 J;;0;test
 14:30 say;;0;test;^0(^2b3^0)^7: ^8www.bigbrotherbot.net ^0(^8b3^0) ^9v1.10.10
 14:32 say;;0;test;^3>^9^9[^3AngryBiscuit^9]^3 ^2[ONLINE]
 14:41 say;;0;test;!iamgod
 14:49 say;;0;test;!h
 15:03 say;;0;test;!ad
 15:59 say;;0;test;^0(^2b3^0)^7: ^8www.bigbrotherbot.net ^0(^8b3^0) ^9v1.10.10
 16:00 say;;0;test;^3>^9^9[^3AngryBiscuit^9]^3 ^2[ONLINE]
 21:34 say;;0;test;^0(^2b3^0)^7: ^8www.bigbrotherbot.net ^0(^8b3^0) ^9v1.10.10
 21:35 say;;0;test;^3>^9^9[^3AngryBiscuit^9]^3 ^2[ONLINE]
 21:46 say;;0;test;!iamgod
 22:00 ExitLevel: executed
 22:00 ShutdownGame:
 22:00 ------------------------------------------------------------
 22:00 ------------------------------------------------------------
 22:00 InitGame: \g_compassShowEnemies\0\g_gametype\war\gamename\Call of Duty 4\mapname\mp_bloc\protocol\6\shortversion\1.7\sv_allowAnonymous\0\sv_disableClientConsole\0\sv_floodprotect\4\sv_hostname\GameRanger\sv_maxclients\8\sv_maxPing\230\sv_maxRate\25000\sv_minPing\0\sv_privateClients\0\sv_punkbuster\0\sv_pure\1\sv_voice\1\ui_maxclients\32
 22:01 J;;0;test
 32:35 ShutdownGame:
 32:35 ------------------------------------------------------------

Offline Fenix

  • Dev. Team
  • Hero Member
  • *
  • Posts: 984
    • GitHub
Re: Commands Not working on server
« Reply #14 on: October 13, 2016, 11:21:26 AM »
Please change your b3 configuration file to use the cod4gr parser instead of the cod4.

 


Rate this page +1 at Google Search

anything