Resultados 1 a 10 de 27

Tópico: Muserver s8 Free

Threaded View

  1. #10
    Developer C++ louis's Avatar



    Data de Ingresso
    Apr 2016
    Posts
    1,681
    Thanks Thanks Given 
    40
    Thanks Thanks Received 
    877
    Thanked in
    68 Posts
    Mencionado
    499 Post(s)
    País
    Brazil
    Citação Originally Posted by richardj Ver Post
    é sim to carente de um ******** vai liberar
    ... A hora que quiser gato ^^

    sobre o sistema de premiação nas patentes, você modificou ou deixou como estava na source da fteam?

    Por que do jeito que estava fixo, não tem como desabilitar ou alterar, sempre será esse valor. Não sei pq quem fez não usou o CustomRankUser.txt para criar um sistema de premiação flexivel. Muita coisa desnecessária.

    Código:
        if(lpObj->Reset == 51)
        {
            // aqui
            int type;
            int value;
            type = 1;
            value = 2;
            char name[11] = {0};
            this->GetString(lpObj->Name,name,sizeof(name),0);
            LPOBJ lpTarget = gObjFind(name);
            SDHP_COMMAND_COIN_RESET pMsg;
            pMsg.header.set(0x0F,0x05,sizeof(pMsg));
            pMsg.index = lpObj->Index;
            memcpy(pMsg.account,lpTarget->Account,sizeof(pMsg.account));
            pMsg.Type  = type;
            pMsg.Value = value;
    
            gDataServerConnection.DataSend((BYTE*)&pMsg,pMsg.header.size);
        gNotice.GCNoticeSendToAll(0,0,0,0,0,0,gMessage.GetMessage(764),lpObj->Name);
        gNotice.GCNoticeSend(lpObj->Index,1,0,0,0,0,0,gMessage.GetMessage(743),lpObj->Name);
        }
    
        if(lpObj->Reset == 101)
        {
                    // aqui
            int type;
            int value;
            type = 1;
            value = 4;
            char name[11] = {0};
            this->GetString(lpObj->Name,name,sizeof(name),0);
            LPOBJ lpTarget = gObjFind(name);
            SDHP_COMMAND_COIN_RESET pMsg;
            pMsg.header.set(0x0F,0x05,sizeof(pMsg));
            pMsg.index = lpObj->Index;
            memcpy(pMsg.account,lpTarget->Account,sizeof(pMsg.account));
            pMsg.Type  = type;
            pMsg.Value = value;
    
            gDataServerConnection.DataSend((BYTE*)&pMsg,pMsg.header.size);
            gNotice.GCNoticeSendToAll(0,0,0,0,0,0,gMessage.GetMessage(765),lpObj->Name);
        gNotice.GCNoticeSend(lpObj->Index,1,0,0,0,0,0,gMessage.GetMessage(744),lpObj->Name);
        }
    
        if(lpObj->Reset == 151)
        {
                    // aqui
            int type;
            int value;
            type = 1;
            value = 6;
            char name[11] = {0};
            this->GetString(lpObj->Name,name,sizeof(name),0);
            LPOBJ lpTarget = gObjFind(name);
            SDHP_COMMAND_COIN_RESET pMsg;
            pMsg.header.set(0x0F,0x05,sizeof(pMsg));
            pMsg.index = lpObj->Index;
            memcpy(pMsg.account,lpTarget->Account,sizeof(pMsg.account));
            pMsg.Type  = type;
            pMsg.Value = value;
    
            gDataServerConnection.DataSend((BYTE*)&pMsg,pMsg.header.size);
            gNotice.GCNoticeSendToAll(0,0,0,0,0,0,gMessage.GetMessage(766),lpObj->Name);
        gNotice.GCNoticeSend(lpObj->Index,1,0,0,0,0,0,gMessage.GetMessage(745),lpObj->Name);
        }
    
        if(lpObj->Reset == 201)
        {
                    // aqui
            int type;
            int value;
            type = 1;
            value = 8;
            char name[11] = {0};
            this->GetString(lpObj->Name,name,sizeof(name),0);
            LPOBJ lpTarget = gObjFind(name);
            SDHP_COMMAND_COIN_RESET pMsg;
            pMsg.header.set(0x0F,0x05,sizeof(pMsg));
            pMsg.index = lpObj->Index;
            memcpy(pMsg.account,lpTarget->Account,sizeof(pMsg.account));
            pMsg.Type  = type;
            pMsg.Value = value;
    
            gDataServerConnection.DataSend((BYTE*)&pMsg,pMsg.header.size);
            gNotice.GCNoticeSendToAll(0,0,0,0,0,0,gMessage.GetMessage(767),lpObj->Name);
        gNotice.GCNoticeSend(lpObj->Index,1,0,0,0,0,0,gMessage.GetMessage(746),lpObj->Name);
        }
    
        if(lpObj->Reset == 251)
        {
                    // aqui
            int type;
            int value;
            type = 1;
            value = 10;
            char name[11] = {0};
            this->GetString(lpObj->Name,name,sizeof(name),0);
            LPOBJ lpTarget = gObjFind(name);
            SDHP_COMMAND_COIN_RESET pMsg;
            pMsg.header.set(0x0F,0x05,sizeof(pMsg));
            pMsg.index = lpObj->Index;
            memcpy(pMsg.account,lpTarget->Account,sizeof(pMsg.account));
            pMsg.Type  = type;
            pMsg.Value = value;
    
            gDataServerConnection.DataSend((BYTE*)&pMsg,pMsg.header.size);
            gNotice.GCNoticeSendToAll(0,0,0,0,0,0,gMessage.GetMessage(768),lpObj->Name);
        gNotice.GCNoticeSend(lpObj->Index,1,0,0,0,0,0,gMessage.GetMessage(747),lpObj->Name);
        }
    
        if(lpObj->Reset == 301)
        {
                    // aqui
            int type;
            int value;
            type = 1;
            value = 12;
            char name[11] = {0};
            this->GetString(lpObj->Name,name,sizeof(name),0);
            LPOBJ lpTarget = gObjFind(name);
            SDHP_COMMAND_COIN_RESET pMsg;
            pMsg.header.set(0x0F,0x05,sizeof(pMsg));
            pMsg.index = lpObj->Index;
            memcpy(pMsg.account,lpTarget->Account,sizeof(pMsg.account));
            pMsg.Type  = type;
            pMsg.Value = value;
    
            gDataServerConnection.DataSend((BYTE*)&pMsg,pMsg.header.size);
            gNotice.GCNoticeSendToAll(0,0,0,0,0,0,gMessage.GetMessage(769),lpObj->Name);
        gNotice.GCNoticeSend(lpObj->Index,1,0,0,0,0,0,gMessage.GetMessage(748),lpObj->Name);
        }
    
        if(lpObj->Reset == 351)
        {
                    // aqui
            int type;
            int value;
            type = 1;
            value = 14;
            char name[11] = {0};
            this->GetString(lpObj->Name,name,sizeof(name),0);
            LPOBJ lpTarget = gObjFind(name);
            SDHP_COMMAND_COIN_RESET pMsg;
            pMsg.header.set(0x0F,0x05,sizeof(pMsg));
            pMsg.index = lpObj->Index;
            memcpy(pMsg.account,lpTarget->Account,sizeof(pMsg.account));
            pMsg.Type  = type;
            pMsg.Value = value;
    
            gDataServerConnection.DataSend((BYTE*)&pMsg,pMsg.header.size);
            gNotice.GCNoticeSendToAll(0,0,0,0,0,0,gMessage.GetMessage(770),lpObj->Name);
        gNotice.GCNoticeSend(lpObj->Index,1,0,0,0,0,0,gMessage.GetMessage(749),lpObj->Name);
        }
    
        if(lpObj->Reset == 401)
        {
                    // aqui
            int type;
            int value;
            type = 1;
            value = 16;
            char name[11] = {0};
            this->GetString(lpObj->Name,name,sizeof(name),0);
            LPOBJ lpTarget = gObjFind(name);
            SDHP_COMMAND_COIN_RESET pMsg;
            pMsg.header.set(0x0F,0x05,sizeof(pMsg));
            pMsg.index = lpObj->Index;
            memcpy(pMsg.account,lpTarget->Account,sizeof(pMsg.account));
            pMsg.Type  = type;
            pMsg.Value = value;
    
            gDataServerConnection.DataSend((BYTE*)&pMsg,pMsg.header.size);
            gNotice.GCNoticeSendToAll(0,0,0,0,0,0,gMessage.GetMessage(771),lpObj->Name);
        gNotice.GCNoticeSend(lpObj->Index,1,0,0,0,0,0,gMessage.GetMessage(750),lpObj->Name);
        }
        
        if(lpObj->Reset == 451)
        {
                    // aqui
            int type;
            int value;
            type = 1;
            value = 18;
            char name[11] = {0};
            this->GetString(lpObj->Name,name,sizeof(name),0);
            LPOBJ lpTarget = gObjFind(name);
            SDHP_COMMAND_COIN_RESET pMsg;
            pMsg.header.set(0x0F,0x05,sizeof(pMsg));
            pMsg.index = lpObj->Index;
            memcpy(pMsg.account,lpTarget->Account,sizeof(pMsg.account));
            pMsg.Type  = type;
            pMsg.Value = value;
    
            gDataServerConnection.DataSend((BYTE*)&pMsg,pMsg.header.size);
            gNotice.GCNoticeSendToAll(0,0,0,0,0,0,gMessage.GetMessage(772),lpObj->Name);
        gNotice.GCNoticeSend(lpObj->Index,1,0,0,0,0,0,gMessage.GetMessage(751),lpObj->Name);
        }
        
        if(lpObj->Reset == 501)
        {
                    // aqui
            int type;
            int value;
            type = 1;
            value = 20;
            char name[11] = {0};
            this->GetString(lpObj->Name,name,sizeof(name),0);
            LPOBJ lpTarget = gObjFind(name);
            SDHP_COMMAND_COIN_RESET pMsg;
            pMsg.header.set(0x0F,0x05,sizeof(pMsg));
            pMsg.index = lpObj->Index;
            memcpy(pMsg.account,lpTarget->Account,sizeof(pMsg.account));
            pMsg.Type  = type;
            pMsg.Value = value;
    
            gDataServerConnection.DataSend((BYTE*)&pMsg,pMsg.header.size);
            gNotice.GCNoticeSendToAll(0,0,0,0,0,0,gMessage.GetMessage(773),lpObj->Name);
        gNotice.GCNoticeSend(lpObj->Index,1,0,0,0,0,0,gMessage.GetMessage(752),lpObj->Name);
        }
        
        if(lpObj->Reset == 551)
        {
                    // aqui
            int type;
            int value;
            type = 1;
            value = 22;
            char name[11] = {0};
            this->GetString(lpObj->Name,name,sizeof(name),0);
            LPOBJ lpTarget = gObjFind(name);
            SDHP_COMMAND_COIN_RESET pMsg;
            pMsg.header.set(0x0F,0x05,sizeof(pMsg));
            pMsg.index = lpObj->Index;
            memcpy(pMsg.account,lpTarget->Account,sizeof(pMsg.account));
            pMsg.Type  = type;
            pMsg.Value = value;
    
            gDataServerConnection.DataSend((BYTE*)&pMsg,pMsg.header.size);
            gNotice.GCNoticeSendToAll(0,0,0,0,0,0,gMessage.GetMessage(774),lpObj->Name);
        gNotice.GCNoticeSend(lpObj->Index,1,0,0,0,0,0,gMessage.GetMessage(753),lpObj->Name);
        }
        
        if(lpObj->Reset == 601)
        {
                    // aqui
            int type;
            int value;
            type = 1;
            value = 24;
            char name[11] = {0};
            this->GetString(lpObj->Name,name,sizeof(name),0);
            LPOBJ lpTarget = gObjFind(name);
            SDHP_COMMAND_COIN_RESET pMsg;
            pMsg.header.set(0x0F,0x05,sizeof(pMsg));
            pMsg.index = lpObj->Index;
            memcpy(pMsg.account,lpTarget->Account,sizeof(pMsg.account));
            pMsg.Type  = type;
            pMsg.Value = value;
    
            gDataServerConnection.DataSend((BYTE*)&pMsg,pMsg.header.size);
            gNotice.GCNoticeSendToAll(0,0,0,0,0,0,gMessage.GetMessage(775),lpObj->Name);
        gNotice.GCNoticeSend(lpObj->Index,1,0,0,0,0,0,gMessage.GetMessage(754),lpObj->Name);
        }
        
        if(lpObj->Reset == 651)
        {
                    // aqui
            int type;
            int value;
            type = 1;
            value = 26;
            char name[11] = {0};
            this->GetString(lpObj->Name,name,sizeof(name),0);
            LPOBJ lpTarget = gObjFind(name);
            SDHP_COMMAND_COIN_RESET pMsg;
            pMsg.header.set(0x0F,0x05,sizeof(pMsg));
            pMsg.index = lpObj->Index;
            memcpy(pMsg.account,lpTarget->Account,sizeof(pMsg.account));
            pMsg.Type  = type;
            pMsg.Value = value;
    
            gDataServerConnection.DataSend((BYTE*)&pMsg,pMsg.header.size);
            gNotice.GCNoticeSendToAll(0,0,0,0,0,0,gMessage.GetMessage(776),lpObj->Name);
        gNotice.GCNoticeSend(lpObj->Index,1,0,0,0,0,0,gMessage.GetMessage(755),lpObj->Name);
        }
        
        if(lpObj->Reset == 701)
        {
                    // aqui
            int type;
            int value;
            type = 1;
            value = 28;
            char name[11] = {0};
            this->GetString(lpObj->Name,name,sizeof(name),0);
            LPOBJ lpTarget = gObjFind(name);
            SDHP_COMMAND_COIN_RESET pMsg;
            pMsg.header.set(0x0F,0x05,sizeof(pMsg));
            pMsg.index = lpObj->Index;
            memcpy(pMsg.account,lpTarget->Account,sizeof(pMsg.account));
            pMsg.Type  = type;
            pMsg.Value = value;
    
            gDataServerConnection.DataSend((BYTE*)&pMsg,pMsg.header.size);
            gNotice.GCNoticeSendToAll(0,0,0,0,0,0,gMessage.GetMessage(777),lpObj->Name);
        gNotice.GCNoticeSend(lpObj->Index,1,0,0,0,0,0,gMessage.GetMessage(756),lpObj->Name);
        }
        
        if(lpObj->Reset == 751)
        {
                    // aqui
            int type;
            int value;
            type = 1;
            value = 30;
            char name[11] = {0};
            this->GetString(lpObj->Name,name,sizeof(name),0);
            LPOBJ lpTarget = gObjFind(name);
            SDHP_COMMAND_COIN_RESET pMsg;
            pMsg.header.set(0x0F,0x05,sizeof(pMsg));
            pMsg.index = lpObj->Index;
            memcpy(pMsg.account,lpTarget->Account,sizeof(pMsg.account));
            pMsg.Type  = type;
            pMsg.Value = value;
    
            gDataServerConnection.DataSend((BYTE*)&pMsg,pMsg.header.size);
            gNotice.GCNoticeSendToAll(0,0,0,0,0,0,gMessage.GetMessage(778),lpObj->Name);
        gNotice.GCNoticeSend(lpObj->Index,1,0,0,0,0,0,gMessage.GetMessage(757),lpObj->Name);
        }
        
        if(lpObj->Reset == 801)
        {
                    // aqui
            int type;
            int value;
            type = 1;
            value = 32;
            char name[11] = {0};
            this->GetString(lpObj->Name,name,sizeof(name),0);
            LPOBJ lpTarget = gObjFind(name);
            SDHP_COMMAND_COIN_RESET pMsg;
            pMsg.header.set(0x0F,0x05,sizeof(pMsg));
            pMsg.index = lpObj->Index;
            memcpy(pMsg.account,lpTarget->Account,sizeof(pMsg.account));
            pMsg.Type  = type;
            pMsg.Value = value;
    
            gDataServerConnection.DataSend((BYTE*)&pMsg,pMsg.header.size);
            gNotice.GCNoticeSendToAll(0,0,0,0,0,0,gMessage.GetMessage(779),lpObj->Name);
        gNotice.GCNoticeSend(lpObj->Index,1,0,0,0,0,0,gMessage.GetMessage(758),lpObj->Name);
        }
        
        if(lpObj->Reset == 851)
        {
                    // aqui
            int type;
            int value;
            type = 1;
            value = 34;
            char name[11] = {0};
            this->GetString(lpObj->Name,name,sizeof(name),0);
            LPOBJ lpTarget = gObjFind(name);
            SDHP_COMMAND_COIN_RESET pMsg;
            pMsg.header.set(0x0F,0x05,sizeof(pMsg));
            pMsg.index = lpObj->Index;
            memcpy(pMsg.account,lpTarget->Account,sizeof(pMsg.account));
            pMsg.Type  = type;
            pMsg.Value = value;
    
            gDataServerConnection.DataSend((BYTE*)&pMsg,pMsg.header.size);
            gNotice.GCNoticeSendToAll(0,0,0,0,0,0,gMessage.GetMessage(780),lpObj->Name);
        gNotice.GCNoticeSend(lpObj->Index,1,0,0,0,0,0,gMessage.GetMessage(759),lpObj->Name);
        }
            
        if(lpObj->Reset == 901)
        {
                    // aqui
            int type;
            int value;
            type = 1;
            value = 36;
            char name[11] = {0};
            this->GetString(lpObj->Name,name,sizeof(name),0);
            LPOBJ lpTarget = gObjFind(name);
            SDHP_COMMAND_COIN_RESET pMsg;
            pMsg.header.set(0x0F,0x05,sizeof(pMsg));
            pMsg.index = lpObj->Index;
            memcpy(pMsg.account,lpTarget->Account,sizeof(pMsg.account));
            pMsg.Type  = type;
            pMsg.Value = value;
    
            gDataServerConnection.DataSend((BYTE*)&pMsg,pMsg.header.size);
            gNotice.GCNoticeSendToAll(0,0,0,0,0,0,gMessage.GetMessage(781),lpObj->Name);
        gNotice.GCNoticeSend(lpObj->Index,1,0,0,0,0,0,gMessage.GetMessage(760),lpObj->Name);
        }
            
        if(lpObj->Reset == 951)
        {
                    // aqui
            int type;
            int value;
            type = 1;
            value = 38;
            char name[11] = {0};
            this->GetString(lpObj->Name,name,sizeof(name),0);
            LPOBJ lpTarget = gObjFind(name);
            SDHP_COMMAND_COIN_RESET pMsg;
            pMsg.header.set(0x0F,0x05,sizeof(pMsg));
            pMsg.index = lpObj->Index;
            memcpy(pMsg.account,lpTarget->Account,sizeof(pMsg.account));
            pMsg.Type  = type;
            pMsg.Value = value;
    
            gDataServerConnection.DataSend((BYTE*)&pMsg,pMsg.header.size);
            gNotice.GCNoticeSendToAll(0,0,0,0,0,0,gMessage.GetMessage(782),lpObj->Name);
        gNotice.GCNoticeSend(lpObj->Index,1,0,0,0,0,0,gMessage.GetMessage(761),lpObj->Name);
        }
            
        if(lpObj->Reset == 1001)
        {
                    // aqui
            int type;
            int value;
            type = 1;
            value = 40;
            char name[11] = {0};
            this->GetString(lpObj->Name,name,sizeof(name),0);
            LPOBJ lpTarget = gObjFind(name);
            SDHP_COMMAND_COIN_RESET pMsg;
            pMsg.header.set(0x0F,0x05,sizeof(pMsg));
            pMsg.index = lpObj->Index;
            memcpy(pMsg.account,lpTarget->Account,sizeof(pMsg.account));
            pMsg.Type  = type;
            pMsg.Value = value;
    
            gDataServerConnection.DataSend((BYTE*)&pMsg,pMsg.header.size);
            gNotice.GCNoticeSendToAll(0,0,0,0,0,0,gMessage.GetMessage(783),lpObj->Name);
        gNotice.GCNoticeSend(lpObj->Index,1,0,0,0,0,0,gMessage.GetMessage(762),lpObj->Name);
        }
            
        if(lpObj->Reset == 1101)
        {
                    // aqui
            int type;
            int value;
            type = 1;
            value = 45;
            char name[11] = {0};
            this->GetString(lpObj->Name,name,sizeof(name),0);
            LPOBJ lpTarget = gObjFind(name);
            SDHP_COMMAND_COIN_RESET pMsg;
            pMsg.header.set(0x0F,0x05,sizeof(pMsg));
            pMsg.index = lpObj->Index;
            memcpy(pMsg.account,lpTarget->Account,sizeof(pMsg.account));
            pMsg.Type  = type;
            pMsg.Value = value;
    
            gDataServerConnection.DataSend((BYTE*)&pMsg,pMsg.header.size);
            gNotice.GCNoticeSendToAll(0,0,0,0,0,0,gMessage.GetMessage(784),lpObj->Name);
        gNotice.GCNoticeSend(lpObj->Index,1,0,0,0,0,0,gMessage.GetMessage(763),lpObj->Name);
        }
    Last edited by maniacoo; 24/09/2017 at 01:19 AM.
    Meu canal no YouTube com vídeos sobre os sistemas que desenvolvo:
    [Somente membros podem ver os links. ]

Tags para este Tópico

Permissões de Postagem

  • Você não pode iniciar novos tópicos
  • You may not post Resposta(s)
  • Você não pode enviar anexos
  • Você não pode editar suas mensagens
  •  
Sobre nós
Somos uma comunidade em atividade a 8 anos que aborda assuntos relacionados a games em geral, principalmente games MMORPG. e que busca sempre ajudar os membros através de conteúdos, tutoriais e suporte...
Nossos anunciantes
Hinetworks
VelozHost
InovHost
Rede Sociais