Alonzo Posted December 10, 2019 Posted December 10, 2019 IL2's dserver seems to be overly sensitive to high user pings, especially when the map has recently rolled and everyone is joining the new map. I wrote a custom ping kicker to achieve the same effect as the built-in ping limit, but it reacts a bit more slowly to a high ping, in case there is a transient network effect causing the high ping. Script is provided as-is. No warranty given. Back up your server settings before using. May set your server on fire. May kick innocent users who will then be upset with you. Use at your own risk. To install: Install Perl for Windows (I use Strawberry perl). If you want to use the built-in logging, you also need to use CPAN to install some Log4Perl modules, specifically Log::Log4perl, and (I think) one of the appender modules. Or edit the script file and replace all the $logger stuff with simple print statements to the console instead. In your server .SDS file, set maxClientPing = -1 to disable ping kicks. Enable rcon on your server if it is not already enabled, and set a password for rcon connections. Restart your dserver. Unzip the ping kicker script and set your network rcon configuration and ping limit using the config variables at the top of the file. Note that dserver uses ping times that are half a "standard" ping, so if you want to set a "standard" ping limit of 300, you need to set the script value to 150 instead. Run the script and enjoy. Back up your settings before using this script. alonzo-ping-kicker-0.2.zip 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now