Configure b3 server



  • Using config file: b3\conf\b3.xml
    CRITICAL: Cannot find parser 'pluto_t6'. Check you main config file (b3.xml)
    B3 failed to start.
    ImportError('No module named pluto_t6',)
    Press the [ENTER] key

    end b3.xml

    <!-- Define your game: cod/cod2/cod4/cod5/cod6/cod7/iourt41/etpro/wop/smg/bfbc2/moh/oa081 -->
    <set name="parser">pluto_t6</set>
    <!-- Your database info: [mysql]://[db-user]:[db-password]@[db-server[:port]]/[db-name] -->
    <set name="database">mysql://b3:[email protected]/b3</set>

    may folder exist b3/papers ---------instal plugins pluto_t6.

    the plugins are installed but even so of this error reported above


  • Project Moderator

    Which version of B3 did you isntall? Did you download the parsers?



  • It's almost working now from this message.

    Starting B3 : www.bigbrotherbot.net (b3) v1.12 [^IronPigeon]
    Autorestart mode : OFF
    Loading config : @conf\b3.xml
    Loading parser : pluto_t6
    Activating log : C:\bbb3\b3.log
    Connecting to DB : FAILED!
    Using gamelog : H:\Jogos\Call of Duty Black Ops II - Copia\t6r\data\logs\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 : 42 events loaded
    Loading plugins :
    C:\bbb3>

    ----------------------------------------b3.xml is configured----------------------------------

    <configuration>
    <settings name="b3">
    <!-- Define your game: cod/cod2/cod4/cod5/cod6/cod7/iourt41/etpro/wop/smg/bfbc2/moh/oa081 -->
    <set name="parser">pluto_t6</set>
    <!-- Your database info: [mysql]://[db-user]:[db-password]@[db-server[:port]]/[db-name] -->
    <set name="database">mysql://b3:[email protected]/b3</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">^1Kg</set>
    <set name="time_format">%H:%M %A %d/%m/%Y</set>
    <!-- The timezone your bot is in -->
    <set name="time_zone">P</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">123</set>
    <!-- The port the server is running on -->
    <set name="port">4976</set>
    <!-- The gameserver generates a logfile, put the path and name here -->
    <set name="game_log">H:\Jogos\Call of Duty Black Ops II - Copia\t6r\data\logs\games_mp.log</set>
    <!-- The public IP your gameserver is residing on -->
    <set name="public_ip">177.132.177.85</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">177.132.177.85</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>
    <!-- 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">test_doc.html</set>
    


  • Project Moderator

    Your DB connection doesn't work also RCon didn't work.



  • ok the DB is calling this is almost working 100% so it is not ok in the response this could be what.

    DB worked with wampserver

    cmd---------------------------------------------------------------

    Starting B3 : www.bigbrotherbot.net (b3) v1.12 [^IronPigeon]
    Autorestart mode : OFF
    Loading config : @conf\b3.xml
    Loading parser : pluto_t6
    Activating log : C:\bbb3\b3.log
    Connecting to DB : OK
    Using gamelog : H:\Jogos\Call of Duty Black Ops II - Copia\t6r\data\logs\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 : 42 events loaded
    Loading plugins :
    C:\bbb3>


  • Project Moderator

    Is the game server running? And what are the last few lines of the B3 log?



  • yes server is running ok recon

    I entered the game to type, !iamgod --- but B3 is not playing the game

    Starting B3 : www.bigbrotherbot.net (b3) v1.12 [^IronPigeon]
    Autorestart mode : OFF
    Loading config : @conf\b3.xml
    Loading parser : pluto_t6
    Activating log : C:\bbb3\b3.log
    Connecting to DB : OK
    Using gamelog : H:\Jogos\Call of Duty Black Ops II - Copia\t6r\data\logs\games_mp.log
    Testing RCON : OK
    Loading events : 42 events loaded
    Loading plugins :
    C:\bbb3>



  • log

    80428 18:51:58 BOT 'www.bigbrotherbot.net (b3) v1.12 [^IronPigeon]'
    180428 18:51:58 BOT 'Python: 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:25:58) [MSC v.1500 64 bit (AMD64)]'
    180428 18:51:58 BOT 'Default encoding: ascii'
    180428 18:51:58 BOT 'Starting Pluto_T6Parser v0.7 for server 192.168.25.11:4976 (autorestart = OFF)'
    180428 18:51:58 BOT '--------------------------------------------'
    180428 18:51:58 BOT 'Connecting to MySQL database: mysql://b3:******@localhost:3306/b3...'
    180428 18:51:58 BOT 'Successfully established a connection with MySQL database'
    180428 18:51:58 BOT 'Game log is: H:\Jogos\Call of Duty Black Ops II - Copia\t6r\data\logs\games_mp.log'
    180428 18:51:58 BOT u'Starting bot reading file: H:\Jogos\Call of Duty Black Ops II - Copia\t6r\data\logs\games_mp.log'
    180428 18:51:58 BOT 'Rcon status cache expire time: [2 sec] Type: [False]'
    180428 18:51:58 BOT 'Game name is: PlutoT6'
    180428 18:51:58 VERBOSE "RCON sending (192.168.25.11:4976) 'status'"
    180428 18:51:59 BOT u'Loading plugins (external plugin directory: C:\bbb3\b3\extplugins)'
    180428 18:51:59 BOT u'Loading configuration file C:\bbb3\b3\conf\plugin_censor.xml for plugin censor'
    180428 18:51:59 WARNING u'Could not find specified configuration file C:\bbb3\b3\conf\plugin_spamcontrol.xml for plugin spamcontrol'
    180428 18:51:59 ERROR 'Could not load plugin spamcontrol'
    Traceback (most recent call last):
    File "C:\bbb3\b3\parser.py", line 704, in loadPlugins
    cfg = _get_plugin_config(p['name'], clz, p['conf'])
    File "C:\bbb3\b3\parser.py", line 681, in _get_plugin_config
    raise b3.config.ConfigFileNotFound('plugin %s cannot be loaded without a configuration file' % p_name)
    ConfigFileNotFound: 'plugin spamcontrol cannot be loaded without a configuration file'
    180428 18:51:59 WARNING u'Could not find specified configuration file C:\bbb3\b3\conf\plugin_admin.xml for plugin admin'
    180428 18:51:59 ERROR 'Could not load plugin admin'
    Traceback (most recent call last):
    File "C:\bbb3\b3\parser.py", line 704, in loadPlugins
    cfg = _get_plugin_config(p['name'], clz, p['conf'])
    File "C:\bbb3\b3\parser.py", line 681, in _get_plugin_config
    raise b3.config.ConfigFileNotFound('plugin %s cannot be loaded without a configuration file' % p_name)
    ConfigFileNotFound: 'plugin admin cannot be loaded without a configuration file'
    180428 18:51:59 WARNING u'Could not find specified configuration file C:\bbb3\b3\conf\plugin_tk.xml for plugin tk'
    180428 18:51:59 ERROR 'Could not load plugin tk'
    Traceback (most recent call last):
    File "C:\bbb3\b3\parser.py", line 704, in loadPlugins
    cfg = _get_plugin_config(p['name'], clz, p['conf'])
    File "C:\bbb3\b3\parser.py", line 681, in _get_plugin_config
    raise b3.config.ConfigFileNotFound('plugin %s cannot be loaded without a configuration file' % p_name)
    ConfigFileNotFound: 'plugin tk cannot be loaded without a configuration file'
    180428 18:51:59 WARNING u'Could not find specified configuration file C:\bbb3\b3\conf\plugin_stats.xml for plugin stats'
    180428 18:51:59 ERROR 'Could not load plugin stats'
    Traceback (most recent call last):
    File "C:\bbb3\b3\parser.py", line 704, in loadPlugins
    cfg = _get_plugin_config(p['name'], clz, p['conf'])
    File "C:\bbb3\b3\parser.py", line 681, in _get_plugin_config
    raise b3.config.ConfigFileNotFound('plugin %s cannot be loaded without a configuration file' % p_name)
    ConfigFileNotFound: 'plugin stats cannot be loaded without a configuration file'
    180428 18:51:59 WARNING u'Could not find specified configuration file C:\bbb3\b3\conf\plugin_pingwatch.xml for plugin pingwatch'
    180428 18:51:59 ERROR 'Could not load plugin pingwatch'
    Traceback (most recent call last):
    File "C:\bbb3\b3\parser.py", line 704, in loadPlugins
    cfg = _get_plugin_config(p['name'], clz, p['conf'])
    File "C:\bbb3\b3\parser.py", line 681, in _get_plugin_config
    raise b3.config.ConfigFileNotFound('plugin %s cannot be loaded without a configuration file' % p_name)
    ConfigFileNotFound: 'plugin pingwatch cannot be loaded without a configuration file'
    180428 18:51:59 VERBOSE 'Adv is not a built-in plugin (No module named feedparser)'
    180428 18:51:59 VERBOSE u'Trying external plugin directory : C:\bbb3\b3\extplugins'
    180428 18:51:59 ERROR 'Could not load plugin adv'
    Traceback (most recent call last):
    File "C:\bbb3\b3\parser.py", line 702, in loadPlugins
    mod = self.pluginImport(p['name'], p['path'])
    File "C:\bbb3\b3\parser.py", line 919, in pluginImport
    fp, pathname, description = imp.find_module(name, [self.config.get_external_plugins_dir()])
    ImportError: No module named adv
    180428 18:51:59 WARNING u'Could not find specified configuration file C:\bbb3\b3\conf\plugin_status.xml for plugin status'
    180428 18:51:59 ERROR 'Could not load plugin status'
    Traceback (most recent call last):
    File "C:\bbb3\b3\parser.py", line 704, in loadPlugins
    cfg = _get_plugin_config(p['name'], clz, p['conf'])
    File "C:\bbb3\b3\parser.py", line 681, in _get_plugin_config
    raise b3.config.ConfigFileNotFound('plugin %s cannot be loaded without a configuration file' % p_name)
    ConfigFileNotFound: 'plugin status cannot be loaded without a configuration file'
    180428 18:51:59 WARNING u'Could not find specified configuration file C:\bbb3\b3\conf\plugin_welcome.xml for plugin welcome'
    180428 18:51:59 ERROR 'Could not load plugin welcome'
    Traceback (most recent call last):
    File "C:\bbb3\b3\parser.py", line 704, in loadPlugins
    cfg = _get_plugin_config(p['name'], clz, p['conf'])
    File "C:\bbb3\b3\parser.py", line 681, in _get_plugin_config
    raise b3.config.ConfigFileNotFound('plugin %s cannot be loaded without a configuration file' % p_name)
    ConfigFileNotFound: 'plugin welcome cannot be loaded without a configuration file'
    180428 18:51:59 WARNING u'Could not find specified configuration file C:\bbb3\b3\extplugins\conf\xlrstats.xml for plugin xlrstats'
    180428 18:51:59 ERROR 'Could not load plugin xlrstats'
    Traceback (most recent call last):
    File "C:\bbb3\b3\parser.py", line 704, in loadPlugins
    cfg = _get_plugin_config(p['name'], clz, p['conf'])
    File "C:\bbb3\b3\parser.py", line 681, in _get_plugin_config
    raise b3.config.ConfigFileNotFound('plugin %s cannot be loaded without a configuration file' % p_name)
    ConfigFileNotFound: 'plugin xlrstats cannot be loaded without a configuration file'
    180428 18:51:59 CRITICAL 'Plugin admin is essential and MUST be loaded! Cannot continue without admin plugin'
    Traceback (most recent call last):
    File "C:\bbb3\b3\parser.py", line 704, in loadPlugins
    cfg = _get_plugin_config(p['name'], clz, p['conf'])
    File "C:\bbb3\b3\parser.py", line 681, in _get_plugin_config
    raise b3.config.ConfigFileNotFound('plugin %s cannot be loaded without a configuration file' % p_name)
    ConfigFileNotFound: 'plugin xlrstats cannot be loaded without a configuration file'


  • Project Moderator

    Your plugin configuration is broken, start with the admin plugin, you probably only have to change the .xml to .ini.



  • error percist

    log..............................

    180428 22:41:54 BOT 'www.bigbrotherbot.net (b3) v1.12 [^IronPigeon]'
    180428 22:41:54 BOT 'Python: 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:25:58) [MSC v.1500 64 bit (AMD64)]'
    180428 22:41:54 BOT 'Default encoding: ascii'
    180428 22:41:54 BOT 'Starting Pluto_T6Parser v0.7 for server 192.168.25.11:4976 (autorestart = OFF)'
    180428 22:41:54 BOT '--------------------------------------------'
    180428 22:41:54 BOT 'Connecting to MySQL database: mysql://b3:******@localhost:3306/b3...'
    180428 22:41:54 BOT 'Successfully established a connection with MySQL database'
    180428 22:41:54 BOT 'Game log is: H:\Jogos\Call of Duty Black Ops II - Copia\t6r\data\logs\games_mp.log'
    180428 22:41:54 BOT u'Starting bot reading file: H:\Jogos\Call of Duty Black Ops II - Copia\t6r\data\logs\games_mp.log'
    180428 22:41:54 BOT 'Rcon status cache expire time: [2 sec] Type: [False]'
    180428 22:41:54 BOT 'Game name is: PlutoT6'
    180428 22:41:54 VERBOSE "RCON sending (192.168.25.11:4976) 'status'"
    180428 22:41:55 BOT u'Loading plugins (external plugin directory: C:\bbb3\b3\extplugins)'
    180428 22:41:55 BOT u'Loading configuration file C:\bbb3\b3\conf\plugin_censor.xml for plugin censor'
    180428 22:41:55 BOT u'Loading configuration file C:\bbb3\b3\conf\plugin_spamcontrol.xml for plugin spamcontrol'
    180428 22:41:55 ERROR 'Could not load plugin spamcontrol'
    Traceback (most recent call last):
    File "C:\bbb3\b3\parser.py", line 704, in loadPlugins
    cfg = _get_plugin_config(p['name'], clz, p['conf'])
    File "C:\bbb3\b3\parser.py", line 674, in _get_plugin_config
    return b3.config.load(p_config_absolute_path)
    File "C:\bbb3\b3\config.py", line 414, in load
    return config if config.load(filename) else None
    File "C:\bbb3\b3\config.py", line 257, in load
    self.readfp(f)
    File "C:\bbb3\b3\config.py", line 147, in readfp
    raise ConfigFileNotValid("%s" % e)
    ConfigFileNotValid: 'not well-formed (invalid token): line 1, column 1'
    180428 22:41:55 BOT u'Loading configuration file C:\bbb3\b3\conf\plugin_admin.xml for plugin admin'
    180428 22:41:55 ERROR 'Could not load plugin admin'
    Traceback (most recent call last):
    File "C:\bbb3\b3\parser.py", line 704, in loadPlugins
    cfg = _get_plugin_config(p['name'], clz, p['conf'])
    File "C:\bbb3\b3\parser.py", line 674, in _get_plugin_config
    return b3.config.load(p_config_absolute_path)
    File "C:\bbb3\b3\config.py", line 414, in load
    return config if config.load(filename) else None
    File "C:\bbb3\b3\config.py", line 257, in load
    self.readfp(f)
    File "C:\bbb3\b3\config.py", line 147, in readfp
    raise ConfigFileNotValid("%s" % e)
    ConfigFileNotValid: 'syntax error: line 1, column 0'
    180428 22:41:55 BOT u'Loading configuration file C:\bbb3\b3\conf\plugin_tk.xml for plugin tk'
    180428 22:41:55 ERROR 'Could not load plugin tk'
    Traceback (most recent call last):
    File "C:\bbb3\b3\parser.py", line 704, in loadPlugins
    cfg = _get_plugin_config(p['name'], clz, p['conf'])
    File "C:\bbb3\b3\parser.py", line 674, in _get_plugin_config
    return b3.config.load(p_config_absolute_path)
    File "C:\bbb3\b3\config.py", line 414, in load
    return config if config.load(filename) else None
    File "C:\bbb3\b3\config.py", line 257, in load
    self.readfp(f)
    File "C:\bbb3\b3\config.py", line 147, in readfp
    raise ConfigFileNotValid("%s" % e)
    ConfigFileNotValid: 'not well-formed (invalid token): line 1, column 1'
    180428 22:41:55 BOT u'Loading configuration file C:\bbb3\b3\conf\plugin_stats.xml for plugin stats'
    180428 22:41:55 ERROR 'Could not load plugin stats'
    Traceback (most recent call last):
    File "C:\bbb3\b3\parser.py", line 704, in loadPlugins
    cfg = _get_plugin_config(p['name'], clz, p['conf'])
    File "C:\bbb3\b3\parser.py", line 674, in _get_plugin_config
    return b3.config.load(p_config_absolute_path)
    File "C:\bbb3\b3\config.py", line 414, in load
    return config if config.load(filename) else None
    File "C:\bbb3\b3\config.py", line 257, in load
    self.readfp(f)
    File "C:\bbb3\b3\config.py", line 147, in readfp
    raise ConfigFileNotValid("%s" % e)
    ConfigFileNotValid: 'not well-formed (invalid token): line 1, column 1'
    180428 22:41:55 BOT u'Loading configuration file C:\bbb3\b3\conf\plugin_pingwatch.xml for plugin pingwatch'
    180428 22:41:55 ERROR 'Could not load plugin pingwatch'
    Traceback (most recent call last):
    File "C:\bbb3\b3\parser.py", line 704, in loadPlugins
    cfg = _get_plugin_config(p['name'], clz, p['conf'])
    File "C:\bbb3\b3\parser.py", line 674, in _get_plugin_config
    return b3.config.load(p_config_absolute_path)
    File "C:\bbb3\b3\config.py", line 414, in load
    return config if config.load(filename) else None
    File "C:\bbb3\b3\config.py", line 257, in load
    self.readfp(f)
    File "C:\bbb3\b3\config.py", line 147, in readfp
    raise ConfigFileNotValid("%s" % e)
    ConfigFileNotValid: 'not well-formed (invalid token): line 1, column 1'
    180428 22:41:55 VERBOSE 'Adv is not a built-in plugin (No module named feedparser)'
    180428 22:41:55 VERBOSE u'Trying external plugin directory : C:\bbb3\b3\extplugins'
    180428 22:41:55 ERROR 'Could not load plugin adv'
    Traceback (most recent call last):
    File "C:\bbb3\b3\parser.py", line 702, in loadPlugins
    mod = self.pluginImport(p['name'], p['path'])
    File "C:\bbb3\b3\parser.py", line 919, in pluginImport
    fp, pathname, description = imp.find_module(name, [self.config.get_external_plugins_dir()])
    ImportError: No module named adv
    180428 22:41:55 BOT u'Loading configuration file C:\bbb3\b3\conf\plugin_status.xml for plugin status'
    180428 22:41:55 ERROR 'Could not load plugin status'
    Traceback (most recent call last):
    File "C:\bbb3\b3\parser.py", line 704, in loadPlugins
    cfg = _get_plugin_config(p['name'], clz, p['conf'])
    File "C:\bbb3\b3\parser.py", line 674, in _get_plugin_config
    return b3.config.load(p_config_absolute_path)
    File "C:\bbb3\b3\config.py", line 414, in load
    return config if config.load(filename) else None
    File "C:\bbb3\b3\config.py", line 257, in load
    self.readfp(f)
    File "C:\bbb3\b3\config.py", line 147, in readfp
    raise ConfigFileNotValid("%s" % e)
    ConfigFileNotValid: 'syntax error: line 1, column 0'
    180428 22:41:55 BOT u'Loading configuration file C:\bbb3\b3\conf\plugin_welcome.xml for plugin welcome'
    180428 22:41:55 ERROR 'Could not load plugin welcome'
    Traceback (most recent call last):
    File "C:\bbb3\b3\parser.py", line 704, in loadPlugins
    cfg = _get_plugin_config(p['name'], clz, p['conf'])
    File "C:\bbb3\b3\parser.py", line 674, in _get_plugin_config
    return b3.config.load(p_config_absolute_path)
    File "C:\bbb3\b3\config.py", line 414, in load
    return config if config.load(filename) else None
    File "C:\bbb3\b3\config.py", line 257, in load
    self.readfp(f)
    File "C:\bbb3\b3\config.py", line 147, in readfp
    raise ConfigFileNotValid("%s" % e)
    ConfigFileNotValid: 'not well-formed (invalid token): line 1, column 1'
    180428 22:41:55 WARNING u'Could not find specified configuration file C:\bbb3\b3\extplugins\conf\xlrstats.xml for plugin xlrstats'
    180428 22:41:55 ERROR 'Could not load plugin xlrstats'
    Traceback (most recent call last):
    File "C:\bbb3\b3\parser.py", line 704, in loadPlugins
    cfg = _get_plugin_config(p['name'], clz, p['conf'])
    File "C:\bbb3\b3\parser.py", line 681, in _get_plugin_config
    raise b3.config.ConfigFileNotFound('plugin %s cannot be loaded without a configuration file' % p_name)
    ConfigFileNotFound: 'plugin xlrstats cannot be loaded without a configuration file'
    180428 22:41:55 CRITICAL 'Plugin admin is essential and MUST be loaded! Cannot continue without admin plugin'
    Traceback (most recent call last):
    File "C:\bbb3\b3\parser.py", line 704, in loadPlugins
    cfg = _get_plugin_config(p['name'], clz, p['conf'])
    File "C:\bbb3\b3\parser.py", line 681, in _get_plugin_config
    raise b3.config.ConfigFileNotFound('plugin %s cannot be loaded without a configuration file' % p_name)
    ConfigFileNotFound: 'plugin xlrstats cannot be loaded without a configuration file'


    please help me we can mark a now for you to try to solve through Teamviewer, Thank you very much for your time until now Hugs



  • @xerxes Please past link b3 correct



  • @xerxes said in Configure b3 server:

    admin plugin

    that has the admin plugin correct