Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here
NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

Pages: 1 ... 8 9 [10] 11 12 ... 15   Go Down
  Print  
Author Topic: XLRstats version 2.0  (Read 40501 times) Bookmark and Share
Full Member
***
Posts: 53
Offline Offline
WWW
« Reply #135 on: January 23, 2009, 06:48:53 AM »

xlr thanks,  I got the status and the country flags fixed but now look at all the parse errors on the page.  what can this be

http://stats.teamxp.net

thanks
Logged

Echelon v2. Dev.
Former Dev. (senate)
*****
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD4
Posts: 114
Offline Offline
WWW
Support Specialty: Echelon v.2
« Reply #136 on: January 23, 2009, 10:45:39 AM »

Couldn't help but notice that this while browsing your xlrstats
Quote
Notice: Undefined index: plus_unique in /homepages/21/d171392759/htdocs/BB3/func-globallogic.php on line 1158
Might want to check that out.
Eire.32
Logged

Eire.32
Full Member
***
Posts: 53
Offline Offline
WWW
« Reply #137 on: January 23, 2009, 10:53:12 AM »

thats the issue im having now

Notice: Undefined variable: link in /homepages/21/d171392759/htdocs/BB3/func-playerlistlogic.php on line 237

Line 237
     echo '<td style="background: '.$backgroundColor.' none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; color: black;" align="center"><font class="fontNormal" size="2"><a href='.$link.'?func=player&playerdbid='.($client -> dbid).'><strong>'.htmlspecialchars(utf2iso($client -> name)).'</strong></a></font></td>';


Notice: Undefined variable: filename2 in /homepages/21/d171392759/htdocs/BB3/func-globallogic.php on line 547

LIne 547
   "/\^w/", "/\^x/", "/\^y/", "/\^z/",        //  9
Logged
XLRstats dev.
Dev. Team
*
OS: Linux
Type: Home user
Gameservers: COD5, COD7, BF3
Posts: 947
Offline Offline
WWW
Support Specialty: XLRstats webfront
« Reply #138 on: January 23, 2009, 01:44:58 PM »

When I setup xlrstats with WAMP 2.0 I had a similar error. I'm not sure but the problem may be your php.ini settings. Anyways I resolved this problem by adding the following line to statsconfig.php.

error_reporting (E_ALL ^ E_NOTICE);

This will prevent all error messages to be displayed. Hope this helps.
« Last Edit: January 23, 2009, 01:54:05 PM by Freelander » Logged

Full Member
***
Posts: 53
Offline Offline
WWW
« Reply #139 on: January 23, 2009, 02:27:57 PM »

yep it got rid of the errors.

thanks
Logged
Jr. Member
**
Posts: 24
Offline Offline
« Reply #140 on: January 23, 2009, 04:11:24 PM »

I use XLRstats Webfront 2.0.5 and B3 pre 1.1.4. The gameserver is Urban Terror. I use only one gameserver with B3 and XLRstats has only one config.

My problem: Almost anything works fine and counted (Kills, which weapon / maps, Death, Players). But the "Playerstats for this weapon" are missing.
See here: http://www.german-fighters.com/xlrstats/index.php?func=weapon&weaponid=2

The Kills, Team Kills and Suicide gets counted, but the player table is missing here. I checked the table xlr_weaponusage, and it contains 2746 rows at the moment. Also the table xlr_weaponstats contains data. So it seems the data is collected. But why it getting not displayed? In the configuration the table names are right.

Edit:
I tried the following SQL select statement (I found in the XLRstats PHP source) directly in the mysql database:
Code:
SELECT clients.name, xlr_weaponusage.player_id, xlr_weaponusage.kills, xlr_weaponusage.deaths, xlr_weaponusage.suicides,
    xlr_weaponusage.teamkills, xlr_weaponusage.teamdeaths, xlr_playerstats.fixed_name
FROM clients, xlr_playerstats, xlr_weaponusage
WHERE xlr_weaponusage.weapon_id = 2 AND xlr_playerstats.id = xlr_weaponusage.player_id AND clients.id = xlr_playerstats.client_id
    AND (xlr_weaponusage.kills > 25 OR xlr_weaponusage.suicides > 25) AND xlr_playerstats.hide = 0
ORDER BY xlr_weaponusage.kills DESC, xlr_weaponusage.suicides DESC

And I get a list of players and informations. So the data is in the database, but there may be a problem in displaying it?

Edit 2:
Also tried this SQL (same as above with exclude_ban rule):
Code:
SELECT clients.name, xlr_weaponusage.player_id, xlr_weaponusage.kills, xlr_weaponusage.deaths, xlr_weaponusage.suicides,
xlr_weaponusage.teamkills, xlr_weaponusage.teamdeaths, xlr_playerstats.fixed_name
FROM clients, xlr_playerstats, xlr_weaponusage
WHERE xlr_weaponusage.weapon_id = 2 AND xlr_playerstats.id = xlr_weaponusage.player_id AND clients.id = xlr_playerstats.client_id
AND (xlr_weaponusage.kills > 25 OR xlr_weaponusage.suicides > 25)
AND xlr_playerstats.hide = 0 AND clients.id NOT IN (
        SELECT distinct(target.id)
        FROM penalties as penalties, clients as target
        WHERE (penalties.type = 'Ban' OR penalties.type = 'TempBan')
AND inactive = 0 AND penalties.client_id = target.id AND (penalties.time_expire = -1 OR penalties.time_expire > UNIX_TIMESTAMP(NOW())))
ORDER BY xlr_weaponusage.kills DESC, xlr_weaponusage.suicides DESC

Same result, it works directly in MySQL and I get a list of players.
« Last Edit: January 23, 2009, 04:33:04 PM by Stefan1200 » Logged
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #141 on: January 24, 2009, 01:08:40 AM »

Thanks, again your bugreports have been very helpful.

Later today I will release version 2.0.6 where these issues are solved.

I've also updated the documentation of the XLRstats Plugin. More and more information about XLRstats will become available at my site. If you want answers to functional questions about skillcalculation, setup and such check it out.

http://xlr8or.snt.utwente.nl/site2/index.php?option=com_content&view=article&id=121&Itemid=187
« Last Edit: January 24, 2009, 01:13:17 AM by xlr8or » Logged

[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #142 on: January 24, 2009, 08:01:40 AM »

Version 2.0.6 available: http://xlr8or.snt.utwente.nl/site2/index.php?option=com_content&view=article&id=118&Itemid=181
Logged

Jr. Member
**
Posts: 24
Offline Offline
« Reply #143 on: January 24, 2009, 03:30:15 PM »

Thanks for the new version, I update this night.

Another thing, I found a small typo:
File: func-awardlogic.php
Line: 32
Wrong String: align=\"center\ class=\"with_border\">";
Correct String: align=\"center\" class=\"with_border\">";

Another bug is, even if the file GeoLiteCity.dat does not exists, something in the xlrstats mainpage do the following request:
GET /xlrstats/lib/worldmap/playergeodata.php?config=0 HTTP/1.1
This ends in an XML file with many PHP errors (checked with Wireshark). The globe icon is not displayed on the xlrstats mainpage.

Many other errors are in almost all CSS files. Like missing "px" on some margin-top and margin-bottom values, wrong attribute align (it must be text-align), etc. But that are only minor things.

And I have a suggestion:
It would be nice to have the possibility to change the level name in the config file (like Admin, Full Admin, GOD, etc.). At the moment I do this directly in the php sourcecode, but that makes more work on updates.

And a small suggestion:
Please add the following map to urt.php:
$m['ut4_eagle'] = "Eagle";
Its a standard UrT map missing in this file.

Thanks for your help and this great project!

Edit: The weapon playerlist is now displayed, thanks again.
« Last Edit: January 24, 2009, 04:17:06 PM by Stefan1200 » Logged
Full Member
***
Posts: 53
Offline Offline
WWW
« Reply #144 on: January 27, 2009, 12:33:33 PM »

small question why does it always sho massive people in spec mode when their actually not

http://stats.teamxp.net/
Logged
Jr. Member
**
Posts: 24
Offline Offline
« Reply #145 on: January 27, 2009, 07:59:42 PM »

small question why does it always sho massive people in spec mode when their actually not

what is the content of the status.xml file?
Logged
Jr. Member
**
Posts: 41
Offline Offline
WWW
« Reply #146 on: January 27, 2009, 10:47:27 PM »

small question why does it always sho massive people in spec mode when their actually not

http://stats.teamxp.net/

Look back about 3 pages in this thread (search feature works nice).

Dax
« Last Edit: January 28, 2009, 09:19:49 AM by Daxer » Logged

B3 Contrib/Support
*
OS: --No B3 installed--
Type: --No B3 installed--
Posts: 1225
Offline Offline
Support Specialty: B3-Core, CoD/BFBC2 parsers, FTP-functionality, Plugin development
« Reply #147 on: January 27, 2009, 11:55:32 PM »

no, the cod2 parser will show them all as spec.

it's due to the tk bug, sorry. B3 works out the teams based on the damage line, not the kill line, which is more reliable.

Someone needs to work on a fix for that.
Logged

Full Member
***
Posts: 53
Offline Offline
WWW
« Reply #148 on: January 28, 2009, 09:25:38 AM »

yep now its showing almost everyone in spec.
Logged
Jr. Member
**
Posts: 41
Offline Offline
WWW
« Reply #149 on: January 28, 2009, 04:49:18 PM »

yep now its showing almost everyone in spec.

Look at my posts from page 4 of this thread...

Quote
I just got the latest b3 update from mercurial and I see there is a 1.2.5 ... Updated the plugins and the server name issue and spectating players seems to be resolved. Thanks

Dax
Logged

Tags: xlrstats 
Pages: 1 ... 8 9 [10] 11 12 ... 15   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal