C>S 0x1A D2GS_ITEMTOBODY

Transport Layer:Transmission Control Protocol (TCP)
Application Layer:Diablo II In-Game Messages (D2GS)
Message Id:0x1A
Message Name:D2GS_ITEMTOBODY
Direction:Client to Server
Used By:Diablo II, Diablo II Lord of Destruction
Message Format:
(does not include protocol header)
(UINT32) Item ID
(UINT32) Body Location 

Remarks

Moves item from player's cursor buffer to body location. Body locations are identified by the line number in the data file bodylocs.txt.

Possible Body Locations:
0x01 - Helm
0x02 - Amulet
0x03 - Armor
0x04 - Left-hand weapon
0x05 - Right-hand weapon
0x06 - Left-hand ring
0x07 - Right-hand ring
0x08 - Belt
0x09 - Boots
0x0A - Gloves

These values have been recorded for mercenary body locations, but aren't confirmed: (Note, each location ID is prefixed with 0x61)
Example: 1A 64 00 00 00 61 02 00 00 (Move item 0x64 to Mercenary Right-hand weapon)

0x01 - Mercenary Helm
0x02 - Mercenary Right-hand Weapon
0x03 - Mercenary Armor
0x04 - Mercenary Left-hand Weapon

Please note: This message's official name is not known, and has been invented.

Anonymous

Comments

no one has commented yet.