In our support boards we aim to provide support for the B3 core in its current state. Older releases of B3 are NOT supported. Check our front page for the latest version. You may post feature requests in our General Discussion board. Modifications and Hacks of the core B3 code are NOT supported.
Before you ask for support: [ Read the Support Instructions ] - More info: [ Full Support Disclaimer ]

You are here: Big Brother Bot ForumSupport ForumsInstallation Support (Moderator: MordyT)xlrstats Modern Warfare 2?
Pages: [1] 2 3   Go Down
  Print  
Author Topic: xlrstats Modern Warfare 2?  (Read 2392 times) Bookmark and Share
Full Member
***
OS: Windows
Type: Owner dedicated server(s)
Gameservers: Modern Warfare 2
Posts: 54
Offline Offline
« on: March 21, 2011, 07:46:13 AM »

when it says: Game Name, there is no Call of Duty 6. Thanks for ur help.
« Last Edit: March 21, 2011, 07:47:54 AM by sebaa400 » Logged

Moderator
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2627
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #1 on: March 21, 2011, 08:42:16 AM »

Hi,
Look in the xlrstats sub-forum for a cod6.php file...
Add it to the xlrstats and you will be good to go...
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: Windows
Type: Owner dedicated server(s)
Gameservers: Modern Warfare 2
Posts: 54
Offline Offline
« Reply #2 on: March 21, 2011, 09:15:27 AM »

Tanks. Next question: everything is ok, but when I'm on a website, it shows 0/18 players and  it does not show the map. It seems that there is no connection. What I did wrong?
Logged
Moderator
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2627
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #3 on: March 21, 2011, 10:19:15 AM »

In the conf folder there is a status.xml plugin. That plugin writes a file every minute to a location with the players, map, etc.

XLRstats asked for this file when installing. Make sure the file is updating (easiest way it to delete it and then see if it is re-created a minute later.

If not, then we know the issue. If it is being re-created, check your statsconfig.php file to make sure it is reading the correct xml.

Post here with your results...
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: Windows
Type: Owner dedicated server(s)
Gameservers: Modern Warfare 2
Posts: 54
Offline Offline
« Reply #4 on: March 21, 2011, 10:40:53 AM »

KK now it shows players, but can u check www.b3xlrstats.cba.pl Is everything working properly?

Why there is no "Rounds, Players, Killed, Headshots and HpK is 0.0000"HuhHuh?
« Last Edit: March 21, 2011, 11:15:40 AM by sebaa400 » Logged
Moderator
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2627
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #5 on: March 21, 2011, 11:13:57 AM »

Look good to me, except you have a statsconfig and a statsconfig1 which is causing there to be a dropdown (you can do this is you have many servers) but they are both the same...
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: Windows
Type: Owner dedicated server(s)
Gameservers: Modern Warfare 2
Posts: 54
Offline Offline
« Reply #6 on: March 21, 2011, 11:46:52 AM »

How can i delete second stats?
And whats with Rounds, Players, Killed, Headshots and HpK??
Logged
Moderator
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2627
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #7 on: March 21, 2011, 12:00:10 PM »

How can i delete second stats?
And whats with Rounds, Players, Killed, Headshots and HpK??
in your config folder, do you have a statconfig1.pp and a statsconfig2.php ? Just delete the number 2 one.

As for HK, etc, i think you need more stats recorded. I could be wrong though...
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: Windows
Type: Owner dedicated server(s)
Gameservers: Modern Warfare 2
Posts: 54
Offline Offline
« Reply #8 on: March 21, 2011, 11:47:10 PM »

Ok, I removed it, thanks. Rounds    Players    Killed    Headshots    HpK     still not working Sad
Logged
Full Member
***
OS: Windows
Type: Owner dedicated server(s)
Gameservers: Modern Warfare 2
Posts: 54
Offline Offline
« Reply #9 on: March 22, 2011, 08:36:48 AM »

so, can somebody help me?
Logged
Full Member
***
OS: Windows
Type: Owner dedicated server(s)
Gameservers: Modern Warfare 2
Posts: 54
Offline Offline
« Reply #10 on: March 22, 2011, 11:03:10 AM »

somebody?
Logged
Moderator
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2627
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #11 on: March 22, 2011, 11:41:22 AM »

Whats the URL.

Also please attach (not post) the statsconfig after removing the database password...
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: Windows
Type: Owner dedicated server(s)
Gameservers: Modern Warfare 2
Posts: 54
Offline Offline
« Reply #12 on: March 23, 2011, 05:54:14 AM »

statsconfig.php
Quote
<?php
/***************************************************************************
 * Xlrstats Webmodule
 * Webrfront 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
 ***************************************************************************/

//*******************
// Global config
//*******************

// Database login info

$db_host = "mysql.cba.pl";
$db_user = "trzepacz";
$db_pass = "dont even think about it";
$db_db = "b3xlrstats_cba_pl";

// What game? (urt, cod1, coduo, cod2, cod4, codwaw, cod6, wop, smg, bfbc2, moh)
$game = "cod6";
$public_ip = "87.207.172.184:28960";
// This is the path where B3 stores the status.xml file. May be an absolute path or an URL. (Use forward slashes / only!)
// ie.: /var/www/status/status.xml or http://www.yourwebsite.com/status/urt1.xml
$b3_status_url = "http://www.b3xlrstats.cba.pl/status/status.xml";

// URL to my website, make empty if XLRstats is standalone.
$mysiteurl = "www.b3xlrstats.cba.pl";        // URL (without the http:// part!) -> "" if you dont want a link to a homepage included
$mysitelinkname = "[TTP]";      // Short name that appears in navigation to describe the link back to your site
$template = "cod6";

// Use signature module? --> You must have php version 4.3.2 or newer with php4-gd extension installed!
$sig = 1;

// Title of the statistics pages
$statstitle = "Statystyki Naszego Klanu";

// Does this server run teambased games? (For teamkill and teamdeath awards)
$teambased = 1;

//Does this server run action based games like Search and Destroy, Capture the Flag etc? (For Action Stats)
$actionbased = 0;

// Number of players/maps/weapons in mainpage top lists
$toplist_max = 100;
$maplist_max = 15;
$weaplist_max = 15;
$separatorline = 1; //Draw a 1 pixel separator line in the toplist between rows? 0 = nope, 1 = yep.

// Number of players in block.php an inclusion file for websites.
$toplist_block = 100;
// Number of characters in username (block) before breaking off.
$user_length = 15;

// minimum amount of kills or rounds (which ever comes first) before a player is included in the mainpage player statistics and awards...
$minkills = 10; //10 //250;
$minrounds = 5; //14 //15;

// exclude currently banned player from top lists and ranking
$exclude_ban = 1;

// Options: 0 = values only; 1 = Freelanders inline bar; 2 = Freelanders double bars; 3 = simple inline bar with values below
$ShowRatioGraph = 2;
// For the ratio bar - leave at 0 for automatic detection of the maximum ratio
$MaxKillRatio = 0;
//number of days a player is still displayed if he hasn't played anymore.
$maxdays = 14;

// Minimum kills or rounds (which ever comes first) before a player is displayed on map-page
$map_minkills = 10;
$map_minrounds = 5;

// Minimum kills before a player is displayed on weapon-page
$weap_minkills = 10;

// Minimum grouplevel to hide aliases on playerpages, this will show aliases for players with a lower level. Disable aliases by setting it to 0
$aliashide_level = 0;

// Limit playerspecific stats for unregistered players
$limitplayerstats = 0;

// Number of worst enemies in personal playerpages
$enemies_max = 15;

// Do you want a Clan search filter on the index page? (0 = nope, 1 = yep)
$showclansearch = 1;

// Do you want to display times for your local timezone? (0 = no, just use GMT; 1 = yes)
$use_localtime = 1;

// Do you want to have current player list (0 no, 1 yes) //Anubis
$useppllist = 1;
$pll_noteams = 0;

// Show the stylepicker (0 disables, options are: "left", "right", "footer")
$stylepicker = "0";
// Disable the config selector, even though we have set up multi configs (ie if we want to deeplink to each config/server from our homepage)
$disable_configpicker = 0;

// Use GeoIP information in playerpages?
$use_geoip = 0;
$geoip_path = "/path/to/your/geoIP/";

// setting to 1 will enable all php-error reporting and phpinfo to show for debugging purposes.
// If you find that your XLRstats is okay, set it to 0. If you need support make sure you set this to 1 before posting requests in the support forums.
$debug = 1;

//********************
// Table names
//********************

// B3 tables
$t['b3_clients'] = "clients";
$t['b3_groups'] = "groups";
$t['b3_aliases'] = "aliases";
$t['b3_penalties'] = "penalties";
$t['b3_ctime'] = "ctime";

//stats tables
$t['players'] = "xlr_playerstats";
$t['weapons'] = "xlr_weaponstats";
$t['maps'] = "xlr_mapstats";
$t['bodyparts'] = "xlr_bodyparts";
$t['opponents'] = "xlr_opponents";
$t['weaponusage'] = "xlr_weaponusage";
$t['playerbody'] = "xlr_playerbody";
$t['playermaps'] = "xlr_playermaps";
$t['actions'] = "xlr_actionstats";
$t['playeractions'] = "xlr_playeractions";

//history tables - needs the xlrstatshistory plugin installed!
$t['history_monthly'] = "xlr_history_monthly";
$t['history_weekly'] = "xlr_history_weekly";

//********************
// Advanced Settings
//********************

// How long (in seconds) to cache awards, lower = slower.
$award_cache_time = 3600; // 3600=1hr, 7200=2hrs, 10800=3hrs, 14400=4hrs etc.

?>
Logged
Moderator
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2627
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #13 on: March 23, 2011, 07:43:00 AM »

Can you check the database and make sure their is information in the tables that start off as xlr? It looks like no stats are being gathered.
Can you confirm the xlrstats plugin is enabled?

I SUSPECT that you are using two different databases... one for B3, one for xlrstats based on that config.

Not 100% sure, but I think you need to use the same database for both b3 and xlrstats since xlrstats will write to the b3 database by default...
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: Windows
Type: Owner dedicated server(s)
Gameservers: Modern Warfare 2
Posts: 54
Offline Offline
« Reply #14 on: March 23, 2011, 08:53:24 AM »

My b3 Database:

Quote
aliases
clients
ctime
groups
penalties
xlr_actionstats
xlr_bodyparts
xlr_history_monthly
xlr_history_weekly
xlr_map stats
xlr_opponents
xlr_playeractions
xlr_playerbody
xlr_playermaps
xlr_playerstats
xlr_weaponstats
xlr_weaponusage

My xlrstats are working - xml:

Quote
<configuration plugin="xlrstats">
<!--
   More information about these settings can be found on www.xlrstats.com in 'Plugin Documentation'.
   Also game specific configs can be found on that website.
-->
   <settings name="settings">
      <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>
      <set name="onemaponly">False</set>
      <set name="keep_history">False</set>

<!-- 
  The next settings enable the plugin to retrieve certain config settings from your webfront install
  This will make topstats return the same results as the webfront.
  You'll need at least webfront version 2.2 for this to work.
  The webfronturl should point to your xlrstats website, ie: http://www.yoursite.com/xlrstats
  The servernumber is the confignumber of the webfront install when you're using multiple servers and one xlrstats install
-->
      <set name="webfronturl">http://www.b3xlrstats.cba.pl</set>
      <set name="servernumber">0</set>

<!-- *** assist bonus settings ***
   Call of Duty passes damage amount info to the logs. Therefore we can award assists based on damage.
   So in the CoD series we award an assist if the amount of damage is 50 points or more and they must occur
   within 10 seconds before the victim dies. In other games we shorten the timespan because we don't have
   the amount of damage available, we have to award all assists, even the very tiny ones. The shorter time
   compensates for that.
-->
      <!--       timespan the assist must have taken place before the victim dies ( Call of Duty ) -->
      <!-- <set name="damage_assist_release">10</set> -->
      <!--       timespan the assist must have taken place before the victim dies ( Other than Call of Duty ) -->
      <!-- <set name="assist_timespan">2</set> -->
   </settings>
   <settings name="commands">
      <set name="xlrstats">1</set>
      <set name="xlrtopstats">2</set>
      <set name="xlrhide">60</set>
   </settings>
   <settings name="weapons">
      <!-- Insert your weapon multipliers here, as they appear in the gamelog. See example below -->
      <set name="bar_mp">1.00</set>
   </settings>
   <settings name="actions">
      <!-- Insert your action bonus here, as they appear in the gamelog. See example below. default is no (0) bonus -->
      <set name="hq_defend">0.0</set>
   </settings>
   <settings name="replacements">
      <!-- Collecting MOD_*** instead of weapons. Good if you want to have bashes/melees collected instead of the weapon used to bash/melee the victim with -->
      <set name="MOD_MELEE">mod_melee</set>
      <set name="MOD_FALLING">mod_falling</set>
      <!-- Teamswitch Penalty supported by PowerAdmin for Urban Terror only! Harmless if left inhere. -->
      <set name="Team_Switch_Penalty">Team_Switch_Penalty</set>
   </settings>
</configuration>

And my b3.xml plugin:

Quote
<plugin name="xlrstats" config="@conf/xlrstats.xml"/>

Xlrstats are working, cuz !xlrstats working




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