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

You are here: Big Brother Bot ForumAdd-OnsXLRstatsXLRSTATS for BF3
Pages: 1 2 [3]   Go Down
  Print  
Author Topic: XLRSTATS for BF3  (Read 5347 times) Bookmark and Share
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 #30 on: December 13, 2011, 09:57:45 AM »

this needs an update... there's new maps and new weapons.
Post them and someone will update it.
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

XLRstats dev.
Dev. Team
*
OS: Linux
Type: Home user
Gameservers: COD5, COD7, BF3
Posts: 947
Offline Offline
WWW
Support Specialty: XLRstats webfront
« Reply #31 on: December 14, 2011, 12:45:29 AM »

I added new maps in xlrstats in my repo. Waiting to collect new weapon names.
Logged

Newbie
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: BF3
Posts: 1
Offline Offline
« Reply #32 on: December 15, 2011, 12: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";
Logged
XLRstats dev.
Dev. Team
*
OS: Linux
Type: Home user
Gameservers: COD5, COD7, BF3
Posts: 947
Offline Offline
WWW
Support Specialty: XLRstats webfront
« Reply #33 on: December 17, 2011, 01:06:09 AM »

I haven't yet found QBZ-95B or MK3A1. Please post here if you find these.
Logged

Full Member
***
OS: Linux
Type: Owner dedicated server(s)
Gameservers: BF3, RO2, COD-BO
Posts: 127
Offline Offline
« Reply #34 on: January 02, 2012, 04:54:23 AM »

Seeing an SQL error relating to the claymores :-

Code:

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:

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
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 #35 on: January 02, 2012, 05:53:14 AM »

Do you know what version of xlrstats module (above is the webfront module) you have?
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: Linux
Type: Owner dedicated server(s)
Gameservers: BF3, RO2, COD-BO
Posts: 127
Offline Offline
« Reply #36 on: January 02, 2012, 06:01:52 AM »

According to version.txt :-

version: 2.5b2
date: 10 November 2011
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 #37 on: January 02, 2012, 06:03:48 AM »

right, that is all webfront.

In the bot itself, extplugins/xlrstats.py, edit it and post the version number.
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: Linux
Type: Owner dedicated server(s)
Gameservers: BF3, RO2, COD-BO
Posts: 127
Offline Offline
« Reply #38 on: January 02, 2012, 06:29:05 AM »

Sorry Mordy, I misunderstood.  The xlrstats.py reports __version__ = '2.6.0'
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 #39 on: January 02, 2012, 06:36:57 AM »

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.
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
XLRstats dev.
Dev. Team
*
OS: Linux
Type: Home user
Gameservers: COD5, COD7, BF3
Posts: 947
Offline Offline
WWW
Support Specialty: XLRstats webfront
« Reply #40 on: January 03, 2012, 04:11:45 AM »

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, 04:16:47 AM by Freelander » Logged

Beta Testers
*
OS: Windows
Type: Renting Server, no B3
Gameservers: COD4 | COD2 | COD BO (Ranked and Unranked) | MOH 2010
Posts: 129
Offline Offline
« Reply #41 on: February 02, 2012, 03:20:42 AM »

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:
Line: 1276:

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

to

Code:
Line: 1276:

  // Claymore
  add_weaponaward("wp_claymore", "'Weapons/Gadgets/Claymore/Claymore'");
« Last Edit: February 02, 2012, 03:33:34 AM by [DAD]GrimReaper » Logged
Jr. Member
**
OS: Windows
Type: Renting Server with B3
Gameservers: Battlefield 3
Posts: 18
Offline Offline
« Reply #42 on: April 08, 2012, 07:02:29 AM »

some fixed relases for bf3 ??
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 #43 on: April 09, 2012, 09:01:48 AM »

some fixed relases for bf3 ??
I'm using this link: https://github.com/Freelander/xlrstats-web-v2/zipball/master
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
Newbie
*
OS: Windows
Type: Owner dedicated server(s)
Gameservers: BF3
Posts: 9
Offline Offline
« Reply #44 on: May 09, 2012, 08:31:51 AM »

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
Logged
Tags:
Pages: 1 2 [3]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal