Siga-nos em...
Follow us on Twitter Follow us on Facebook Watch us on YouTube
Registro

Alpha Servers
Página 1 de 3 123 ÚltimoÚltimo
Resultados 1 a 10 de 27
  1. #1

    Avatar de Maykon
    Data de Ingresso
    Apr 2014
    Localização
    Imperyus Games
    Idade
    30
    Posts
    124
    Agradecido
    302
    Agradeceu
    80
    Peso da Avaliação
    11

    Padrão Função player refresh

    Bom meu amigo antonio pediu pra mim fazer a postagem aqui

    STRUCTS:

    Código:
    struct PMSG_CHARMAPJOINRESULT
    {
    	// static data ------------------------------------
    
    	// non-static data --------------------------------
    	/*<thisrel this+0x0>*/ /*|0x3|*/ struct PBMSG_HEAD h;
    	/*<thisrel this+0x3>*/ /*|0x1|*/ unsigned char subcode;
    	/*<thisrel this+0x4>*/ /*|0x1|*/ unsigned char MapX;
    	/*<thisrel this+0x5>*/ /*|0x1|*/ unsigned char MapY;
    	/*<thisrel this+0x6>*/ /*|0x1|*/ unsigned char MapNumber;
    	/*<thisrel this+0x7>*/ /*|0x1|*/ unsigned char Dir;
    	/*<thisrel this+0x8>*/ /*|0x4|*/ unsigned long Exp;
    	/*<thisrel this+0xc>*/ /*|0x4|*/ unsigned long NextExp;
    	/*<thisrel this+0x10>*/ /*|0x2|*/ unsigned short LevelUpPoint;
    	/*<thisrel this+0x12>*/ /*|0x2|*/ unsigned short Str;
    	/*<thisrel this+0x14>*/ /*|0x2|*/ unsigned short Dex;
    	/*<thisrel this+0x16>*/ /*|0x2|*/ unsigned short Vit;
    	/*<thisrel this+0x18>*/ /*|0x2|*/ unsigned short Energy;
    	/*<thisrel this+0x1a>*/ /*|0x2|*/ unsigned short Life;
    	/*<thisrel this+0x1c>*/ /*|0x2|*/ unsigned short MaxLife;
    	/*<thisrel this+0x1e>*/ /*|0x2|*/ unsigned short Mana;
    	/*<thisrel this+0x20>*/ /*|0x2|*/ unsigned short MaxMana;
    	/*<thisrel this+0x22>*/ /*|0x2|*/ unsigned short BP;
    	/*<thisrel this+0x24>*/ /*|0x2|*/ unsigned short MaxBP;
    	/*<thisrel this+0x28>*/ /*|0x4|*/ int Money;
    	/*<thisrel this+0x2c>*/ /*|0x1|*/ unsigned char PkLevel;
    	/*<thisrel this+0x2d>*/ /*|0x1|*/ unsigned char CtlCode;
    	/*<thisrel this+0x2e>*/ /*|0x2|*/ short AddPoint;
    	/*<thisrel this+0x30>*/ /*|0x2|*/ short MaxAddPoint;
    
    	// base classes -----------------------------------
    
    	// friends ----------------------------------------
    
    	// static functions -------------------------------
    
    	// non-virtual functions --------------------------
    
    	// virtual functions ------------------------------
    };
    
    struct PMSG_CHARREGEN
    {
    	PBMSG_HEAD h;
    	char subcode;
    	char MapX;
    	char MapY;
    	char MapNumber;
    	char Dir;
    	unsigned short Life;
    	unsigned short Mana;
    	unsigned short BP;
    	unsigned int Exp;
    	unsigned int Money;
    };
    FUNÇÃO:

    Código:
    void Functions::PlayerRefresh(DWORD aIndex)
    {	
    	//------------------------------------------------------------
    	// CHAR MAP JOIN - SEND [CREATE]
    	//------------------------------------------------------------
    	PMSG_CHARMAPJOINRESULT lpMsg;
    	lpMsg.h.c = 0xC3;
    	lpMsg.h.head = 0xF3;
    	lpMsg.h.size = 0x33;
    	lpMsg.subcode = 0x03;
    	lpMsg.MapX = lpObj[aIndex].X;
    	lpMsg.MapY = lpObj[aIndex].Y;
    	lpMsg.MapNumber = lpObj[aIndex].MapNumber;
    	lpMsg.Dir = lpObj[aIndex].Dir;
    	lpMsg.Exp = lpObj[aIndex].Experience;
    	lpMsg.NextExp = lpObj[aIndex].NextExp;
    	lpMsg.LevelUpPoint = lpObj[aIndex].LevelUpPoints;
    	lpMsg.Str = lpObj[aIndex].Strength;
    	lpMsg.Dex = lpObj[aIndex].Dexterity;
    	lpMsg.Vit = lpObj[aIndex].Vitality;
    	lpMsg.Energy = lpObj[aIndex].Energy;
    	lpMsg.Money = lpObj[aIndex].Money;
    	lpMsg.PkLevel = lpObj[aIndex].PK_Level;
    	lpMsg.Life = (short)lpObj[aIndex].Life;
    	lpMsg.MaxLife = (short)((double)lpObj[aIndex].AddLife + lpObj[aIndex].MaxLife);
    	lpMsg.Mana = (short)lpObj[aIndex].Mana;
    	lpMsg.MaxMana = (short)((double)lpObj[aIndex].AddMana + lpObj[aIndex].MaxMana);
    	lpMsg.CtlCode = (short)lpObj[aIndex].Authority;
    	lpMsg.BP = lpObj[aIndex].BP;
    	lpMsg.MaxBP = lpObj[aIndex].AddBP + lpObj[aIndex].MaxBP;
    	DataSend(aIndex, &lpMsg.h.c, (DWORD)lpMsg.h.size);
    
    	//------------------------------------------------------------
    	// CHAR REGEN - SEND [DESTROY]
    	//------------------------------------------------------------
    	PMSG_CHARREGEN pMsg; 
    	pMsg.h.c = 0xC1;
    	pMsg.h.head = 0xF3;
    	pMsg.h.size = 0x24;
    	pMsg.subcode = 0x04;
    	pMsg.Dir = lpObj[aIndex].Dir;
    	pMsg.MapX = LOBYTE(lpObj[aIndex].X);
    	pMsg.MapY = LOBYTE(lpObj[aIndex].Y);
    	pMsg.Life = (float)lpObj[aIndex].Life;
    	pMsg.Mana = (float)lpObj[aIndex].Mana;
    	pMsg.Exp = lpObj[aIndex].Experience;
    	pMsg.MapNumber = lpObj[aIndex].MapNumber;
    	pMsg.Money = lpObj[aIndex].Money;
    	pMsg.BP = LOWORD(lpObj[aIndex].BP);
    	pObj[aIndex].PathCount = 0;
    	DataSend(aIndex, &pMsg.h.c, (DWORD)pMsg.h.size);
    
    	gObjTeleport(aIndex,lpObj[aIndex].MapNumber,lpObj[aIndex].X,lpObj[aIndex].Y);
    	GCItemListSend(aIndex);
    	CGRequestQuestInfo(aIndex); 
    	DGGuildMemberInfoRequest(aIndex);
    }
    DEFINES:

    Código:
    #define GCItemListSend				     ((void(*)(int aIndex))0x00411010)  
    #define CGRequestQuestInfo			     ((void(*)(int aIndex))0x0042A7C0)
    #define DGGuildMemberInfoRequest		     ((void(*)(int aIndex))0x0042C460)
    Créditos: antonio.fr
    Última edição por Maykon; 22-07-2015 às 04:42 PM.

  2. Os Seguintes 8 Usuários Agradeceram você Maykon Por este Post Útil:


  3. #2

    Avatar de Temido
    Data de Ingresso
    Jun 2014
    Localização
    Brasil
    Idade
    29
    Posts
    22
    Agradecido
    15
    Agradeceu
    9
    Peso da Avaliação
    0

    Padrão

    Otima Fonte Para Fazer Comandos Sem Relogar

  4. #3


    Avatar de WoLfulus
    Data de Ingresso
    Jan 2015
    Localização
    Brasil
    Idade
    32
    Posts
    231
    Agradecido
    636
    Agradeceu
    204
    Peso da Avaliação
    12

    Padrão

    engraçado, tem o msm nome que eu coloquei no fenris, se bem que no meu ta escrito certo lol
    mera coincidência imagino eu
    EAUIHEUAH
    Última edição por WoLfulus; 01-04-2015 às 11:44 PM.

  5. Os Seguintes 5 Usuários Agradeceram você WoLfulus Por este Post Útil:


  6. #4

    Avatar de gneccao
    Data de Ingresso
    Aug 2010
    Localização
    11111111111111111
    Idade
    33
    Posts
    55
    Agradecido
    23
    Agradeceu
    9
    Peso da Avaliação
    14

    Padrão

    reflesh, o que seria isso?

  7. #5

    Avatar de Maykon
    Data de Ingresso
    Apr 2014
    Localização
    Imperyus Games
    Idade
    30
    Posts
    124
    Agradecido
    302
    Agradeceu
    80
    Peso da Avaliação
    11

    Padrão

    Wolf o antonio não consegue postar então pediu pra mim ele perguntou
    se você quer créditos pelo nome incorreto dado por ele a função

  8. #6


    Avatar de WoLfulus
    Data de Ingresso
    Jan 2015
    Localização
    Brasil
    Idade
    32
    Posts
    231
    Agradecido
    636
    Agradeceu
    204
    Peso da Avaliação
    12

    Padrão

    Citação Postado originalmente por Maykon Ver Post
    Wolf o antonio não consegue postar então pediu pra mim ele perguntou
    se você quer créditos pelo nome incorreto dado por ele a função
    de boa... só fala pro antonio ficar esperto com quem ele compartilha as coisas dele
    aeuhaeuh

  9. O Seguinte Usuário Agradeceu WoLfulus Por este Post Útil:


  10. #7

    Avatar de Maykon
    Data de Ingresso
    Apr 2014
    Localização
    Imperyus Games
    Idade
    30
    Posts
    124
    Agradecido
    302
    Agradeceu
    80
    Peso da Avaliação
    11

    Padrão

    Ele não está compartilhando comigo só postei porque o mesmo pediu
    não sei porque tanta raiva só porque postei meu 97d a unica coisa que me ajudou
    foi na objectstruct que me passou a sua você viu eu postando ela na net

  11. O Seguinte Usuário Agradeceu Maykon Por este Post Útil:


  12. #8

    Avatar de Wendel S.
    Data de Ingresso
    Mar 2011
    Localização
    Salvador
    Posts
    202
    Agradecido
    183
    Agradeceu
    67
    Peso da Avaliação
    16

    Padrão

    Existem Programadores e "Programadores" =)
    Última edição por Wendel S.; 02-04-2015 às 07:11 PM. Razão: Professor de Português GoKuKa
    #Depois de Nois é Nois Dinovo
    Season 8 Hidden Content / Season 9 Hidden Content

  13. #9

    Avatar de Maykon
    Data de Ingresso
    Apr 2014
    Localização
    Imperyus Games
    Idade
    30
    Posts
    124
    Agradecido
    302
    Agradeceu
    80
    Peso da Avaliação
    11

    Padrão

    Tinha que aparecer o baba ovo foda viu

  14. O Seguinte Usuário Agradeceu Maykon Por este Post Útil:


  15. #10

    Avatar de gokuka
    Data de Ingresso
    Apr 2013
    Localização
    lelek lek lek
    Idade
    28
    Posts
    179
    Agradecido
    46
    Agradeceu
    30
    Peso da Avaliação
    12

    Padrão

    Existe Programadores e "Programadores" =)

    Existem Programadores e "Programadores" =)

  16. Os Seguintes 2 Usuários Agradeceram você gokuka Por este Post Útil:


 

 
Página 1 de 3 123 ÚltimoÚltimo

Informações de Tópico

Usuários Navegando neste Tópico

Há 1 usuários navegando neste tópico. (0 registrados e 1 visitantes)

Tópicos Similares

  1. |Suporte| Função C++
    Por Lucas S. no fórum C++
    Respostas: 2
    Último Post: 05-01-2017, 02:37 AM
  2. |Suporte| Função c++ GS.90
    Por gokuka no fórum C++
    Respostas: 2
    Último Post: 27-02-2014, 12:53 AM
  3. |Avaliação| Entrada | Refresh Modificado | Fórum | Shop IMAGENS \o/
    Por stefano.aguiar no fórum Avaliações
    Respostas: 4
    Último Post: 04-05-2012, 10:22 PM
  4. |Dúvida| Função de uma DLL
    Por João Neto no fórum Dúvidas
    Respostas: 6
    Último Post: 31-01-2012, 01:03 AM
  5. |Pedido| WebSite Antiga - Semelhante a Refresh LD
    Por MrFischer no fórum Dúvidas|Pedidos
    Respostas: 1
    Último Post: 24-03-2011, 09:51 PM

Marcadores

Permissões de Postagem

  • Você não pode iniciar novos tópicos
  • Você não pode enviar respostas
  • Você não pode enviar anexos
  • Você não pode editar suas mensagens
  •