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

High Ping Kicker


Post New Thread Reply   
 
Thread Tools Display Modes
Liam
SourceMod Developer
Join Date: Jan 2008
Location: Atlanta, GA
Old 04-26-2008 , 12:28   Re: High Ping Kicker
Reply With Quote #11

Yep.
Liam is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 04-26-2008 , 19:28   Re: High Ping Kicker
Reply With Quote #12

A few people are getting kicked when they have 50-80 ping, can you take a look?
__________________

DontWannaName is offline
steambob
Member
Join Date: Sep 2007
Old 04-28-2008 , 03:42   Re: High Ping Kicker
Reply With Quote #13

I think that
GetClientLatency(client, NetFlow_Outgoing) * 750

can produce numbers which differ quite significantly from the pings from the scoreboard .

I've tried few other ways and the best solution I've found was just using a similar formula as EKS's High Ping Kicker for Metamod (http://forums.alliedmods.net/showthread.php?t=47374) uses. Something like this:
Code:
currentLatency = GetClientAvgLatency(client, NetFlow_Outgoing) - 0.5 / GetClientAvgPackets(client, NetFlow_Incoming) - 1.5/tickrate;
currentLatency = currentLatency * 1000.0;
where tickrate is the server tick rate

This produces a number which is within few milliseconds the same as in scoreboard (tested in HL2DM, though only for one tickrate).

May be this can be integrated, so the admins should not track too many different values for pings, but rather use the one from the scoreboard.

Last edited by steambob; 04-28-2008 at 03:44.
steambob is offline
less
Junior Member
Join Date: Apr 2008
Old 04-28-2008 , 07:34   Re: High Ping Kicker
Reply With Quote #14

not workin for me
less is offline
Liam
SourceMod Developer
Join Date: Jan 2008
Location: Atlanta, GA
Old 04-28-2008 , 07:53   Re: High Ping Kicker
Reply With Quote #15

Less, what is happening when you use it?

Don't wanna name, I'm checking it out.
Liam is offline
less
Junior Member
Join Date: Apr 2008
Old 04-28-2008 , 11:32   Re: High Ping Kicker
Reply With Quote #16

Absolutely nothing.....it doesnt kick any1...i just copy paste .smx into the plugins forlder and the .sp into the scripting forlder, right? The cfg file is autocreated anyways...so?
less is offline
V0gelz
Senior Member
Join Date: Jun 2004
Old 04-28-2008 , 11:36   Re: High Ping Kicker
Reply With Quote #17

Over here it kicks everyone lol..
__________________
V0gelz is offline
Liam
SourceMod Developer
Join Date: Jan 2008
Location: Atlanta, GA
Old 04-28-2008 , 12:30   Re: High Ping Kicker
Reply With Quote #18

Well, it runs fine on all four of my servers. I'm working on rewriting the code that gets their ping to take the cmdrate and tickrate into account.

So please be patient.

Less, try recompiling it.
Liam is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 04-28-2008 , 12:58   Re: High Ping Kicker
Reply With Quote #19

@less: general note, you don't need the scripting folder on your game server at all. You only need the sp files to edit the plugin, not to actually run it.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
less
Junior Member
Join Date: Apr 2008
Old 04-28-2008 , 15:29   Re: High Ping Kicker
Reply With Quote #20

got it...ty...will try it again...
less 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 08:26.


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