Someone is attacking! - 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)
+--- Thread: Someone is attacking! (
/showthread.php?tid=365257)
Someone is attacking! -
fuem1907 - 02.08.2012
Hello there, someone is attacking to my server so badly, I don't know how to explain this but I'll try, not perfect with english language, so sorry.
Let's say 70 users are online, and we've a guy that gonna attack. When he starts attacking it says those whole 70 players are killing that attacker guy non-stop. It keeps happening, like he gets killed 5155151 times in a second. Which makes huge lag to my server. What to do? Check the pictures.
Re: Someone is attacking! -
tyler12 - 02.08.2012
ban him.
Re: Someone is attacking! -
fuem1907 - 02.08.2012
Already banned, but he keeps restarting his modem and coming back, what If I b offline?
Re: Someone is attacking! -
BaubaS - 02.08.2012
range ban. (search)
Re: Someone is attacking! -
Sig Hansen - 02.08.2012
Go Fast Permant Ban or Try IpBan or just shutdown the server.
Re: Someone is attacking! -
fuem1907 - 02.08.2012
whats this :S:S
Re: Someone is attacking! -
Sig Hansen - 02.08.2012
? Well if you have volt-host go to your cpanel and shut your server down.. If you are ADMIN permant ban him or ipban
Re: Someone is attacking! -
fuem1907 - 02.08.2012
I'm looking for a solution to block these attacks, ofc I know how to shut down the server, point is not to shut it down.
Re: Someone is attacking! -
Misiur - 02.08.2012
I didn't check, but this might help:
pawn Код:
public OnPlayerDeath(playerid, killerid, reason) {
static last_death_time[MAX_PLAYERS];
new t = gettime();
if(t == last_death_time[playerid]) {
print("Second death in same second, suspicious");
Ban(playerid);
} else last_death_time[playerid] = t;
return 1;
}