SA-MP Forums Archive
MUltiple-IPs connect - 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: MUltiple-IPs connect (/showthread.php?tid=348509)



MUltiple-IPs connect - RaulSTARs - 05.06.2012

Hello , How Can I block someone to connect with many IP, like a flooder , max. 2-3 IP's.

I searched everywhere .... but I don't find something good.


Re: MUltiple-IPs connect - TheArcher - 05.06.2012

https://sampforum.blast.hk/showthread.php?tid=321533


Re: MUltiple-IPs connect - Roperr - 05.06.2012

Quote:
Originally Posted by TheArcher
Посмотреть сообщение
Yes, use the include I have made. Not only does it prevent multiple connections from one IP, it also protects you from bot attacks

In the include the default max connections is 3, you can change it by changing this:
from
#define IP_LIMIT 3 // = This would mean 3 people can connect from same IP
to
#define IP_LIMIT 2 // = This would mean 2 people can connect from same IP