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

SoD Player Stats


Post New Thread Reply   
 
Thread Tools Display Modes
Rebell
Veteran Member
Join Date: Nov 2004
Location: GERMANY
Old 06-28-2008 , 10:34   Re: SoD Player Stats
Reply With Quote #211

Hi,

prune players would be great.
So players that didnt connect for xxx days will be deleted of the db.

cya
__________________
Rebell is offline
FrostbyteX
Senior Member
Join Date: Dec 2007
Old 06-28-2008 , 13:01   Re: SoD Player Stats
Reply With Quote #212

Since there is some interest for better MySQL support, a web interface and pruning, those will all be in the next update. "topdeath" and "topkill" and "topkd" may be released as a separate plugin, so as to keep the base plugin as simple as possible.

Expect an update by the end of this week.

Steve
FrostbyteX is offline
Jezternz
Junior Member
Join Date: May 2008
Location: New Zealand - Auckland
Old 06-29-2008 , 08:06   Re: SoD Player Stats
Reply With Quote #213

awesome! thats what I wanna hear Frostbyte!
Jezternz is offline
Send a message via MSN to Jezternz Send a message via Skype™ to Jezternz
spacedkadet
Member
Join Date: May 2008
Old 06-29-2008 , 11:31   Re: SoD Player Stats
Reply With Quote #214

This plugin works fine as is but im trying to get it running with mysql remote host on my webserver. I have the database.cfg set correctly and the plugin can connect to it, however it cant make the tables. I edited the line in the sodstats.sp as posted by Jezternz on page 14 and then it made some of the tables but not all (see the error logs below). I believe its because the only remote db i can make on my host is mysql version5.
I would love if someone with more smarts than me could make me (and others that would need it) a sp or smx that works on mysql 5 so i can call it to a website

I have a couple of questions too:
Does there have to be a minimum number of players connected to the server before stats start logging?
and
i get this errors in my sourcemod log:

Code:
L 06/29/2008 - 15:52:37: [sodstats.smx] [SoD-Stats] SQL_LoadPlayerCallback failure: Unknown column 'headshots' in 'field list'
L 06/29/2008 - 15:54:07: [sodstats.smx] [SoD-Stats] SQL_LoadPlayerCallback failure: Unknown column 'headshots' in 'field list'
L 06/29/2008 - 15:54:44: [sodstats.smx] [SoD-Stats] SQL_LoadPlayerCallback failure: Unknown column 'headshots' in 'field list'
L 06/29/2008 - 15:54:45: [sodstats.smx] [SoD-Stats] SQL_LoadPlayerCallback failure: Unknown column 'headshots' in 'field list'
L 06/29/2008 - 15:58:01: [sodstats.smx] [SoD-Stats] SQL_LoadPlayerCallback failure: Unknown column 'headshots' in 'field list'
L 06/29/2008 - 16:07:08: [sodstats.smx] [SoD-Stats] SQL_LoadPlayerCallback failure: Unknown column 'headshots' in 'field list'



ty, lee.

Last edited by spacedkadet; 06-29-2008 at 19:03.
spacedkadet is offline
FrostbyteX
Senior Member
Join Date: Dec 2007
Old 06-29-2008 , 19:28   Re: SoD Player Stats
Reply With Quote #215

The database schema has changed since 1.09. A new column, "headshots," was added. Use this instead:

CREATE TABLE `gamecent_gcnz`.`players` (
`rank` INT NOT NULL AUTO_INCREMENT ,
`score` INT( 12 ) NOT NULL DEFAULT '0',
`steamid` VARCHAR( 255 ) NOT NULL ,
`kills` INT( 12 ) NOT NULL DEFAULT '0',
`deaths` INT( 12 ) NOT NULL DEFAULT '0',
`shots` INT( 12 ) NOT NULL DEFAULT '0',
`hits` INT( 12 ) NOT NULL DEFAULT '0',
`name` VARCHAR( 255 ) NOT NULL ,
`active_badge` VARCHAR( 255 ) NOT NULL DEFAULT '0',
`time_played` VARCHAR( 11 ) NOT NULL DEFAULT '0',
`headshots` INT( 12 ) NOT NULL DEFAULT '0',
PRIMARY KEY ( `rank` )
)
FrostbyteX is offline
Sgt-Mess
Senior Member
Join Date: Dec 2007
Location: Sway Side,WA
Old 07-02-2008 , 00:51   Re: SoD Player Stats
Reply With Quote #216

Is it possible to have the players/clients rank displayed in a module like it is in tf2 for counter strike source.
Sgt-Mess is offline
Send a message via AIM to Sgt-Mess
FrostbyteX
Senior Member
Join Date: Dec 2007
Old 07-02-2008 , 09:10   Re: SoD Player Stats
Reply With Quote #217

Quote:
Originally Posted by Sgt-Mess View Post
Is it possible to have the players/clients rank displayed in a module like it is in tf2 for counter strike source.
I'm not exactly sure what you mean. Do you have a picture?
FrostbyteX is offline
ompster
Junior Member
Join Date: Jul 2008
Old 07-02-2008 , 23:28   Re: SoD Player Stats
Reply With Quote #218

is there anyway to count npc kills and deaths from npc's beacuse the mod im hosting is Zombie Master and you kill NPC's not other players and also die by npc's if you get what i mean, is there anyway to do this with sodstats.
ompster is offline
FrostbyteX
Senior Member
Join Date: Dec 2007
Old 07-03-2008 , 08:00   Re: SoD Player Stats
Reply With Quote #219

Quote:
Originally Posted by ompster View Post
is there anyway to count npc kills and deaths from npc's beacuse the mod im hosting is Zombie Master and you kill NPC's not other players and also die by npc's if you get what i mean, is there anyway to do this with sodstats.
That is very simple to change. I'll put that into next release.

sm_stats_botstats [1|0]
FrostbyteX is offline
FrostbyteX
Senior Member
Join Date: Dec 2007
Old 07-03-2008 , 08:01   Re: SoD Player Stats
Reply With Quote #220

Quote:
Originally Posted by Sgt-Mess View Post
Well in tf2 when a player types rank it shows it to just you in a menu kinda like an admin menu.

But in counter-strike source it shows you it in text and to everyone.
I'll add displaying rank in menu to the next release.

Steve
FrostbyteX 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 22:29.


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