SA-MP Forums Archive
Player Crasher Hack - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: Player Crasher Hack (/showthread.php?tid=528727)



Player Crasher Hack - NickRosso - 29.07.2014

Hello!

I do not know if it's the right thread to post this, but I did not find a better place for it.
The situation is the following:

In my server there is a guy who crahses players with some hack. I'd like to know what it is or how can I defend my server against it. There is no crash log, because the game freezes, and the exe must be stopped withd ctrl+alt+del.
It's happening within the streamer loading radius.


Re: Player Crasher Hack - therainycat - 02.08.2014

If you know who's that guy, log events he's pushing to your server (in callbacks, such as OnPlayerGiveDamage etc.) and log how his data changes by time (in OnPlayerUpdate). If you know exactly, which player does harm, log only his data (i suggest to write that log to separate file).

Here's example of data logging (I wrote it as "sandbox" gamemode for testing new cheats and crashers).
http://pastebin.com/QHf1wg5g


Re: Player Crasher Hack - alanhutch - 02.08.2014

I have the same problem! Help


Re: Player Crasher Hack - Battlezone - 02.08.2014

Same problem here...


Re: Player Crasher Hack - Vince - 03.08.2014

This is most likely related to fake weapon data. We had this problem a while ago on the Mini-Missions server. Basically checking if the weapon is 0 should keep out most idiots. Return 0 in OnPlayerWeaponShot and kick them. It's not entirely water proof; very rarely a false positive occurs during a changemode so I wouldn't advise banning straight away. Log file from that event: http://pastebin.com/p4cdL9JT