[Need Help] IP exception over a rangeban?
#1

Please read:
A hacker in my region was range banned from the server, which meant that i was affected aswell as i am unfortunately under his ISP and i'm in the same City. I had a talk with the scriptors and they don't think much can be done so i guess this is my last hope:

I really need some script that will allow my IP to be an exception over the rangeban, for example, my IP is allowed over the rangeban which is affected me and the hacker, which means i can still play the server and the hacker can't.

I got a reply last night when i asked for help, but this reply would not work:

PAWN Code:
public OnPlayerConnect(playerid){ new ip[16]; GetPlayerIp(playerid,ip,16); if(!strcmp(ip,"192.196.",false,) { if(strcmp(ip[8],"0.100",false,5)) if(strcmp(ip[8],"0.101",false,5)) if(strcmp(ip[8],"0.102",false,5)) Kick(playerid); }}

This is the response i got:
I've had a reply from a scripter: "this code would not work, specifically because if you are banned, OnPlayerConnect cannot be executed by the client."

Is there a way to make an IP exception over a rangeban? or is there a way to permit traffic through your IP in the firewall?
Thanks for your help!
Reply
#2

Can anyone help me on this?
Reply
#3

Hmm i dont know how can I help you. I recommend you to use strdel in order to take a part of your IP but it will be exception for the hacker too.
Why dont you just unban his range of his IP?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)