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

High Ping Kicker - Lite Edition


Post New Thread Reply   
 
Thread Tools Display Modes
lhffan
Senior Member
Join Date: Jul 2008
Old 12-29-2010 , 19:31   Re: High Ping Kicker - Lite Edition
Reply With Quote #121

Is there a chanse to automaticly change the hpk limit so perhaps on prime time have :150

And during night and early on the morning have a higer value?
lhffan is offline
dbs1989
Member
Join Date: Dec 2010
Location: Denmark
Old 06-06-2011 , 16:10   Re: High Ping Kicker - Lite Edition
Reply With Quote #122

What is the Admin Flag to get immunity?
I have the option to give Members/Non admins ability to get ping kick immunity
__________________
dbs1989 is offline
lhffan
Senior Member
Join Date: Jul 2008
Old 07-05-2011 , 03:33   Re: High Ping Kicker - Lite Edition
Reply With Quote #123

plugin no more suported i guess
lhffan is offline
Visual77
Veteran Member
Join Date: Jan 2009
Old 07-05-2011 , 04:47   Re: High Ping Kicker - Lite Edition
Reply With Quote #124

This never worked for me on L4D1/2. I had to change the timer from OnMapStart to OnConfigsExecuted() and then it started working.
Don't know why, but on L4D1/2 there seems to be a problem with timers not starting if they are used on OnMapStart with the TIMER_FLAG_NO_MAPCHANGE flag
Visual77 is offline
Grimman
Member
Join Date: Jul 2011
Old 09-18-2011 , 06:50   Re: High Ping Kicker - Lite Edition
Reply With Quote #125

Can anyone confirm if this plugin still works for TF2?

Looking for an accurate ping kicker for my servers.
Grimman is offline
MrBen
SourceMod Donor
Join Date: Sep 2011
Old 09-18-2011 , 09:47   Re: High Ping Kicker - Lite Edition
Reply With Quote #126

Yeah - it still works perfectly in TF2, on my servers anyways. It's working happily alongside all the usual plugins as well as SMAC.

Excellent Plugin and I wouldn't be without it.
MrBen is offline
cssnik
Member
Join Date: Apr 2011
Location: Russia
Old 10-05-2011 , 17:03   Re: High Ping Kicker - Lite Edition
Reply With Quote #127

What adminflag gives immunity?
cssnik is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 10-05-2011 , 17:16   Re: High Ping Kicker - Lite Edition
Reply With Quote #128

this plugin does not specify a specific admin flag (unless it's an assumed one I'm not aware of)

Here is the IsAdmin function:
PHP Code:
bool:IsAdmin(client)
{
    if(
GetConVarInt(g_Cvar_AdminsImmune) == 0)
        return 
false;

    new 
AdminId:admin GetUserAdmin(client);

    if(
admin == INVALID_ADMIN_ID)
        return 
false;

    return 
true;

TnTSCS is offline
cssnik
Member
Join Date: Apr 2011
Location: Russia
Old 10-05-2011 , 17:22   Re: High Ping Kicker - Lite Edition
Reply With Quote #129

TnTSCS, сan you make immunity by custom1 flag "o" ?
__________________
cssnik is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 10-05-2011 , 19:02   Re: High Ping Kicker - Lite Edition
Reply With Quote #130

Quote:
Originally Posted by cssnik View Post
TnTSCS, сan you make immunity by custom1 flag "o" ?
This should work - untested though

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

Basically, I removed the bool:IsAdmin(client) and added CheckCommandAccess(i, "hpk_lite_immunity", ADMFLAG_CUSTOM1)

PHP Code:
        if(!IsClientConnected(i) || !IsClientInGame(i)
            || 
IsFakeClient(i) || IsAdmin(i))
            continue; 
to
PHP Code:
        if(!IsClientConnected(i) || !IsClientInGame(i)
            || 
IsFakeClient(i) || CheckCommandAccess(i"hpk_lite_immunity"ADMFLAG_CUSTOM1))
            continue; 
So, you can use custom1 flag, or set it to whatever you want in the overrides with "hpk_lite_immunity"
Attached Files
File Type: sp Get Plugin or Get Source (hpk_lite.sp - 591 views - 5.2 KB)

Last edited by TnTSCS; 10-05-2011 at 19:05.
TnTSCS 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 11:37.


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