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

SoD Player Stats


Post New Thread Reply   
 
Thread Tools Display Modes
BeG
Senior Member
Join Date: Jan 2009
Location: Germany
Old 05-26-2009 , 11:12   Re: SoD Player Stats
Reply With Quote #501

hi FrostbyteX i have installed your SoD-Stats Plugin on my server and now my question can u made a cvar to reset singlke rankings like in mani stats...

example:

stats_resetid STEAM_ID:XXXXXXXXX

i have a plugin to reset mani ranks and then i can use the cvar in this plugin to give players the possibility to write !resetrank in chat and klick on 1 or 2 to reset his single rank or not...

hope u can made it!

AND SRY FOR MY BAD ENGLISH!

youre my man!
__________________
!!!SRY FOR BAD ENGLISH!!!
Our Clanhomepage:

Visit Us!
BeG is offline
meng
Veteran Member
Join Date: Oct 2005
Location: us
Old 06-05-2009 , 19:32   Re: SoD Player Stats
Reply With Quote #502

hey! great plug! the only one that wrks like you say. install it and walk away. there is one thing i really think it needs. thats a minimum # of players before stats/ranks enable. id also like to put my vote in for objective based points. thats a huge thing for the players on my server. just my 2 cents.
meng is offline
Send a message via Yahoo to meng
Pietje
Member
Join Date: Oct 2007
Old 06-06-2009 , 07:50   Re: SoD Player Stats
Reply With Quote #503

Would it be possible to give points for planting the bomb and defusing it??

Also a converter from mani to sod stats would make it easyer for players to swap to mani, cause the ranks are basicly the only thing allot of servers still use from mani.

Thanks
Pietje is offline
FrostbyteX
Senior Member
Join Date: Dec 2007
Old 06-06-2009 , 11:19   Re: SoD Player Stats
Reply With Quote #504

Quote:
Originally Posted by Pietje View Post
Would it be possible to give points for planting the bomb and defusing it??

Also a converter from mani to sod stats would make it easyer for players to swap to mani, cause the ranks are basicly the only thing allot of servers still use from mani.

Thanks
I've just gotten back into plugin development and am developing a new stats plugin that will record statistics based on a configuration file.

Ex:
Code:
"stats"
{
    "store"
    {
        "score" "number"
        "deaths" "number"
        "tks" "number"
        "suicides" "number"
    }
    "definitions"
    {
        "TEAM_T"   "1"
        "TEAM_CT" "2"
    }
    "event" "player_death"
    {
        "{attacker}!={victim}"
        {
            "(attacker,kills)" "+1"
            "(victim,deaths)" "+1"
            "(attacker,score)" "+3"
            "(victim,score)" "-2"
        }
        "{attacker}={victim}"
        {
            "(attacker,score)" "-1"
            "(attacker,tks)" "+1"
        }
        "attacker=victim"
        {
            "(attacker,suicides)" "+1"
            "(attacker,score)" "-1"
        }
    }
}
Code:
{player_id} => team#
(player_id,stat) => player statistic
I wrote a new one that allowed plugin authors to make plugins to extend the generic stats for their own mod, but I'm curious as to what you think of being able to merely configure the stats with the above configuration.
FrostbyteX is offline
FrostbyteX
Senior Member
Join Date: Dec 2007
Old 06-09-2009 , 12:53   Re: SoD Player Stats
Reply With Quote #505

I'm probably going to write the web interface in Python using the Django framework.

All that it requires is that your web host have python+mysql installed.

Is anyone strongly against this?

Steve
FrostbyteX is offline
Dave Gomboc
Junior Member
Join Date: Jul 2008
Old 06-09-2009 , 14:31   Re: SoD Player Stats
Reply With Quote #506

Quote:
Originally Posted by FrostbyteX View Post
I'm probably going to write the web interface in Python using the Django framework.

All that it requires is that your web host have python+mysql installed.

Is anyone strongly against this?

Steve
I'm strongly against requiring that the database be MySQL. It's reasonable to restrict what database targets you support initially, but it'd be bad to preclude PostgreSQL support, and even allowing some non-free database programs might be reasonable.
Dave Gomboc is offline
Dave Gomboc
Junior Member
Join Date: Jul 2008
Old 06-09-2009 , 14:37   Re: SoD Player Stats
Reply With Quote #507

Code:
] sm plugins info 17
  Filename: sodstats.smx
  Title: SoDStats (A simple stats and ranking system.)
  Author: ]SoD[ Frostbyte
  Version: 1.0.11
  URL: http://www.sonsofdavid.net
  Status: running
  Reloads: Map Change if Updated
The website that shows up with a "sm plugins info xx" command, http://www.sonsofdavid.net, does not appear to exist anymore.

It'd probably be a good idea to also emit a line like "Licence: GPL2 or later with exemption for certain Valve software, see LICENCE.txt for details -- and also include a LICENCE.txt file with the specific terms.

Is there any significant additional documentation of this plugin, besides what's available in this thread?
Dave Gomboc is offline
FrostbyteX
Senior Member
Join Date: Dec 2007
Old 06-09-2009 , 17:57   Re: SoD Player Stats
Reply With Quote #508

Quote:
Originally Posted by Dave Gomboc View Post
Code:
] sm plugins info 17
  Filename: sodstats.smx
  Title: SoDStats (A simple stats and ranking system.)
  Author: ]SoD[ Frostbyte
  Version: 1.0.11
  URL: http://www.sonsofdavid.net
  Status: running
  Reloads: Map Change if Updated
The website that shows up with a "sm plugins info xx" command, http://www.sonsofdavid.net, does not appear to exist anymore.

It'd probably be a good idea to also emit a line like "Licence: GPL2 or later with exemption for certain Valve software, see LICENCE.txt for details -- and also include a LICENCE.txt file with the specific terms.

Is there any significant additional documentation of this plugin, besides what's available in this thread?
Thanks for your response.

MySQL would not be a requirement; PostgreSQL and SQLite would also be supported. Also, the website is changing, as is the name, for the next version.

Also, GPL is implied in all Sourcemod plugins.

Steve
FrostbyteX is offline
meng
Veteran Member
Join Date: Oct 2005
Location: us
Old 06-10-2009 , 08:37   Re: SoD Player Stats
Reply With Quote #509

so this version of the plug is no longer supported? . it would be great if somebody could suggest how to implement a minimum number of players untill stats are turned on function! if at all possible. or if not... Frostbyte - is there some code i can delete to get rid of the accuracy stat? players are often playing with bots in the early parts of the day and since shots on bots dont count... the accuracy stat becomes well... entirely inaccurate.
meng is offline
Send a message via Yahoo to meng
FrostbyteX
Senior Member
Join Date: Dec 2007
Old 06-10-2009 , 09:18   Re: SoD Player Stats
Reply With Quote #510

Quote:
Originally Posted by meng View Post
so this version of the plug is no longer supported? . it would be great if somebody could suggest how to implement a minimum number of players untill stats are turned on function! if at all possible. or if not... Frostbyte - is there some code i can delete to get rid of the accuracy stat? players are often playing with bots in the early parts of the day and since shots on bots dont count... the accuracy stat becomes well... entirely inaccurate.
I'll release one more version of this plugin, just to tie loose ends. Check the first post for a list of features going into the last version. If you think it's missing one, post it here.

- 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 05:18.


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