TradeWindow Currencies

Bug reports and feature requests. New features can only be added to the current development version. Bug-fixes may be back-ported.

Current release: 099 / Current development: 100
Post Reply
Tomi
POL Developer
Posts: 477
Joined: Tue Feb 21, 2006 5:08 pm

TradeWindow Currencies

Post by Tomi » Tue Aug 21, 2018 6:28 am

Looked into this a bit more
No new packets for this but changes in TradeWindow packet

Packet: 0x6F
Sent By: Both
Size: Variable

Packet Build
BYTE[1] 0x6F
BYTE[2] Length
BYTE[1] Type Flag (see notes)
BYTE[4] Player Serial
BYTE[4] Container 1 Serial
BYTE[4] Container 2 Serial
BYTE[1] Has Name
IF (Has Name = 1)
BYTE[?] Player Name

Notes
Type Flag
0x00: Start
0x01: Cancel
0x02: Update


For that packet there seems to be 2 new flags 0x03 and 0x04 no idea how the differ from each other, but both seems to have the same structure and they seems to be updating the currencies into the gump

BYTE[1] 0x6F
BYTE[2] Length
BYTE[1] Type Flag (see notes)
BYTE[4] Player Serial
BYTE[4] Gold Amount
BYTE[4] Platinum Amount

To enable the Currencies in the gump my guess would be with the TOL 0xB9 bit 0x400000 because that new gump was added into mul files in the same update as TOL expansion was released

Yukiko
Distro Developer
Posts: 2773
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: TradeWindow Currencies

Post by Yukiko » Tue Aug 21, 2018 12:29 pm

Thank you Tomi. Do you think that there is a possibility you might be able to work on implementing this?

Post Reply