Thread: KnifeTop
View Single Post
Author Message
altex
Veteran Member
Join Date: May 2009
Location: Russia
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, 5194 views)
__________________

Last edited by altex; 10-13-2011 at 18:29. Reason: Release 1.2.4.
altex is offline