documentation
download & extend
community & support
B3 hosting
May 18, 2012, 12:15:12 PM
Home
Features
Get Started
Supported Games
Forums
Help
Search
Tags
Groupware
Login
Register
Activation Mail
It appears you have not registered with our community. To register please click here ...
Full documentation and information about XLRstats can be found on our XLRstats website:
www.xlrstats.com
You are here:
Big Brother Bot Forum
Add-Ons
XLRstats
XLRSTATS for BF3
Pages: [
1
]
2
3
Go Down
« previous
next »
Print
Author
Topic: XLRSTATS for BF3 (Read 5242 times)
Sars
Full Member
OS: Linux
Type: Owner dedicated server(s)
Gameservers:
COD7, BF3
Posts: 72
Offline
XLRSTATS for BF3
«
on:
October 28, 2011, 01:07:17 PM »
With help from
Platanos
over at
Austrian Combat Force
i have got XLRSTATS on its way to working with BF3.
Attached you will find the template we are using and sig backgrounds. I have tweeked it a little with the following:
Edited background image and cleaned it up
Made background static so it doesnt scroll
Made Battlefield Logo a png attached to xlrstats logo
and decreased size of background img to lower bandwidth required and page load time
Demo is here
http://thehair.kicks-ass.org
Here is the bf3.php that needs to go in your config folder
Code:
<?php
/***************************************************************************
* Xlrstats Webmodule
* Webfront for XLRstats for B3 (www.bigbrotherbot.com)
* (c) 2004-2010 www.xlr8or.com (mailto:xlr8or@xlr8or.com)
***************************************************************************/
/***************************************************************************
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Library General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* http://www.gnu.org/copyleft/gpl.html
***************************************************************************/
//*********************
// These are the standard BF3 settings
//*********************
// Teamnames and colors
$team1 = "US"; // red team
$team2 = "RUS"; // blue team
$spectators = "Spectators";
//*********************
// Weapons names
//*********************
//Assault
$w['M16A4'] = "M16A4 Assault Rifle";
$w['Weapons/AK74M/AK74'] = "AK-74M Assault Rifle";
$w['Weapons/M416/M416'] = "M416 Assault Rifle";
$w['F2000'] = "FN2000 Assault Rifle";
$w['AEK-971'] = "AEK-971 Assault Rifle";
$w['AN-94 Abakan'] = "AN-94 Abakan Assault Rifle";
$w['AS VAL'] = "AS VAL Assault Rifle";
$w['Weapons/G3A3/G3A3'] = "G3 Assault Rifle";
$w['Weapons/KH2002/KH2002'] = "Khaybar KH-2002 Assault Rifle";
//$w[''] = "Steyr Aug Assault Rifle";
//Engineer (SMGs and Carbines)
$w['Weapons/UMP45/UMP45'] = "UMP-45 Sub Machine Gun";
$w['AKS-74u'] = "AKS 74U Sub Machine Gun";
$w['M4A1'] = "M4A1 Carbine Rifle";
$w['Weapons/SCAR-H/SCAR-H'] = "SCAR-H Carbine Rifle";
$w['Weapons/G36C/G36C'] = "G36C Carbine Rifle";
$w['SG 553 LB'] = "SG553 Carbine Rifle";
$w['weapons/p90/p90'] = "P90 Sub Machine Gun";
$w['MP7'] = "MP7 Sub Machine Gun";
$w['PP-2000'] = "PP-2000 Sub Machine Gun";
$w['MagpulPDR'] = "PDW-R Sub Machine Gun";
$w['Weapons/A91/A91'] = "A-91 Sub Carbine Rifle";
//Medic
$w['M27IAR'] = "M27 Machine Gun";
$w['RPK-74M'] = "RPK Machine Gun";
$w['M249'] = "M249 Machine Gun";
$w['M240'] = "M240 Machine Gun";
$w['M60'] = "M60 Machine Gun";
$w['Pecheneg'] = "PKP Pecheneg Machine Gun";
$w['Type88'] = "Type 88 Machine Gun";
//$w[''] = "MG36 Machine Gun";
//Recon
$w['Mk11'] = "MK11 Sniper Rifle";
$w['SVD'] = "SVD Semi Automatic Sniper Rifle";
$w['M40A5'] = "M40A5 Sniper Rifle";
$w['SV98'] = "SV98 Bolt Action Sniper Rifle";
$w['Model98B'] = "M98B Bolt Action Sniper Rifle";
$w['M39'] = "M39 Semi Automatic Sniper Rifle";
$w['SKS'] = "SKS Semi Automatic Sniper Rifle";
//$w[''] = "M82 Semi Automatic Sniper Rifle";
//$w[''] = "Type 88 Semi Automatic Sniper Rifle";
//Shotguns
$w['870MCS'] = "Remington 870 Shotgun";
$w['Siaga20k'] = "Saiga 12 Semi Automatic Shotgun";
$w['USAS-12'] = "USAS 12 Semi Automatic Shotgun";
$w['DAO-12'] = "DAO 12 Semi Automatic Shotgun";
$w['M1014'] = "M1014 Semi Automatic Shotgun";
//$w[''] = "SPAS-12 Pump Action Shutgun";
//Sidearms
$w['M9'] = "Beretta M9 Semi Automatic Pistol";
$w['Weapons/MP443/MP443'] = "MP-443 Grach Semi Automatic Pistol";
$w['M93R'] = "Beretta Model 93R Pistol";
$w['M1911'] = "M1911 Pistol";
$w['Glock18'] = "Glock 18 Fully Automatic Pistol";
$w['Weapons/MP412Rex/MP412REX'] = "MP412 REX .357 Magnum Pistol";
$w['Taurus .44'] = ".44 Magnum Pistol";
//Rocket Launchers
$w['RPG-7'] = "RPG-7 ROcket Launcher";
$w['SMAW'] = "SMAW Rocket Launcher";
$w['FGM-148'] = "Javelin Anti Tank Missile Launcher";
$w['FIM92'] = "FIM-92 Stinger Anti Air Missile Launcher";
$w['Weapons/Sa18IGLA/Sa18IGLA'] = "SA-18 IGLA Anti Air Missile Launcher";
//$w[''] = "AT4 Light Anti Tank Rocket Launcher";
//Equipment
$w['Weapons/Gadgets/C4/C4'] = "C4 explosives";
$w['Weapons/Gadgets/Claymore/Claymor'] = "Claymore mine";
$w['M15 AT Mine'] = "AT mine";
$w['Repair Tool'] = "Repair Tool";
$w['Medkit'] = "Defibrillator";
$w['M26Mass'] = "M26 MASS";
$w['M320'] = "M320 Grenade Launcher";
$w['Weapons/Knife/Knife'] = "Knife";
$w['M67'] = "M67 Hand Grenade";
//$w[''] = "M18 Smoke Grenade";
//$w[''] = "M224 Mortar";
//$w[''] = "EOD Bot";
//*********************
// Vehicle names
//*********************
//Tanks
//$w[''] = "M1 Abrams Tank";
//$w[''] = "T-90 Tank";
//APCs
//$w[''] = "LAV-25 APC";
//$w[''] = "BMP-2 APC";
//$w[''] = "9K22 Tunguska Mobile AA";
//$w[''] = "LAV-AD Air Defense Vehicle";
//Helicopters
//$w[''] = "AH-1 Super Cobra Attack Helicopter";
//$w[''] = "Mi-28 Attack Helicopter";
//$w[''] = "UH-1Y Super Huey";
//$w[''] = "KA-60 Chopper";
//$w[''] = "AH-6J Little Bird Recon Helicopter";
//$w[''] = "Z-11 Recon Helicopter";
//Jets
//$w[''] = "F/A 18 Super Hornet Jet";
//$w[''] = "A10 Thunderbolt Jet";
//$w[''] = "Sukhoi Su-35 Jet";
//$w[''] = "Sukhoi Su-39 Jet";
//Transport Vehicles
//$w[''] = "Humvee";
//$w[''] = "Vodnik";
//$w[''] = "Growler ITV";
//$w[''] = "VDV Buggy";
//$w[''] = "RHIB Boat";
//$w[''] = "AAV-7A1 / Amphibious Assault Vehicle";
//*********************
// Other Weapon Names
//*********************
$w['Death'] = "Vehicle/Mortar Kill"; //?
$w['SoldierCollision'] = "Soldier Collision";
$w['Suicide'] = "Suicide";
$w['Melee'] = "Melee";
$w['RoadKill'] = "Road Kill";
$w['DamageArea'] = "Damage Area"; //?
$w[' '] = $text["notidentify"];
//*********************
// Map names
//*********************
//Stock
$m['MP_001'] = "Grand Bazaar";
$m['MP_003'] = "Teheran Highway";
$m['MP_007'] = "Caspian Border";
$m['MP_011'] = "Seine Crossing";
$m['MP_012'] = "Operation Firestorm";
$m['MP_013'] = "Damavand Peak";
$m['MP_017'] = "Noshahar Canals";
$m['MP_018'] = "Kharg Island";
$m['MP_Subway'] = "Operation Metro";
$m['None'] = "-Unknown-";
//*********************
// Event names
//*********************
$e[''] = "";
//*********************
// Bodypart names
//*********************
$b['None'] = $text["noneurt"];
$b['body'] = $text["notidentify"];
$b['head'] = $text["head"];
?>
There is lot of weapons and stuff still missing from that. I need help on correcting it, if anyone can help me that would be amazing!
The Missing List
Steyr Aug
M82
Type88 Sniper
MG36
SPAS012
PDW-R
FIM-92 Stinger
AT4
EOD Bot (Not sure if you can kill someone with this)
M18 Smoke Grenade (Not sure if you can kill someone with this)
«
Last Edit: November 10, 2011, 11:32:21 AM by Sars
»
Logged
GrossKopf
Beta Testers
OS: Windows
Type: Owner dedicated server(s)
Gameservers:
alterIW
Posts: 652
Offline
Re: XLRSTATS Config
«
Reply #1 on:
October 28, 2011, 04:41:32 PM »
Very nice. Keep up the good work. I'll subscribe to this thread to follow the progress.
Logged
Sars
Full Member
OS: Linux
Type: Owner dedicated server(s)
Gameservers:
COD7, BF3
Posts: 72
Offline
Re: XLRSTATS Config
«
Reply #2 on:
October 28, 2011, 07:45:40 PM »
Added 5 more weapons in original post, here they are also if you want to just add them yourself.
Code:
$w['Type88'] = "Type88";
$w['Weapons/Sa18IGLA/Sa18IGLA'] = "Sa18IGLA";
$w['MP7'] = "MP7";
$w['Weapons/Knife/Knife'] = "Knife";
$w['M27IAR'] = "M27IAR";
2nd update
Code:
$w['Repair Tool'] = "Repair Tool";
$w['M40A5'] = "M40A5";
$w['PP-2000'] = "PP-2000";
$w['Weapons/M416/M416'] = "M416";
3rd update
Code:
$w['Weapons/MagpulPDR/MagpulPDR'] = "MagpulPDR";
$w['M39'] = "M39";
$w['DAO-12'] = "DAO-12";
$w['Taurus .44'] = "Taurus .44";
$w['M240'] = "M240";
$w['Pecheneg'] = "Pecheneg";
4th update
Code:
$w['M27IAR'] = "M27IAR";
$w['M249'] = "M249";
$w['Type88'] = "Type88";
$w['Medkit'] = "Medkit";
$w['M60'] = "M60";
$w['DamageArea'] = "DamageArea";
$w['M40A5'] = "M40A5";
$w['M26Mass'] = "M26Mass";
$w['SG 553 LB'] = "SG 553 LB";
$w['F2000'] = "F2000";
Update 5
Code:
$w['Weapons/G3A3/G3A3'] = "G3A3";
Update 6
Code:
$w['M39R'] = "M39R";
Update 7
Code:
$w['M1014'] = "M1014 Semi Automatic Shotgun";
$w['Model98B'] = "M98B Bolt Action Sniper Rifle";
Update 8
Code:
$w['weapons/p90/p90'] = "P90 Sub Machine Gun";
$w['AS VAL'] = "AS VAL Assault Rifle";
Update 9
Code:
$w['Siaga20k'] = "Saiga 12 Semi Automatic Shotgun";
Update 10
Code:
$w['USAS-12'] = "USAS 12 Semi Automatic Shotgun";
$w['Type88'] = "Type 88 Machine Gun";
Removed
//$w[''] = "Type 88 Semi Automatic Sniper Rifle";
«
Last Edit: November 10, 2011, 11:33:59 AM by Sars
»
Logged
Mariodu62
Sr. Member
OS: Windows
Type: Renting Server with B3
Gameservers:
CoD5
Posts: 251
Offline
Re: XLRSTATS Config
«
Reply #3 on:
October 29, 2011, 12:12:39 AM »
$w['Weapons/M416/M416'] = "M416";
I don't have anymore in my base
Logged
Courgette
Senior Dev.
OS: Linux
Type: Home user
Posts: 3478
Offline
Support Specialty:
B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
Re: XLRSTATS Config
«
Reply #4 on:
October 29, 2011, 05:23:30 AM »
here
is a first list
some weapons name look weird like "Weapons/AK74M/AK74". My guess is that DICE will fix those name in a later update.
Logged
Follow me :
@cucurb
.~. new
Smokin' guns official website
Sona
Full Member
OS: Windows
Type: Home user
Gameservers:
CoD7, BF3
Posts: 64
Offline
www.ooc-clan.com
Re: XLRSTATS Config
«
Reply #5 on:
October 29, 2011, 10:07:22 AM »
heya
was wondering if someone could help with this prob
at this site (your site)
http://thehair.kicks-ass.org
the stats works almost 100% (on first sight)
now this is our statspage...
http://www.ooc-clan.com/index.php/site-map/battlefield-3/public-2-16-slot
It seems it won't save top kills and maps etc etc etc...
might be easyer through chat, so if ya want to help, add me to one of these
my steam is: Sonake84
Origin: Hokus-Pwnkus
Msn:
inc-style@telenet.be
ty
( Im allready working on the maps/weapons images/info same way i did it for COD7 as soon its finished i'll post the package here
)
Logged
Sars
Full Member
OS: Linux
Type: Owner dedicated server(s)
Gameservers:
COD7, BF3
Posts: 72
Offline
Re: XLRSTATS Config
«
Reply #6 on:
October 30, 2011, 10:19:57 AM »
Updated the weapon list from Sona and Cougette's lists and what i have as of now.
Logged
MordyT
Support Hero
OS: Windows
Type: Gameserver Rental Co.
Gameservers:
2x CoD4, 1x BF3
Posts: 2615
Offline
Owner of Host4B3.com - Over 70 bots hosted!
Re: XLRSTATS Config
«
Reply #7 on:
October 30, 2011, 12:02:33 PM »
Quick question: In BFBC2, you have a global stats tab that links to bfbc2.com. Can we add that to BF3 and link to BF3stats.com?
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
Sars
Full Member
OS: Linux
Type: Owner dedicated server(s)
Gameservers:
COD7, BF3
Posts: 72
Offline
Re: XLRSTATS Config
«
Reply #8 on:
October 30, 2011, 01:19:12 PM »
Sure i dont see why not but can you give a screen shot of where it is located, and where it is on xlrstats. thanks
Logged
cyanide
Full Member
OS: Windows
Type: Gameserver Rental Co.
Gameservers:
setup to run all b3 supported servers
Posts: 116
Offline
Re: XLRSTATS Config
«
Reply #9 on:
October 30, 2011, 01:24:17 PM »
i've had a look and i think it's in the following file func-bfbc2global.php
Logged
Regards,
Cprl.Rst
Sars
Full Member
OS: Linux
Type: Owner dedicated server(s)
Gameservers:
COD7, BF3
Posts: 72
Offline
Re: XLRSTATS Config
«
Reply #10 on:
October 30, 2011, 05:42:03 PM »
Quote from: BF3Stats.com Annoucement 2011-10-27:
BF3 Stats isn't finished yet and still work in progress. Therefore only a small bunch of features are included for instance graphic system and a small player overview. Within the next few days we will add the API, vehicles + infantery statistics and leaderboard.
so we cant query to do the tabs, yet but i believe i have done all the ground work to set it up.
PLEASE SOMEONE DOUBLE CHECK IT, I DONT KNOW WHAT IM DOING :DDDDD MANY THANKS
here is the func-bf3global.php
http://pastebin.com/80M7Tpk2
Just need to fix the API link in there eventually.
And you just need to
add this
Code:
if($game == "bf3")
include("func-bf3global.php");
After this
Code:
if($game == "bfbc2")
include("func-bfbc2global.php");
to your index.php in xlrstats folder
Logged
MordyT
Support Hero
OS: Windows
Type: Gameserver Rental Co.
Gameservers:
2x CoD4, 1x BF3
Posts: 2615
Offline
Owner of Host4B3.com - Over 70 bots hosted!
Re: XLRSTATS Config
«
Reply #11 on:
October 31, 2011, 05:17:13 AM »
Awesome work. I await the release of the API and the updated config.
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
Sars
Full Member
OS: Linux
Type: Owner dedicated server(s)
Gameservers:
COD7, BF3
Posts: 72
Offline
Re: XLRSTATS Config
«
Reply #12 on:
October 31, 2011, 07:02:05 AM »
Updated the original config, organized it into groups and listed the weapons i think i am missing...
I noticed that Death is a designation for anything .. like a Vehicle kill or mortar so i have put that in the new config.
«
Last Edit: October 31, 2011, 12:55:13 PM by Sars
»
Logged
Sars
Full Member
OS: Linux
Type: Owner dedicated server(s)
Gameservers:
COD7, BF3
Posts: 72
Offline
Re: XLRSTATS Config
«
Reply #13 on:
November 01, 2011, 11:16:28 AM »
Added a pistol
the M39R
Logged
Freelander
XLRstats dev.
Dev. Team
OS: Linux
Type: Home user
Gameservers:
COD5, COD7, BF3
Posts: 947
Offline
Support Specialty:
XLRstats webfront
Re: XLRSTATS Config
«
Reply #14 on:
November 02, 2011, 05:29:08 AM »
Hey sars! nice work and thanks for your contributions. I have also pushed to my repo a preliminary version of bf3 support. Game was also added in the web installer phase. I'll need the full list of weapons in order to add some more awards.
Here's where you can download the latest development version ->
https://github.com/Freelander/xlrstats-web-v2
@sars, please feel free to fork my github branch and I'll be happy to include your work in the official package.
Logged
Follow Me
@fps_gamer_net
- Github:
XLRstats
|
BigBrotherBot
|
Aimbotdetector
|
Poweradmincod7
Tags:
Pages: [
1
]
2
3
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News (Read Only)
===> News Archive
===> Website News
=> General Discussion
===> Servers
=> Shared Services
-----------------------------
Support Forums
-----------------------------
=> Support Instructions
=> Installation Support
=> General Usage Support
=> Game specific Support
===> Battle Field 3
=====> BF3/B3 beta board
===> Battle Field Bad Company 2
===> Call of Duty series
=====> CoD, CoD:UO, CoD2
=====> Call of Duty 4 (Modern Warfare)
=====> Call of Duty 5 (World at War)
=====> Call of Duty 6 (Modern Warfare 2)
=====> Call of Duty 7 (Black Ops)
=======> AlterOps
===> Frontlines, Fuel of War
===> Enemy Territory
===> Homefront
===> Medal of Honor 2010
===> Open Arena
===> Red Orchestra 2
===> Smokin' Guns
===> Soldier of Fortune 2
===> Urban Terror
===> World of Padman
===> Other games
-----------------------------
Add-Ons
-----------------------------
=> Plugins Discussion
===> Plugin Releases!
===> Plugins by xlr8or
===> Plugins by Courgette
===> Plugins by Freelander
===> Plugins by Bakes
===> Plugins by Ismael
===> Plugins by flinkaflenkaflrsk
===> Plugins by Anubis
===> Plugins by Spoon
===> Plugins by PtitBigorneau
===> Plugins by BlackMamba
===> Plugins by Beber888
===> Plugins by grosbedo
=> XLRstats
===> Weaponmodifiers
=> Echelon
===> Echelon version 2
=> Configurations
=> Installers
-----------------------------
Community Developers
-----------------------------
=> Plugin Developers
=> The Code Bin
Rate this page +1 at Google Search
Web Toolbar by Wibiya
SimplePortal 2.3.1 © 2008-2009, SimplePortal