Raised This Month: $51 Target: $400
 12% 

SoD Player Stats


Post New Thread Reply   
 
Thread Tools Display Modes
lokizito
Veteran Member
Join Date: Dec 2010
Location: Brazil
Old 01-30-2011 , 16:09   Re: SoD Player Stats
Reply With Quote #751

It's because the code was made for SQLite. I will make a MySQL version and post when i finish it.

EDIT:
Just replace:
PHP Code:
foreach ($logdb->query("SELECT * FROM players ORDER BY score DESC") as $row){ 
by:
PHP Code:
$result mysql_query("SELECT * FROM players ORDER BY score DESC",$conn);
foreach(
mysql_fetch_array($result) as $row) { 
I think it will work.

Post if how it worked since i can't test it.

Last edited by lokizito; 01-31-2011 at 15:36.
lokizito is offline
Elitist Jerk
Member
Join Date: Jun 2010
Old 01-30-2011 , 17:15   Re: SoD Player Stats
Reply With Quote #752

ahh right on thanks a bunch. I was getting close over the past few minutes but this helps a bunch.

Also, how hard would it be to add kills as a zombie into a plugin like this? Just to keep track of their attack "claws of death" or whatever its called.
__________________

Last edited by Elitist Jerk; 01-30-2011 at 17:39.
Elitist Jerk is offline
lokizito
Veteran Member
Join Date: Dec 2010
Location: Brazil
Old 01-30-2011 , 17:46   Re: SoD Player Stats
Reply With Quote #753

I really don't know since i don't play zombie mod and i'aint the plugin developer but, if zombie mod "makes" looks like the damage was made by the zombie, it could work.
Could you pass me the link to the zombie mod that you use and how looks the zombie kills?
lokizito is offline
cyberknast
Junior Member
Join Date: Jul 2010
Old 02-10-2011 , 03:02   Re: SoD Player Stats
Reply With Quote #754

Hello ..

In the old version I had a "sodstats-config_dod.cfg" award for points.

Why in the new no longer.

Sry for the bad english
cyberknast is offline
MTWillie
Junior Member
Join Date: Feb 2011
Old 02-15-2011 , 19:18   Re: SoD Player Stats
Reply With Quote #755

Where do I go to change the display mode? I don't want everyone in the server to see the person who types rank's stats.
MTWillie is offline
mevius
New Member
Join Date: Feb 2011
Location: The Netherlands
Old 02-15-2011 , 20:46   Re: SoD Player Stats
Reply With Quote #756

First of all, great work on this plugin! Really love it and thanks for all the work you've put into it.

Just a quick question, now that you are working on a webbased stats page. While making it, could you maybe provide a step by step on howto install it? This might be very usefull for other people.

Thanks!
mevius is offline
Send a message via ICQ to mevius Send a message via MSN to mevius Send a message via Skype™ to mevius
krafti
Junior Member
Join Date: Feb 2011
Old 02-16-2011 , 09:07   Re: SoD Player Stats
Reply With Quote #757

update plz for sm_stats_resetrank
krafti is offline
mevius
New Member
Join Date: Feb 2011
Location: The Netherlands
Old 02-17-2011 , 15:31   Re: SoD Player Stats
Reply With Quote #758

Again thanks for the ranking tool. Got it installed on my server and website and runs/looks great.

http://mevink.nl/zps/

But I do have a question. How is the players score calculated? nvm... The answer was in the OP...

Last edited by mevius; 02-20-2011 at 11:09. Reason: Question removed
mevius is offline
Send a message via ICQ to mevius Send a message via MSN to mevius Send a message via Skype™ to mevius
MTWillie
Junior Member
Join Date: Feb 2011
Old 02-17-2011 , 18:41   Re: SoD Player Stats
Reply With Quote #759

Quote:
Originally Posted by MTWillie View Post
Where do I go to change the display mode? I don't want everyone in the server to see the person who types rank's stats.
Bump.
MTWillie is offline
brettuk
BANNED
Join Date: Feb 2009
Old 02-20-2011 , 15:43   Re: SoD Player Stats
Reply With Quote #760

SoD-Stats: Player Pháse's rank is 1/1 with 1000 points (0 to next rank), 0 kills and 0 deaths.

Is there anyway i could change this text layout, for example how would i change it too :

1/1 Phase has 1000 points (0 to next rank) , 0 kills and 0 deaths ??

what file would i have to edit? and anyway to get rid of the colour?


Thanks! i see how others servers with this and wondering how the hell they do it
brettuk is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:56.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode