SA-MP Forums Archive
How to protect? - 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: How to protect? (/showthread.php?tid=639210)



How to protect? - ,TomY' - 13.08.2017

Hi all. I have problem with cheaters in my server.. I dont know how, but cheaters/hackers can spawn cars in server. They spawn all cars in one place and server starts lagging, drop fps in that place, where cars is spawned. How I can protect it?


Re: How to protect? - VVWVV - 13.08.2017

You should use Nex-AC.


Re: How to protect? - Vince - 13.08.2017

Cheaters cannot create new cars. These cars exist in the gamemode and they are usually "spawned" by the cheater illegitimately updating the positions. Try the example on this page: https://sampwiki.blast.hk/wiki/OnUnoccupiedVehicleUpdate


Re: How to protect? - ,TomY' - 13.08.2017

Quote:
Originally Posted by Vince
Посмотреть сообщение
Cheaters cannot create new cars. These cars exist in the gamemode and they are usually "spawned" by the cheater illegitimately updating the positions. Try the example on this page: https://sampwiki.blast.hk/wiki/OnUnoccupiedVehicleUpdate
Can you give more info, how I can use it? :S


Re: How to protect? - Beckett - 13.08.2017

Hackers use a third party modification to instantly enter the car and teleport it to their current location (hence the position actually syncs for other players). You can do a check if a player is entering several cars in less than 3 seconds then something wrong is surely going on.


Re: How to protect? - pabloalber84ban - 13.08.2017

Nex-AC can detect this cheat than you say, because hook all possible callback call or function call to detect the cheater.