Natural Selection 2

Natural Selection 2

Otillräckligt med betyg
High Ping Kicker
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Filstorlek
Lades upp
Uppdaterades
1.916 KB
19 nov, 2012 @ 11:04
14 aug, 2013 @ 12:00
23 ändringsnotiser ( visa )

Abonnera för att ladda ner
High Ping Kicker

Beskrivning
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 kommentarer
sENoZ 10 apr, 2023 @ 17:44 
Thanks for the info, sad to see how ns ² dev just Destroy that game.. :spasm::nuke::ICBM:
Vitdom  [skapare] 10 apr, 2023 @ 14:06 
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:23 
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  [skapare] 8 apr, 2023 @ 10:25 
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:39 
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  [skapare] 23 dec, 2018 @ 14:29 
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  [skapare] 29 jan, 2016 @ 15:31 
Thank you for reporting the mod as broken with the latest version. I will attempt to fix it.
Mr Skulf 29 jan, 2016 @ 13:04 
Can you fix the mod to work with the last version
Bruno Sardine 15 aug, 2015 @ 13:30 
Thanks for the mod
Mr Perman 10 jan, 2015 @ 19:28 
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=='