Range Ban?
#1

Hi all,someone know a good filterscript that i can range ban someone?
Reply
#2

Yes An Admin Script With A /rangeban Command And Urself An Admin,May Allow You To Do THis xD
Reply
#3

Range ban? What do you mean?
Reply
#4

The simple way:
/rcon login [password]
/rcon banip 127.0.*.*

Or the other way
Make your own script/use the search function/spend time looking through admin filterscripts
Reply
#5

Thanks
Reply
#6

** this is not made by me. I found it somewhere on the forums :P
pawn Код:
stock RangeBan(playerid)
{
  if(!IsPlayerConnected(playerid)) return 0;
  new total[16],ip[16], string[24];
  GetPlayerIp(playerid, ip, sizeof(ip));
  new cnt;
  for(new i=0;i<strlen(ip);i++)
  {
    if(ip[i] == '.') cnt++;
    if(cnt == 2)
    {
      i++;
      strdel(ip, i, strlen(ip));
      format(total,sizeof(total),"%s*.*",ip);
    }
  }
  format(string, sizeof(string),"banip %s",total);
  SendRconCommand(string);
  return 1;
}
Reply
#7

I believe a range ban Is a ban of the IP i think ***.***.**.11 (The * Is The Range Of The IP) Which does not change for dynamic IP's which is almost impossible to evade(ban evaders),Meaning a new Internet Provider can only allow them to re-connect to your server xD
Reply
#8

Quote:
Originally Posted by <Weponz>
Посмотреть сообщение
I believe a range ban Is a ban of the IP i think ***.***.**.11 (The * Is The Range Of The IP) Which does not change for dynamic IP's which is almost impossible to evade(ban evaders),Meaning a new Internet Provider can only allow them to re-connect to your server xD
I'm sorry, but you got it all backwards.
Would you do that, then you would ban almost everybody.
A rangeban looks like this: "127.0.*.*" or "127.0.0.*"
Would we do it your way, then we would ban EVERYONE who's IP ends with 11, except the ban evader. As the final (2) part(s) are the ones that change.
Reply
#9

Quote:
Originally Posted by [jS]Infinity
Посмотреть сообщение
I'm sorry, but you got it all backwards.
Would you do that, then you would ban almost everybody.
A rangeban looks like this: "127.0.*.*" or "127.0.0.*"
Would we do it your way, then we would ban EVERYONE who's IP ends with 11, except the ban evader. As the final (2) part(s) are the ones that change.
Yeh that makes more sence xD then that explains how someone with a static IP the 11 doesnt change and a range ban is fatal xD Also Explains how easy it is to evade with a dynamic IP xD
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)