Page 1 of 1

PacketDocu: 0x20 - Pet window (Server -> Client)

PostPosted: Fri Sep 05, 2003 8:50 am
by PlayerX
Code: Select all
[i]note: standard header not included[/i]
0x00 - short- Mob id of pet
0x02 - unused
0x04 - byte - 0-released, 1-normal, 2-just charmed?
0x05 - byte - 1-aggressive, 2-defensive, 3-passive
0x06 - byte - 1-follow, 2-stay, 3-goto, 4-here
0x07 - unused
0x08 - null-terminated (byte) list of shorts - spell icons on pet
This last field should be explained a bit better. Each icon is a big-endian short but as all expected icons on the pet will be greater than 256 only one null byte is needed to mark the end of the icon list.

For instance: "27 77 28 44 00". 0x2777 is the first icon, 0x2844 is the second icon, 0 is the end of list marker.