SA-MP Forums Archive
[FilterScript] [FS]Anti-Cheat - 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] [FS]Anti-Cheat (/showthread.php?tid=41484)



[FS]Anti-Cheat - viper_viper - 27.06.2008

I have been searching but i cant find any anti-cheat system so i made my own

So far i only have made anti weapon hack but it will change as i add more

The anti weapon hack checks if a player has a minigun or a rocket every 2 seconds. If they have those weapons they get banned. You can easily add more weps

If the script seems to nooby i dont care. Go cry about it somewhere else.

Enjoy:

http://pastebin.com/f582ebe9c




Re: [FS]Anti-Cheat - newzealand - 28.06.2008

Thanks man


Re: [FS]Anti-Cheat - Homerman - 28.06.2008

1.- No 2 seconds, you have timer on 2 seconds...
2.- Why dont remove credits? I dont know if this will use more people...
3.- Minigun and rocket protection is good only for you if you know how weapons you dont have in your server.
4.- Isnt bad, good job


Re: [FS]Anti-Cheat - kc - 28.06.2008

better than a timer, would be onplayerdeath

so they can brandish the forbidden weapons, but use them and chances are they get banned.


Re: [FS]Anti-Cheat - whooper - 28.06.2008

what happens if they use a health hack then how wil they get banned with there weapons


Re: [FS]Anti-Cheat - viper_viper - 29.06.2008

What

The script dosent know if they health hack and whatever they do if they have forbidden weps they will get banned


Re: [FS]Anti-Cheat - [DrM]Losi[CL] - 29.06.2008

Thanks!


Re: [FS]Anti-Cheat - [IB]Scorcher - 29.06.2008

Pretty good for a first Anti-Cheat


Re: [FS]Anti-Cheat - Zezombia - 29.06.2008

This script does not make sense to me, sorry .

Say if ID 32 was banned, then as soon as another person joins with ID 32, it bans them too weather or not they have bad weapons.

Am I missing something? Or is that basically it...


Re: [FS]Anti-Cheat - hipy - 26.06.2009

Quote:
Originally Posted by Zezombia
This script does not make sense to me, sorry .

Say if ID 32 was banned, then as soon as another person joins with ID 32, it bans them too weather or not they have bad weapons.

Am I missing something? Or is that basically it...
no it loops trough all players

note the ifplayerweapon part
only if they got that weapon there will be a ban


Re: [FS]Anti-Cheat - [JIeXa] - 26.06.2009

public OnPlayerUpdate(playerid)
{
if (GetPlayerWeapon(playerid) == 38 || GetPlayerWeapon(playerid) == 35 || GetPlayerWeapon(playerid) == 36)
{
new string[200];
GetPlayerName(playerid, string, sizeof(string));
format(string, sizeof(string), "(ANTI-CHEAT BAN) %s has been banned for weapon hacking", string);
SendClientMessageToAll(COLOR_RED,string);
Ban(playerid);
}
}

........
author - stupid.


Re: [FS]Anti-Cheat - Slice - 26.06.2009

Quote:
Originally Posted by kc
better than a timer, would be onplayerdeath

so they can brandish the forbidden weapons, but use them and chances are they get banned.
Then a cheater would be able to use fake death cheats to get another player banned.


Re: [FS]Anti-Cheat - Danny_Costelo - 26.06.2009

Quote:
Originally Posted by hipy
Quote:
Originally Posted by Zezombia
This script does not make sense to me, sorry .

Say if ID 32 was banned, then as soon as another person joins with ID 32, it bans them too weather or not they have bad weapons.

Am I missing something? Or is that basically it...
no it loops trough all players

note the ifplayerweapon part
only if they got that weapon there will be a ban
Nice, a year old bump.


Re: [FS]Anti-Cheat - Redirect Left - 26.06.2009

Quote:
Originally Posted by [JIeXa
]
public OnPlayerUpdate(playerid)
{
if (GetPlayerWeapon(playerid) == 38 || GetPlayerWeapon(playerid) == 35 || GetPlayerWeapon(playerid) == 36)
{
new string[200];
GetPlayerName(playerid, string, sizeof(string));
format(string, sizeof(string), "(ANTI-CHEAT BAN) %s has been banned for weapon hacking", string);
SendClientMessageToAll(COLOR_RED,string);
Ban(playerid);
}
}

........
author - stupid.
OnPlayerUpdate did not exist when this anti-cheat was made.

........
[JIeXa] - stupid.



Re: [FS]Anti-Cheat - G_ROW_Chez - 27.06.2009

are you really think, that this is anticheat it's peace of shit... and you are stupid


Re: [FS]Anti-Cheat - vitalij931 - 27.06.2009

Hey there how to exclude RCON Admins


Respuesta: [FS]Anti-Cheat - Adriano499 - 22.07.2010

Very nice!!!!!!


Re: [FS]Anti-Cheat - Arsham7 - 22.07.2010

Good... but around here i don't think a lot of people are even in process of making Anti-Cheats... And the old Anti-Cheats are the worst, so i don't see much people posting Anti-Cheats, well this is at least a server sided weapon anti cheat so its good i say, but try to make health + armor and all those other goodies, it may be hard but it wouldn't be impossible to achieve it.


Re: [FS]Anti-Cheat - Mr187 - 22.07.2010

Why even make this a Fliterscript, You should of just made an tutorial for it instead..

And anybody saying "very nice" you need to read the wiki more.

Quote:
Originally Posted by G_ROW_Chez
Посмотреть сообщение
are you really think, that this is anticheat it's peace of shit... and you are stupid
Its not a piece of shit but its something you should know befor you even make a server, But you don't have to be a fucking child and call people you don't even know names.


Re: [FS]Anti-Cheat - Hijolion - 23.07.2010

You're script looks likes it can ban even if player did not cheat. You should've set some variables before banning cheaters, using something like OnPlayerDeath or OnPlayerUpdate would've been generally fine. If you use Timers, I only suggest you to make them bigger to reduce lag. I don't like this script personally.