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.xml and log files
Pages: [1]   Go Down
  Print  
Author Topic: B3.xml and log files  (Read 619 times) Bookmark and Share
Jr. Member
**
OS: --No B3 installed--
Type: --No B3 installed--
Gameservers: BO
Posts: 48
Offline Offline
« on: January 14, 2012, 09:48:31 PM »

Hello guys. So, i am having problems with b3. I ' m uploading these files, so please check them what is wrong Smiley

Quote
<?xml version="1.0"?>
<configuration>
  <settings name="b3">
    <set name="parser">cod7</set>
    <set name="database">mysql://server:server@localhost/b3</set>
    <set name="bot_name">Server</set>
    <set name="bot_prefix">^0(^2b3^0)^7:</set>
    <set name="time_format">%I:%M%p %Z %m/%d/%y</set>
    <set name="time_zone">GMT</set>
    <set name="log_level">10</set>
    <set name="logfile">C:\DKT25\Games\Call of duty Black ops\B3\BigBrotherBot\\b3.log</set>
  </settings>
  <settings name="server">
    <set name="rcon_password"></set>
    <set name="port">28960</set>
    <set name="game_log">0</set>
    <set name="public_ip">78.62.152.44</set>
    <set name="rcon_ip">192.168.1.1</set>
    <set name="punkbuster">off</set>
  </settings>
  <settings name="autodoc">
    <set name="type">html</set>
    <set name="maxlevel">100</set>
    <set name="destination">C:\DKT25\Games\Call of duty Black ops\B3\docs\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 name="censor" config="@conf/plugin_censor.xml"/>
    <plugin name="spamcontrol" config="@conf/plugin_spamcontrol.xml"/>
    <plugin name="admin" config="@conf/plugin_admin.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"/>
    <plugin name="xlrstats" config="@b3/extplugins/conf/xlrstats.xml"/>
  </plugins>
</configuration>


Quote
120115 07:28:05   BOT       'www.bigbrotherbot.net (b3) v1.7.1 [nt] [Myrthe] [Win32 standalone]'
120115 07:28:05   BOT       'Python: 2.6.1 (r261:67517, Dec  4 2008, 16:51:00) [MSC v.1500 32 bit (Intel)]'
120115 07:28:05   BOT       'Default encoding: ascii'
120115 07:28:05   BOT       'Starting Cod7Parser v1.1 for server 192.168.1.1:28960'
120115 07:28:05   BOT       '--------------------------------------------'
120115 07:28:05   BOT       'Attempting to connect to database mysql://server:******@localhost/b3...'
120115 07:28:05   ERROR   'Database connection failed, working in remote mode: (1045, "Access denied for user \'server\'@\'localhost\' (using password: YES)") - [(\'b3\\\\storage\\\\database.pyo\', 231, \'connect\', None), (\'b3\\\\storage\\\\database.pyo\', 176, \'getConnection\', None), (\'MySQLdb\\\\__init__.pyo\', 81, \'Connect\', None), (\'MySQLdb\\\\connections.pyo\', 188, \'__init__\', None)]'
120115 07:28:05   BOT       'Game log 0'
120115 07:28:05   BOT       'Starting bot reading file 0'
120115 07:28:05   ERROR   'Error reading file 0'

Please can you help me? I did everything i could, cause i' m not a great programmer Smiley

P.S. The problem is:
Connecting to DB FAILED
« Last Edit: January 15, 2012, 01:55:27 AM by DKT-25 » Logged

Sr. Member
****
OS: Windows
Type: Renting Server with B3
Gameservers: CoD5
Posts: 251
Offline Offline
« Reply #1 on: January 15, 2012, 02:15:04 AM »

Problem with your connection to database SQL...
Logged
Jr. Member
**
OS: --No B3 installed--
Type: --No B3 installed--
Gameservers: BO
Posts: 48
Offline Offline
« Reply #2 on: January 15, 2012, 02:25:29 AM »

Problem with your connection to database SQL...

Can you explore by saying connection to database SQL, and could you help me to solve this problem?

P.S. What about b3.xml and log files? Are they ok?
Logged
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoD4, CoD5, MW2, Minecraft, Battlefield 2, Battlefield 3
Posts: 23
Offline Offline
RFC 432432 tells us there are too many RFC's
WWW
« Reply #3 on: January 15, 2012, 04:58:56 AM »

You have 2 errors, first of all you have not pointed the bot to read from any logfile
Code: xml

   
   28960
   0

Secondly, your user "server" that exists on the MySQL server is not allowed to connect through localhost.
This could be because the user "server" is set to an specific ip when creating it.

A tip is to use multiple MySQL accounts for different types of access, so you have a separate one that the bot runs on and another one that you can connect to yourself.

Due to these errors being "fatal", we cannot see the rest of the log and verify it. These errors needs to be fixed before.

As for your b3.xml, it looks fine.( as long as the RCon ip will work when it tests the RCon ).
Logged


CEO @ Pie-Studios
Sysadmin @ NRNS-Games.com
XLRstats dev.
Dev. Team
*
OS: Linux
Type: Home user
Gameservers: COD5, COD7, BF3
Posts: 947
Offline Offline
WWW
Support Specialty: XLRstats webfront
« Reply #4 on: January 15, 2012, 08:02:54 AM »

@DKT-25 You're asking the same question in 3 different posts! Please keep them in a single post and don't spam the forums.
Logged

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


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal