Resultados 1 a 10 de 27

Tópico: Muserver s8 Free

Hybrid View

  1. #1
    Membro richardj's Avatar
    Data de Ingresso
    Jul 2015
    Posts
    306
    Thanks Thanks Given 
    5
    Thanks Thanks Received 
    3
    Thanked in
    3 Posts
    Mencionado
    46 Post(s)
    tem ate da falecida F-team
    credito pro louis _!_ pra ele se divertir

    Se a administração não gostar que não coloquei os creditos de ninguém nem meu pode deletar o Topco
    Last edited by richardj; 23/09/2017 at 11:17 PM.

  2. #2
    Developer C++ louis's Avatar



    Data de Ingresso
    Apr 2016
    Posts
    1,681
    Thanks Thanks Given 
    39
    Thanks Thanks Received 
    814
    Thanked in
    67 Posts
    Mencionado
    499 Post(s)
    País
    Brazil
    Citação Originally Posted by richardj Ver Post
    tem ate da falecida F-team
    credito pro louis _!_ pra ele se divertir
    Obrigado oO

    Verdade, agora lembrei que você é o menino carente do skype
    Last edited by louis; 23/09/2017 at 11:17 PM.
    Meu canal no YouTube com vídeos sobre os sistemas que desenvolvo:
    [Somente membros podem ver os links. ]

  3. #3
    Membro richardj's Avatar
    Data de Ingresso
    Jul 2015
    Posts
    306
    Thanks Thanks Given 
    5
    Thanks Thanks Received 
    3
    Thanked in
    3 Posts
    Mencionado
    46 Post(s)
    Citação Originally Posted by louis Ver Post
    Obrigado oO

    Verdade, agora lembrei que você é o menino carente do skype
    é sim to carente de um ******* vai liberar
    Last edited by maniacoo; 24/09/2017 at 01:18 AM. Razão: Editado por conter palavrão

  4. #4
    Developer C++ louis's Avatar



    Data de Ingresso
    Apr 2016
    Posts
    1,681
    Thanks Thanks Given 
    39
    Thanks Thanks Received 
    814
    Thanked in
    67 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. ]

  5. #5
    Membro richardj's Avatar
    Data de Ingresso
    Jul 2015
    Posts
    306
    Thanks Thanks Given 
    5
    Thanks Thanks Received 
    3
    Thanked in
    3 Posts
    Mencionado
    46 Post(s)
    Citação Originally Posted by louis Ver Post
    ... 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);
        }
    pelo que vi quem fez foi o velton para a F-team

    e não ei não mudei pois estou aprendendo ainda algumas coisas que fiz foi na tentativa e erro ate dar certo

    Como eu ja falei no chat eu não babo o ovo de ninguem por ajuda o cara ajuda se quiser ou se for humilde
    Last edited by richardj; 23/09/2017 at 11:43 PM.

  6. #6
    Developer C++ louis's Avatar



    Data de Ingresso
    Apr 2016
    Posts
    1,681
    Thanks Thanks Given 
    39
    Thanks Thanks Received 
    814
    Thanked in
    67 Posts
    Mencionado
    499 Post(s)
    País
    Brazil
    Citação Originally Posted by richardj Ver Post
    pelo que vi quem fez foi o velton para a F-team

    e não ei não mudei pois estou aprendendo ainda algumas coisas que fiz foi na tentativa e erro ate dar certo
    Velton não faria essa gambiarra k, deve ter sido o cr4zy, depois vou postar uma source com esse código melhorado
    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