SA-MP Forums Archive
ANTI-CJ-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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: ANTI-CJ-cheat (/showthread.php?tid=155951)



ANTI-CJ-cheat - JernejL - 20.06.2010

You all probably noticed this new trick cheaters use - ingame it looks like the cheaters are using a CJ skin, and they may bypass a lot of your anticheat with this.

Their whole trick is basically "spawning without sending onplayerspawn callback", a lot of scripts use onplayerspawn callback to start / stop anticheat for spawned player ids, you can easily desync these cases in onplayerupdate and make their cheat tool worthless, also it might be possible to check for (GetPlayerSkin(PlayerID) == 0), but cheaters might make another workaround for that, so i suggest just a total desync and make them go "what the hell this isn't working" and give up using this cheat.

Quote:

// example pseudo-code

OnPlayerUpdate(PlayerID)
{
if (onplayerspawn for PlayerID was never called after this player connected) {
return 0;
}
}




Re: ANTI-CJ-cheat - Hiddos - 20.06.2010

Never though about something like this.

Thanks for sharing the tip!


Re: ANTI-CJ-cheat - DJDhan - 20.06.2010

It is really astounding to see upto what extent the cheaters will go to cheat.

Thanks RedShirt, I am editing things right now.