AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Trash (https://forums.alliedmods.net/forumdisplay.php?f=22)
-   -   Bad Connection Punisher (https://forums.alliedmods.net/showthread.php?t=207882)

TripleThreat 02-07-2013 17:30

Bad Connection Punisher
 
Bad Connection Punisher

P1raten 02-07-2013 18:10

Re: Fast High Ping Kick
 
Why are you hooking the onDeath event? Why not just check on client_putinserver?

TripleThreat 02-07-2013 18:51

Re: Fast High Ping Kick
 
Quote:

Originally Posted by P1raten (Post 1889609)
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.

P1raten 02-07-2013 18:53

Re: Re: Fast High Ping Kick
 
Quote:

Originally Posted by TripleThreat (Post 1889639)
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.

TripleThreat 02-07-2013 18:55

Re: Fast High Ping Kick
 
Quote:

Originally Posted by P1raten (Post 1889641)
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.

naven 02-08-2013 07:59

Re: Fast High Ping Kick
 
A player can start lagging after they are connected to the server.

TripleThreat 02-08-2013 11:36

Re: Fast High Ping Kick
 
Quote:

Originally Posted by P1raten (Post 1889609)
Why are you hooking the onDeath event? Why not just check on client_putinserver?

Quote:

Originally Posted by P1raten (Post 1889641)
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

P1raten 02-08-2013 11:47

Re: Fast High Ping Kick
 
Quote:

Originally Posted by TripleThreat (Post 1890153)
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?

TripleThreat 02-08-2013 11:57

Re: Fast High Ping Kick
 
Quote:

Originally Posted by P1raten (Post 1890165)
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.

P1raten 02-08-2013 11:58

Re: Fast High Ping Kick
 
Quote:

Originally Posted by TripleThreat (Post 1890171)
I have modified olos original code.

Ah, gotcha.

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

http://puu.sh/1ZlMs


All times are GMT -4. The time now is 20:47.

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