21.08.2012, 02:13
(
Последний раз редактировалось Mellnik; 09.06.2014 в 14:44.
)
THIS PROJECT IS OUTDATED AND NO LONGER MAINTAINED. DO NOT USE IT AS IT CONTAINS SECURITY VULNERABILITIES AND BUGS.
This filterscript is maybe outdated and no longer maintained by me.
Advanced Anti-High Ping 1.1 - FilterScript 0.3e
Author: Mellnik
Current Version: 1.1
Release Date: 21/08/2012
Information/Features:Available commands:
- What it does: This Script checks if player pings exceed the MAX_PING (can be set in script)
- You can set how much ping exeeds are allowed before a player gets kicked(MAX_EXCEEDS)
- You can set in which interval(seconds) players will be checked if their ping exceed (PINGCHECK_TIME)
- You can decide if rcon admins gets a message when a player ping exceed (SEND_ADM_BYEXCEED)
- NPCS are imune to ping kicks! (they will not be checked)
- You can set if rcon admins are imune to the ping kicker(IS_ADMIN_IMMUNE)
- And much more settings! Everything is toggleable at the top of the script with true|false.
All settings:Код:/togping This turns the ping system on/off (only for rcon admins)
ChangelogКод:Setting: Default: Explanation: MAX_PING (350) max ping which is allowed PINGCHECK_TIME (2) check interval in seconds MAX_EXCEEDS (3) how many times it is allowed to exceed the ping limit OPC_DELAY (4) if you set USE_OPC_DELAY to true, you change the delay until the checktimer for the player will be executed (no need to change this) USE_OPC_DELAY (true) when a player connect he always has a high ping true= player will be checked after he connected (5 seconds) false= player will be checked immediately after he connected (not recommend) USE_ADMIN_CMDS (true) want to use admin commands ingame? (true|false) IS_ADMIN_IMMUNE (true) is an admin immune against the ping kicker (true|false) SEND_MSG_BYKICK (true) send a message to all when a player gets kicked cause of high ping (true|false) SEND_ADM_BYEXCEED (true) send message to admin when player exceeds the ping limit (true|false) SEND_PMSG_BYEXCEED (true) send a message to player when he exceeds the ping limit (true|false) PRINT_INFO (true) this will write infos about the fsscript in the console (FilterScriptInit) (true|false) PRINT_BYKICK (true) print message in server logs when player gets kicked (true|false)
-v1.2 (21/08/2012)
- *[Added] OPC_DELAY to avoid player gets kicked by connect
- *[Fixed] timer killing
- *[Fixed] the true|false settings
-v1.0 (21/08/2012)Download
- Release
1.1 Download: http://www.solidfiles.com/d/9010abbb0b/
1.0 Download: http://www.solidfiles.com/d/da2401578f/
InstallationProblems
- Download the .pwn file
- Compile it with the latest 0.3e a_samp include
- Open your server.cfg and add "PingKickerV1.1" to the filterscripts line
- It should look like that now:
Код:filterscripts PingKickerV1.1- Start your server and enjoy
- There was a problem when a player connects that he gets kicked when MAX_PING was below ~120 this is now fiexed in 1.1 (see USE_OPC_DELAY in script)
ScreenShot:
NOTE:
If you have any suggestions please post them I will script it and add it to the next update
Thanks!
//Edits:
spelling
added screenshot
v1.1 released
This filterscript is maybe outdated and no longer maintained by me.