[FilterScript] 0.3z Aimbot Detection
#3

Quote:
Originally Posted by greentarch
Посмотреть сообщение
Well, nice try. I've tested it (video uploading). Results :
1) No false detections
2) Aimbot is NOT DETECTED at all.
Well, I did this in your script:
pawn Код:
stock CheckForAimbot(playerid, Float:X, Float:Y, Float:Z)
{
    new string[118], Float:pX, Float:pY, Float:pZ;
    GetPlayerPos(playerid, pX, pY, pZ);
    if(HasHit[playerid] && TimesShot[playerid] >= 1)
    {
        if(!DetectedForAimbot{playerid})
        {
            foreach(Player, i)
            {
                if(GetPlayerState(i) != PLAYER_STATE_SPECTATING && playerid != i)
                {
                    if(!IsPlayerInRangeOfPoint(i, 4, X, Y, Z) && IsPlayerInRangeOfPoint(i, 175, pX, pY, pZ))
                    {
                        format(string, sizeof(string), "WARNING: %s(%d) is possibly using aimbot. /spec %d and /atest %d to test him.", GetName(playerid), playerid, playerid, playerid);
                        SendClientMessageToAll(-1, string);
                        DetectedForAimbot{playerid} = true;
                    }
                }
            }
        }
    }
}
See that ClientMessageToAll?
(I'm not an aimbotter, I only used that aimbot to test this filterscript)

Keep working on it.
hm.. will check it out later.
About that ClientMessageToAll - Well, a message for admins would be better

EDIT;
I'm guessing that "if(!IsPlayerInRangeOfPoint(i, 4, X, Y, Z)" would be the problem..
Eh, will check it out later ( as said above ) xd
Reply


Messages In This Thread
0.3z Aimbot Detection - by Kyance - 24.06.2014, 06:02
Re: 0.3z Aimbot Detection - by greentarch - 24.06.2014, 06:30
Re: 0.3z Aimbot Detection - by Kyance - 24.06.2014, 06:43
Re: 0.3z Aimbot Detection - by greentarch - 24.06.2014, 06:47
Re: 0.3z Aimbot Detection - by Kyance - 24.06.2014, 06:54
Re: 0.3z Aimbot Detection - by greentarch - 24.06.2014, 06:57
Re: 0.3z Aimbot Detection - by Kyance - 24.06.2014, 09:32
Re: 0.3z Aimbot Detection - by Tamer - 24.06.2014, 09:48
Re: 0.3z Aimbot Detection - by DemME - 24.06.2014, 09:54
Re: 0.3z Aimbot Detection - by Kyance - 24.06.2014, 11:39

Forum Jump:


Users browsing this thread: 1 Guest(s)