Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here
NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

You are here: Big Brother Bot ForumAdd-OnsPlugins DiscussionPlugins by xlr8or (Moderator: Freelander)XLRstats for b3 1,6,1.
Pages: 1 [2]   Go Down
  Print  
Author Topic: XLRstats for b3 1,6,1.  (Read 1366 times) Bookmark and Share
Full Member
***
OS: Windows
Type: Renting Server with B3
Gameservers: UrT
Posts: 123
Offline Offline
« Reply #15 on: June 21, 2011, 03:39:26 AM »

really i can't understand!

this is the new python file. i located it.


while this is the log (b3.log) and it's the same:


is it the 2.4 version that show 2.3 or it's really 2.3?
at line 60 and 61, i read

Quote
__author__  = 'Tim ter Laak / Mark Weirath'
__version__ = '2.4.0'
Logged

XLRstats dev.
Dev. Team
*
OS: Linux
Type: Home user
Gameservers: COD5, COD7, BF3
Posts: 947
Offline Offline
WWW
Support Specialty: XLRstats webfront
« Reply #16 on: June 21, 2011, 10:27:43 AM »

Please check your b3.xml. You're probably pointing to the old version of the plugin somehow. This is what you should see in b3.log:

Code:
Plugin xlrstats (2.4.0 - Tim ter Laak / Mark Weirath) loaded
Logged

Full Member
***
OS: Windows
Type: Renting Server with B3
Gameservers: UrT
Posts: 123
Offline Offline
« Reply #17 on: June 21, 2011, 12:10:53 PM »

sure! i am feeling like a noob!  Shocked

this is my exactly configuration:

i downloaded the last version of b3 (.zip format) extract the file xlrstats.xml and xlrstats.py.

i located the first in extplugins\conf folder and the second in the extplugins folder.

while in b3.xlm there are these lines dedicated to plugins:

Quote
<plugin config="@conf/plugin_admin.xml" name="admin" />
<plugin config="@conf/plugin_stats.xml" name="stats" />
<plugin config="@conf/plugin_status.xml" name="status" />
<plugin config="@conf/plugin_welcome.xml" name="welcome" />
<plugin name="xlrstats" config="@b3/extplugins/conf/xlrstats.xml" />
<plugin config="@b3/extplugins/conf/plugin_ctime.xml" name="ctime" />

okay. i deleted all the log with game log file and restart the bot.

that was the result... i can't understand my error.  Shocked

thank you to all again!  Smiley
Logged
XLRstats dev.
Dev. Team
*
OS: Linux
Type: Home user
Gameservers: COD5, COD7, BF3
Posts: 947
Offline Offline
WWW
Support Specialty: XLRstats webfront
« Reply #18 on: June 22, 2011, 05:47:16 AM »

Can you please paste your b3.xml without passwords?
Logged

Full Member
***
OS: Windows
Type: Renting Server with B3
Gameservers: UrT
Posts: 123
Offline Offline
« Reply #19 on: June 22, 2011, 05:55:25 AM »

why not?

Quote
<?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: cod/cod2/cod4/cod5/cod6/cod7/iourt41/etpro/wop/smg/bfbc2/moh -->
      <set name="parser">iourt41</set>
      <!-- Your database info: mysql://dbusername:dbpass@host/dbname -->
      <set name="database">mysql://user:pass@geneva.footholds.net/user</set>
      <!-- Name of the bot -->
      <set name="bot_name">SUN</set>
      <!-- Ingame messages are prefixed with this code, you can use colorcodes -->
      <set name="bot_prefix">^0(^2SUN^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">GMT</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">pass</set>
      <!-- The port the server is running on -->
      <set name="port">27960</set>
      <!-- The gameserver generates a logfile, put the path and name here -->
      <set name="game_log">http://ftp://195.122.135.9/q3ut4/195.122.135.9:27960/q3ut4/games.log</set>
      <!-- Delay in seconds between log requests. Current gameservers.com minimum is 10 seconds delay. --> 
      <set name="log_timeout">10</set>
      <!-- Use pre-match detection? If yes, will ignore pre-match kill/damage events thus preventing people being kicked for 
        teamkills during the pre-match phase. And there WILL BE teamkills during warmup FFA just because the server 
        auto-assigns the player to some team on join. Say no here for unranked server or if you don't punish for TKs. --> 
      <set name="use_prematch_logic">yes</set>
      <!-- The public IP your gameserver is residing on -->
      <set name="public_ip">195.122.135.9</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">195.122.135.9</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 -->
      <!-- 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>
   </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_stats.xml" name="stats" />
      <plugin config="@conf/plugin_status.xml" name="status" />
      <plugin config="@conf/plugin_welcome.xml" name="welcome" />
                <plugin name="xlrstats" config="@conf/xlrstats.xml" />
      <plugin config="@b3/extplugins/conf/plugin_ctime.xml" name="ctime" />

      <!-- The punkbuster plugin was not installed since punkbuster is not supported or disabled. -->
      <!-- 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. -->
   </plugins>
</configuration>
Logged
XLRstats dev.
Dev. Team
*
OS: Linux
Type: Home user
Gameservers: COD5, COD7, BF3
Posts: 947
Offline Offline
WWW
Support Specialty: XLRstats webfront
« Reply #20 on: June 22, 2011, 06:10:10 AM »

I guess you overlooked that.

Code: xml

should be

Code: xml
Logged

Full Member
***
OS: Windows
Type: Renting Server with B3
Gameservers: UrT
Posts: 123
Offline Offline
« Reply #21 on: June 22, 2011, 06:27:49 AM »

it isn't. please see at the post before. i have also changed it with your suggestion.  Grin
Logged
Support Hero
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2629
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #22 on: June 22, 2011, 06:45:16 AM »

Can you re-post the entire plugins part of your b3.xml?

Also can make sure you don't have a xlrstats.py /pyc in the plugin folder (b3/plugins/)
Logged

Need B3 Bot hosting? Check out Host4B3.com
Check Twitter.com/Host4B3 for updates if the site it down.

Help will be given to those with a b3.log

System: Python 2.7.1 - B3 Source Code - Locally hosted MySQL & Apache - Win 2k3
Full Member
***
OS: Windows
Type: Renting Server with B3
Gameservers: UrT
Posts: 123
Offline Offline
« Reply #23 on: June 22, 2011, 08:51:33 AM »

problem resolved. i don't know what was but i have deleted whole b3 and reinstalled it.
the configurations it wasn't changed. it's the same and i try to delete from b3\plugins the xlrstats.py e .pyc - updated tables in the database to 2.4.0 and put in the extplugins\conf the new xlrstats.xml and in extplugins new xlrstats.py except .pyc. reload the bot and all is working now!

thank you for the support!  Cheesy
really i can't understand what was it!  Tongue Huh
Logged
Tags:
Pages: 1 [2]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal