2009-11-10aRagexeRE - new actor packets

Forum closed. All further discussion to be discussed at https://github.com/OpenKore/

Moderator: Moderators

Message
Author
Technology
Super Moderators
Super Moderators
Posts: 801
Joined: 06 May 2008, 12:47
Noob?: No

2009-11-10aRagexeRE - new actor packets

#1 Post by Technology »

We need the structure of:
...
07F7
07F8
07F9
...

examples
http://pastebin.com/m2ce58305
One ST0 to rule them all? One PE viewer to find them!
One ST_kRO to bring them all and in the darkness bind them...

Mount Doom awaits us, fellowship of OpenKore!

User avatar
kLabMouse
Administrator
Administrator
Posts: 1301
Joined: 24 Apr 2008, 12:02

Re: 2009-11-10aRagexeRE - new actor packets

#2 Post by kLabMouse »

I have only "HEADER_LAST = 0x7e8"
and cRO: "HEADER_LAST = 0x7e9"
:/

Added later:
OK, I'm reversing some interesting parts of Binary... let's hope, we recover packets structures.

User avatar
kLabMouse
Administrator
Administrator
Posts: 1301
Joined: 24 Apr 2008, 12:02

Re: 2009-11-10aRagexeRE - new actor packets

#3 Post by kLabMouse »

From Binary analysis...
packet 07F9 has some fixed len structure that is 62 bytes.
All other is array of dwords.

User avatar
kLabMouse
Administrator
Administrator
Posts: 1301
Joined: 24 Apr 2008, 12:02

Re: 2009-11-10aRagexeRE - new actor packets

#4 Post by kLabMouse »

Packet 07F7:

Code: Select all

// Packet 07F7
struct PACKET_ZC_NOTIFY_MOVEENTRY6 {
  short PacketType;
  short PacketLength;
  data {
  	unsigned char objecttype;
  	unsigned long GID;
  	short speed;
  	short bodyState;
  	short healthState;
  	int effectState;
  	short job;
  	short head;
  	int weapon;
  	short accessory;
  	unsigned long moveStartTime;
  	short accessory2;
  	short accessory3;
  	short headpalette;
  	short bodypalette;
  	short headDir;
  	unsigned long GUID;
  	short GEmblemVer;
  	short honor;
  	int virtue;
  	bool isPKModeON;
  	unsigned char sex;
  	unsigned char MoveData[6];
  	unsigned char xSize;
  	unsigned char ySize;
  	short clevel;
  	short font;
  };
  unsigned long name_pair_list[...]; // Donno what it is. But used in other packets too. Looks like some name. O_o
}
I donno what is "name_pair_list", but it so something that is used by class "NamePair" in original binary.
And, I'm not 100% sure about structure, but at least, we know something.

Technology
Super Moderators
Super Moderators
Posts: 801
Joined: 06 May 2008, 12:47
Noob?: No

Re: 2009-11-10aRagexeRE - new actor packets

#5 Post by Technology »

seems plausible, i think those names could be the char/guild/party name
One ST0 to rule them all? One PE viewer to find them!
One ST_kRO to bring them all and in the darkness bind them...

Mount Doom awaits us, fellowship of OpenKore!

User avatar
kLabMouse
Administrator
Administrator
Posts: 1301
Joined: 24 Apr 2008, 12:02

Re: 2009-11-10aRagexeRE - new actor packets

#6 Post by kLabMouse »

Packet 07F9
100% Recovered

Code: Select all

00000000 Packet_07F9     struc ; (sizeof=0x43B)
00000000 PacketType      dw ?
00000002 PacketLen       dw ?
00000004 objecttype      db ?
00000005 GID             dd ?
00000009 speed           dw ?
0000000B bodyState       dw ?
0000000D healthState     dw ?
0000000F effectState     dd ?
00000013 job             dw ?
00000015 weapon          dw ?
00000017 moveStartTime   dd ?
0000001B accessory       dw ?
0000001D accessory2      dw ?
0000001F accessory3      dw ?
00000021 headpalette     dw ?
00000023 bodypalette     dw ?
00000025 headDir         dw ?
00000027 GUID            dd ?
0000002B GEmblemVer      dw ?
0000002D honor           dw ?
0000002F virtue          dd ?
00000033 isPKModeON      db ?
00000034 sex             db ?
00000035 PosDir          db 3 dup(?)
00000038 xSize           db ?
00000039 ySize           db ?
0000003A state           db ?
0000003B clevel          dw ?
0000003D font            dw ?
0000003F name            dd 255 dup(?)
0000043B Packet_07F9     ends
It seems to me, that previous structure will be updated, because it changed a bit (I think).

User avatar
kLabMouse
Administrator
Administrator
Posts: 1301
Joined: 24 Apr 2008, 12:02

Re: 2009-11-10aRagexeRE - new actor packets

#7 Post by kLabMouse »

Done!

full data:

Code: Select all

// Packet: 07F7
struct PACKET_ZC_NOTIFY_MOVEENTRY7 {
  short PacketType;
  short PacketLength;
  data {
  	unsigned char objecttype;
  	unsigned long GID;
  	short speed;
  	short bodyState;
  	short healthState;
  	int effectState;
  	short job;
  	short head;
  	int weapon;
  	short accessory;
  	unsigned long moveStartTime;
  	short accessory2;
  	short accessory3;
  	short headpalette;
  	short bodypalette;
  	short headDir;
  	unsigned long GUID;
  	short GEmblemVer;
  	short honor;
  	int virtue;
  	bool isPKModeON;
  	unsigned char sex;
  	unsigned char MoveData[6];
  	unsigned char xSize;
  	unsigned char ySize;
  	short clevel;
  	short font;
  };
  char name[...]; // May-be just some junk?
}

// Packet: 07F8
struct PACKET_ZC_NOTIFY_NEWENTRY7 {
	short PacketType;
	short PacketLen;
	data {
		unsigned char objecttype;
		unsigned long GID;
		short speed;
		short bodyState;
		short healthState;
		int effectState;
		short job;
		short head;
  		int weapon;
		short accessory;
		short accessory2;
		short accessory3;
		short headpalette;
		short bodypalette;
		short headDir;
		unsigned long GUID;
		short GEmblemVer; // if (pck.objecttype) s.shield = pck.GEmblemVer;
		short honor;
		int virtue;
		bool isPKModeON;
		unsigned char sex;
		unsigned char PosDir[3];
		unsigned char xSize;
		unsigned char ySize;
		short clevel;
		short font;
	};
	char name[...]; // May-be just some junk?
};

// Packet: 07F9
struct PACKET_ZC_NOTIFY_STANDENTRY7 {
	short PacketType;
	short PacketLen;
	data {
		unsigned char objecttype;
		unsigned long GID;
		short speed;
		short bodyState;
		short healthState;
		int effectState;
		short job;
		short head;
  		int weapon;
		short accessory;
		short accessory2;
		short accessory3;
		short headpalette;
		short bodypalette;
		short headDir;
		unsigned long GUID;
		short GEmblemVer; // if (pck.objecttype) s.shield = pck.GEmblemVer;
		short honor;
		int virtue;
		bool isPKModeON;
		unsigned char sex;
		unsigned char PosDir[3];
		unsigned char xSize;
		unsigned char ySize;
		unsigned char state;
		short clevel;
		short font;
	};
	char name[...]; // May-be just some junk?
};
but found something new:

Code: Select all

// Packet: 07F6
// May-be: STATE_CHANGE ?
that packet seems like some actor/state packet.
Any captures for it?

Technology
Super Moderators
Super Moderators
Posts: 801
Joined: 06 May 2008, 12:47
Noob?: No

Re: 2009-11-10aRagexeRE - new actor packets

#8 Post by Technology »

implemented the packets in RagexeRE_0
One ST0 to rule them all? One PE viewer to find them!
One ST_kRO to bring them all and in the darkness bind them...

Mount Doom awaits us, fellowship of OpenKore!

Technology
Super Moderators
Super Moderators
Posts: 801
Joined: 06 May 2008, 12:47
Noob?: No

Re: 2009-11-10aRagexeRE - new actor packets

#9 Post by Technology »

hmm, any idea what the 07FB packet is?
One ST0 to rule them all? One PE viewer to find them!
One ST_kRO to bring them all and in the darkness bind them...

Mount Doom awaits us, fellowship of OpenKore!

User avatar
kLabMouse
Administrator
Administrator
Posts: 1301
Joined: 24 Apr 2008, 12:02

Re: 2009-11-10aRagexeRE - new actor packets

#10 Post by kLabMouse »

All that I have:

Code: Select all

  HEADER_CZ_ENTER2 =  0x436,
  HEADER_CZ_REQUEST_ACT2 =  0x437,
  HEADER_CZ_USE_SKILL2 =  0x438,
  HEADER_CZ_USE_ITEM2 =  0x439,
  HEADER_ZC_REQ_CRACKPROOF =  0x43a,
  HEADER_CZ_ACK_CRACKPROOF =  0x43b,
  HEADER_ZC_CRACKPROOF_ERRCODE =  0x43c,
  HEADER_ZC_SKILL_POSTDELAY =  0x43d,
  HEADER_ZC_SKILL_POSTDELAY_LIST =  0x43e,
  HEADER_ZC_MSG_STATE_CHANGE2 =  0x43f,
  HEADER_ZC_MILLENNIUMSHIELD =  0x440,
  HEADER_ZC_SKILLINFO_DELETE =  0x441,
  HEADER_ZC_SKILL_SELECT_REQUEST =  0x442,
  HEADER_CZ_SKILL_SELECT_RESPONSE =  0x443,
  HEADER_ZC_SIMPLE_CASH_POINT_ITEMLIST =  0x444,
  HEADER_CZ_SIMPLE_BUY_CASH_POINT_ITEM =  0x445,
  HEADER_ZC_QUEST_NOTIFY_EFFECT =  0x446,
  HEADER_ZC_BLOCKING_PLAY_CANCEL =  0x447,
  HEADER_HC_CHARACTER_LIST =  0x448,
  HEADER_ZC_HACKSH_ERROR_MSG =  0x449,
  HEADER_CZ_CLIENT_VERSION =  0x44a,
  HEADER_CZ_CLOSE_SIMPLECASH_SHOP =  0x44b,
  HEADER_ZC_ES_RESULT =  0x7d0,
  HEADER_CZ_ES_GET_LIST =  0x7d1,
  HEADER_ZC_ES_LIST =  0x7d2,
  HEADER_CZ_ES_CHOOSE =  0x7d3,
  HEADER_CZ_ES_CANCEL =  0x7d4,
  HEADER_ZC_ES_READY =  0x7d5,
  HEADER_ZC_ES_GOTO =  0x7d6,
  HEADER_CZ_GROUPINFO_CHANGE_V2 =  0x7d7,
  HEADER_ZC_REQ_GROUPINFO_CHANGE_V2 =  0x7d8,
  HEADER_ZC_SHORTCUT_KEY_LIST_V2 =  0x7d9,
  HEADER_CZ_CHANGE_GROUP_MASTER =  0x7da,
  HEADER_ZC_HO_PAR_CHANGE =  0x7db,
  HEADER_CZ_SEEK_PARTY =  0x7dc,
  HEADER_ZC_SEEK_PARTY =  0x7dd,
  HEADER_CZ_SEEK_PARTY_MEMBER =  0x7de,
  HEADER_ZC_SEEK_PARTY_MEMBER =  0x7df,
  HEADER_ZC_ES_NOTI_MYINFO =  0x7e0,
  HEADER_ZC_SKILLINFO_UPDATE2 =  0x7e1,
  HEADER_ZC_MSG_VALUE =  0x7e2,
  HEADER_ZC_ITEMLISTWIN_OPEN =  0x7e3,
  HEADER_CZ_ITEMLISTWIN_RES =  0x7e4,
  HDADER_CH_ENTER_CHECKBOT =  0x7e5,
  HEADER_ZC_MSG_SKILL =  0x7e6,
  HEADER_CH_CHECKBOT =  0x7e7,
  HEADER_HC_CHECKBOT =  0x7e8,
  HEADER_HC_CHECKBOT_RESULT =  0x7e9,
  HEADER_CZ_BATTLE_FIELD_LIST =  0x7ea,
  HEADER_ZC_BATTLE_FIELD_LIST =  0x7eb,
  HEADER_CZ_JOIN_BATTLE_FIELD =  0x7ec,
  HEADER_ZC_JOIN_BATTLE_FIELD =  0x7ed,
  HEADER_CZ_CANCEL_BATTLE_FIELD =  0x7ee,
  HEADER_ZC_CANCEL_BATTLE_FIELD =  0x7ef,
  HEADER_CZ_REQ_BATTLE_STATE_MONITOR =  0x7f0,
  HEADER_ZC_ACK_BATTLE_STATE_MONITOR =  0x7f1,
  HEADER_ZC_BATTLE_NOTI_START_STEP =  0x7f2,
  HEADER_ZC_BATTLE_JOIN_NOTI_DEFER =  0x7f3,
  HEADER_ZC_BATTLE_JOIN_DISABLE_STATE =  0x7f4,
  HEADER_LAST =  0x7f5,

Locked