SA-MP Forums Archive
Server Flood? Solution - 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: Server Flood? Solution (/showthread.php?tid=572402)



Server Flood? Solution - MarwanCartman - 27.04.2015

I have been reciving this floo since a a week which drops the playerbase from 60S TO 0 IN NO TIME.
All these attacks are sent from 255.255.255.255 ip which i believe is a part of the tcp network protocol. either the ip is hidden or something. i cant even ban the ip.





Re: Server Flood? Solution | REP ++ - Crystallize - 27.04.2015

https://sampforum.blast.hk/showthread.php?tid=551128
Here mate use this


Re: Server Flood? Solution | REP ++ - Jake187 - 28.04.2015

You're getting flooded with spoofed IP addresses due to a exploit in the networking on SA-MP 0.3z the problem is fixed on 0.3.7 or a temp fix is using the plugin as provided but it doesn't provide a hundred percent effectiveness anymore as it seems because I was using the plugin and still having spoofed IPs attacking so I moved over to 0.3.7.


Re: Server Flood? Solution | REP ++ - Evocator - 28.04.2015

The above solutions are useless, youre getting these bots joining your server, therefor OnPlayerConnect is called.
All you need is this (which i use): https://sampforum.blast.hk/showthread.php?tid=320649
Include it, then add

Код:
public OnPlayerFloodControl(playerid, iCount, iTimeSpan) {
	if(iCount > 2 && iTimeSpan < 8000) {
		Ban(playerid);
	}
}
in your gamemode code, and you're safe.


Re : Re: Server Flood? Solution | REP ++ - davidpolak59 - 28.04.2015

Quote:
Originally Posted by Wizzard2H
Посмотреть сообщение
It's pretty hard to get your own version but this actually fixed the problem for now