I need to ban the entire country of Romania (89.123.x.x). How to range ban?
#21

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

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%.
Reply
#23

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...
Reply
#24

use GeoIP
Reply
#25

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


Forum Jump:


Users browsing this thread: 1 Guest(s)