Official Soldat Forums
Server Talk => Scripting Releases => Topic started by: Mighty on August 27, 2013, 09:42:10 pm
-
Script Name: Ping Handle
Script Description: Alternative lagger handler
Author(s): Mighty
Soldat Version: 1.6.5
Server Version: 2.7.5
Script Core Version: 3
Script Version: 1.1
Download: Attachment (http://forums.soldat.pl/index.php?action=dlattach;topic=42844.0;attach=30457)
Notes:
- Script prevents rejoining to reset warning counter: HWID based
- Max_Ping in soldat.ini must be higher than Max_Ping in script's config file (will be created at const PATH (script's data folder) after the 1st run). I'd recommend setting soldat.ini's to 1000
- Script is using Admin Unit (http://forums.soldat.pl/index.php?topic=42845.0), so it requires Sandbox level 1 or 0 for commands to work, if commands are not needed, sandbox 2 is fine
- This script has not been tested with multiple people online. I think it should be working fine though.
Detailed description
As requested in this topic (http://forums.soldat.pl/index.php?topic=42842.0) I tried to write an alternative ping limiter. In Script Core 3.
Admin commands:
- /maxping XXX (negative values also work for testing purposes)
- /reset ID
- /exclude ID (toggle excluding ID from checks)
Anyways, config file is as follows:
[Settings]
Max_Ping=250
Max_Warnings=10 // player will be kicked at 11th
Notify_Player=1 // show warnings to a player
Interval=5 // ping check interval (seconds)
Ban_Time=10 // (minutes)
-
where is Includes.txt? its should have only PingHandle.pas?
This is a Script Core 3 script. It's supposed to be like that. Config.ini replaces Inludes.txt. The archieve is fine, you should unpack it into scripts folder
its possible to disable ping kick for selected players?
the script misses some functionalities, like (...) excluding players from the system
-
Update: Added admin commands and "~"-path support
-
Very useful, gj Mighty.