Anti Throwing Players
#1

Hi. Recently i saw a cheater who can throw any player in random directions, also with vehicles. What's the name of that cheat? How can I make an anticheat to block it?
Reply
#2

Search for 'anti vehicle warp hack'.
Reply
#3

I added already this anti car warp:

Код HTML:
public OnPlayerStateChange(playerid, newstate, oldstate) {
	#if defined DEBUG
	    printf("[debug] OnPlayerStateChange(%d, %d, %d)", playerid, newstate, oldstate);
	#endif
	if( newstate == PLAYER_STATE_DRIVER && PlayerData[playerid][pAdminLevel] == 0 )
    {
        if( GetPlayerVehicleID( playerid ) != p_CarWarpVehicleID[ playerid ] )
        {
	        if( p_CarWarpTime[ playerid ] > gettime( ) )
	        {
				format(string128, sizeof(string128),"[AdmBot]{FFFFFF} %s(%d) has been kicked for car warping.", PlayerData[playerid][pNormalName], playerid );
	        	SendClientMessageToAll(COLOR_LIGHTRED, string128);
				KickEx(playerid);
	            return 1;
	        }
	        p_CarWarpTime[ playerid ] = gettime( ) + 1;
	        p_CarWarpVehicleID[ playerid ] = GetPlayerVehicleID( playerid );
		}
    }
    return 1;
}
How can I make one for anti throwing players?
Reply
#4

You'd need to test the hack out yourself and see what exactly it does to throw the players.. I've seen so many different sort of hacks so I can't help - but I recommend setting loads of debugs up and try using the hacks yourself to try and find some sort of pattern/rythym to auto block.

Do any of the latest anti-cheat plugins have this feature? Go and take a look, and see how they've done it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)