Simple Anticheat(Update 2.0) -
lanix - 09.04.2015
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
Re: Simple Anticheat -
opticork - 10.04.2015
Nice (:
Re : Simple Anticheat -
Smocky - 10.04.2015
Nice
Re: Simple Anticheat -
Dignity - 10.04.2015
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;
}
Re: Simple Anticheat -
lanix - 10.04.2015
Quote:
Originally Posted by Satori_Komeiji
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
Re: Re : Simple Anticheat -
lanix - 11.04.2015
thanks
Re: Simple Anticheat -
lanix - 11.04.2015
Quote:
Originally Posted by Smocky
Nice
|
Quote:
Originally Posted by opticork
Nice (:
|
Thanks
Re: Simple Anticheat -
Abagail - 11.04.2015
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.
Re: Simple Anticheat -
Flashhiee - 11.04.2015
Pastebin please.
Re: Simple Anticheat -
FernandoLight - 11.04.2015
lmao
Re: Simple Anticheat -
shadowstorm - 12.04.2015
Pastebin ?
Re: Simple Anticheat -
lanix - 17.04.2015
Quote:
Originally Posted by Flashhiee
Pastebin please.
|
http://pastebin.com/kZcTWKqn
Re: Simple Anticheat -
lanix - 17.04.2015
Quote:
Originally Posted by Abagail
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
Re: Simple Anticheat -
Toxik - 08.05.2015
guys.. damn ya .. just fking re edit the Script :3
hope you get it
Re: Simple Anticheat -
Garnet - 10.05.2015
#define GetPlayerSpeed??
Re: Simple Anticheat -
giorgosdim12 - 10.05.2015
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);
Re: Simple Anticheat -
lanix - 10.05.2015
Quote:
Originally Posted by giorgosdim12
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.
Re: Simple Anticheat -
CprYseeR - 10.05.2015
Its Simple And Nice Good Work And Keep It Up
Re: Simple Anticheat -
Konverse - 10.05.2015
Any anti DDOS script around here? just asking
Re: Simple Anticheat -
lanix - 11.05.2015
Quote:
Originally Posted by Konverse
Any anti DDOS script around here? just asking
|
no one