2
Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!
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!

Author Topic: XLRstats for b3 1,6,1.  (Read 7253 times)

Offline learco

  • Full Member
  • ***
  • Posts: 124
Re: XLRstats for b3 1,6,1.
« Reply #15 on: June 21, 2011, 01:39:26 PM »
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'

Offline Freelander

  • XLRstats dev.
  • Dev. Team
  • Hero Member
  • *
  • Posts: 1000
Re: XLRstats for b3 1,6,1.
« Reply #16 on: June 21, 2011, 08:27:43 PM »
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: [Select]
Plugin xlrstats (2.4.0 - Tim ter Laak / Mark Weirath) loaded

Offline learco

  • Full Member
  • ***
  • Posts: 124
Re: XLRstats for b3 1,6,1.
« Reply #17 on: June 21, 2011, 10:10:53 PM »
sure! i am feeling like a noob!  :o

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.  :o

thank you to all again!  :)

Offline Freelander

  • XLRstats dev.
  • Dev. Team
  • Hero Member
  • *
  • Posts: 1000
Re: XLRstats for b3 1,6,1.
« Reply #18 on: June 22, 2011, 03:47:16 PM »
Can you please paste your b3.xml without passwords?

Offline learco

  • Full Member
  • ***
  • Posts: 124
Re: XLRstats for b3 1,6,1.
« Reply #19 on: June 22, 2011, 03:55:25 PM »
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:[email protected]/dbname -->
      <set name="database">mysql://user:[email protected]/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">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>

Offline Freelander

  • XLRstats dev.
  • Dev. Team
  • Hero Member
  • *
  • Posts: 1000
Re: XLRstats for b3 1,6,1.
« Reply #20 on: June 22, 2011, 04:10:10 PM »
I guess you overlooked that.

Code: xml [Select]
<plugin name="xlrstats" config="@conf/xlrstats.xml" />


should be

Code: xml [Select]
<plugin name="xlrstats" config="@b3/extplugins/conf/xlrstats.xml"/>

Offline learco

  • Full Member
  • ***
  • Posts: 124
Re: XLRstats for b3 1,6,1.
« Reply #21 on: June 22, 2011, 04:27:49 PM »
it isn't. please see at the post before. i have also changed it with your suggestion.  ;D

Offline MordyT

  • Support Hero
  • Hero Member
  • *
  • Posts: 3644
  • Over $300 Donated to B3!
    • MordyT
Re: XLRstats for b3 1,6,1.
« Reply #22 on: June 22, 2011, 04:45:16 PM »
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/)
Help will be given to those with a b3.log

If drop off the map it is due to RL becoming busy :)

System: Python 2.7.3 - Deb 7 - B3 Source Code - 128MB RAM box (rented at $5 a year) - remote MySQL - Remote Web Services

Offline learco

  • Full Member
  • ***
  • Posts: 124
Re: XLRstats for b3 1,6,1.
« Reply #23 on: June 22, 2011, 06:51:33 PM »
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!  :D
really i can't understand what was it!  :P ???

 


Rate this page +1 at Google Search

anything