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

KnifeTop


Post New Thread Reply   
 
Thread Tools Display Modes
Author
altex
Veteran Member
Join Date: May 2009
Location: Russia
Plugin ID:
859
Plugin Version:
1.2.4
Plugin Category:
Statistical
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    13 
    Plugin Description:
    KnifeTop plugin adds knife ranking to the game.
    Old 05-02-2009 , 10:23   KnifeTop
    Reply With Quote #1

    Description
    -----------
    KnifeTop plugin adds knife ranking to the game.
    Usefull for GunGame mod.

    http://forums.alliedmods.net/showthread.php?t=91543

    Commands and Cvars
    ------------------
    sm_knifetop_enabled - Enable plugin.
    sm_knifetop_debug - Enable debug output to sourcemod error log file.
    sm_knifetop_version - Plugin version.

    sm_knifetop_reset - Resets knifetop stats.
    sm_knifetop_purge <days> - Purge players who haven't connected for <days> days.
    sm_knifetop_warmup <seconds> - Not count knife stats for <seconds> seconds.

    say !ktop - Show ingame statisctics panel with top 10 knifers.
    say !kbot - Show ingame statisctics panel with worst 10 knifers.
    say !kme - Show my statisctics.

    Requirements
    ------------
    Counter-Strike: Source
    SourceMod 1.2.0

    Changelog
    ---------
    1.2.4:
    * Fixed purge to recalculate players total.
    + Added version cvar update.

    1.2.3:
    + Added say !kme command.

    1.2.2:
    * Minor fix

    1.2.1:
    + Added !kbot command.
    + Players with no knife kills/deaths are not displayed.

    1.2.0:
    + Added simple AFK detection.

    1.1.0:
    + Added command sm_knifetop_warmup <seconds>.

    1.0.1:
    * Redesigned top statistics panel.

    Credits
    -------
    Thanks to FrostbyteX for SoD Stats plugin
    (http://forums.alliedmods.net/showthread.php?t=67367).
    KnifeTop is based on its source code.

    Thanks to Liam for GunGame:SM plugin
    (http://forums.alliedmods.net/showthread.php?t=80609).
    KnifeTop's afk detection is based on GunGame:SM's afk management.

    TODO
    ----

    Issues
    ------
    es_tools can't work well with sourcemod
    (http://forums.eventscripts.com/viewtopic.php?t=31096)

    When i writed knifetop plugin as addon to gungame for eventscripts
    (http://forums.mattie.info/cs/forums/...ic.php?t=30980)
    i hooked player_death and all is work very well. But today i
    wrote the same plugin for sourcemod. So es_tools works with
    eventscripts just fine.

    I just issued when writing plugin for sourcemod.
    I hooked player_death event and i found that player_death
    event triggered two times for each player death. If i disable
    es_tools plugin, all is ok.

    I tryed to add est_Hook_Fire 0 to es_tools.cfg,
    but is has no effect.

    My plugins | Donations via PayPal
    Attached Files
    File Type: zip sm_knifetop-1.2.4.zip (25.3 KB, 5198 views)
    __________________

    Last edited by altex; 10-13-2011 at 18:29. Reason: Release 1.2.4.
    altex is offline
    t3rm1nal_s(0ut
    Junior Member
    Join Date: Apr 2009
    Location: Italy
    Old 05-08-2009 , 07:50   Re: [CSS] KnifeTop
    Reply With Quote #2

    cooool...

    one request... it's possible to not show who has 0 knives kill/death?

    and also the worst 10 player ;)????

    Last edited by t3rm1nal_s(0ut; 05-08-2009 at 07:52.
    t3rm1nal_s(0ut is offline
    altex
    Veteran Member
    Join Date: May 2009
    Location: Russia
    Old 05-08-2009 , 11:37   Re: [CSS] KnifeTop
    Reply With Quote #3

    Quote:
    Originally Posted by t3rm1nal_s(0ut View Post
    one request... it's possible to not show who has 0 knives kill/death?
    Realy good request.

    Quote:
    Originally Posted by t3rm1nal_s(0ut View Post
    and also the worst 10 player ;)????
    Ok, i'll add !kbot command for that, it's easy... and fun

    Last edited by altex; 05-08-2009 at 13:22.
    altex is offline
    t3rm1nal_s(0ut
    Junior Member
    Join Date: Apr 2009
    Location: Italy
    Old 05-08-2009 , 14:00   Re: [CSS] KnifeTop
    Reply With Quote #4

    thanks mate ;)
    t3rm1nal_s(0ut is offline
    altex
    Veteran Member
    Join Date: May 2009
    Location: Russia
    Old 05-08-2009 , 14:51   Re: [CSS] KnifeTop
    Reply With Quote #5

    Done.
    altex is offline
    t3rm1nal_s(0ut
    Junior Member
    Join Date: Apr 2009
    Location: Italy
    Old 05-08-2009 , 16:28   Re: [CSS] KnifeTop
    Reply With Quote #6

    Now in my opinion it's perfect ;)
    t3rm1nal_s(0ut is offline
    ulx
    SourceMod Donor
    Join Date: Sep 2006
    Old 05-15-2009 , 02:52   Re: [CSS] KnifeTop
    Reply With Quote #7

    great plugin ... does it save stats into kinda local database, or will all stats get deleted after a server-restart?
    __________________
    ulx is offline
    altex
    Veteran Member
    Join Date: May 2009
    Location: Russia
    Old 05-15-2009 , 03:29   Re: [CSS] KnifeTop
    Reply With Quote #8

    Quote:
    Originally Posted by ulx View Post
    great plugin ... does it save stats into kinda local database, or will all stats get deleted after a server-restart?
    Data is stored in local sqlite database. You can manage it with this plugin for firefox for example. Data is stored for all the time till you manualy call sm_knifefight_reset or sm_knifefight_purge. Server restart cat not delete stats.

    P.S. Also you can store data in mysql database on another server too if you want. There is a special database config file for sourcemod.

    Last edited by altex; 05-15-2009 at 03:33.
    altex is offline
    ulx
    SourceMod Donor
    Join Date: Sep 2006
    Old 05-15-2009 , 03:37   Re: [CSS] KnifeTop
    Reply With Quote #9

    Quote:
    Originally Posted by altex View Post
    Data is stored in local sqlite database. You can manage it with this plugin for firefox for example. Data is stored for all the time till you manualy call sm_knifefight_reset or sm_knifefight_purge. Server restart cat not delete stats.

    P.S. Also you can store data in mysql database on another server too if you want. There is a special database config file for sourcemod.
    k, so if I install this plugin as usual I don't need to do any other configurations/setups and the data are stored by default into local database, right?
    __________________
    ulx is offline
    altex
    Veteran Member
    Join Date: May 2009
    Location: Russia
    Old 05-15-2009 , 07:13   Re: [CSS] KnifeTop
    Reply With Quote #10

    Quote:
    Originally Posted by ulx View Post
    k, so if I install this plugin as usual I don't need to do any other configurations/setups and the data are stored by default into local database, right?
    yep.
    altex is offline
    Reply


    Thread Tools
    Display Modes

    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 02:36.


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