Raised This Month: $ Target: $400
 0% 

Bad Connection Punisher


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Server Management       
TripleThreat
Junior Member
Join Date: Nov 2011
Old 02-07-2013 , 17:30   Bad Connection Punisher
Reply With Quote #1

Bad Connection Punisher

Last edited by TripleThreat; 02-09-2013 at 17:47. Reason: Plugin Link.
TripleThreat is offline
P1raten
Senior Member
Join Date: Feb 2010
Old 02-07-2013 , 18:10   Re: Fast High Ping Kick
Reply With Quote #2

Why are you hooking the onDeath event? Why not just check on client_putinserver?
__________________
No salvation. Only madness.
P1raten is offline
TripleThreat
Junior Member
Join Date: Nov 2011
Old 02-07-2013 , 18:51   Re: Fast High Ping Kick
Reply With Quote #3

Quote:
Originally Posted by P1raten View Post
Why are you hooking the onDeath event? Why not just check on client_putinserver?
From experience as the client joins the server his ping is higher than usual, After some time it settles to correct ping so it is not best idea to check right after he joins server.
TripleThreat is offline
P1raten
Senior Member
Join Date: Feb 2010
Old 02-07-2013 , 18:53   Re: Re: Fast High Ping Kick
Reply With Quote #4

Quote:
Originally Posted by TripleThreat View Post
From experience as the client joins the server his ping is higher than usual, After some time it settles to correct ping so it is not best idea to check right after he joins server.
What if the player never dies? Then he wont be kicked.
__________________
No salvation. Only madness.
P1raten is offline
TripleThreat
Junior Member
Join Date: Nov 2011
Old 02-07-2013 , 18:55   Re: Fast High Ping Kick
Reply With Quote #5

Quote:
Originally Posted by P1raten View Post
What if the player never dies? Then he wont be kicked.
He spawns atleast once, and most servers in CS 1.6 involves deaths.

Edit: It seemed that after first spawn action was not being taken which is odd.
This have been fixed with a check that runs 10 seconds after player joins.

Last edited by TripleThreat; 02-08-2013 at 11:37.
TripleThreat is offline
naven
Veteran Member
Join Date: Jun 2008
Location: Poland, Cieszyn
Old 02-08-2013 , 07:59   Re: Fast High Ping Kick
Reply With Quote #6

A player can start lagging after they are connected to the server.
__________________
naven.com.pl
"At the end of the day, there are always going to be mental disorders and people who cause violence for no other reason than the fact that they're fucked up and lost. And all we can do is try to learn from it." Corey Taylor.
naven is offline
TripleThreat
Junior Member
Join Date: Nov 2011
Old 02-08-2013 , 11:36   Re: Fast High Ping Kick
Reply With Quote #7

Quote:
Originally Posted by P1raten View Post
Why are you hooking the onDeath event? Why not just check on client_putinserver?
Quote:
Originally Posted by P1raten View Post
What if the player never dies? Then he wont be kicked.
I have made changes so now the player is checked 10 seconds after joining.

Plugin is running perfectly on my server!
37.59.56.157:27015

Last edited by TripleThreat; 02-08-2013 at 11:51.
TripleThreat is offline
P1raten
Senior Member
Join Date: Feb 2010
Old 02-08-2013 , 11:47   Re: Fast High Ping Kick
Reply With Quote #8

Quote:
Originally Posted by TripleThreat View Post
I have made changes so now the player is checked 10 seconds after joining.
Is it correct that you've copied some code from some other peoples code and put it in this one?
__________________
No salvation. Only madness.

Last edited by P1raten; 02-08-2013 at 11:47.
P1raten is offline
TripleThreat
Junior Member
Join Date: Nov 2011
Old 02-08-2013 , 11:57   Re: Fast High Ping Kick
Reply With Quote #9

Quote:
Originally Posted by P1raten View Post
Is it correct that you've copied some code from some other peoples code and put it in this one?
I have modified olos original code.
TripleThreat is offline
P1raten
Senior Member
Join Date: Feb 2010
Old 02-08-2013 , 11:58   Re: Fast High Ping Kick
Reply With Quote #10

Quote:
Originally Posted by TripleThreat View Post
I have modified olos original code.
Ah, gotcha.

The reason I was suspicious was due to you only using semicolon on some places.

__________________
No salvation. Only madness.
P1raten 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 23:31.


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