SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 09/04/2015, 07:23 PM   #1
lanix
Big Clucker
 
lanix's Avatar
 
Join Date: Dec 2014
Location: Croatia
Posts: 158
Reputation: 3
Default Simple Anticheat(Update 2.0)

Simple Anticheat update 2.0

I made simple anticheat system,i say it is simple.
This is my first filterscript i hope you will like this script
You can write anything in comments if you dont like
or like i dont care.This is first release of anitcheat i will add more things.Please keep the credits

************************************************
What can this Anticheat:
Anti-Armour Hack (1)
Anti-Tuning Car (1)
Anti-Money Hack (1)
Anti-Fly Hack (1)
Anti-Jetpack Hack (1)
Anti-Health Hack (1)
Anti-Speed Hack (1)

I will add more...
When i test this it was working with no bug.

WARNING
Anti Armour hack:
In your CMD if you have add this set armour to 99:
an example
Code:
if(strcmp(cmdtext, "/Armour", true) == 0)
	{
	  SetPlayerArmour(playerid, 99);Set this to 99 not to 100
	   return 1;
	}
Anti Health Hack:Just send message to rcon/admins
Code:
for(new all = 0; all < MAX_PLAYERS; all++)
    {
        if(IsPlayerAdmin(all))
        {
            new playername[MAX_PLAYER_NAME], string[256];
            GetPlayerName(i,playername, sizeof(playername));
            format(string, sizeof(string), "Player [%i] %s is possible Health Hacker,Spec him!!!",i,playername);
            SendClientMessage(all, 0xFF0000FF, string);
}
    }
UPDATE 2.0:
Added Anti Health Hack
Fixed Anti Speed Hack

CREDITS:
Lanix
Fel486.-Help about Speed Hack

DOWNLOAD 1.0:
http://www.solidfiles.com/d/62e05e10..._Anticheat.zip

DOWNLOAD 2.0:
http://www.solidfiles.com/d/6f4fcf512/Anticheat_2.0.zip

PASTEBIN 1.0:
http://pastebin.com/kZcTWKqn
__________________
Simple Anticheat: http://forum.sa-mp.com/showthread.php?t=570399

Last edited by lanix; 06/06/2015 at 04:24 PM.
lanix is offline   Reply With Quote
Old 10/04/2015, 05:53 AM   #2
opticork
Little Clucker
 
Join Date: Jul 2014
Location: Bulgaria
Posts: 9
Reputation: 3
Default Re: Simple Anticheat

Nice (:
opticork is offline   Reply With Quote
Old 10/04/2015, 05:58 AM   #3
Smocky
Huge Clucker
 
Smocky's Avatar
 
Join Date: Sep 2014
Location: Forum SA:MP
Posts: 285
Reputation: 1
Default Re : Simple Anticheat

Nice
__________________
▁ ▂ ▄ ▅ ▆ ▇ █ мεs яéαℓιsαтιση █ ▇ ▆ ▅ ▄ ▂ ▁

ғιℓтεяscяιρтs

[FilterScript]Système de Téléportation
[FilterScript]Systèmes MP3

gαмε-мσ∂ε

[Game-Mode]Cops And Robbers [NSACNR]
[Game-Mode]Derby Traduit
Smocky is offline   Reply With Quote
Old 10/04/2015, 06:07 AM   #4
Dignity
High-roller
 
Dignity's Avatar
 
Join Date: May 2013
Location: Belgium
Posts: 1,954
Reputation: 1122
Default Re: Simple Anticheat

Anyone that connects to your server will instantly get banned. There are no functions to fix a player's health to 99 and not 100.

pawn Code:
public OnPlayerUpdate(playerid)
{
///////////////////////ARMOUR HACK/////////////////////////////////////
        new Float:Armour;
        GetPlayerArmour(playerid, Armour);
        #if defined MAX_ARMOUR
        if(Armour > 99.0)
    {
        TogglePlayerControllable(playerid, false);
        SetPlayerPos(playerid, 1941.1534,-1100.2391,-23.7885);
        ShowPlayerDialog(playerid, DIALOG_PRAVILA,DIALOG_STYLE_MSGBOX,"Anti-Hack", "{FFCC00}[Anticheat]"WHITE"[Anti-Cheat] You Have Been Banned for using Armour hack!!!","Ok","");
        BanEx(playerid, "Armour Hack");
    }

    return 1;
}
Dignity is offline   Reply With Quote
Old 10/04/2015, 07:59 PM   #5
lanix
Big Clucker
 
lanix's Avatar
 
Join Date: Dec 2014
Location: Croatia
Posts: 158
Reputation: 3
Default Re: Simple Anticheat

Quote:
Originally Posted by Satori_Komeiji View Post
Anyone that connects to your server will instantly get banned. There are no functions to fix a player's health to 99 and not 100.

pawn Code:
public OnPlayerUpdate(playerid)
{
///////////////////////ARMOUR HACK/////////////////////////////////////
        new Float:Armour;
        GetPlayerArmour(playerid, Armour);
        #if defined MAX_ARMOUR
        if(Armour > 99.0)
    {
        TogglePlayerControllable(playerid, false);
        SetPlayerPos(playerid, 1941.1534,-1100.2391,-23.7885);
        ShowPlayerDialog(playerid, DIALOG_PRAVILA,DIALOG_STYLE_MSGBOX,"Anti-Hack", "{FFCC00}[Anticheat]"WHITE"[Anti-Cheat] You Have Been Banned for using Armour hack!!!","Ok","");
        BanEx(playerid, "Armour Hack");
    }

    return 1;
}
I know but if player set his armour in GM 99 everythink will be ok
__________________
Simple Anticheat: http://forum.sa-mp.com/showthread.php?t=570399
lanix is offline   Reply With Quote
Old 11/04/2015, 08:04 PM   #6
lanix
Big Clucker
 
lanix's Avatar
 
Join Date: Dec 2014
Location: Croatia
Posts: 158
Reputation: 3
Default Re: Re : Simple Anticheat

thanks
__________________
Simple Anticheat: http://forum.sa-mp.com/showthread.php?t=570399
lanix is offline   Reply With Quote
Old 11/04/2015, 08:06 PM   #7
lanix
Big Clucker
 
lanix's Avatar
 
Join Date: Dec 2014
Location: Croatia
Posts: 158
Reputation: 3
Default Re: Simple Anticheat

Quote:
Originally Posted by Smocky View Post
Nice
Quote:
Originally Posted by opticork View Post
Nice (:
Thanks
__________________
Simple Anticheat: http://forum.sa-mp.com/showthread.php?t=570399
lanix is offline   Reply With Quote
Old 11/04/2015, 08:14 PM   #8
Abagail
High-roller
 
Join Date: Dec 2013
Location: GetPlayerPos(playerid, pos); Scripter/Mapper.
Posts: 3,410
Reputation: 439
Default Re: Simple Anticheat

No he shouldn't have to add anything to his GM because this is an FS and not an include. Why the fuck would you even check for that right when the player connects? There is 0 logic there.
Abagail is offline   Reply With Quote
Old 11/04/2015, 09:38 PM   #9
Flashhiee
High-roller
 
Flashhiee's Avatar
 
Join Date: Mar 2012
Posts: 1,060
Reputation: 297
Default Re: Simple Anticheat

Pastebin please.
__________________
My maps:
The Hell - Space Station[Module I] - Mansion Interior - Mining Village - Desert Village

I create custom maps of any kind, more details on discord at UnuAlex#6567
Flashhiee is offline   Reply With Quote
Old 11/04/2015, 09:41 PM   #10
FernandoLight
Huge Clucker
 
FernandoLight's Avatar
 
Join Date: Feb 2015
Location: Error: 404
Posts: 319
Reputation: 40
Default Re: Simple Anticheat

lmao
__________________
I don't drink to get drunk.
FernandoLight is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] Simple Repair and Heal command (Simple for newbs) kingcrome Filterscripts 4 01/11/2013 01:16 AM
GUN-ANTICHEAT audriuxxx Scripting Help 1 23/02/2013 04:47 PM
[FilterScript] [FS] Simple AntiCheat TMasters Filterscripts 3 11/06/2010 10:40 PM
Simple Anticheat Check not working BP13 Help Archive 5 28/02/2010 04:09 PM


All times are GMT. The time now is 12:31 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.