Natural Selection 2

Natural Selection 2

Not enough ratings
High Ping Kicker
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
1.916 KB
19 Nov, 2012 @ 11:04am
14 Aug, 2013 @ 12:00pm
23 Change Notes ( view )

Subscribe to download
High Ping Kicker

Description
Version: 2.1
ID: 6802773
Build independent + supports automatic .entry loader system
Fully Server-Side

Gives the server administrator the option to enable kicking of clients who exceed a max ping limit, set by the administrator.

NOTE: A bug in NS2 is currently stripping away the custom max_ping setting from ServerConfig.json, which requires you to manually enter an sv_maxping value into the console every time the map changes...

The ping check ONLY occurs when the client first connects to the server, i.e. once, to avoid kicking clients in mid-game. Once the client has finished the connection process, the check starts after 30 seconds and will continue to multisample for 20 seconds to achieve high accuracy. Before being kicked, the client will receive multiple warnings and explanations.

Set the ping limit in milliseconds either by issuing the concommand sv_maxping VALUE, or by adding the settings entry max_ping in the ServerConfig.json file. To disable kicking of high ping clients, set the limit to 0.

I recommend that the max ping is set to stepping multiples of 33 ms near multiples of 50 ms.
These values are: 200, 300, 400 ms etc. I.e. so effectively multiples of 100 ms!
This is due to the fact that player updates are sent from the server to clients in the frequency of 20 Hz = 50 ms / update. Player updates are sent from the clients to the server in the frequency of 30 Hz = 33 ms / update. Other latency values would have no different real positive effects on gameplay experience but make it more inconsistent.

If you don't know what max ping to set, I recommend 300 default, and 200 for aggressive elimination of negative lag compensation (good if you want to have a more local player community and play more professionally).
17 Comments
sENoZ 10 Apr, 2023 @ 5:44pm 
Thanks for the info, sad to see how ns ² dev just Destroy that game.. :spasm::nuke::ICBM:
Vitdom  [author] 10 Apr, 2023 @ 2:06pm 
Correct, and please make sure you use the console command before the new players connect. The limit is in effect until the map changes, yes.
The plugin algorithm itself is very reliable with re-checks and no kicks after the player has already been verified to have a low-ping connection.
sENoZ 9 Apr, 2023 @ 9:23am 
Hello there and thanks for the reply.

So...

Manually entering for example "sv_maxping 70" every single time the map changes is a requirement.

This means i need to do it manually and yeah very stupid decision i do agree....

Thanks for the reply and take care :omfg:
Vitdom  [author] 8 Apr, 2023 @ 10:25am 
Hello Micropoint, this plugin is no longer maintained as of 2013. See my comment history below!

Everything should work fine in the current state except for Automatic enablement/loading of the plugin. Manually entering for example "sv_maxping 70" every single time the map changes is a requirement.

This is due to the active decision from the NS2 developers to disallow custom configuration settings in the main server config file. If you can think of any makeshift solution to this problem, please report back and I will see if I can incorporate it into this plugin. I will not adapt to this obviously bad decision by UWE though...
sENoZ 7 Apr, 2023 @ 5:39am 
Hello bruh, is this plugin still valid today ? Will it still works ?

Am interested to open a ns ² server next year, i want the max ping to be 70 lets say, will it sitll works ?

Thanks :omfg:
Vitdom  [author] 23 Dec, 2018 @ 2:29pm 
Unfortunately this issue is difficult to fix or work-around since core NS2 code strips away any custom settings from the ServerConfig.json and breaks loading of this mod.
It's not an error in this mod itself, but a bug in NS2 which causes this.

It is possible to manually enter e.g. "sv_maxping 300" into the server console every time the map changes to make this mod work properly, but that's kind of stupid.
I will report this bug to the NS2 developers! :tcry:
Vitdom  [author] 29 Jan, 2016 @ 3:31pm 
Thank you for reporting the mod as broken with the latest version. I will attempt to fix it.
Mr Skulf 29 Jan, 2016 @ 1:04pm 
Can you fix the mod to work with the last version
Bruno Sardine 15 Aug, 2015 @ 1:30pm 
Thanks for the mod
Mr Perman 10 Jan, 2015 @ 7:28pm 
already down voted >> and author of this mod keep delete "down vote comments"

This mod is bad and will kill NS2 already small comunity , hard to find server around world wide=='