Booma.Proxy icon indicating copy to clipboard operation
Booma.Proxy copied to clipboard

Research 0x6D 6D Item game join packets

Open HelloKitty opened this issue 8 years ago • 6 comments

0x6D appears to contain game state data for when we join. This data indicates the dynamic state such as inventory, items dropped and probably creature information/map changes since start.

HelloKitty avatar Oct 22 '17 22:10 HelloKitty

Soly created a dump for 0x6D 0x6D

05000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 04000100 1C002100 00004100 00006100 04008100 0000A100 0000C100 0000E100 00000101 00002101 00004101 00006101 02000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0000FFFF 3D006743 66808543 00000000 00010000 00000000 00000000 00008100 00000000 0000FFFF FC9C3543 F4AE8A43 00000400 00010000 00000000 00000000 03008100 00000000

HelloKitty avatar Oct 22 '17 23:10 HelloKitty

Contains XZ position 3D006743 66808543 (231.000931, 267.0031)

HelloKitty avatar Oct 22 '17 23:10 HelloKitty

if you need packets why not just goto this site???

https://sylverant.net/wiki/index.php/Category:PSO_Server_Protocol

broomop avatar Apr 02 '18 12:04 broomop

@broomop While that site has been a great resource, same as the source for Sylverant, not all packets are documented. Especially "unimportant" ones for server emulation. In fact the wiki redirects you to 0x62 when you try to check out 0x6D.

HelloKitty avatar May 15 '18 08:05 HelloKitty

Oh I suppose it does say on the wiki it's similar to 0x62. Either way it doesn't talk about 0x6D6D.

"Various subcommands are sent with this packet, and this is not necessarily meant to be an exhaustive list of them (although, I'd love it if it were eventually)."

Soly had some luck with it though.

HelloKitty avatar May 15 '18 08:05 HelloKitty

0x6D 0x70 structure

0x0000 ushort   Packet size
0x0002 ushort   Packet ID
0x0004 int      Target slot
0x0008 ushort   Sub packet ID
0x000A ushort   Sender slot
0x000C uint     size
0x0010 ushort   Unknown_1
0x0012 ushort   Unknown_2 (Room2, CE table, no idea what it is really)
0x0014 uint     Unknown_3
0x0018 float    pos_x
0x001C float    pos_y
0x0020 float    pos_z
0x0024 uint     Unknown_4
0x0028 uint     Rotation
0x002C uint     Unknown_5
0x0030 ushort   Unknown_6
0x0032 ushort   Current HP
0x0034 ushort   Current HP from Materials (ecah material gives 2)
0x0038 uint     Status 1 Type
0x003C float    Status 1 Level
0x0040 float    Status 1 Time
0x0044 uint     Status 2 Type
0x0048 float    Status 2 Level
0x004C float    Status 2 Time
0x0050 uint     Technique 1 Type
0x0054 float    Technique 1 Level
0x0058 float    Technique 1 Time
0x005C uint     Technique 2 Type
0x0060 float    Technique 2 Level
0x0064 float    Technique 2 Time

0x00B4 float    pos_x (again, something triggered it being set)
0x00B8 float    pos_z (again, something triggered it being set)
0x00BC uint     Current Floor

Solybum avatar Feb 10 '19 08:02 Solybum