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!

Pages: [1] 2 3 ... 8   Go Down
  Print  
Author Topic: XLRstats  (Read 39330 times) Bookmark and Share
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 1998
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« on: September 20, 2006, 03:41:51 AM »

The XLRstats plugin is included in your B3 distribution in the extplugins folder.

All available core files are located here: http://xlr8or.snt.utwente.nl/xlrstats/distro/
Documentation is available here: http://xlr8or.snt.utwente.nl/xlrstats/distro/docs/xlrstats.html


Update package for XLRstats version 0.6.0 here: http://ftp://ftp.snt.utwente.nl/pub/games/bigbrotherbot/plugins/xlrstats-v.0.6.0.zip


Prefab packages:


Call of Duty 1:
--> http://xlr8or.snt.utwente.nl/xlrstats/distro/latest/packages/xlrstats-cod1.zip

Call of Duty United Offensive:
--> http://xlr8or.snt.utwente.nl/xlrstats/distro/latest/packages/xlrstats-uo.zip

Call of Duty 2:
--> http://xlr8or.snt.utwente.nl/xlrstats/distro/latest/packages/xlrstats-cod2.zip

Call of Duty 4:
--> http://xlr8or.snt.utwente.nl/xlrstats/distro/latest/packages/xlrstats-cod4.zip
Thanks to Click for collecting all images and weaponnames

Urban Terror:
--> http://xlr8or.snt.utwente.nl/xlrstats/distro/latest/packages/xlrstats-urt.zip

« Last Edit: March 12, 2009, 11:58:44 AM by xlr8or » Logged


Sr. Member
****
Posts: 259
Offline Offline
WWW
« Reply #1 on: December 15, 2006, 05:12:45 AM »

xlr8or,

I am having all kinds of problems with the alias part of this plugin.  B3 takes several minutes sometimes to update the slots and player information, so the plugin is creating aliases for people that don't have an alias.  It can get pretty confusing.
Logged

Deadbone Platoon
B3 Driven CoD Servers
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 1998
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #2 on: December 17, 2006, 12:47:10 AM »

It's not XLRstats creating the aliases, its B3 itself that keeps track of them. XLRstats only shows them.

You can disable aliasses in statsconfig.php by setting: $aliashide_level = 0;
Logged

Jr. Member
**
Posts: 15
Offline Offline
« Reply #3 on: March 04, 2007, 07:48:27 AM »

Hello! I'm new on this forum, but searched some time to find here and to know that what I was searching for was "B3" name Smiley
I've installed it, configured and everything is ok, it's running 3 days now.

I use xlrstats plugin, xlrstats web page (great live stats!) and echeleon web panel.
At first I was using welcome plugin, but it spammed a bit from console every time there was new user connected, so I turned it bit off. Now bot only welcomes new users on PM to them from console. New users although I can see in web panel echeleon. So far so good.

Now what is the problem for me: there is a command !xlrstats that player can type in chat and console will anster to him. But some players ale registered by B3 (I see them in echeleon) but when they type in chat !xlrstats B3 answers that he can not find player. It only helps when player manually must type in chat !register. Since then he is tracked and can see his stats in !xlrstats command (with !register player gets message that is added to Users group).
Question: how to make it full-auto whed new player connects he is added #No_user by B3 aaaand automatically added to Users group so he don't have to type !register in chat to see later his stats ?

Thank You!
pszemaz
Logged
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 1998
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #4 on: March 04, 2007, 01:02:30 PM »

The answer is hidden in the XLRstats manual online here: http://xlr8or.snt.utwente.nl/xlrstats/distro/docs/xlrstats.html#configurationoptions

Replace the current xlrstats.xml with the one quoted below and change the value of the setting "minlevel" to "0". That will make xlrstats include level 0 players.

Quote
<configuration plugin="xlrstats">
  <settings name="settings">
    <set name="kill_bonus">1.2</set>
    <set name="suicide_penalty_percent">0.05</set>
    <set name="tk_penalty_percent">0.1</set>
    <set name="defaultskill">1000</set>
    <set name="steepness">600</set>
    <set name="Kfactor_high">16</set>
    <set name="Kfactor_low">4</set>
    <set name="Kswitch_kills">100</set>
    <set name="prematch_maxtime">70</set>
    <set name="minlevel">1</set>
  </settings>
  <settings name="weapons">
    <set name="bar_mp">1.00</set>
    <set name="bar_slow_mp">1.15</set>
    <set name="bren_mp">1.10</set>
    <set name="colt_mp">1.50</set>
    <set name="enfield_mp">1.35</set>
    <set name="kar98k_mp">1.25</set>
    <set name="kar98k_sniper_mp">1.00</set>
    <set name="fg42_mp">0.50</set>
    <set name="fg42_semi_mp">0.65</set>
    <set name="fraggrenade_mp">0.75</set>
    <set name="grenade_mp">0.75</set>
    <set name="luger_mp">1.50</set>
    <set name="m1carbine_mp">1.25</set>
    <set name="m1garand_mp">1.00</set>
    <set name="mg42_bipod_mp">1.00</set>
    <set name="mg42_bipod_stand_mp">1.00</set>
    <set name="mg42_bipod_prone_mp">1.00</set>
    <set name="mk1britishfrag_mp">0.75</set>
    <set name="mod_explosive_mp">0.10</set>
    <set name="mod_falling_mp">1.25</set>
    <set name="mod_melee_mp">1.60</set>
    <set name="mod_projectile_mp">0.10</set>
    <set name="mod_suicide_mp">0.50</set>
    <set name="mosin_nagant_mp">1.25</set>
    <set name="mosin_nagant_sniper_mp">1.00</set>
    <set name="mp40_mp">0.80</set>
    <set name="mp44_mp">0.90</set>
    <set name="mp44_semi_mp">1.15</set>
    <set name="panzerfaust_mp">1.15</set>
    <set name="ppsh_mp">0.80</set>
    <set name="ppsh_semi_mp">1.15</set>
    <set name="rgd-33russianfrag_mp">0.75</set>
    <set name="springfield_mp">1.00</set>
    <set name="sten_mp">1.10</set>
    <set name="stielhandgranate_mp">0.75</set>
    <set name="thompson_mp">0.80</set>
    <set name="thompson_semi_mp">1.15</set>
    <set name="gewehr43_mp">1.10</set>
    <set name="svt40_mp">1.10</set>
    <set name="panzeriv_turret_mp">0.8</set>
    <set name="t34_turret_mp">0.8</set>
    <set name="sherman_turret_mp">0.8</set>
    <set name="flak88_turret_mp">0.8</set>
    <set name="mg42_turret_mp">0.8</set>
    <set name="mg30cal_mp">1</set>
    <set name="mg34_mp">1</set>
    <set name="mg34_tank_mp">1</set>
    <set name="sg43_tank_mp">1</set>
    <set name="50cal_tank_mp">1</set>
    <set name="su152_turret_mp">0.8</set>
    <set name="elefant_turret_mp">1</set>
    <set name="sg43_turret_mp">0.8</set>
    <set name="flamethrower_mp">1.50</set>
    <set name="bazooka_mp">1.15</set>
    <set name="panzerschreck_mp">1.15</set>
    <set name="satchelcharge_mp">1.50</set>
    <set name="webley_mp">1.50</set>
    <set name="30cal_tank_mp">1</set>
    <set name="dp28_mp">1</set>
    <set name="tt33_mp">1.50</set>
  </settings>
</configuration>
Logged

Jr. Member
**
Posts: 14
Offline Offline
« Reply #5 on: May 17, 2007, 07:46:48 PM »

Here's some code that will allow XLRStats to capture bashes properly in COD2:
Code:
## replace weapon with melee if applicable
        if (data[3] == 'MOD_MELEE'):
            actualweapon = 'mod_melee'
else:
            actualweapon = data[1]

You need to put this in the kill, teamkill, and suicide functions right after:
Code:
        if (data == None):
            return

You should then do a search/replace and replace all instances of data[1] with actualweapon
Logged
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 1998
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #6 on: May 18, 2007, 01:22:07 AM »

Great addition! Thanks!

When you search/replace after you inserted the new code, make sure you DON'T replace the newly inserted line: actualweapon = data[1]

Maybe it's better to search/replace data[1] first and then insert the new code right before the part: #adjust weapon statistics
Logged

Sr. Member
****
Posts: 259
Offline Offline
WWW
« Reply #7 on: May 20, 2007, 05:32:37 AM »

xlr8or,
Are you going to update the .py file?  I am afraid my clumsy editing will break the file.
Logged

Deadbone Platoon
B3 Driven CoD Servers
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 1998
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #8 on: May 20, 2007, 10:03:42 AM »

drop me a line and I will email it to you... (I havent tested it though... remember to add the mod_melee to the webfront configs aswell for  a nicer name. Oh and also to the xml for its modifier.)
Logged

Hoody
Guest
« Reply #9 on: July 13, 2007, 03:39:48 PM »

Can anyone share a working CoD2 version? As looking @ the config - ect - it looks like a few changes need to be made. If anyone has already edited it - let me know!
« Last Edit: July 13, 2007, 03:41:39 PM by Hoody » Logged
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 1998
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #10 on: July 14, 2007, 01:38:51 AM »

Here's my current config. I've added weapons unique to CoD2 and cooking nades from AWE.

Also note that the kill_bonus is very high, you might want to edit that.
Quote
<configuration plugin="xlrstats">
  <settings name="settings">
    <set name="kill_bonus">1.7</set>
    <set name="suicide_penalty_percent">0.05</set>
    <set name="tk_penalty_percent">0.1</set>
    <set name="defaultskill">1000</set>
    <set name="steepness">600</set>
    <set name="Kfactor_high">16</set>
    <set name="Kfactor_low">4</set>
    <set name="Kswitch_kills">100</set>
    <set name="prematch_maxtime">70</set>
    <set name="minlevel">1</set>
  </settings>
  <settings name="weapons">
    <set name="bar_mp">1.00</set>
    <set name="bar_slow_mp">1.15</set>
    <set name="bren_mp">1.10</set>
    <set name="colt_mp">1.50</set>
    <set name="enfield_mp">1.35</set>
    <set name="kar98k_mp">1.25</set>
    <set name="kar98k_sniper_mp">1.00</set>
    <set name="fg42_mp">0.50</set>
    <set name="fg42_semi_mp">0.65</set>
    <set name="fraggrenade_mp">0.75</set>
    <set name="grenade_mp">0.75</set>
    <set name="luger_mp">1.50</set>
    <set name="m1carbine_mp">1.25</set>
    <set name="m1garand_mp">1.00</set>
    <set name="mg42_bipod_mp">1.00</set>
    <set name="mg42_bipod_stand_mp">1.00</set>
    <set name="mg42_bipod_prone_mp">1.00</set>
    <set name="mk1britishfrag_mp">0.75</set>
    <set name="mod_explosive_mp">0.10</set>
    <set name="mod_falling_mp">1.25</set>
    <set name="mod_melee_mp">1.60</set>
    <set name="mod_projectile_mp">0.10</set>
    <set name="mod_suicide_mp">0.50</set>
    <set name="mosin_nagant_mp">1.25</set>
    <set name="mosin_nagant_sniper_mp">1.00</set>
    <set name="mp40_mp">0.80</set>
    <set name="mp44_mp">0.90</set>
    <set name="mp44_semi_mp">1.15</set>
    <set name="panzerfaust_mp">1.15</set>
    <set name="ppsh_mp">0.80</set>
    <set name="ppsh_semi_mp">1.15</set>
    <set name="rgd-33russianfrag_mp">0.75</set>
    <set name="springfield_mp">1.00</set>
    <set name="sten_mp">1.10</set>
    <set name="stielhandgranate_mp">0.75</set>
    <set name="thompson_mp">0.80</set>
    <set name="thompson_semi_mp">1.15</set>
    <set name="gewehr43_mp">1.10</set>
    <set name="svt40_mp">1.10</set>
    <set name="panzeriv_turret_mp">0.8</set>
    <set name="t34_turret_mp">0.8</set>
    <set name="sherman_turret_mp">0.8</set>
    <set name="flak88_turret_mp">0.8</set>
    <set name="mg42_turret_mp">0.8</set>
    <set name="mg30cal_mp">1</set>
    <set name="mg34_mp">1</set>
    <set name="mg34_tank_mp">1</set>
    <set name="sg43_tank_mp">1</set>
    <set name="50cal_tank_mp">1</set>
    <set name="su152_turret_mp">0.8</set>
    <set name="elefant_turret_mp">1</set>
    <set name="sg43_turret_mp">0.8</set>
    <set name="flamethrower_mp">1.50</set>
    <set name="bazooka_mp">1.15</set>
    <set name="panzerschreck_mp">1.15</set>
    <set name="satchelcharge_mp">1.50</set>
    <set name="webley_mp">1.50</set>
    <set name="30cal_tank_mp">1</set>
    <set name="dp28_mp">1</set>
    <set name="tt33_mp">1.50</set>

    <set name="SVT40_mp">1.10</set>
    <set name="PPS42_mp">0.80</set>
    <set name="g43_mp">1.10</set>
    <set name="frag_grenade_german_mp">0.75</set>
    <set name="frag_grenade_british_mp">0.75</set>
    <set name="frag_grenade_russian_mp">0.75</set>
    <set name="frag_grenade_american_mp">0.75</set>
    <set name="cook_frag_grenade_german_mp">0.75</set>
    <set name="cook_frag_grenade_british_mp">0.75</set>
    <set name="cook_frag_grenade_russian_mp">0.75</set>
    <set name="cook_frag_grenade_american_mp">0.75</set>
    <set name="cook2_frag_grenade_german_mp">0.75</set>
    <set name="cook2_frag_grenade_british_mp">0.75</set>
    <set name="cook2_frag_grenade_russian_mp">0.75</set>
    <set name="cook2_frag_grenade_american_mp">0.75</set>
    <set name="cook3_frag_grenade_german_mp">0.75</set>
    <set name="cook3_frag_grenade_british_mp">0.75</set>
    <set name="cook3_frag_grenade_russian_mp">0.75</set>
    <set name="cook3_frag_grenade_american_mp">0.75</set>
  </settings>
</configuration>
Logged

Hoody
Guest
« Reply #11 on: July 14, 2007, 05:14:37 AM »

Cheers bud! Thanks very much Smiley

Saved me some time Grin
Logged
Hoody
Guest
« Reply #12 on: July 16, 2007, 09:58:39 AM »

Next question - (I'm sorry!) - How can I run XLR Stats on multiple servers - but have each server having different stats. For example.....

We have 1xSD Server and 1xTDM server. I'd those servers to have seperate stats. But I would like them to both have the same clients. So their recognised on both servers as the same person - only they have different !xlrstats on both.

Is this possible? If so.. how?

Thanks very much!
Logged
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 1998
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #13 on: July 16, 2007, 10:33:15 AM »

Yes you can... You run 2 bots, with a shared database.

Default table names for xlrstats are eg. xlr_playerstats
You can make a new set of tables in the same database with names like eg. xlr_playerstats2

Then add a new section to xlrstats.xml that looks like this:
Code:
<settings name="tables">
<set name="playerstats">xlr_playerstats2</set>
<set name="weaponstats">xlr_weaponstats2</set>
<set name="weaponusage">xlr_weaponusage2</set>
<set name="bodyparts">xlr_bodyparts2</set>
<set name="playerbody">xlr_playerbody2</set>
<set name="opponents">xlr_opponents2</set>
<set name="mapstats">xlr_mapstats2</set>
<set name="playermaps">xlr_playermaps2</set>
</settings>

(You must make the new tables yourself, by hand or by tweaking the packaged .sql file.)
Logged

[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 1998
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #14 on: July 16, 2007, 01:26:32 PM »

Ohyeah, and you have to clone the webfront and modify the tablenames in statsconfig.php aswell... But I bet you already knew that Wink
Logged

Tags:
Pages: [1] 2 3 ... 8   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal