Banned and still can play
#1

This is so cool, I use Ban(playerid); on a traitor on my server and he keeps coming back with THE SAME IP. I've used /banip and his IP is on my samp.ban THREE TIMES. Sometimes he uses other name in other I.P. Address and if I ban him he will just come back. How do I punish this mofo?
Reply
#2

At first you highlighted "THE SAME IP". And then I saw "he uses other name in other I.P Address". That makes clear that the player is ban evading by changing IP address. You could range ban the player's IP address and try.
Reply
#3

Sometimes
______________
How do I range ban lol sorry for noobness
Reply
#4

Quote:
Originally Posted by TheSimpleGuy
Посмотреть сообщение
Sometimes
______________
How do I range ban lol sorry for noobness
Usualy Range ban works easly by cmd /rban but i dunno if u have that


Im using dcmd so this is the cmd for me:

PHP код:
dcmd_rban(playerid,params[])
{
    if(
AccInfo[playerid][LoggedIn] == 1)
    {
        if(
AccInfo[playerid][Level] >= 4)
        {
            new 
ip[128], Index;
            new 
tmp[256];  tmp  strtok(params,Index);
            new 
tmp2[256]; tmp2 strtok(params,Index);
            
            if(!
strlen(params)) return
            
SendClientMessage(playeridLIGHTBLUE2"Usage: /rban [PlayerID] [Reason]") &&
            
SendClientMessage(playeridorange"Function: Will Range Ban the specified player");
            if(!
strlen(tmp2)) return
            
SendClientMessage(playeridred"ERROR: Reason unspecified!");
            new 
player1;
            new 
string[128];
            new 
playername[MAX_PLAYER_NAME];
             new 
adminname [MAX_PLAYER_NAME];
            
player1 strval(tmp);
             if(
IsPlayerConnected(player1) && player1 != INVALID_PLAYER_ID && player1 != playerid && (AccInfo[player1][Level] != ServerInfo[MaxAdminLevel]))
             {
                
GetPlayerName(player1playernamesizeof(playername));
                
GetPlayerName(playeridadminnamesizeof(adminname));
                new 
year,month,daygetdate(yearmonthday);
                new 
hour,minuite,secondgettime(hour,minuite,second);
                
SendCommandToAdmins(playerid,"RBan");
                
format(string,sizeof(string),"|- %s has been Range Banned by Administrator %s | Reason: %s [Date: %d/%d/%d] [Time: %d:%d] -|",playername,adminname,params[2],day,month,year,hour,minuite);
                
SendClientMessageToAll(lightred,string);
                new 
str[128];
                
format(str,sizeof(str),"%s has been Range Banned by Administrator %s | Reason: %s",playername,adminname,params[2]);
                
SaveIn("BanLog",str);
                print(string);
                if(
udb_Exists(PlayerName2(player1)) && AccInfo[player1][LoggedIn] == 1)
                
dUserSetINT(PlayerName2(player1)).("Banned",1);
                
GetPlayerIp(player1,ip,sizeof(ip));
                
strdel(ip,strlen(ip)-2,strlen(ip));
                
format(ip,128,"%s**",ip);
                
format(ip,128,"banip %s",ip);
                
SendRconCommand(ip);
                return 
1;
            }
            else return 
ErrorMessages(playerid3);
        }
        else return 
ErrorMessages(playerid1);
    }
    else return 
SendClientMessage(playerid,red,"ERROR: You must be logged in to use this commands");

Reply
#5

Hmm, let me examine the script. Anyways, thanks!
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)