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

You are here: Big Brother Bot ForumAdd-OnsXLRstatsmap name doesn't show in xlrstats with black ops (alterops) server
Pages: [1]   Go Down
  Print  
Author Topic: map name doesn't show in xlrstats with black ops (alterops) server  (Read 632 times) Bookmark and Share
Jr. Member
**
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD4, alterOps
Posts: 12
Offline Offline
WWW
« on: January 27, 2012, 12:59:56 PM »

hi there guys.
i'm testing b3 and xlrstats with an alterops server.
everything works fine but i have this weird problem with the webfront.
whilst every piece of information shows up correctly the map name doesn't appear. it only show the gametype (tdm).
can anyone help me?

xlrstats: http://stats.ceidwarfare.net/xlrstats/?config=1
b3 status.xml: http://bo.ceidwarfare.net/status/status.xml


ps. something i've noticed is that in status.xml the map name is under the property _mapName and not mapName as in eg. cod4.
« Last Edit: January 28, 2012, 04:50:26 AM by feugatos » Logged

CEID Warfare - alterOps [B3] : 91.215.159.24:48960
Check your stats at: http://stats.ceidwafare.net/

Jr. Member
**
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD4, alterOps
Posts: 12
Offline Offline
WWW
« Reply #1 on: January 28, 2012, 04:51:46 AM »

I think I found somethings. Instead of using the alterops.py as my parser I used a modified cod7.py. This solved the issue I had with XLRStats webfront but now my server reports as a Black Ops server not an alterOps one.
Logged

CEID Warfare - alterOps [B3] : 91.215.159.24:48960
Check your stats at: http://stats.ceidwafare.net/
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 #2 on: January 30, 2012, 06:16:01 AM »

What you noticed is probably the issue. Probably the alterops xlrstats template needs to be modded to read the correct value in the status.xml
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
Jr. Member
**
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD4, alterOps
Posts: 12
Offline Offline
WWW
« Reply #3 on: February 07, 2012, 07:04:07 AM »

I found what was the problem.

In order for XLRStats to work properly with the alterOps parser you need to do the following:

1. In func-globallogic.php you need to change the following line:
Code:
$supportedgames = array('cod', 'coduo', 'cod2', 'cod4', 'cod5', 'etpro', 'iourt41', 'smg', 'wop', 'bfbc2', 'moh', 'cod6', 'cod7', 'homefront', 'bf3'); // B3 parsernames

to:
Code:
$supportedgames = array('cod', 'coduo', 'cod2', 'cod4', 'cod5', 'etpro', 'iourt41', 'smg', 'wop', 'bfbc2', 'moh', 'cod6', 'cod7', 'alterops', 'homefront', 'bf3'); // B3 parsernames

2: Inside the folder config/ make a copy of the file cod7.php and name it alterops.php.


Voila!

In the first step you tell XLRStats to use alterops.php and you add alterOps to the list of the supported games and in the second step you define the alterOps variables (actually coping the cod7 variables) for XLRStats.
Logged

CEID Warfare - alterOps [B3] : 91.215.159.24:48960
Check your stats at: http://stats.ceidwafare.net/
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 #4 on: February 07, 2012, 07:45:34 AM »

Thank you so much for sharing.
If I was a mod in this forum, I would sticky this...
Do you have a special template for alterops?
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
Jr. Member
**
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD4, alterOps
Posts: 12
Offline Offline
WWW
« Reply #5 on: February 07, 2012, 08:12:40 AM »

Nope but if anyone does I'd love to have it.
Logged

CEID Warfare - alterOps [B3] : 91.215.159.24:48960
Check your stats at: http://stats.ceidwafare.net/
Tags: xlrstats  black ops  alterops  map name 
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal