AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] Kill Death Ratio Checker (https://forums.alliedmods.net/showthread.php?t=144694)

HSFighter 12-06-2010 17:28

[ANY] Kill Death Ratio Checker
 
2 Attachment(s)
Kill Death Ratio Checker 1.7.1

--------------------------------
REQUIREMENTS:
--------------------------------
Description:

This Plugin show's players KD-Ratio to players.

http://forums.alliedmods.net/attachm...1&d=1306453077

Can Optional automatically kick/ban an affected player if KD-Ratio is over a limit.

--------------------------------
Thanks to:

Kathy, scheibo, FAKK|biggiman and Popoklopsi

--------------------------------
Installation:
  • Put "kdchecker.smx" in your "../addons/sourcemod/plugins" directory.
  • Refresh your plugin list, or change map.
  • Configfile "plugin.kdcheck.cfg" will be autocreatet in "../cfg/sourcemod" directory.
  • N-Joy :P
--------------------------------

Update to a recent version:
  • Overwrite "kdchecker.smx" in your "../addons/sourcemod/plugins" directory.
  • Delete "plugin.kdcheck.cfg" in "../cfg/sourcemod" directory.
  • Refresh your plugin list, or change map.
  • The new configfile "plugin.kdcheck.cfg" will be autocreatet in "../cfg/sourcemod" directory.
--------------------------------
Commands:
  • Chat:
    • "kdr" or "!kdr" = Show own KD-Ratio
    • "kdrselfaction" = Ban/Kick yourself to test the affected player action (Test Command)
  • Console:
    • "sm_kdr" = show own KD-Ratio
--------------------------------
CVARS:
  • sm_kdrc_version
    • Show Plugin Version
  • sm_kdrc_enable
    • Enable/Disable the plugin
    • Default: "1"
  • sm_kdrc_show_roundend
    • Show KD Rate to player on roundend
    • Default: "1"
  • sm_kdrc_show_kill
    • Show KD Rate to attacker on kill
    • Default: "0"
  • sm_kdrc_watch_enable
    • Enable/Disable KD Rate watching
    • Default: "0"
  • sm_kdrc_watch_rate
    • KD Rate for a player before action
    • Default: "4.0"
  • sm_kdrc_watch_kills
    • Count of kills before a player is checked
    • Default: "15"
  • sm_kdrc_watch_checkrate
    • Rate in seconds at players KD Rate are checked
    • Default: "30.0"
  • sm_kdrc_watch_action
    • Action for affected player (0 = kick, 1 = ban)
    • Default: "0"
  • sm_kdrc_watch_bantime
    • Amount of time in Minutes to ban (0 = perm)
    • Default: "60"
  • sm_kdrc_debug
    • Log playerinfos on check
    • Default: "0"
--------------------------------
Changelog:

- = Removed
+ = Add
! = Fix
* = Edit
  • 1.7.1 (11.05.2014)
    • ! language fix
  • 1.7.0 (27.12.2013)
    • ! Sometimes bug after mapchange
    • + Autoupdater support
  • 1.6.0 (11.11.2011)
    • + Cvar "sm_kdrc_show_kill" to show KD Rate to attacker on kill
  • 1.5.0 (27.05.2011)
    • + Cvar "sm_kdr_debug" to debug playerinfos on check Logfile
    • ! Ignore Bots
    • * Chat Messages
    • * Some code optimations
  • 1.4.0 (06.01.2011)
    • ! Ignore Bots
  • 1.3.0 (06.01.2011)
    • ! banmanagement again
    • ! KD Calculation when "Death = 0"
    • ! KD Calculation when "Frags < 0"
    • ! Show KD with only two decimal places
    • ! Bots will not be watched
  • 1.2.0 (06.01.2011)
    • ! Fix Banmanagement
    • ! Fix show own kdr wrong
  • 1.1.0 (05.01.2011)
    • + Show own KD by typing "kdr" or "!kdr" in the chat
    • + Show own KD by typing "sm_kdr" / "kdr" in the console
    • + Cvar to show own KD on roundend
    • + Cvar to disable KD-Rate watching
    • + sourcebans banresonentry
  • 1.0.0 (06.12.2010)
    • Release


--------------------------------


Extras:
  • Sourcebans Support
--------------------------------

Tips:

If you prevent a player to disconnect each time bevor the KDR Limit is arrived use this plugin from exvel to save the Score until mapchange.


scheibo 01-02-2011 09:38

Re: [ANY] Kill Death Ratio Checker
 
Sorry, for my late reply.
I installed the plugin on one of our new server and it’s working out fine.
In my opinion, there’s something that could be changed. When someone is banned, there’s only “you” shown as the reason. Would be better, if „You were kicked due high KD Rate!“ is shown.

More suggestions:
- show own KD after every round
- show KD by typing in “kdr” or something else in the chat
- don’t count bots

sinblaster 01-02-2011 10:15

Re: [ANY] Kill Death Ratio Checker
 
Could someone give an example of why/how this may be used? I have an idea for what I "could" use it for but Id appreciate some input.

scheibo 01-02-2011 10:32

Re: [ANY] Kill Death Ratio Checker
 
It’s easy. We’ve got a server for beginners on which only noobs should play.
If there are other players like the ones with status “pro”, the noobs won’t have fun and will leave the server.
With the plugin we are checking, who has with about 50 kills a KD over 3.0. In that case the player will be banned for one day.

sinblaster 01-02-2011 10:33

Re: [ANY] Kill Death Ratio Checker
 
Ok thanks Scheibo thats what I thought. Cheers.

Great plug thank you

HSFighter 01-03-2011 18:08

Re: [ANY] Kill Death Ratio Checker
 
Quote:

Originally Posted by scheibo (Post 1384453)
When someone is banned, there’s only “you” shown as the reason.
Would be better, if „You were kicked due high KD Rate!“ is shown.

Kick Reason with a BAN?

Quote:

Originally Posted by scheibo (Post 1384453)
More suggestions:
- show own KD after every round
- show KD by typing in “kdr” or something else in the chat
- don’t count bots

Will be available in the next version.

Quote:

Originally Posted by scheibo (Post 1384494)
It’s easy. We’ve got a server for beginners on which only noobs should play.
If there are other players like the ones with status “pro”, the noobs won’t have fun and will leave the server.

Exactly.

I wrote the plugin for friends in our forum!


-

scheibo 01-03-2011 18:11

Re: [ANY] Kill Death Ratio Checker
 
Bann - Kick
You know what I mean. ;)

HSFighter 01-04-2011 18:45

Re: [ANY] Kill Death Ratio Checker
 
Kill Death Ratio Checker 1.1 is released!

scheibo 01-04-2011 20:38

Re: [ANY] Kill Death Ratio Checker
 
Hi, thanks for your fast realization.
I just tested it and found the following:

- the KD isn’t shown correct (see screenshot)
- the ban / kick doesn’t work any more
- the statistic starts at 0 again, if there’s a mapchange or the player left the game for a short time and joins again. Would be nice, if the session for the period of 11am to 12pm or something like this would be saved.

The plugin works nearly perfect. Thanks again for your help.

Cheers Scheibo

HSFighter 01-05-2011 16:14

Re: [ANY] Kill Death Ratio Checker
 
Quote:

Originally Posted by scheibo (Post 1386270)
- the KD isn’t shown correct (see screenshot)
- the ban / kick doesn’t work any more

Fixed in v1.2 :)

Quote:

Originally Posted by scheibo (Post 1386270)
- the statistic starts at 0 again, if there’s a mapchange or the player left the game for a short time and joins again. Would be nice, if the session for the period of 11am to 12pm or something like this would be saved.

Use this plugin to save the Score ^^
http://forums.alliedmods.net/showthread.php?p=660327

Quote:

Originally Posted by sinblaster (Post 1384482)
Could someone give an example of why/how this may be used? I have an idea for what I "could" use it for but Id appreciate some input.

You can use the Plugin for players who like to see their KD-Ratio. ("!kdr" chat command)
The other action's BAN/KICK can be disabled over a Cvar! (sm_kdrc_watch_enable)


-


All times are GMT -4. The time now is 19:44.

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