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

Very Basic High Ping Kicker (Updated 7/15/10)


Post New Thread Reply   
 
Thread Tools Display Modes
muukis
Veteran Member
Join Date: Apr 2009
Old 05-12-2009 , 16:56   Re: Very Basic High Ping Kicker
Reply With Quote #51

It seems it is working... at least for the public message part. I made also some modifications to other parts as well, so that the minplayer value matters. If I'm not mistaken, the original version counted the bots as well, so even if playing alone in L4D you would be kicked if your ping was high and the server sm_vbping_minplayers was set to 4.

EDIT: Removed the quick fix because msleeper requested it. If you still want it, PM me and I'll email it to you.

Last edited by muukis; 05-24-2009 at 12:20.
muukis is offline
Felycity
Member
Join Date: Mar 2009
Old 05-13-2009 , 21:11   Re: Very Basic High Ping Kicker
Reply With Quote #52

Quote:
Originally Posted by muukis View Post
I made a quick fix to this... tell me if it's working?

New cvar: sm_vbping_publickickmsg (default: "Player <PLAYERNAME> has been kicked due to excessive ping")
hello, i installed fix version, and it seems working well.
good job!
Felycity is offline
Visual77
Veteran Member
Join Date: Jan 2009
Old 05-15-2009 , 17:19   Re: Very Basic High Ping Kicker
Reply With Quote #53

Quote:
Originally Posted by muukis View Post
It seems it is working... at least for the public message part. I made also some modifications to other parts as well, so that the minplayer value matters. If I'm not mistaken, the original version counted the bots as well, so even if playing alone in L4D you would be kicked if your ping was high and the server sm_vbping_minplayers was set to 4.

"Public kick messages" -version
Works like a charm now when the message is being displayed
Thanks.

Last edited by Visual77; 05-15-2009 at 17:22.
Visual77 is offline
msleeper
Veteran Member
Join Date: May 2008
Location: Atlanta, Jawjuh
Old 05-18-2009 , 18:07   Re: Very Basic High Ping Kicker
Reply With Quote #54

Quote:
Originally Posted by muukis View Post
It seems it is working... at least for the public message part. I made also some modifications to other parts as well, so that the minplayer value matters. If I'm not mistaken, the original version counted the bots as well, so even if playing alone in L4D you would be kicked if your ping was high and the server sm_vbping_minplayers was set to 4.

"Public kick messages" -version
Please take this down, I posted a beta version below. Thanks.

Here are the new cvars for the beta version. I've tested this somewhat myself but I'm not 100% posititve everything works. Here are the new cvars, and the changelog.

Code:
-- 1.2 (4/30/09)
 . Added check to ignore fake clients/bots, which was throwing an error for
   HLTV users and L4D bots.
 . Changed the initial mapchange delay from 60 seconds to 90 seconds.
 . Added 2 cvars to handle public chat display message in addition to normal
   kick message sent to player. Left 4 Dead does not display disconnect
   messages in-game to the rest of the players, so it is advised to use this
   function if you want in-game kick announcements in L4D. The cvar can
   accept a chat variable, {NAME} case-sensitive, which will replace with the
   player in question's name. They are not required.
 . Added 2 cvars to handle player warning message when they are given
   warnings by the plugin. The cvar can accept 2 chat variables, {WARN} and
   {MAXWARN} case-sensitive, which will replace with their current warnings
   and the maximum warnings respectively. Neither are required.
Delete your existing config file and a new one will be generated.

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.
__________________

Last edited by msleeper; 05-19-2009 at 22:53. Reason: File removed, full version in first post
msleeper is offline
OtterNas3
Senior Member
Join Date: Apr 2009
Old 05-19-2009 , 07:01   Re: Very Basic High Ping Kicker
Reply With Quote #55

Thanks for implementing the Warning Message, works great!

Now people who gets warned will have a look why theyre Ping is so high to not get kicked!

Moo,
OtterNas3
OtterNas3 is offline
msleeper
Veteran Member
Join Date: May 2008
Location: Atlanta, Jawjuh
Old 05-19-2009 , 16:00   Re: Very Basic High Ping Kicker
Reply With Quote #56

Great, glad that is working.

Anyone who can confirm the other things are working, please let me know so I can update the first post.
__________________
msleeper is offline
msleeper
Veteran Member
Join Date: May 2008
Location: Atlanta, Jawjuh
Old 05-19-2009 , 22:52   Re: Very Basic High Ping Kicker
Reply With Quote #57

Bump, I've gone ahead and officially released version 1.2. Updated plugin is on the first post. Let me know if you have any issues. Thanks.
__________________
msleeper is offline
ivailosp
Senior Member
Join Date: Feb 2009
Old 06-17-2009 , 09:25   Re: Very Basic High Ping Kicker
Reply With Quote #58

line 288 need to be change form
Code:
                if ((GetUserFlagBits(i) & ADMFLAG_RESERVATION) || (GetUserFlagBits(i) & ADMFLAG_ROOT))
to
Code:
                if ((GetUserFlagBits(i) & ADMFLAG_CUSTOM1) || (GetUserFlagBits(i) & ADMFLAG_ROOT))
ivailosp is offline
Xp3r7
SourceMod Donor
Join Date: Jul 2006
Old 06-26-2009 , 21:45   Re: Very Basic High Ping Kicker
Reply With Quote #59

Ok, Im trying to use this plugin to give a clan member from Sweden (CSS server is in USA) immunity from the ping kick and I cant figure it out.

I use admins_simple.ini and Groups.

I made a "Ping" group and have the flags as "bo" (b being generic admin and o being CUSTOM1) and immunity set at 1.

He is still getting warnings and being kicked.

Ive also tried the same settings above in admin.cfg with no luck.

Any help would be greatly appreciated!
__________________
Xp3r7 is offline
Send a message via MSN to Xp3r7
Goatnapper
Junior Member
Join Date: Feb 2009
Old 07-01-2009 , 09:53   Re: Very Basic High Ping Kicker
Reply With Quote #60

Would it be possible to add a cvar for us to define the flag to use for immunity, rather than CUSTOM1?

Reason is twofold: Some other plugins use the custom flag as well, and I don't want the overlap, and I would like people to be immune if they have, for example, the "d" (aka, ban) flag.
Goatnapper 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 19:14.


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