C>S 0x4F D2GS_TRADE

Transport Layer:Transmission Control Protocol (TCP)
Application Layer:Diablo II In-Game Messages (D2GS)
Message Id:0x4F
Message Name:D2GS_TRADE
Direction:Client to Server
Used By:Diablo II, Diablo II Lord of Destruction
Message Format:
(does not include protocol header)
(UINT32) Request ID
(UINT16)  Gold Amount 

Remarks

This message should be used for manipulating the trading window, the Horadric Cube item window, and the Stash window.

Possible Request ID's:
[0x02] Cancel trade request
[0x03] Accept trade request
[0x04] Press Accept button (accept)
[0x07] Press Accept button (unaccept) - This should be sent when placing items in the trade window as well.
[0x08] Refresh window (See below for examples on usage)
[0x12] Close stash window
[0x13] Move gold (stash to inventory)
[0x14] Move gold (inventory to stash)
[0x17] Close Horadric Cube window

Examples of using Refresh ID:
Item has been picked up to mouse cursor buffer.
Item has been placed in the trade screen.
Accepted or closed a trade window.
Manual unclick of Accept button.

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

joe[x86]

Comments

no one has commented yet.