Range Ban? - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Range Ban? (
/showthread.php?tid=179714)
Range Ban? -
Face9000 - 28.09.2010
Hi all,someone know a good filterscript that i can range ban someone?
Re: Range Ban? -
<Weponz> - 28.09.2010
Yes An Admin Script With A /rangeban Command And Urself An Admin,May Allow You To Do THis xD
Re: Range Ban? -
sekol - 28.09.2010
Range ban? What do you mean?
Re: Range Ban? -
iFriSki - 28.09.2010
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
Re: Range Ban? -
Face9000 - 28.09.2010
Thanks
Re: Range Ban? -
Seven. - 28.09.2010
** 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;
}
Re: Range Ban? -
<Weponz> - 28.09.2010
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
Re: Range Ban? -
Infinity - 28.09.2010
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.
Re: Range Ban? -
<Weponz> - 28.09.2010
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