Very Basic High Ping Kicker (Updated 7/15/10)
3 Attachment(s)
Very Basic High Ping Kicker This is a very simple high ping kicker that kicks players based on their ping as reported by SourceMod. The ping is checked at a constant interval (default of 20 seconds) and if their ping exceeds the max ping given, they are internally given a warning. If a player exceeds the maximum number of warnings, they are kicked from the server. That's it. The plugin does take admin level into account, players with the RESERVED (default) or ROOT flags are immune to ping balancing. The flag that grants immunity can be changed via cvar. You can also specify a grace period before a player will be warned to compensate for first connect ping when a player first joins, and also a minimum number of players in the server before it starts kicking them. It also waits 90 seconds after a map change before doing any ping checking, again to allow all players to fully join and pings to normalize. I have been dissatisfied with other high ping kick plugins because they were either too complex and relied on server and client rate settings which I did not want or need, or they did not work properly or did not offer enough customization for my needs. This plugin uses the SourceMod ping function, which reports the same value as the "status" command for ping. Note: This plugin may be inaccurate in some instances, be warned! If you are looking for an extremely accurate plugin, check out this High Ping Kicker by Liam. This plugin should work on any Source game, however it has only been tested on these games:
Installation Installation is incredibly easy, install the plugin in your /addons/sourcemod/plugins/ directory and refresh your plugin list, or change map. Configuration A config file will automatically be generated in /cfg/sourcemod/ when the plugin is first ran. sm_vbping_mintime - Minimum amount of time a player needs to be connected before checking his ping sm_vbping_maxping - Maximum ping a player can have before warning them sm_vbping_checkrate - Rate in seconds at which all players' pings are checked sm_vbping_maxwarnings - Maximum number of internal warnings a player can have before kicking them sm_vbping_minplayers - Minimum number of players needed in the server before ping checking will begin sm_vbping_kickmsg - Kick reason to players sm_vbping_logactions - Log warning and kicking by the plugin sm_vbping_showpublickick - Enable/disable public kick message. 0 = Disabled, 1 = Enabled sm_vbping_kickmsgpublic - Public kick message. {NAME} converts to the player's name. sm_vbping_showwarnings - Enable/disable warning messages. 0 = Disabled, 1 = Enabled sm_vbping_warningmsg - Ping warning message. {WARN} and {MAXWARN} converts to the warning count and max warnings respectively. sm_vbping_immunityflag - SourceMod admin flag used to grant immunity to all ping checking/kicking The command sm_vbping_debug will print debug information for players about how many warnings if any they have, and if they are immune. |
Re: Very Basic High Ping Kicker
N1!
|
Re: Very Basic High Ping Kicker
Any major difference from http://forums.alliedmods.net/showthread.php?p=701420 ?
|
Re: Very Basic High Ping Kicker
Quote:
Quote:
Quote:
|
Re: Very Basic High Ping Kicker
Then the ping reported is incorrect.
|
Re: Very Basic High Ping Kicker
It is almost identical to the ping reported from the status command, which is what I use when I am in HLSW and kick people for high ping. There is a small margin of error (usually 5-10) that I actually think I know what is causing it which I'll update the plugin if I am right.
Over the few weeks I ran this plugin, I compared a person's ping in status with the ping reported by GetClientLatency and it was never severely inconsistant. |
Re: Very Basic High Ping Kicker
Updated the plugin to 1.1, the debug command now gives the current ping as reported by the plugin and the margin of error has been lowered further.
|
Re: Very Basic High Ping Kicker
Thanks for this plugin! Like PStar said N1! :D
|
Re: Very Basic High Ping Kicker
If anyone is using this with any success in games that are not listed above, let me know and I will add them. As I said in theory it should work in any Source game but I of course haven't been able to test it in everything.
|
Re: Very Basic High Ping Kicker
It loads on CSS but i didn' t see it working.
I'll post back later if i see it working. |
All times are GMT -4. The time now is 21:13. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.