Advertisement
thebadCB

Packet Struct Aika

Sep 7th, 2015
407
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Delphi 17.77 KB | None | 0 0
  1. {$REGION 'Header'}
  2. type sHeader = Record
  3.   Size: Smallint;
  4.   Key: Byte;
  5.   ChkSum: Byte;
  6.   Index: Smallint;
  7.   Code: Smallint;
  8.   Time: LongInt;
  9. end;
  10. {$ENDREGION}
  11.  
  12. {$REGION 'Login'}
  13. Type p685 = Record
  14.   Header         : SHeader;
  15.   Serial         : Array [0..03] of byte;
  16.   ID             : Array [0..31] of AnsiChar;
  17.   Time           : LongInt;
  18.   MacAddr        : Array [0..13] of byte;
  19.   Version        : WORD;
  20.   Null           : LongInt;
  21.   Senha          : Array [0..31] of AnsiChar;
  22.   Nulls          : Array [0..991]of byte;//talvez desnecessario
  23. End;
  24. {$ENDREGION}
  25.  
  26. {$REGION 'Message'}
  27. Type p984 = Record //size 0x90 [144]
  28.   Header  : SHeader;
  29.   Null    : Byte;
  30.   Type1   : Byte;//relacionado com tamanho
  31.   Type2   : Byte;//tbm ou cor
  32.   Null1   : Byte;
  33.   ID      : Array [0..127] of AnsiChar;
  34. End;
  35. {$ENDREGION}
  36.  
  37. {$REGION 'ITEM STRUCT'}
  38. Type TITEM=Record
  39. Item : Array [0..19]of byte;
  40. End;
  41. {$ENDREGION}
  42.  
  43. {$REGION 'SendToWord'}
  44. Type TQuest = Record
  45.   ID : Word;
  46.   Unk: Array [0..9] of byte;
  47. End;
  48.  
  49. Type t925 = Record
  50.   Header         : SHeader;
  51.   Serial         : Array [0..3] of byte;
  52.   ClientID       : DWORD; //Ou word[sobraria 2bytes]
  53.   Null_0         : DWORD;
  54.   UnkNK          : DWORD; //talvez ID unico do char
  55.   Nick           : Array [0..15]of AnsiChar;
  56.   Unk_0          : Byte; // valor 5 talvez nação
  57.   Classe         : Byte; //é a classe mesmo
  58.   Null_1         : Word;
  59.   Força, Agilidade, Inte, Consti, Sorte, Status: WORD;
  60.   Altura, Tronco, Perna, Corpo                 : BYTE;//07 77 77 Padrao
  61.   CurHP, MaxHP   : DWORD;
  62.   CurMP, MaxMP   : DWORD;
  63.   Unk_1          : LongInt; //90 D1 DE 55 unk
  64.   HonorPoint     : DWORD;
  65.   KillPoint      : DWORD;
  66.   Null_2         : Array [0..5] of byte;
  67.   SkillPoint     : Word;
  68.   Unk0           : Word; //Valor1
  69.   Null_3         : Array [0..59] of byte;  /////////////////
  70.   Unk1           : WORD; //Valor 52
  71.   DNFis,DefFis   : Word;
  72.   DNMag,DefMag   : Word;
  73.   BonusDMG       : Word;
  74.   null_4         : Array [0..9] of byte;
  75.  { null_4        : LongInt;
  76.   Unk_2          : Word;
  77.   Null_5         : LongInt; }
  78.   Critico        : word;
  79.   Esquiva        : Byte;
  80.   Acerto         : Byte;
  81.   Null_6         : LongInt;
  82.   Exp            : Comp; //8Bytes
  83.   LvL            : Word; //Level-1
  84.   Null_7         : Array [0..153]of byte;
  85.   Equip          : Array [0..15] of TITEM; //16 Itens
  86.   Null           : LongInt;
  87.   Inventory      : Array [0..59] of TITEM; //60 Itens
  88.   Bags           : Array [0..03] of TITEM; //4 bolsas
  89.   Gold           : Comp; //8 Bytes
  90.   UnkBytes0      : Array [0..383] of byte;  //Tem valores desconhecidos
  91.   Quests         : Array [0..15]  of TQuest; //Max 16 Quests
  92.   UnkBytes1      : Array [0..595] of byte;  //Tem valores desconhecidos
  93.   Senha2         : Array [0..3]   of AnsiChar;
  94.   UnkBytes2      : Array [0..331] of byte;   /////////////////
  95.   BarraSkill     : Array [0..24]  of DWORD;//Estranho valor e qtd [4bytes]
  96.   UnkBytes3      : Array [0..619] of byte;  /////////////////
  97.   PranNick_1     : Array [0..15] of AnsiChar;
  98.   PranNick_2     : Array [0..15] of AnsiChar;
  99.   Unknow         : LongInt;
  100. End;
  101. {$ENDREGION}
  102.  
  103. {$REGION 'SendToWord Pran'}
  104. Type p907 = Record   //size 1276
  105.   Header        : SHeader;
  106.   Nick          : Array [0..15]of Ansichar;
  107.   UNK1,UNK2     : DWORD;
  108.   CurHP,MaxHp   : DWORD;
  109.   CurMp,MaxMP   : DWORD;
  110.   Exp           : DWORD;
  111.   DefFis,DefMag : Word;
  112.   UnkBytes      : Array [0..11] of byte;
  113.   Equip         : Array [0..15] of TITEM; //16 itens
  114.   Inventory     : Array [0..39] of TITEM;
  115.   Bags          : Array [0..01]  of TITEM;
  116.   Unk           : DWORD;
  117.   NullBytes     : Array [0..39]of byte;
  118. End;
  119. {$ENDREGION}
  120.  
  121. {$REGION 'Pran ATK Recv'}
  122. Type pran102 = Record   //size  280
  123.   Header     : SHeader;
  124.   SkillID    : DWORD;
  125.   NullBytes0 : Array [0..11]of byte;
  126.   Atacante   : Word;
  127.   Null       : Byte;
  128.   Effect     : Byte;
  129.   NullBytes1 : Array [0..23]of byte;
  130.   TargetID   : DWord;
  131.   NullBytes2 : Array [0..11]of byte;
  132.   TargetHP   : DWORD;
  133.   PosX,PosY  : Single;
  134.   NullBytes3  : Array [0..195]of byte;
  135. End;
  136. {$ENDREGION}
  137.  
  138. {$REGION 'Pran Effect in Player'}
  139. type p117 = Record
  140.     Header : SHeader;
  141.     Index  : DWORD;
  142.     Effect : DWORD;
  143. End;
  144. {$ENDREGION}
  145.  
  146. {$REGION 'NPC Request/Quiz/Altera o que ta em cima do NPC'}  //Solicita conversa
  147. type p10D = Record
  148.     Header : SHeader;
  149.     Index  : DWORD;
  150.     Effect : DWORD;
  151. End;
  152. {$ENDREGION}
  153.  
  154. {$REGION 'SendEffect Mob Header'}
  155. Type p114 = Record
  156.   Header : SHeader;
  157.   Index  : DWORD;
  158.   Effect : DWORD; //$15 = macro caça
  159.   PK     : Boolean;
  160. End;
  161. {$ENDREGION}
  162.  
  163. {$REGION 'Pran Vida/Familiaridade'}  //Aumenta vida e familiaridade
  164. type p96B = Record
  165.     Header : SHeader;
  166.     VIDA  : WORD;
  167.     Familiaridade : WORD; // em %  porcentagem
  168. End;
  169. {$ENDREGION}
  170.  
  171. {$REGION 'Pran Animation/dance'}
  172. type p304 = Record //20
  173.     Header : SHeader;
  174.     AnimationID  : DWORD;
  175.     B            : LongBool;//Ou  bool
  176. End;
  177. {$ENDREGION}
  178.  
  179. {$REGION 'Atualiza Status DN'}
  180. Type p10A = Record  //Size 0x2C(44) OPCODE 0x10A
  181.   Header          : SHeader;
  182.   DNFis, DefFis   : Word;
  183.   DNMag, DEFMag   : Word;
  184.   Null            : Array [0..5]of byte;
  185.   SpeedMove       : Word;
  186.   Unk             : Word;
  187.   Null2           : Array [0..5]of byte;
  188.   Critico         : Word;
  189.   Esquiva,Acerto  : BYTE;
  190.   Duplo,Resist    : WORD;//Talvez não seja resistencia
  191. End;
  192. {$ENDREGION}
  193.  
  194. {$REGION 'Atualiza Pontos'}
  195. Type p109 = Record  //1c
  196.   Header  : SHeader;
  197.   Forç, AGI   ,
  198.   INTE, CON   ,
  199.   SORT, STATUS: WORD;
  200.   Null : DWORD;
  201.  // Null, Resist : word;
  202. End;
  203. {$ENDREGION}
  204.  
  205. {$REGION 'Atualiza Lvl e Exp'}
  206. Type p108 = Record  //0x18
  207.   Header  : SHeader;
  208.   Lvl     : Word;
  209.   Unk     : WORD;// CCCC
  210.   Exp     : COMP;
  211. End;
  212. {$ENDREGION}
  213.  
  214. {$REGION 'Atualiza Info Nação'}//Governo
  215. Type p936 = Record  //160
  216.   Header  : SHeader;
  217.   LordMarechal : Array [0..19] of Ansichar;
  218.   Estrategista : Array [0..19] of Ansichar;
  219.   Juiz         : Array [0..19] of Ansichar;
  220.   Tesoureiro   : Array [0..19] of Ansichar;
  221.   UnkBytes     : Array [0..67] of byte;
  222. End;
  223. {$ENDREGION}
  224.  
  225. {$REGION 'Atualiza Info Nação'}//Guilds Defensoras talvez
  226. Type p91A = Record  //412
  227.   Header  : SHeader;
  228.   LordMarechal : Array [0..19] of Ansichar;
  229.   Estrategista : Array [0..19] of Ansichar;
  230.   Juiz         : Array [0..19] of Ansichar;
  231.   Tesoureiro   : Array [0..19] of Ansichar;
  232.   Null         : Array [0..319] of byte;
  233. End;
  234. {$ENDREGION}
  235.  
  236. {$REGION 'Atualiza HP/MP'}
  237. Type p103 = Record  //0x20
  238.   Header       : SHeader;
  239.   CurHP, MaxHP : DWORD;
  240.   CurMP, MaxMP : DWORD;
  241.   Null         : DWORD;
  242. End;
  243. {$ENDREGION}
  244.  
  245. {$REGION 'ATT Lista amigo'}
  246. Type p870 = Record  //0x28
  247.   Header  : SHeader;
  248.   Nick    : Array [0..15] of Ansichar;
  249.   UnkBytes: Array [0..11] of byte;
  250. End;
  251. {$ENDREGION}
  252.  
  253. {$REGION 'Recv Lista de cartas'}
  254. Type TStructCarta = Record
  255.   Unk  : Dword;
  256.   Null : LongInt;
  257.   NickEnviado : Array [0..15] of AnsiChar;
  258.   Titulo      : Array [0..29] of AnsiChar;
  259.   DataRetorno : Array [0..15] of AnsiChar;
  260.   UnkBytes    : Array [0..07] of byte;
  261. End;
  262.  
  263. Type p3F17 = Record
  264. Header   : SHeader;
  265. Null     : LongInt;
  266. Cartas   : Array of TStructCarta;
  267. End;
  268. {$ENDREGION}
  269.  
  270. {$REGION 'Trade send'}
  271. Type p317 = Record //size 240
  272.   Header   : SHeader;
  273.   Itens    : Array [0..9] of TITEM;
  274.   Slots    : Array [0..9] of byte;
  275.   Null     : Array [0..9] of byte;
  276.   Pronto   : Boolean;
  277.   Confirmar: Boolean;
  278.   PlayerID : Word;
  279.   Null0    : LongInt;
  280. End;
  281. {$ENDREGION}
  282.  
  283. {$REGION 'CharList Packet 0x901 size: 336'}
  284. Type TSizeChar = Record
  285.   Altura  : Byte;  //TAMANHO
  286.   Tronco  : Byte;  //TAMANHO
  287.   Perna   : Byte;  //TAMANHO
  288.   Corpo   : Byte;  //TAMANHO
  289. End;
  290.  
  291. Type Item = Record
  292.    Cabelo, Face ,
  293.    Elmo  , Peito,
  294.    Luva  , Calça,
  295.    Arma  , Escudo : Word;
  296. End;
  297.  
  298. Type TAtributos = Record
  299.   Força, Agiliade,
  300.   Int  , Saude   ,
  301.   Mana , Unk     ,
  302.   Level : Word;
  303. End;
  304.  
  305. Type Tchar = Record
  306.   Nick            : Array [0..15] of ansichar;//16 letras
  307.   Unk             : Word;  // Não sei
  308.   Classe          : Word;  //Classe do char   (Dinamitador...Pistoleira..)
  309.   SizeofChar      : TSizeChar;
  310.   Equips          : Item;
  311.   Refi            : array[0..11] of byte; //
  312.   Atributos       : TAtributos;
  313.   NotUse          : array[0..5] of byte;
  314.   Exp             : Comp; //pega 8 bytes
  315.   Gold            : Comp; //pega 8 bytes
  316.   NotUse2         : array[0..3] of byte;
  317.   DeleteBOOL      : LongBool; // <>0 fica possivel deletar
  318.   NumericErro     : Byte;    //Numero de vezes errada
  319.   NumRegister     : BOOLEAN; //Se tem ou não numerica registrada
  320.   NotUse3         : array[0..5] of byte;
  321. End;
  322.  
  323. Type p901 = Record //Att CharList  Size: 336   recv
  324.   Header          : SHeader;
  325.   Serial          : array [0..3] of byte;
  326.   Unk             : LongInt;
  327.   NotUse          : array [0..3] of byte;
  328.   Personagem      : Array [0..2] of Tchar;
  329. End;
  330. {$ENDREGION}
  331.  
  332. {$REGION 'Chat Send'}
  333. type tF86 = Record //chat
  334.     Header    : SHeader;
  335.     NotUse    : Array [0..8] of byte;
  336.     Typechat  : Array [0..3] of byte;
  337.     Nick      : Array [0..15] of ansichar;//16 letras
  338.     Fala      : Array [0..125] of ansichar;//126
  339. End;
  340. {$ENDREGION}
  341.  
  342. {$REGION 'PlayerSpam'}
  343. Type t349 = Record   //Size 0x1FC  DEC: 508  PlayerSpam
  344.    Header : sHeader; //falta bytes
  345.    Nick : ARRAY [0..15] OF Ansichar;
  346.    Face,Cabelo,Elmo,Peito,Luva,Bota,Arma,Escudo : WORD;
  347.    Unk_0 : DWORD;
  348.    CurHP,CurMP,
  349.    MaxHP,MaxMP   : DWORD;
  350.    Unk0          : WORD;
  351.    StateAnimation: BYTE;
  352.    Altura,Cabeça,Corpo : BYTE;
  353.    BoolDead      : Bool; //2bytes
  354.    EffectType    : Word; //Tipo quando ta com autocaça ON ou efeito de skill
  355.    Unk00         : Word; //Tipo de ataque padrão talvez
  356.    Buffs         : Array [0..59] OF WORD;
  357.    Title         : ARRAY [0..31] OF Ansichar;//talvez seja 30
  358.    GuildMark     : Word;
  359.    Null          : Word;
  360.    Unk           : DWORD;
  361.    Aura          : Byte;
  362.    AnimationSK   : Byte;
  363.    Nul2          : Byte;
  364.    ChaosView     : Byte;
  365.    Null2         : LongInt;
  366.    Titulo        : Word;
  367.    HPView        : Word;
  368. End;
  369. {$ENDREGION}
  370.  
  371. {$REGION 'MobSpam'}
  372. Type t35E = Record   //Size 0x54  DEC: 84  MobSpam
  373.     Header          : SHeader;
  374. //    MobType         : Word;
  375.     NotUse_0        : Array [0..15] of AnsiChar; // é string igual de NPC, infos no MobEffect
  376.     unk_0           : longint;
  377.     Posx            : single;
  378.     PosY            : single;
  379.     HP_1            : DWORD;
  380.     notUse_1        : DWORD;
  381.     HP_2            : DWORD;
  382.     NotUse_2        : DWORD;
  383.     Unk_1           : Word;
  384.     Unk_2           : Word;
  385.     notlister       : Array [0..23] of byte;
  386. End;
  387. {$ENDREGION}
  388.  
  389. {$REGION 'Recv ATK'}
  390. Type t102 = Record    //Opcode 0x102 Size: 0x54 (84)
  391.   Header          : SHeader;
  392.   SkillID         : DWORD;
  393.   PosX_1          : Single;
  394.   PosY_1          : Single;
  395.   NotUse_2        : LongInt;
  396.   AttackID        : Word;
  397.   Null            : Byte;
  398.   Animation       : Word; //Deve ser a animação
  399.   NotUse_3        : Array [0..10] of Byte;
  400.   HPAtual         : Word;
  401.   NotUse_4        : Array [0..9] of Byte;
  402.   TargetID        : Word;
  403.   DNType          : Word;
  404.   DANO            : LongINT;
  405.   NotUse_5        : Array [0..7] of Byte;
  406.   MobCurrHP       : DWORD;
  407.   PosX_2          : Single;//Se o mob morrer vem o valor da posição
  408.   PosY_2          : Single;
  409. end;
  410. {$ENDREGION}
  411.  
  412. {$REGION 'Criar personagem/ Deletar'}
  413. Type t3E4 = Record  //0x3E4  size 0x38   [DEC 56]
  414.    Header          : SHeader;
  415.    Serial          : Array [0..3] of byte;
  416.    Slot            : DWORD;
  417.    Nick            : Array [0..15] of ansichar;
  418.    Face,Cabelo     : Word;
  419.    Null            : Array [0..11] of byte;
  420.    Local           : DWORD;
  421. End;
  422.  
  423. Type p603 = Record
  424.   Header          : SHeader;
  425.   Serial          : Array [0..3] of byte;
  426.   Slot            : DWORD;
  427.   Delete          : LongBool;//esse é longbool 4bytes
  428.   Numeric         : Array [0..3] of Ansichar;//não é necessario
  429. End;
  430. {$ENDREGION}
  431.  
  432. {$REGION 'Receber/Atualizar Item'}
  433. Type  pF0E = Record
  434.   Header   : SHeader;
  435.   Notice   : Boolean;
  436.   TypeSlot : Byte;
  437.   Slot     : Word;
  438.   Item     : TITEM;
  439. End;
  440. {$ENDREGION}
  441.  
  442. {$REGION 'Movimento'}
  443. Type p301 = Record //anda
  444.   Header   : SHeader;
  445.   PosX,PosY: Single;
  446.   Null     : Array [0..5] of byte;
  447.   TypeMove : Byte;
  448.   SpeedMove: Byte;
  449.   Unk      : DWORD;
  450. End;
  451.  
  452. Type p305 = Record //angulo ratoção
  453.   Header   : SHeader;
  454.   Rotação  : DWORD;
  455. End;
  456. {$ENDREGION}
  457.  
  458. {$REGION 'Skill'}
  459. Type p320 = Record
  460.    Header   : SHeader;
  461.    SkillID  : DWORD;
  462.    TargetID : DWORD;
  463.    PosX,PosY: Single
  464. End;
  465.  
  466. Type p302 = Record
  467.   Header   : SHeader;
  468.   TargetID : DWORD;
  469.   Null     : Array [0..11] of byte;
  470.   Effect   : Word;
  471.   SkillID  : Word;
  472.   PosX,PosY      : Single;
  473.   TargetX,TargetY: Single;
  474. End;
  475. {$ENDREGION}
  476.  
  477. {$REGION 'Move Itens'}
  478. type p70f = Record
  479.   Header   : SHeader;
  480.   OrigType,OrigSlot,
  481.   DestType,DestSlot : WORD;
  482. End;
  483. {$ENDREGION}
  484.  
  485. {$REGION 'Separa Itens'}
  486. Type p333 = Record
  487.   Header   : SHeader;
  488.   Slot, Qtd, TypeSlot : DWORD;
  489. End;
  490. {$ENDREGION}
  491.  
  492. {$REGION 'Usa Itens'}
  493. Type p31D = Record
  494.   Header  : SHeader;
  495.   TypeSlot,
  496.   Slot    : DWORD;
  497. End;
  498. {$ENDREGION}
  499.  
  500. {$REGION 'Janelinha sucesso decomposição item'}
  501. Type p32E = Record //size 24
  502.   Header  : SHeader;
  503.   Type1,
  504.   ItemID,Qntd    : DWORD;
  505. End;
  506. {$ENDREGION}
  507.  
  508. {$REGION 'Junta Itens'}
  509. Type p332 = Record
  510.   Header   : SHeader;
  511.   OrigSlot,DestSlot : DWORD;
  512.   Null : LongInt;
  513. End;
  514. {$ENDREGION}
  515.  
  516. {$REGION 'Atualiza gold'}
  517. Type p312 = Record
  518.   Header   : SHeader;
  519.   Unk  : DWORD;
  520.   Gold : Comp;
  521. End;
  522. {$ENDREGION}
  523.  
  524. {$REGION 'Request NPC'}
  525. Type p30F = Record
  526.   Header : SHeader;
  527.   Index  : DWORD;
  528.   Type1  : DWORD;
  529.   Type2  : DWORD;
  530. End;
  531. {$ENDREGION}
  532.  
  533. {$REGION 'Comerciante/Loja Item'}
  534. Type p106 = Record
  535.   Header  : SHeader;
  536.   Index   : Word;
  537.   SaleType: word;//Tipo de loja
  538.   Item    : Array [0..14] of WORD;
  539. End;
  540. {$ENDREGION}
  541.  
  542. {$REGION 'Recv Bau Atualiza'}
  543. Type p137 = Record
  544.   Header : SHeader;
  545.   Null   : LongInt;//Pode ser Tipo
  546.   Gold   : Comp;
  547.   Itens  : Array [0..79] of TITEM;
  548.   Cofre  : Array [0..3]  of TITEM;
  549.   Prans  : Array [0..1]  of TITEM;
  550. End;
  551. {$ENDREGION}
  552.  
  553. {$REGION 'Send Gold Bau'}
  554. Type pF59 = Record
  555.   Header : SHeader;
  556.   Type1  : DWORD;
  557.   Gold   : Comp;
  558. End;
  559. {$ENDREGION}
  560.  
  561. {$REGION 'MoveItemBar'}
  562. Type p31E = Record
  563.   Header : SHeader;
  564.   Type1,Type2,Item : DWORD;
  565. End;
  566. {$ENDREGION}
  567.  
  568. {$REGION 'Senha Numerica'}
  569. Type pF02 = Record
  570.   Header : SHeader;
  571.   Slot   : DWORD;
  572.   NumEcx : LongBool;
  573.   Numerica : Array [0..3] of Ansichar;
  574. End;
  575. {$ENDREGION}
  576.  
  577. {$REGION 'PK'}
  578. Type p307 = Record
  579.   Header : SHeader;
  580.   Active : LongBool;
  581. End;
  582. {$ENDREGION}
  583.  
  584. {$REGION 'UnkPacket 0xD41'}
  585. Type pD41 = Record  //size 512
  586.   Header : SHeader;
  587.   SerialChar : Array [0..3]of byte;
  588.   UnkBytes   : Array [0..495]of byte;
  589. End;
  590. {$ENDREGION}
  591.  
  592. {$REGION 'SendQuest Info'}
  593. Type p331 = Record //ta meio errado
  594.   Header : SHeader;
  595.   ID     : WORD;
  596.   Colect : Array [0..4] of Word; //relacionado ao completar cada parte
  597.   Qtd    : Word; //quantidade
  598.   Null   : LongInt;
  599.   ColectID : Array [0..4] of Word;
  600.   Terminat : Boolean;
  601. End;
  602. {$ENDREGION}
  603.  
  604. {$REGION 'NPC Option'}
  605. Type p112 = Record
  606.   Header : SHeader;
  607.   Option : DWORD;
  608.   Null   : LongInt;
  609.   Message: Array [0..63] of ansichar;
  610. End;
  611. {$ENDREGION}
  612.  
  613. {$REGION 'XTrapCheck'}
  614. Type p39D = Record  //send
  615.   Header : SHeader;
  616.   Active : LongBool;//ou boolean;
  617. End;
  618.  
  619. Type pCCCC = Record //Recv
  620.   Header : SHeader;
  621.   Active : LongBool;//ou boolean;
  622. End;
  623. {$ENDREGION}
  624.  
  625. {$REGION 'UnkPacket  0x186'}
  626. Type p186 = Record  //recv 4x apos logar antes sendtoword
  627.   Header : SHeader;
  628.   Nulls  : Array [0..127] of byte;
  629. End;
  630. {$ENDREGION}
  631.  
  632. {$REGION 'Client Request Delete Item'}
  633. Type p32C = Record
  634.   Header : SHeader;
  635.   Slot,TypeSlot : DWORD;
  636. End;
  637. //Send envia o 0xF0E apagando o item do client, e o 0x33D(Unk)
  638. {$ENDREGION}
  639.  
  640. {$REGION 'UnkPacket 0x33D incluso na atualização de itens'}
  641. Type p33D = Record
  642.   Header     : SHeader;
  643.   Null       : LongInt;
  644.   Unk1       : DWORD; //valor 1
  645.   NullBytes  : Array [0..19 ]of byte;
  646.   Unk2       : DWORD;//Valor 8
  647.   NullBytes2 : Array [0..7]of byte;
  648. End;
  649. {$ENDREGION}
  650.  
  651. {$REGION 'Send Pran Info'}
  652. Type p1A1 = Record
  653.   Header        : SHeader;
  654.   Nick          : Array [0..15] of Ansichar;
  655.   Fome          : Word;
  656.   Personalidade : Word;
  657.   Familiaridade : Word;
  658.   CurrHP,MaxHP  : DWORD;
  659.   CurrMP,MaxMP  : DWORD;
  660.   Exp           : LongWord;
  661.   DefFis,DefMag : WORD;
  662.   Item          : Array [0..7] of TITEM;
  663.   Null          : Byte;
  664.   Vida          : Byte;
  665.   Level         : Word; //lvl -1
  666. End;
  667. {$ENDREGION}
  668.  
  669. {$REGION 'Send Info Player'}
  670. Type TStatus = Record
  671.   Força,Agi,
  672.   Int,Consti,
  673.   Sort,Stat,Critico : WORD;
  674.   Esquiva,Acerto    : Byte;
  675.  
  676.   DMFis,DefFis : WORD;
  677.   DMMAg,DefMag : WORD;
  678.   SpeedMove    : DWORD;
  679.   Resis,TxDup  : WORD;
  680.   Null         : DWORD;
  681.   Exp          : COMP;
  682.   BonusDMG     : WORD;
  683.   Level        : WORD; //lvl-1
  684. End;
  685.  
  686. Type p19E = Record
  687.   Header : SHeader;
  688.   Nick   : Array [0..15] of Ansichar;
  689.   Guild  : Array [0..19] of Ansichar;
  690.   Unk    : DWORD; //acho que é nação
  691.   Honor  : DWORD;
  692.   PVP    : DWORD;
  693.   Status : Tstatus;
  694.   Itens  : Array [0..15] of TITEM;
  695.   PranName : Array [0..19] of Ansichar;
  696. End;
  697. {$ENDREGION}
  698.  
  699. {$REGION 'Send Request Info'}
  700. Type p22C = Record  // se a index for 0 procura pelo nick e vice versa
  701.   Header : SHeader;
  702.   Index  : DWORD;
  703.   Nick   : Array [0..15] of Ansichar;
  704. End;
  705. {$ENDREGION}
  706.  
  707. {$REGION 'Recv Loja Pessoal'}
  708. Type TLoja = Record  //ta errado ainda
  709.   Item : TITEM;    //talvez primeiro vem o gold/ depois o item e slot
  710.   Gold : COMP;
  711.   Slot : DWORD;
  712. End;
  713.  
  714. Type p319 = Record
  715.   Header     : SHeader;
  716.   Index      : DWORD;
  717.   Nome       : Array [0..31] of ansichar;
  718.   CurrentGold: COMP;
  719.   UnkBytes0  : Array [0..10] of byte;
  720.   Itens      : Array [0..09] of TLoja;
  721.   UnkBytes1  : Array [0..19] of byte;
  722. End;
  723. {$ENDREGION}
  724.  
  725.  
  726. Thebad.cb
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement