[FS|0.2] Player Protections (DB, TK, Heli, Spawnkill, Ping, Spam)
#1

Simple script to kick players who "excessively" driveby, teamkill, helikill, spawnkill, ping, and spam.
Used on Novocaine server (not currently). The number of infractions and time frame for each protection are configurable via defines as well as enabling and disabling each protection individually.

It works fine on linux. I heard a rumor about GetTickCount() not working correctly on Windows...

Brief explanation of settings:
Code:
#define DRIVEBY_PROTECTION 1 // Driveby protection is enabled. 1 = on, 0 = off
#define DRIVEBY_MAX_KILLS 5 // The number of driveby kills a user must accumulate within the time limit (DRIVEBY_TIMELIMIT)
#define DRIVEBY_TIMELIMIT 600 // The number of seconds during which the MAX_KILLS quota must be reached for a kick to be triggered
UPDATE (7/9/07): Added ping kicker.
UPDATE (7/7/07): Setting the *_MAX_KILLS and *_TIMELIMIT to 1 will kick the player on the first infraction.

Download (Pastebin): http://pastebin.ca/611136
Download (pwn): http://gta.hamm3r.net/scripts/playerprotections.pwn
Download (amx): http://gta.hamm3r.net/scripts/playerprotections.amx

HAMM3R

Edit: You may want to fix the bug that causes car kills to appear as helikills. Just check if the killer's vehicle is not a heli and change the reason to 49.
Reply


Messages In This Thread
[FS|0.2] Player Protections (DB, TK, Heli, Spawnkill, Ping, Spam) - by [NoV]HAMM3R - 07.07.2007, 05:43
Re: [FS|0.2] Basic Protections (DB, TK, Heli, Spawnkill, Spam) - by Maikel - 07.07.2007, 06:18
Re: [FS|0.2] Basic Protections (DB, TK, Heli, Spawnkill, Spam) - by Duelos SA - 07.07.2007, 06:20
Re: [FS|0.2] Basic Protections (DB, TK, Heli, Spawnkill, Spam) - by [NoV]HAMM3R - 07.07.2007, 06:27
Re: [FS|0.2] Basic Protections (DB, TK, Heli, Spawnkill, Spam) - by [NoV]dzvera - 07.07.2007, 06:36
Re: [FS|0.2] Basic Protections (DB, TK, Heli, Spawnkill, Spam) - by [NoV]HAMM3R - 07.07.2007, 06:39
Re: [FS|0.2] Basic Protections (DB, TK, Heli, Spawnkill, Spam) - by Warriors_Tornado - 07.07.2007, 08:45
Re: [FS|0.2] Basic Protections (DB, TK, Heli, Spawnkill, Spam) - by [NoV]HAMM3R - 07.07.2007, 08:51
Re: [FS|0.2] Player Protections (DB, TK, Heli, Spawnkill, Spam) - by [SMB]Bip - 07.07.2007, 09:11
Re: [FS|0.2] Player Protections (DB, TK, Heli, Spawnkill, Spam) - by Warriors_Tornado - 07.07.2007, 09:29
Re: [FS|0.2] Player Protections (DB, TK, Heli, Spawnkill, Spam) - by [NoV]HAMM3R - 07.07.2007, 09:41
Re: [FS|0.2] Player Protections (DB, TK, Heli, Spawnkill, Spam) - by [NoV]HAMM3R - 07.07.2007, 09:43
Re: [FS|0.2] Player Protections (DB, TK, Heli, Spawnkill, Spam) - by Warriors_Tornado - 07.07.2007, 09:58
Re: [FS|0.2] Player Protections (DB, TK, Heli, Spawnkill, Spam) - by MaTrIx4057 - 07.07.2007, 10:04
Re: [FS|0.2] Player Protections (DB, TK, Heli, Spawnkill, Spam) - by [NoV]HAMM3R - 07.07.2007, 23:42
Re: [FS|0.2] Player Protections (DB, TK, Heli, Spawnkill, Spam) - by Duelos SA - 09.07.2007, 03:04
Re: [FS|0.2] Player Protections (DB, TK, Heli, Spawnkill, Spam) - by Warriors_Tornado - 09.07.2007, 14:32
Re: [FS|0.2] Player Protections (DB, TK, Heli, Spawnkill, Spam) - by [NoV]HAMM3R - 09.07.2007, 19:09
Re: [FS|0.2] Player Protections (DB, TK, Heli, Spawnkill, Ping, Spam) - by [NoV]HAMM3R - 09.07.2007, 19:53
Re: [FS|0.2] Player Protections (DB, TK, Heli, Spawnkill, Ping, Spam) - by Warriors_Tornado - 09.07.2007, 20:27
Re: [FS|0.2] Player Protections (DB, TK, Heli, Spawnkill, Ping, Spam) - by [NoV]HAMM3R - 09.07.2007, 21:10
Re: [FS|0.2] Player Protections (DB, TK, Heli, Spawnkill, Ping, Spam) - by Duelos SA - 10.07.2007, 01:33
Re: [FS|0.2] Player Protections (DB, TK, Heli, Spawnkill, Ping, Spam) - by Duelos SA - 10.07.2007, 22:16
Re: [FS|0.2] Player Protections (DB, TK, Heli, Spawnkill, Ping, Spam) - by Fire_in_the_hole - 03.02.2008, 16:13
Re: [FS|0.2] Player Protections (DB, TK, Heli, Spawnkill, Ping, Spam) - by cmg4life - 03.02.2008, 16:47
Re: [FS|0.2] Player Protections (DB, TK, Heli, Spawnkill, Ping, Spam) - by croherzegovina - 08.02.2008, 13:07
Re: [FS|0.2] Player Protections (DB, TK, Heli, Spawnkill, Ping, Spam) - by Fire_in_the_hole - 09.02.2008, 18:47
Re: [FS|0.2] Player Protections (DB, TK, Heli, Spawnkill, Ping, Spam) - by lepompier - 12.05.2008, 09:21
Re: [FS|0.2] Player Protections (DB, TK, Heli, Spawnkill, Ping, Spam) - by [BG]MR.C - 12.05.2008, 10:52
Re: [FS|0.2] Player Protections (DB, TK, Heli, Spawnkill, Ping, Spam) - by lepompier - 12.05.2008, 11:01
Re: [FS|0.2] Player Protections (DB, TK, Heli, Spawnkill, Ping, Spam) - by OrlGiNS - 20.06.2008, 22:48
Re: [FS|0.2] Player Protections (DB, TK, Heli, Spawnkill, Ping, Spam) - by ThePro - 21.06.2008, 00:02
Re: [FS|0.2] Player Protections (DB, TK, Heli, Spawnkill, Ping, Spam) - by OrlGiNS - 21.06.2008, 12:54
Re: [FS|0.2] Player Protections (DB, TK, Heli, Spawnkill, Ping, Spam) - by Vyorel - 09.09.2008, 07:29
Re: [FS|0.2] Player Protections (DB, TK, Heli, Spawnkill, Ping, Spam) - by Duelos SA - 09.12.2008, 19:50
Re: [FS|0.2] Player Protections (DB, TK, Heli, Spawnkill, Ping, Spam) - by GORE - 27.12.2008, 12:02
Re: [FS|0.2] Player Protections (DB, TK, Heli, Spawnkill, Ping, Spam) - by Danut - 25.01.2009, 08:34
[FS|0.2] Player Protections (DB, TK, Heli, Spawnkill, Ping, Spam) - by [NoV]LaZ - 25.01.2009, 10:04

Forum Jump:


Users browsing this thread: 2 Guest(s)