Full documentation and information about XLRstats can be found on our XLRstats website: www.xlrstats.com

You are here: Big Brother Bot ForumAdd-OnsXLRstatsProblem XLRstats and B3
Pages: [1]   Go Down
  Print  
Author Topic: Problem XLRstats and B3  (Read 2149 times) Bookmark and Share
Jr. Member
**
OS: Windows
Type: Home user
Gameservers: CoD2
Posts: 11
Offline Offline
« on: March 19, 2010, 03:32:02 AM »

Hello.

I have problem with XLRstats. Well, on my websitehttp://cybercenter.pl/gdmk/xlrstats/index.php?config=2 I don't see in ranking "kill" , "death" etc. Why b3 don't send it statistic?

B3.log and Games_mp.log in attachments.

I create tabels on mysql server. But for example this table "xlr_actionstats" is empty like others XLR.
http://img193.imageshack.us/img193/6503/beztytuu123123.jpg

I run b3 on my PC because I have server on Linux and don't have full acces. (I bought this server and I'm only simple admin)

[attachment deleted by maintenance - older than 60 days]
« Last Edit: March 19, 2010, 03:49:53 AM by ressiv5 » Logged

XLRstats dev.
Dev. Team
*
OS: Linux
Type: Home user
Gameservers: COD5, COD7, BF3
Posts: 947
Offline Offline
WWW
Support Specialty: XLRstats webfront
« Reply #1 on: March 19, 2010, 03:49:08 AM »

You need to install xlrstats plugin. It's bundled in B3 package. You just need to enable it in b3.xml.
Logged

Jr. Member
**
OS: Windows
Type: Home user
Gameservers: CoD2
Posts: 11
Offline Offline
« Reply #2 on: March 19, 2010, 03:56:00 AM »

You need to install xlrstats plugin. It's bundled in B3 package. You just need to enable it in b3.xml.

Look:
Code:
<configuration>
<settings name="b3">
<!--
Next line: the parser defines the game:
cod/cod2/cod4/cod5/iourt41/etpro/wop/smg (it should NOT be
'changeme')
-->
<set name="parser">cod2</set>
<set name="database">mysql://cybercenter_2:*******@sql.cybercenter.nazwa.pl/cybercenter_2</set>
<set name="bot_name">b3</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">CST</set>
<!-- 9 = verbose, 10 = debug, 21 = bot, 22 = console -->
<set name="log_level">9</set>
<set name="logfile">b3.log</set>
</settings>
<settings name="server">
<set name="rcon_password">********</set>
<set name="port">28978</set>
<set name="game_log">ftp://srv4755:***********@A.1shot1kill.eu/COD2/main/server.log</set>
<set name="public_ip">188.40.73.204</set>
<set name="rcon_ip">188.40.73.204</set>
<set name="punkbuster">on</set>

</settings>
<settings name="autodoc">
<!-- Autodoc will generate a user documentation for all B3 commands
* type : can be one of : html, htmltable, xml
* maxlevel : if you want to exclude commands reserved for higher levels
* destination : can be a file or a ftp url
by default, a html documentation is created in your conf folder
-->
<set name="type">html</set>
<set name="maxlevel">100</set>
<!-- <set name="destination">C:\Users\b3\Desktop\test_doc.htm</set> -->
<!-- <set name="destination">ftp://user:pass@somewhere.com/www/test_doc.htm</set> -->
</settings>
<settings name="messages">
<set name="kicked_by">%s^7 was kicked by %s^7 %s</set>
<set name="kicked">%s^7 was kicked %s</set>
<set name="banned_by">%s^7 was banned by %s^7 %s</set>
<set name="banned">%s^7 was banned %s</set>
<set name="temp_banned_by">%s^7 was temp banned by %s^7 for %s^7 %s</set>
<set name="temp_banned">%s^7 was temp banned for %s^7 %s</set>
<set name="unbanned_by">%s^7 was un-banned by %s^7 %s</set>
<set name="unbanned">%s^7 was un-banned %s</set>
</settings>
<settings name="plugins">
<set name="external_dir">@b3/extplugins</set>
</settings>
<plugins>
<plugin name="censor" priority="1" config="@b3/conf/plugin_censor.xml" />
<plugin name="spamcontrol" priority="2" config="@b3/conf/plugin_spamcontrol.xml" />
<plugin name="admin" priority="3" config="@b3/conf/plugin_admin.xml" />
<plugin name="tk" priority="4" config="@b3/conf/plugin_tk.xml" />
<plugin name="stats" priority="5" config="@b3/conf/plugin_stats.xml" />
<plugin name="pingwatch" priority="6" config="@b3/conf/plugin_pingwatch.xml" />
<plugin name="adv" priority="7" config="@b3/conf/plugin_adv.xml" />
<plugin name="status" priority="8" config="@b3/conf/plugin_status.xml" />
<plugin name="welcome" priority="9" config="@b3/conf/plugin_welcome.xml" />
<plugin name="punkbuster" priority="10" config="@b3/conf/plugin_punkbuster.xml" />

<!--
This is a non-standard plugin, and quite resource heavy. Please take
a look in the B3 forums (look for XLR Extensions) for more
information before enabling this. Extra database tables are
necessary.
      <plugin name="xlrstats" priority="13" config="@b3/extplugins/conf/xlrstats.xml"/>
<plugin name="ctime" priority="12" config="@b3/extplugins/conf/plugin_ctime.xml"/>
-->
</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 #3 on: March 19, 2010, 04:02:22 AM »

Both xlrstats and ctime plugins are commented out. (They are between <!-- and --> ) You can just copy and paste two lines as follows:

Code:
<plugin name="punkbuster" priority="10" config="@b3/conf/plugin_punkbuster.xml" />
                <plugin name="xlrstats" priority="11" config="@b3/extplugins/conf/xlrstats.xml"/>
                <plugin name="ctime" priority="12" config="@b3/extplugins/conf/plugin_ctime.xml"/>

<!--
This is a non-standard plugin, and quite resource heavy. Please take
a look in the B3 forums (look for XLR Extensions) for more
information before enabling this. Extra database tables are
necessary.
      <plugin name="xlrstats" priority="13" config="@b3/extplugins/conf/xlrstats.xml"/>
      <plugin name="ctime" priority="12" config="@b3/extplugins/conf/plugin_ctime.xml"/>
-->

NOTE THAT priority numbers must be in order!
Logged

Jr. Member
**
OS: Windows
Type: Home user
Gameservers: CoD2
Posts: 11
Offline Offline
« Reply #4 on: March 19, 2010, 04:22:33 AM »

OK thx. But now I have problem with it:
Code:
100319 13:19:08 BOT    Starting Plugin status
100319 13:19:08 BOT    Starting Plugin welcome
100319 13:19:08 DEBUG Register Event: Client Authenticated: WelcomePlugin
100319 13:19:08 BOT    Starting Plugin punkbuster
100319 13:19:08 DEBUG AdminPlugin: Command "pbss (None)" registered with cmd_pbss for level (20, 100)
100319 13:19:08 DEBUG AdminPlugin: Command "pbbuildbans (None)" registered with cmd_pbbuildbans for level (80, 100)
100319 13:19:08 BOT    Starting Plugin ctime
100319 13:19:08 DEBUG Register Event: Client Authenticated: CtimePlugin
100319 13:19:08 DEBUG Register Event: Client Disconnect: CtimePlugin
100319 13:19:08 DEBUG CtimePlugin: 05:00 CST => 11:00 UTC
100319 13:19:08 INFO CtimePlugin: everyday at  5: 0 CST, connection info older than 31 days will be deleted
100319 13:19:08 VERBOSE Added crontab <bound method CtimePlugin.purge of <ctime.CtimePlugin instance at 0x01540E68>> (22407568) - 0s 0m 11h -1d -1M -1DOW
100319 13:19:08 BOT    Starting Plugin xlrstats
100319 13:19:08 DEBUG AdminPlugin: Command "xlrhide (None)" registered with cmd_xlrhide for level (60, 100)
100319 13:19:08 DEBUG AdminPlugin: Command "xlrstats (None)" registered with cmd_xlrstats for level (1, 100)
100319 13:19:08 DEBUG AdminPlugin: Command "xlrtopstats (None)" registered with cmd_xlrtopstats for level (2, 100)
100319 13:19:08 DEBUG Register Event: Client Join Team: XlrstatsPlugin
100319 13:19:08 DEBUG Register Event: Client Kill: XlrstatsPlugin
100319 13:19:08 DEBUG Register Event: Client Team Kill: XlrstatsPlugin
100319 13:19:08 DEBUG Register Event: Client Suicide: XlrstatsPlugin
100319 13:19:08 DEBUG Register Event: Game Round Start: XlrstatsPlugin
100319 13:19:08 DEBUG Register Event: Client Action: XlrstatsPlugin
100319 13:19:08 DEBUG Register Event: Client Damage: XlrstatsPlugin
100319 13:19:08 DEBUG XlrstatsPlugin: Got client id for WORLD: 1
100319 13:19:08 VERBOSE XlrstatsPlugin: Checking if we need to update tables for version 2.0.0
100319 13:19:08 DEBUG XlrstatsPlugin: Optimizing Table(s): xlr_playerstats, xlr_weaponstats, xlr_weaponusage, xlr_bodyparts, xlr_playerbody, xlr_opponents, xlr_mapstats, xlr_playermaps, xlr_actionstats, xlr_playeractions
100319 13:19:08 DEBUG XlrstatsPlugin: Optimize Success
100319 13:19:08 DEBUG XlrstatsPlugin: Calculating kill_bonus
100319 13:19:08 INFO STDOUT Error: unsupported operand type(s) for -: 'NoneType' and 'int'
  File "b3\__init__.pyo", line 160, in start
  File "b3\parser.pyo", line 314, in start
  File "b3\parser.pyo", line 533, in startPlugins
  File "b3\plugin.pyo", line 148, in onStartup
  File "C:\Program Files\BigBrotherBot_1.2.2b-courgette-20100226\extplugins\xlrstats.py", line 201, in startup
  File "C:\Program Files\BigBrotherBot_1.2.2b-courgette-20100226\extplugins\xlrstats.py", line 1437, in calculateKillBonus

100319 13:19:08 INFO STDOUT

100319 13:19:08 INFO STDOUT 223
100319 13:19:08 INFO STDOUT

100319 13:19:36 BOT    Shutting down...
100319 13:19:36 VERBOSE AdvPlugin: Warning: No handle func for AdvPlugin
100319 13:19:36 INFO StatusPlugin: B3 stop/exit.. updating status
100319 13:19:36 DEBUG StatusPlugin: Writing XML status to C:\Documents and Settings\rad.RAD-A582F29243D/status.xml
100319 13:19:36 DEBUG XlrstatsPlugin: xlrstats.dumpEvent -- Type 2, Client None, Target None, Data
100319 13:19:36 VERBOSE PunkbusterPlugin: Warning: No handle func for PunkbusterPlugin
100319 13:19:36 VERBOSE FtpytailPlugin: Warning: No handle func for FtpytailPlugin
100319 13:19:36 INFO PublistPlugin: Sending shutdown info to B3 master
100319 13:19:36 BOT    Shutting down database connections...


[attachment deleted by maintenance - older than 60 days]
Logged
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #5 on: March 19, 2010, 06:29:42 AM »

Please replace xlrstats.py with the version in this sourcepackage: http://github.com/xlr8or/big-brother-bot/zipball/00117893fe99c3c05e82338037063e39fd087d49

This bug should be fixed in current source.
Logged

Jr. Member
**
OS: Windows
Type: Home user
Gameservers: UrT
Posts: 13
Offline Offline
« Reply #6 on: April 08, 2010, 05:22:18 AM »

You need to install xlrstats plugin. It's bundled in B3 package. You just need to enable it in b3.xml.

I dont actually know how to enable the plugin because i am having the same problem as well. iI cannot use xlrstats or i cant even use my new installed plugins

Please help me =]
Logged
Full Member
***
OS: Windows
Type: Renting Server with B3
Gameservers: COD2
Posts: 127
Offline Offline
WWW
« Reply #7 on: April 08, 2010, 06:03:26 AM »

You don't know how to enable the plugin?  Undecided

Did you read the above follow-up posts?
Logged

Jr. Member
**
OS: Windows
Type: Home user
Gameservers: UrT
Posts: 13
Offline Offline
« Reply #8 on: April 08, 2010, 06:17:05 AM »

okay can you please help me? because i don't know which one is the solution to enabling xlrstats

Please help
Logged
XLRstats dev.
Dev. Team
*
OS: Linux
Type: Home user
Gameservers: COD5, COD7, BF3
Posts: 947
Offline Offline
WWW
Support Specialty: XLRstats webfront
« Reply #9 on: April 08, 2010, 06:57:05 AM »

Add this line in plugins section in your b3.xml. Replace the Priority Number with the correct one in your setup!

Code:
<plugin name="xlrstats" priority="13" config="@b3/extplugins/conf/xlrstats.xml"/>
Logged

Tags: Problem XLRstats B3 
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal