Raised This Month: $51 Target: $400
 12% 

Better High Ping Kicker


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Server Management       
Flasher
Senior Member
Join Date: Apr 2008
Old 02-17-2009 , 18:36   Better High Ping Kicker
Reply With Quote #1

Better High Ping Kicker (c) 2009-11 by Lev

This is mainly a modification of HPK by DynAstY.
Thanks to all other HPK authors (OLO, DynAstY, shadow, EKS) - your plugins provided the base.

Features:
  • Players with immunity and slot reservations won't be checked.
  • At night max ping defined by different CVAR (so usually it will be higher).
  • By default keeps min 3 players (bots and HLTVs are not included) at server if they are not exceed night max ping twice.
  • Player is banned for 1 minute, not just simply kicked.

CVARs (Supplied values are defaults):
hpk_ping_max 175 ; maximum ping to check for at day time
hpk_ping_max_night 300 ; maximum ping to check for at night time
hpk_ping_time 10 ; interval at which ping will be checked
hpk_ping_tests 5 ; number of violations of maximum ping at which to kick
hpk_min_players 3 ; don't kick player if there is this count or less players (bots and hltv are not included) at server and player's ping doesn't exceed night ping twice.
hpk_night_start_hour 3 ; night period start hour (hour included)
hpk_night_end_hour 9 ; night period end hour (hour excluded)
How it is different from other HPK plugins:
  • using pointers to CVARs;
  • code flow is optimized;
  • there is night period when ping defined by different CVAR, period also defined by CVARs;
  • changes to max pings applies immediately;
  • immunity for admins and slot reservations players;
  • keeps min players at server (count defined by CVAR) if their ping is not too high (double night max ping);

ChangeLog:
v2.4 [2009.03.01] (downloaded 227 times)
Initial release.
v2.5 [2009.10.02] (downloaded 41 times)
! Change: bots and hltv are now excluded from players count for comparison with hpk_min_players.
v2.6 [2009.10.10] (downloaded 1133 times)
! Change: changed from ban ID to ban IP.
v2.7 [2011.06.16]
! New: added logging of kicks to amxx log.
! Change: disconnect changed to server side kick.
Attached Files
File Type: sma Get Plugin or Get Source (bhpk.sma - 1953 views - 6.6 KB)

Last edited by Flasher; 06-15-2011 at 20:42.
Flasher is offline
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 02-17-2009 , 18:40   Re: Better High Ping Kicker
Reply With Quote #2

Seriously, stop adding in modifications for HPK, there are so many. One after another after another, enough is enough. I do not support this, although I do like the nights.
BOYSplayCS is offline
Flasher
Senior Member
Join Date: Apr 2008
Old 02-17-2009 , 18:46   Re: Better High Ping Kicker
Reply With Quote #3

This is definetly not for you, so you can pass by.
Sorry.

PS I wish you tried to just compare and find difference between this and others HPKs.

Last edited by Flasher; 02-17-2009 at 18:49.
Flasher is offline
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 02-17-2009 , 19:29   Re: Better High Ping Kicker
Reply With Quote #4

There are very few differences.

Also, banning someone for one minute virtually does nothing.
BOYSplayCS is offline
Flasher
Senior Member
Join Date: Apr 2008
Old 02-17-2009 , 19:35   Re: Better High Ping Kicker
Reply With Quote #5

Quote:
Originally Posted by BOYSplayCS View Post
There are very few differences.
So you get them compared?
Quote:
Originally Posted by BOYSplayCS View Post
Also, banning someone for one minute virtually does nothing.
Why pay attention to this if it "virtually does nothing"?
For me it does something - players usually tries to reconnect so one minute allows them to cool down.
Flasher is offline
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 02-17-2009 , 19:49   Re: Better High Ping Kicker
Reply With Quote #6

Quote:
Originally Posted by Flasher View Post
So you get them compared?
No.. I just said it for the hell of it. Of course I compared them. Once again, there are very few differences.

This isn't a place for flaming so I will stop now.
BOYSplayCS is offline
Flasher
Senior Member
Join Date: Apr 2008
Old 02-18-2009 , 04:43   Re: Better High Ping Kicker
Reply With Quote #7

Sorry, man. I doesn't like flaming.
May be I should mention that I asked Hawk552 for permission to publish it.
Doesn't know will it be approved or not, but here it is.
Flasher is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 02-18-2009 , 07:06   Re: Better High Ping Kicker
Reply With Quote #8

sorry man,, but this http://forums.alliedmods.net/showthread.php?p=67629 is better than your simple hpk

ON: what i gonna say? gj..
__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 02-18-2009 , 07:16   Re: Better High Ping Kicker
Reply With Quote #9

I would prefer this one.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Flasher
Senior Member
Join Date: Apr 2008
Old 02-18-2009 , 09:39   Re: Better High Ping Kicker
Reply With Quote #10

Quote:
Originally Posted by tuty View Post
sorry man,, but this http://forums.alliedmods.net/showthread.php?p=67629 is better than your simple hpk
Not all think that server should decide what are good settings for client connection. In other parts I think that "mine" is better.
I can suggest that punishing option can be added to be banid, banip or kick.
Quote:
Originally Posted by Exolent[jNr] View Post
I would prefer this one.
Ah! Nice one, gone try. Thanks.
Flasher 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 13:15.


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