25.11.2012, 20:34
A recent topic by wups about autoaiming was removed, I dont know why, but I guess it was people talked too much about the cheats and hacks, instead of ways how to detect and avoid them.
So this topic should be a discussion about ways to detect and ban certain hacks with pure scripting methods, so no external anti-cheat clients that players need to download or stuff like that. imo that stuff is just unrealistic, as noones gonna use it. Scripters should get good and elaborated ideas how to script their anticheat.
If this topic should get deleted again, please be kind and send me the reason, as I think that a topic like this is one of the most effective ways to face the raising number of hacks, without always begging the samp devs to "create sume anticheat".
Also avoid talking about the hacks themselves, if it is not neccessary. Hack reports should NOT contain a download link or how to use it ofc, but just describe how the hack works, and what it does, as exactly as possible.
Autoaiming
Ill start with a theory about detecting auto aim, that got deleted with the recent topic. I got no idea of how autoaiming really works, so please correct me if i assume anything wrong.
Autoaiming, or aim hacking automatically moves the players camera to target enemy players. It will of course move the camera (or the mouse) in straight lines, theres no reason why the software should move stuttery and in zig-zag lines. Im just still wondering if autoaim instantly moves the camera, so it jumps to the next target, or if it moves it with a certain speed.
So for some time we got the GetPlayerCameraFrontVector native to get the aiming vector (angles) of a player.
This can then be observed over a short time, like in OnPlayerUpdate, to see if it changes in straight, linear lines.
Sure human players can move their mouse in a straight line without any hacks, if they move fast or precise enough. So you shouldnt declare everyone as a hacker who does that. Its important to separate and weight: If a player turns 20° left straight, its nothing special, but if he turns around 180° with a fantastic speed, and without any stuttering or stops to directly target a player, it is a sure thing that this movement wasnt done by a human being.
Id like to elaborate my ideas of observing the aiming vector a bit, but would rather hear of my theroy is right, and autoaiming works this way, else it would be pointless to work out antihacks for non-existant hacks.
So this topic should be a discussion about ways to detect and ban certain hacks with pure scripting methods, so no external anti-cheat clients that players need to download or stuff like that. imo that stuff is just unrealistic, as noones gonna use it. Scripters should get good and elaborated ideas how to script their anticheat.
If this topic should get deleted again, please be kind and send me the reason, as I think that a topic like this is one of the most effective ways to face the raising number of hacks, without always begging the samp devs to "create sume anticheat".
Also avoid talking about the hacks themselves, if it is not neccessary. Hack reports should NOT contain a download link or how to use it ofc, but just describe how the hack works, and what it does, as exactly as possible.
Autoaiming
Ill start with a theory about detecting auto aim, that got deleted with the recent topic. I got no idea of how autoaiming really works, so please correct me if i assume anything wrong.
Autoaiming, or aim hacking automatically moves the players camera to target enemy players. It will of course move the camera (or the mouse) in straight lines, theres no reason why the software should move stuttery and in zig-zag lines. Im just still wondering if autoaim instantly moves the camera, so it jumps to the next target, or if it moves it with a certain speed.
So for some time we got the GetPlayerCameraFrontVector native to get the aiming vector (angles) of a player.
This can then be observed over a short time, like in OnPlayerUpdate, to see if it changes in straight, linear lines.
Sure human players can move their mouse in a straight line without any hacks, if they move fast or precise enough. So you shouldnt declare everyone as a hacker who does that. Its important to separate and weight: If a player turns 20° left straight, its nothing special, but if he turns around 180° with a fantastic speed, and without any stuttering or stops to directly target a player, it is a sure thing that this movement wasnt done by a human being.
Id like to elaborate my ideas of observing the aiming vector a bit, but would rather hear of my theroy is right, and autoaiming works this way, else it would be pointless to work out antihacks for non-existant hacks.