[FilterScript] Simple Anticheat
#1

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
Reply
#2

Nice (:
Reply
#3

Nice
Reply
#4

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;
}
Reply
#5

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
Reply
#6

thanks
Reply
#7

Quote:
Originally Posted by Smocky
View Post
Nice
Quote:
Originally Posted by opticork
View Post
Nice (:
Thanks
Reply
#8

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.
Reply
#9

Pastebin please.
Reply
#10

lmao
Reply
#11

Pastebin ?
Reply
#12

Quote:
Originally Posted by Flashhiee
View Post
Pastebin please.
http://pastebin.com/kZcTWKqn
Reply
#13

Quote:
Originally Posted by Abagail
View Post
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.
calm down, if I made ​​a mistake somewhere tell me nicely,who do you think you are
Reply
#14

guys.. damn ya .. just fking re edit the Script :3
hope you get it
Reply
#15

#define GetPlayerSpeed??
Reply
#16

Nice

Use GetVehicleVelocity for get speed to car for fix your anti-speed hack.

Code:
 if(IsPlayerInAnyVehicle(playerid))
        {
            new Float:Speed[3],Round_Speed;
			GetVehicleVelocity(GetPlayerVehicleID(p), Speed[0], Speed[1], Speed[2]);
			Round_Speed = floatround(floatsqroot(Speed[0] * Speed[0] + Speed[1] * Speed[1] + Speed[2] * Speed[2]) * 170.00);
            if(Round_Speed > 290)
            {
                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 Speed Hack!!!","Ok","");
                BanEx(playerid, "Speed Hack");
            }
   		}
or use #define GetPlayerSpeed GetVehicleVelocity and use
Code:
new Float:Speed[3],Round_Speed;
GetPlayerSpeed(GetPlayerVehicleID(p), Speed[0], Speed[1], Speed[2]);
Round_Speed = floatround(floatsqroot(Speed[0] * Speed[0] + Speed[1] * Speed[1] + Speed[2] * Speed[2]) * 170.00);
Reply
#17

Quote:
Originally Posted by giorgosdim12
View Post
Nice

Use GetVehicleVelocity for get speed to car for fix your anti-speed hack.

Code:
 if(IsPlayerInAnyVehicle(playerid))
        {
            new Float:Speed[3],Round_Speed;
			GetVehicleVelocity(GetPlayerVehicleID(p), Speed[0], Speed[1], Speed[2]);
			Round_Speed = floatround(floatsqroot(Speed[0] * Speed[0] + Speed[1] * Speed[1] + Speed[2] * Speed[2]) * 170.00);
            if(Round_Speed > 290)
            {
                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 Speed Hack!!!","Ok","");
                BanEx(playerid, "Speed Hack");
            }
   		}
or use #define GetPlayerSpeed GetVehicleVelocity and use
Code:
new Float:Speed[3],Round_Speed;
GetPlayerSpeed(GetPlayerVehicleID(p), Speed[0], Speed[1], Speed[2]);
Round_Speed = floatround(floatsqroot(Speed[0] * Speed[0] + Speed[1] * Speed[1] + Speed[2] * Speed[2]) * 170.00);
I already fix speed hack in update 2.0,but thx suggestion.
Reply
#18

Its Simple And Nice Good Work And Keep It Up
Reply
#19

Any anti DDOS script around here? just asking
Reply
#20

Quote:
Originally Posted by Konverse
View Post
Any anti DDOS script around here? just asking
no one
Reply


Forum Jump:


Users browsing this thread: 6 Guest(s)