[FilterScript] Advanced High Ping Kicker [CMDS|NPC/ADMIN IMMUNUTY] and much more
#1

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)
  • Release
Download
1.1 Download: http://www.solidfiles.com/d/9010abbb0b/

1.0 Download: http://www.solidfiles.com/d/da2401578f/


Installation
  1. Download the .pwn file
  2. Compile it with the latest 0.3e a_samp include
  3. Open your server.cfg and add "PingKickerV1.1" to the filterscripts line
  4. It should look like that now:
  5. Код:
    filterscripts PingKickerV1.1
  6. 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.
Reply
#2

yusyusyusyusyus ty(:
Reply
#3

Quote:
Originally Posted by xSiiLenTx
Посмотреть сообщение
yusyusyusyusyus ty(:
Glad you like it and thanks for the rep :D
Reply
#4

Good.
Reply
#5

Very Nice.
Reply
#6

Quote:
Originally Posted by jpeg
Посмотреть сообщение
Very Nice.
Thanks updated to 1.1
Reply
#7

Nice Script, good for beginner.
Reply
#8

Good Script.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)