Raised This Month: $32 Target: $400
 8% 

ELO Ranking


Post New Thread Reply   
 
Thread Tools Display Modes
Author
MikeJS
Senior Member
Join Date: Nov 2008
Plugin ID:
681
Plugin Version:
1.2
Plugin Category:
Statistical
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    13 
    Plugin Description:
    Ranks players using the ELO rating system.
    Old 12-17-2008 , 06:44   ELO Ranking
    Reply With Quote #1

    I was sick of other rating plugins giving you hundreds of points for useless things such as building teleporter entrances and forcing tons of spam upon you, so I made my own that relies more on skill (except demomen still get points ) than time played and saves whether you want to have your chat spammed. There is a TF2 specific version which gives medics 1/3 of the points the person they're healing gets.
    NON TF2 VERSION IS UNTESTED

    Thanks to R_Hehl (r5053) for N1G-TF2-RANK, which was useful for seeing how things are done and for the arena hook.

    Cvars:
    Code:
    // ELO Ranking K-value.
    sm_elo_k "16"
    Players can use the following commands in chat:
    • rank - Displays their rating, rank and KPD
    • session - Displays session stats
    • top10 - Displays top 10 players
    • elo_notify - Toggle chat notifications/spam (defaults to off)

    Installation:
    Put the .smx with all your plugins.
    (Optional) Create a database called "elo" in your configs/databases.cfg

    Changelog:
    27/12/08 1.2 - Fixed quote bug
    23/12/08 1.1 - Added arena hook from r5053
    17/12/08 1.0 - Initial Release





    Enabling notifications by default:
    Replace line 90 (95 in non TF2 version) with
    Code:
    Format(query, sizeof(query), "INSERT INTO elostats VALUES('%s', '%N', 1600, 0, 0, 1)", clientid, client);
    and line 93 (98 in non TF2 version) with
    Code:
    Format(query, sizeof(query), "INSERT INTO elostats (steamid, name, rating, kills, deaths, notify) VALUES ('%s', '%N', 1600, 0, 0, 1)", clientid, client);
    Attached Files
    File Type: sp Get Plugin or Get Source (elogeneric.sp - 10185 views - 13.9 KB)
    File Type: sp Get Plugin or Get Source (elotf2.sp - 5318 views - 13.9 KB)

    Last edited by MikeJS; 01-14-2009 at 13:39.
    MikeJS is offline
    Sammy-ROCK!
    Senior Member
    Join Date: Jun 2008
    Location: Near Mrs.Lag
    Old 12-17-2008 , 07:58   Re: ELO Ranking
    Reply With Quote #2

    In the mid Picture I see "KPD: 2.000000". I don't think you wanted that many 0's. So I give you the tip. Use %.xf and x are the number of extra chars after the point.
    Example:
    PHP Code:
    Format(MyStringsizeof(MyString), "KPD: %f"2.0); // KPD: 2.000000
    Format(MyStringsizeof(MyString), "KPD: %.2f"2.0); // KPD: 2.00 
    Also I don't think you should remove enginner points. But give him points when peoples use his teleporter instead of when he builds.
    Sammy-ROCK! is offline
    Rp.KryptoNite
    Senior Member
    Join Date: Feb 2012
    Location: Israel
    Old 06-09-2012 , 07:53   Re: ELO Ranking
    Reply With Quote #3

    Help !!
    Typing Rank and no menu is showing up
    only top10
    session
    /..
    help !!!
    Rp.KryptoNite is offline
    MikeJS
    Senior Member
    Join Date: Nov 2008
    Old 12-17-2008 , 08:23   Re: ELO Ranking
    Reply With Quote #4

    Thanks for the float tip, however the only things this plugin will give you points for are kills and medic assists. It's supposed to rank you based on your skill, not how many times you stand on a capture point/set someone on fire etc.
    MikeJS is offline
    DDR Khat
    SourceMod Donor
    Join Date: Feb 2006
    Old 12-18-2008 , 08:03   Re: ELO Ranking
    Reply With Quote #5

    Quote:
    Originally Posted by MikeJS View Post
    Thanks for the float tip, however the only things this plugin will give you points for are kills and medic assists. It's supposed to rank you based on your skill, not how many times you stand on a capture point/set someone on fire etc.
    No offense but I don't like this. Obviously I'm not going to use it but heres my opinion as to why;

    Khat rushes in as a scout, distracts two soldiers and they begin to hunt him down, during this time Sammy comes in as a pyro and kills them both. Woot, the plan worked! But only Sammy gets the points for this on your stat-board.

    Sammy runs in and starts gunning down MikeJS whom is a heavy, gets him to low health, then Khat gets a headshot on MikeJS, all that effort Sammy put into killing MikeJS goes to waste.

    Not to mention this type of statistic gathering completely kills the idea of TEAMPLAY which is what TF2 is supposed to be orientated towards.

    p.s I'm not ranting, good work with your plugin, I'm just letting you know why people might choose the other ones (Such as *a certain other plugin*, when it's completely released, where you get to truly see ALL of your stats on the server)
    __________________
    Nothing but a whisper in the wind~~
    DDR Khat is offline
    {7~11} TROLL
    Senior Member
    Join Date: Oct 2008
    Location: Atlanta,Georgia
    Old 12-17-2008 , 19:04   Re: ELO Ranking
    Reply With Quote #6

    are bots supported on the rank? cause i hate when they are lol
    __________________
    {7~11} TROLL is offline
    Sammy-ROCK!
    Senior Member
    Join Date: Jun 2008
    Location: Near Mrs.Lag
    Old 12-17-2008 , 19:16   Re: ELO Ranking
    Reply With Quote #7

    It's not. Not even bot kills are counted as I can see.
    Sammy-ROCK! is offline
    MikeJS
    Senior Member
    Join Date: Nov 2008
    Old 12-18-2008 , 07:55   Re: ELO Ranking
    Reply With Quote #8

    Nope. I tried to figure out how to give the trains on Well points, but I gave up.
    MikeJS is offline
    Sammy-ROCK!
    Senior Member
    Join Date: Jun 2008
    Location: Near Mrs.Lag
    Old 12-18-2008 , 08:37   Re: ELO Ranking
    Reply With Quote #9

    While I agree with your args and the way I killed everyone in that game. His point on the plugin was exactly evade some of those things. But I think he should give points to the assister.
    Sammy-ROCK! is offline
    DDR Khat
    SourceMod Donor
    Join Date: Feb 2006
    Old 12-18-2008 , 10:14   Re: ELO Ranking
    Reply With Quote #10

    Quote:
    Originally Posted by Sammy-ROCK! View Post
    While I agree with your args and the way I killed everyone in that game. His point on the plugin was exactly evade some of those things. But I think he should give points to the assister.
    I assume you meant that you liked that you killed everyone in the first exampme? :grr:

    But yes, at least points to the assister then this might be a bit fairer, I would still recommend taking a few more things into account or perhaps give decimal points per point of damage you do to someone. so rather than tracking kills

    Sammy gets 1.02 points for dealing 102 points of damage to MikeJS
    DDRKhat gets .18 points for dealing 18 points of damage to MikeJS
    MikeJS (looses?) .5 points for killing himself with the world (landing from a high height)
    __________________
    Nothing but a whisper in the wind~~
    DDR Khat 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:03.


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