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



M\'s Anti Cheat - Fancy - 30.07.2015

M\'s Anti Cheat

Features

Anti vehicle hack (for Rhino,Hunter and Hydra)

Anti health hack

Anti weapon hack (for RPG,Minigun,Rocked Launcher)

Download
Solidfiles



Re: M\'s Anti Cheat - RedLabel - 30.07.2015

Thanks, looking good FS, gone test it and maybe use it.


Re: M\'s Anti Cheat - Jakwob - 30.07.2015

Nice work mate


Respuesta: M\'s Anti Cheat - Johansitho - 30.07.2015

Could you see more features added to this Anti -Cheat . But good work.


Re: M\'s Anti Cheat - MBilal - 30.07.2015

You need to make it better in your anti cheat nobudy can use Hunter / Hydra /


Also they cant use weapon 35/36/38

you need to improve it what if any admin want to make event ! ? and he give all players Weapon 35 all got kicked.

Also you need to Fix the Anti Health hack what if two players in same team hit each other they dont lose health both got kicked for health hack?

Code:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
{
	new Float:Health;
	GetPlayerHealth(playerid, Health);
	if(Health == 100)
	{
			SendClientMessage(playerid, 0xFFFFFFFF, "You have been kicked (Reason: Health hack");
			SetTimerEx("KickPlayer", 1000, false, "i", playerid);
	}
	return 1;
}
this should be this

Code:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
{
	new Float:Health;
	if(GetPlayerTeam(issuerid) != GetPlayerTeam(playerid)}
	{
	GetPlayerHealth(playerid, Health);
	if(Health == 100)
	{
			SendClientMessage(playerid, 0xFFFFFFFF, "You have been kicked (Reason: Health hack");
			SetTimerEx("KickPlayer", 1000, false, "i", playerid);
	}
	}
	return 1;
}
I know its basic Anti Cheat .


Nice work.


Re: M\'s Anti Cheat - Fancy - 30.07.2015

Quote:
Originally Posted by MBilal
View Post
You need to make it better in your anti cheat nobudy can use Hunter / Hydra /


Also they cant use weapon 35/36/38

you need to improve it what if any admin want to make event ! ? and he give all players Weapon 35 all got kicked.

Also you need to Fix the Anti Vehicle Health hack what if two players in same team hit each other they dont lose health both got kicked for health hack?

Code:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
{
	new Float:Health;
	GetPlayerHealth(playerid, Health);
	if(Health == 100)
	{
			SendClientMessage(playerid, 0xFFFFFFFF, "You have been kicked (Reason: Health hack");
			SetTimerEx("KickPlayer", 1000, false, "i", playerid);
	}
	return 1;
}
this should be this

Code:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
{
	new Float:Health;
	if(GetPlayerTeam(issuerid) != GetPlayerTeam(playerid)}
	{
	GetPlayerHealth(playerid, Health);
	if(Health == 100)
	{
			SendClientMessage(playerid, 0xFFFFFFFF, "You have been kicked (Reason: Health hack");
			SetTimerEx("KickPlayer", 1000, false, "i", playerid);
	}
	}
	return 1;
}
I know its basic Anti Cheat .


Nice work.
In many scripts they dont use team function so..

And admin don\'t use forbidden thing for break rules.


Note:I am not a noob you know?I can make it like your way,its really easy for me but i make it simple if anyone need it


but thanks


Re: M\'s Anti Cheat - dominik523 - 30.07.2015

Well, this is not an anti vehicle hack script because what if someone wants to use a rhino which is spawned by the server? They would get kicked.

Oh, and this won\'t work:
pawn Code:
if(GetPlayerVehicleID(playerid) == 520 || GetPlayerVehicleID(playerid) == 432 || GetPlayerVehicleID(playerid) == 425)
Checking if vehicle\'s ID is 520 instead of checking the model ID won\'t work well.

I can see that you\'ve just started to script (I assume by your number of posts) and you wanted to make a script someone might use but next time you should check how others created something that you wanted to make.


Re: M\'s Anti Cheat - Abagail - 31.07.2015

Not very accurate at all. As other have suggested, looking at other scripts & finding methods that are proven are way better than using something that may work and also may not.


You also should test your work before releasing - clearly it has some crucial mistakes to the point it clearly hasn\'t been tested.


Re: M\'s Anti Cheat - Fancy - 31.07.2015

I make my own meathods and i will not copy others to become a weak scripter.

But thanks for advise.