Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!

Full documentation and information about XLRstats version 2 can be found at this subsection of our site.

Our upcoming XLRstats version 3 (League Edition) is currently being developed. You can have a glimpse on our main XLRstats website: www.xlrstats.com


Author Topic: XLRSTATS for BF3  (Read 26226 times)

Offline MordyT

  • Support Hero
  • Hero Member
  • *
  • Posts: 3644
  • Over $300 Donated to B3!
    • MordyT
Re: XLRSTATS for BF3
« Reply #30 on: December 13, 2011, 06:57:45 PM »
this needs an update... there's new maps and new weapons.
Post them and someone will update it.
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 Freelander

  • XLRstats dev.
  • Dev. Team
  • Hero Member
  • *
  • Posts: 1000
Re: XLRSTATS for BF3
« Reply #31 on: December 14, 2011, 09:45:29 AM »
I added new maps in xlrstats in my repo. Waiting to collect new weapon names.

Offline DeadWalking

  • Newbie
  • *
  • Posts: 1
Re: XLRSTATS for BF3
« Reply #32 on: December 15, 2011, 09:43:46 AM »
All I have gotten so far

//Assault
$w['FAMAS'] = "FAMAS Assault Rifle"; //
$w['Weapons/XP1_L85A2/L85A2'] = "L85A2 Assault Rifle"; //

//Engineer
$w['HK53'] = "G53 Compact Rifle";

//Recon
$w['QBU-88'] = "QBU-88 Semi Automatic Sniper Rifle";
$w['L96'] = "L96 Bolt Action Sniper Rifle";

//Support
$w['QBB-95'] = "QBB-95 Machine Gun";


//General//
//
//SMGs
$w['PP-19'] = "PP-19 Sub Machine Gun";

Offline Freelander

  • XLRstats dev.
  • Dev. Team
  • Hero Member
  • *
  • Posts: 1000
Re: XLRSTATS for BF3
« Reply #33 on: December 17, 2011, 10:06:09 AM »
I haven't yet found QBZ-95B or MK3A1. Please post here if you find these.

Offline 40-1 Toffees

  • Sr. Member
  • ****
  • Posts: 171
Re: XLRSTATS for BF3
« Reply #34 on: January 02, 2012, 01:54:23 PM »
Seeing an SQL error relating to the claymores :-

Code: [Select]

111230 21:17:32 ERROR   '[INSERT INTO xlr_weaponstats ( name, kills, suicides, teamkills ) VALUES ("Weapons/Gadgets/Claymore/Claymore", 1, 0, 0)] None'
111230 21:17:32 ERROR   'handler XlrstatsPlugin could not handle event Client Kill: IntegrityError: (1062, "Duplicate entry \'Weapons/Gadgets/Claymore/Claymor\' for key \'name\'") [(\'/home/b3/b3/parser.py\', 1000, \'handleEvents\', \'hfunc.parseEvent(event)\'), (\'/home/b3/b3/plugin.py\', 158, \'parseEvent\', \'self.onEvent(event)\'), (\'/home/b3/b3/extplugins/xlrstats.py\', 498, \'onEvent\', \'self.kill(event.client, event.target, event.data)\'), (\'/home/b3/b3/extplugins/xlrstats.py\', 1050, \'kill\', \'self.save_Stat(weaponstats)\'), (\'/home/b3/b3/extplugins/xlrstats.py\', 744, \'save_Stat\', \'cursor = self.query(q)\'), (\'/home/b3/b3/storage/database.py\', 313, \'query\', \'raise e\')]'


I've checked the sql database for duplicate entries and can't see any

Code: [Select]

mysql> select * from xlr_weaponstats where name like "%clay%";
+----+----------------------------------+-------+-----------+----------+
| id | name                             | kills | teamkills | suicides |
+----+----------------------------------+-------+-----------+----------+
| 49 | Weapons/Gadgets/Claymore/Claymor |     1 |         0 |        0 |
+----+----------------------------------+-------+-----------+----------+
1 row in set (0.00 sec)


my xlrstats module for bf3 is here -: http://pastebin.com/9D7Zm6XP

Offline MordyT

  • Support Hero
  • Hero Member
  • *
  • Posts: 3644
  • Over $300 Donated to B3!
    • MordyT
Re: XLRSTATS for BF3
« Reply #35 on: January 02, 2012, 02:53:14 PM »
Do you know what version of xlrstats module (above is the webfront module) you have?
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 40-1 Toffees

  • Sr. Member
  • ****
  • Posts: 171
Re: XLRSTATS for BF3
« Reply #36 on: January 02, 2012, 03:01:52 PM »
According to version.txt :-

version: 2.5b2
date: 10 November 2011

Offline MordyT

  • Support Hero
  • Hero Member
  • *
  • Posts: 3644
  • Over $300 Donated to B3!
    • MordyT
Re: XLRSTATS for BF3
« Reply #37 on: January 02, 2012, 03:03:48 PM »
right, that is all webfront.

In the bot itself, extplugins/xlrstats.py, edit it and post the version number.
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 40-1 Toffees

  • Sr. Member
  • ****
  • Posts: 171
Re: XLRSTATS for BF3
« Reply #38 on: January 02, 2012, 03:29:05 PM »
Sorry Mordy, I misunderstood.  The xlrstats.py reports __version__ = '2.6.0'

Offline MordyT

  • Support Hero
  • Hero Member
  • *
  • Posts: 3644
  • Over $300 Donated to B3!
    • MordyT
Re: XLRSTATS for BF3
« Reply #39 on: January 02, 2012, 03:36:57 PM »
Well, that is the latest, so there goes that theory.
Sometimes people update their bots and forget to update the xlrstats.py since it is in the extplugins folder.

Hopefully a dev or someone else has a idea.
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 Freelander

  • XLRstats dev.
  • Dev. Team
  • Hero Member
  • *
  • Posts: 1000
Re: XLRSTATS for BF3
« Reply #40 on: January 03, 2012, 01:11:45 PM »
Yep, that's a known bug. You get this error because the weapon name "Weapons/Gadgets/Claymore/Claymor" is longer than allowed in the mysql table. Currently it's set to 32 chars.

To fix this you can set the type of the name field to varchar(36) or anything bigger in xlr_weaponstats table in your database.

PS. Just opened an issue on github.
« Last Edit: January 03, 2012, 01:16:47 PM by Freelander »

Offline [DAD]GrimReaper

  • Full Member
  • ***
  • Posts: 128
Re: XLRSTATS for BF3
« Reply #41 on: February 02, 2012, 12:20:42 PM »
Hi Guys

the "Suprise Lover" award does not work, for some reason it cannot find the claymore weapon on my system (despite adding the fix above for the claymore) I have managed to find a work around by adding the weapon number to my /dynamic/award_idents_1.php file however I think this should be raised as an issue

Resolved it:

In /root/inc_install_award_idents.php

Modify:

From:

Code: [Select]
Line: 1276:

  // Claymore
  add_weaponaward("wp_claymore", "'Weapons/Gadgets/Claymore/Claymor'");

to

Code: [Select]
Line: 1276:

  // Claymore
  add_weaponaward("wp_claymore", "'Weapons/Gadgets/Claymore/Claymore'");
« Last Edit: February 02, 2012, 12:33:34 PM by [DAD]GrimReaper »

Offline C7_4K

  • Jr. Member
  • **
  • Posts: 34
Re: XLRSTATS for BF3
« Reply #42 on: April 08, 2012, 05:02:29 PM »
some fixed relases for bf3 ??

Offline MordyT

  • Support Hero
  • Hero Member
  • *
  • Posts: 3644
  • Over $300 Donated to B3!
    • MordyT
Re: XLRSTATS for BF3
« Reply #43 on: April 09, 2012, 07:01:48 PM »
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 R4Z0R49

  • Newbie
  • *
  • Posts: 9
Re: XLRSTATS for BF3
« Reply #44 on: May 09, 2012, 06:31:51 PM »
Has anyone figured out the difference between 'melee' and 'knife'? Also any idea what Soldier Collision and Damage Area are?

melee = Animated knife kill
Knife = normal hack/slash kill

 


Rate this page +1 at Google Search

anything