Page 3 of 4

Re: RO Structs

Posted: 21 Jul 2010, 11:40
by Technology
in kRO RE sakray length of inner struct:
- CHARACTER_INFO_NEO_UNION changed from 112 to 128. (16 byte wide mapName field was added at the end of the struct)
- EQUIPMENTITEM_EXTRAINFO3 changed from 26 to 28 (a 2 byte wide datafield was added at the end of the struct).

Code: Select all

// used in: (CharBlockSize 128)
// TODO: kLab's struct had (btw, look at its adress and the previous one): /* this+0x6e */ short bIsAccept; (i commented it out since in reality there is no such datafield)
// NOTE: added a mapname field at the end of the struct
struct CHARACTER_INFO_NEO_UNION {
  /* this+0x0 */ unsigned long GID;
  /* this+0x4 */ int exp;
  /* this+0x8 */ int money;
  /* this+0xc */ int jobexp;
  /* this+0x10 */ int joblevel;
  /* this+0x14 */ int bodystate;
  /* this+0x18 */ int healthstate;
  /* this+0x1c */ int effectstate;
  /* this+0x20 */ int virtue;
  /* this+0x24 */ int honor;
  /* this+0x28 */ short jobpoint;
  /* this+0x2a */ int hp;
  /* this+0x2e */ int maxhp;
  /* this+0x32 */ short sp;
  /* this+0x34 */ short maxsp;
  /* this+0x36 */ short speed;
  /* this+0x38 */ short job;
  /* this+0x3a */ short head;
  /* this+0x3c */ short weapon;
  /* this+0x3e */ short level;
  /* this+0x40 */ short sppoint;
  /* this+0x42 */ short accessory;
  /* this+0x44 */ short shield;
  /* this+0x46 */ short accessory2;
  /* this+0x48 */ short accessory3;
  /* this+0x4a */ short headpalette;
  /* this+0x4c */ short bodypalette;
  /* this+0x4e */ unsigned char name[24];
  /* this+0x66 */ unsigned char Str;
  /* this+0x67 */ unsigned char Agi;
  /* this+0x68 */ unsigned char Vit;
  /* this+0x69 */ unsigned char Int;
  /* this+0x6a */ unsigned char Dex;
  /* this+0x6b */ unsigned char Luk;
  /* this+0x6c */ unsigned char CharNum;
  /* this+0x6d */ unsigned char haircolor;
  /* this+0x6e */ short bIsChangedCharName;
//  /* this+0x6e */ short bIsAccept;
  /* this+0x70 */ unsigned char mapName[16];
}
EDIT: added latest test plugin updated with kLab's latest structs

Re: RO Structs

Posted: 25 Jul 2010, 14:33
by Technology

Re: RO Structs

Posted: 03 Nov 2010, 11:45
by EternalHarvest
What is type in 07E1?

Code: Select all

// packet 0x7e1
struct PACKET_ZC_SKILLINFO_UPDATE2 {
  /* this+0x0 */ short PacketType
  /* this+0x2 */ unsigned short SKID
  /* this+0x4 */ int type
  /* this+0x8 */ short level
  /* this+0xa */ short spcost
  /* this+0xc */ short attackRange
  /* this+0xe */ bool upgradable
}

Re: RO Structs

Posted: 03 Nov 2010, 13:36
by kLabMouse
EternalHarvest wrote:What is 'type' in 07E1?
Same as for any 'SKILLINFO' packet (bitflag):

Code: Select all

typedef enum <unnamed-tag> {
  SKILLTYPE_PASSIVE =  0x0,
  SKILLTYPE_TOCHARACTER =  0x1,
  SKILLTYPE_TOGROUND =  0x2,
  SKILLTYPE_TOME =  0x4,
  SKILLTYPE_TOITEM =  0x8,
  SKILLTYPE_TOALL =  0x10,
  SKILLTYPE_TOSKILL =  0x20,
} <unnamed-tag>;
Also. I think, that kore need to use this Flag, and not that static tables.

Re: RO Structs

Posted: 21 Nov 2010, 06:01
by EternalHarvest

Code: Select all

  struct CHARACTER_INFO_NEO_UNION charInfo[...] { // CharBlockSize 112
...
    /* this+0x6e */ short bIsChangedCharName;
    /* this+0x6e */ short bIsAccept;
Both 0x6e?

Re: RO Structs

Posted: 21 Nov 2010, 10:09
by kLabMouse
EternalHarvest wrote:

Code: Select all

  struct CHARACTER_INFO_NEO_UNION charInfo[...] { // CharBlockSize 112
...
    /* this+0x6e */ short bIsChangedCharName;
    /* this+0x6e */ short bIsAccept;
Both 0x6e?
that's Alias.

Re: RO Structs

Posted: 29 Jan 2011, 14:09
by kLabMouse
New Structs.
http://www.mediafire.com/?1xtnhq2sq4ctcx8

For the new Enums. Please ASK.

P.S. Well, the info is still Aug/Sep 2010

Re: RO Structs

Posted: 23 Apr 2011, 08:13
by kLabMouse

Re: RO Structs

Posted: 28 Aug 2011, 20:19
by kLabMouse
New Update. Packets up to Mar 2011.
http://www.mediafire.com/file/dga5ey0pa ... cts_my.txt

Re: RO Structs

Posted: 07 Sep 2012, 11:49
by kLabMouse