SA-MP Forums Archive
another bot attack - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: another bot attack (/showthread.php?tid=80364)



another bot attack - Etthan - 04.06.2009

hi guys can anyone make me simple filter script some cunt keeps flooding server with bots ladadmin dont do shit the anti bot system on it
here is screen shot of rcon wen got flooded





Re: another bot attack - Correlli - 04.06.2009

Make a check at OnPlayerConnect for 255.255.255.255 ip so if someone has that ip, he'll get kicked.


Re: another bot attack - Etthan - 04.06.2009

wot do i pop it in gm ?


Re: another bot attack - Correlli - 04.06.2009

pawn Код:
stock PlayerIp(playerid)
{
new ip[16];
GetPlayerIp(playerid, ip, sizeof(ip));
return ip;
}

public OnPlayerConnect(playerid)
{
if(strcmp(PlayerIp(playerid), "255.255.255.255") == 0) Kick(playerid);
return 1;
}



Re: another bot attack - HuRRiCaNe - 04.06.2009

like a range kick