SA-MP Forums Archive
I need to ban the entire country of Romania (89.123.x.x). How to range ban? - 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: I need to ban the entire country of Romania (89.123.x.x). How to range ban? (/showthread.php?tid=442)

Pages: 1 2


Re: I need to ban the entire country of Romania (89.123.x.x). How to range ban? - Serbish - 06.01.2009

Quote:
Originally Posted by [DSK
Lazlow ]
Or ban the [RO] tag.
Maybe 0,01% uses [RO] tags.


I need to ban the entire country of Romania (89.123.x.x). How to range ban? - [NoV]LaZ - 06.01.2009

Quote:
Originally Posted by -=[Serbish
=- ]
Quote:
Originally Posted by [DSK
Lazlow ]
Or ban the [RO] tag.
Maybe 0,01% uses [RO] tags.
At least 60%.


Re: I need to ban the entire country of Romania (89.123.x.x). How to range ban? - SPAMisko - 07.01.2009

Quote:
Originally Posted by kaisersouse
I searched briefly and didnt find a how to. What would i put in my samp.ban file to ban the entire 89.123 network segment? 89.123.0.1-89.123.255.255 ?
Code:
public OnPlayerConnect(playerid)
{
  new IP[20];
  GetPlayerIp(playerid,IP,20);
  if (strfind(IP, "89.123", true) != -1)
  {
   Kick(playerid); // Ban(playerid);...
   return 1;
  }
  return 1;
}
it should work...


Re: I need to ban the entire country of Romania (89.123.x.x). How to range ban? - Vetle - 07.01.2009

use GeoIP


Re: I need to ban the entire country of Romania (89.123.x.x). How to range ban? - dugi - 07.01.2009

See the date of the first post, this thread has almost 2 years.