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: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Anti cheat (
/showthread.php?tid=634026)
Anti cheat -
TurtleHermit - 11.05.2017
Hello everyone, in the past I've had used few anti-cheat systems that were released on this forums. Sadly the ones I used gave false accusations and didn't work well for me. The one I remember is called NexAc if I'm not mistaken.
My question is does anyone know a anti-cheat for teleport/airbreak hacking and maybe a anti-cheat for vehicle warping. I've searched the forum plenty of times, tested few scripts and I haven't had any luck. Thus I decided to go ahead and ask.
I would appreciate having a working anti cheat script against teleport/airbreak and vehicle warping. I rather not use a plugin, just scripts for these specific cheats. Thanks
Re: Anti cheat -
Abagail - 12.05.2017
Emmet released a pretty accurate airbreak detection include a while ago, which you can see
here. In terms of vehicle warping and manipulation, this requires the player to teleport into the vehicle as driver briefly to set vehicle data. You can do something like this to try to detect that:
- Set a flag in OnPlayerEnterVehicle and PutPlayerInVehicle (hook it) to true.
- Check if the flag is true in OnPlayerStateChange, if not: the player is potentially hacking. Add further checks.
Re: Anti cheat -
JaKe Elite - 12.05.2017
JernejL has a tutorial regarding about vehicle wrapping, it can be found
here.
Lorenc has posted an optimized version of it in another page of the same thread, try it out yourself.
Re: Anti cheat -
TurtleHermit - 12.05.2017
Awesome, going to try them both out. Thanks!
Re: Anti cheat -
zedshadowzw - 12.05.2017
There has to be new anti-cheat systems that are alot more better than ur current one