[FilterScript] Perfect Protection against invalid mods.
#1

Complete credits to JernejL for his post, Perfect Protection against invalid mods. He provided all the methods, I just compiled them into a filterscript.
Quote:
Originally Posted by JernejL
Посмотреть сообщение
This should be 99% self-explanatory, this is a table of legal mods per vehicle & a way to block all invalid (crashy) mods from being applied.

There are assholes running bots which connect to a server, teleport in a car around and send crashing mod info to crash players en-masse, this should enable you to 100% protect yourself against this threat.
It's untested, because I have no way of installing invalid mods to a vehicle, however I have adapted the code slightly. The first invalid mod they install will provide them with a silent warning (they will not know they have been warned) and their car will be removed. The second time, they will find themselves kicked, and once again the vehicle is also destroyed for good measure.

Downloads
I recommend you download these via right clicking the link and pressing "Save link as..." as some browsers will let you view the files, which is pointless.
VehicleModProtection.pwn
VehicleModProtection.amx

Installation
To install this, simply copy the .amx (and the .pwn, if you choose to download it) into your filterscripts folder, and add "VehicleModProtection" next to "filterscripts" in your server.cfg.

Have a nice day everybody, any problems, tell me.
James.
Reply


Messages In This Thread
Perfect Protection against invalid mods. - by jameskmonger - 28.02.2012, 22:50
Re: Perfect Protection against invalid mods. - by Kar - 28.02.2012, 22:56
Re: Perfect Protection against invalid mods. - by jameskmonger - 28.02.2012, 23:02
Re: Perfect Protection against invalid mods. - by System64 - 29.02.2012, 11:38
Re: Perfect Protection against invalid mods. - by SDraw - 29.02.2012, 11:51
Re: Perfect Protection against invalid mods. - by jameskmonger - 29.02.2012, 13:29
Re: Perfect Protection against invalid mods. - by JernejL - 01.03.2012, 13:59
Re: Perfect Protection against invalid mods. - by jameskmonger - 01.03.2012, 14:45
Re: Perfect Protection against invalid mods. - by Kar - 01.03.2012, 21:39
Re: Perfect Protection against invalid mods. - by jameskmonger - 01.03.2012, 21:45
Re: Perfect Protection against invalid mods. - by Kar - 01.03.2012, 22:44
Re: Perfect Protection against invalid mods. - by jameskmonger - 01.03.2012, 22:46
Re: Perfect Protection against invalid mods. - by Hancoc - 01.03.2012, 23:36
Re: Perfect Protection against invalid mods. - by Niko_boy - 02.03.2012, 04:13
Re: Perfect Protection against invalid mods. - by JernejL - 07.03.2012, 22:22
Re: Perfect Protection against invalid mods. - by lordturhan - 03.08.2012, 15:18
Re: Perfect Protection against invalid mods. - by Manuel7284 - 12.08.2012, 13:18
Re: Perfect Protection against invalid mods. - by Mishima - 13.08.2012, 12:44
Re: Perfect Protection against invalid mods. - by Mishima - 14.08.2012, 17:40
Re: Perfect Protection against invalid mods. - by jameskmonger - 15.08.2012, 01:58
Re: Perfect Protection against invalid mods. - by Emre__ - 19.08.2012, 18:14
Re: Perfect Protection against invalid mods. - by jameskmonger - 20.08.2012, 01:04
Re: Perfect Protection against invalid mods. - by Kaperstone - 20.08.2012, 07:08
Re: Perfect Protection against invalid mods. - by Dasharkishanjan5 - 20.08.2012, 08:10
Re: Perfect Protection against invalid mods. - by Vizi - 23.08.2012, 19:01
Re: Perfect Protection against invalid mods. - by jameskmonger - 24.08.2012, 11:14
Re: Perfect Protection against invalid mods. - by Astralis - 06.01.2013, 11:55
Re: Perfect Protection against invalid mods. - by FiReMaNStone - 06.01.2013, 19:23
Re: Perfect Protection against invalid mods. - by Souz4. - 07.01.2013, 14:21
Re: Perfect Protection against invalid mods. - by CrazyChoco - 07.01.2013, 14:25

Forum Jump:


Users browsing this thread: 1 Guest(s)