[FilterScript] Advanced High Ping Kicker [CMDS|NPC/ADMIN IMMUNUTY] and much more - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Advanced High Ping Kicker [CMDS|NPC/ADMIN IMMUNUTY] and much more (
/showthread.php?tid=370729)
[FS]Advanced High Ping Kicker [CMDS|NPC/ADMIN IMMUNUTY] and much more (Advanced Anti-High Ping 1.1) -
Mellnik - 21.08.2012
THIS PROJECT IS OUTDATED AND NO LONGER MAINTAINED. DO NOT USE IT AS IT CONTAINS SECURITY VULNERABILITIES AND BUGS.
Advanced Anti-High Ping 1.1 - FilterScript 0.3e
Author: Mellnik
Current Version: 1.1
Release Date: 21/08/2012
Information/Features:- 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.
Available commands:
Код:
/togping This turns the ping system on/off (only for rcon admins)
All settings:
Код:
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)
Changelog
-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
1.1 Download: http://www.solidfiles.com/d/9010abbb0b/
1.0 Download: http://www.solidfiles.com/d/da2401578f/
Installation- 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

Problems
- 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.
Re: Advanced High Ping Kicker [CMDS|NPC/ADMIN IMMUNUTY] and much more -
xSiiLenTx - 21.08.2012
yusyusyusyusyus ty(:
AW: Re: Advanced High Ping Kicker [CMDS|NPC/ADMIN IMMUNUTY] and much more -
Mellnik - 21.08.2012
Quote:
Originally Posted by xSiiLenTx
yusyusyusyusyus ty(:
|
Glad you like it and thanks for the rep :D
Re: Advanced High Ping Kicker [CMDS|NPC/ADMIN IMMUNUTY] and much more -
bye - 21.08.2012
Good.
Re: Advanced High Ping Kicker [CMDS|NPC/ADMIN IMMUNUTY] and much more -
jpeg - 21.08.2012
Very Nice.
AW: Re: Advanced High Ping Kicker [CMDS|NPC/ADMIN IMMUNUTY] and much more -
Mellnik - 21.08.2012
Quote:
Originally Posted by jpeg
Very Nice.
|
Thanks updated to 1.1
AW: Advanced High Ping Kicker [CMDS|NPC/ADMIN IMMUNUTY] and much more -
Epixel - 21.08.2012
Nice Script, good for beginner.
Re: Advanced High Ping Kicker [CMDS|NPC/ADMIN IMMUNUTY] and much more -
ThePhenix - 04.09.2012
Good Script.