uo_protocol_0x78
UO Protocol 0x78
Draw object (Variable # of bytes)
This page is possible incomplete and/or inaccurate. More informations and tests needed.
This packet is send by the server and used to display a character.
Offset Type Name Description
------ -------- ---------------- ------------------------------
0000 BYTE cmd
0001 USHORT size packet size
0003 UINT serial itemID/playerID
0007 USHORT body model number
if (serial & 0x80000000)
USHORT amount/Corpse Model Num
0009 USHORT xLoc only 15 bit
0011 USHORT yLoc
if (xLoc & 0x8000)
direction
0013 SBYTE zLoc
0014 BYTE direction
0015 USHORT hue dye/skin color
0016 BYTE status
0017 BYTE notoriety 2's complement signed
0018 loop while itemserial != 0x00000000
{
UINT itemserial loop of equipped item
USHORT artwork only 15 bit
BYTE layer item's clothing layer
USHORT hue only if artwork & 0x8000
}
Notes/Questions:
- if artwork is only 15 bit we should treat it everywhere as signed, so we could do faster comparisons!
- is really all wearn equipment sent or only the visible?
uo_protocol_0x78.txt · Last modified: 2014/05/19 07:05 by thooge
