Game Opcodes:Retainer Search Transaction History

From FFXIV Classic Wiki
Revision as of 13:57, 26 March 2018 by Ioncannon (talk | contribs)
Jump to: navigation, search

Sends the transaction history entries for the currently selected item when searching the market wards.

Opcode - 0x1DD
Source - Server
Data Size - 1616 bytes
Requirements - 0x1D___ was sent by the client.

Data

Offset Data Type Length Variable Description
0x0C uint32 4 Bytes numEntries The number of transaction history entries in this packet.
0x0E byte 1 Bytes resultFlag 1 - Referenced but calls an empty function, 2, 4, 6 - All three do the same exact thing: Signals to the client that history search has ended, but even so, you can still send more packets to append more results to the list.
0x10 transactionHistoryData[] 80 Bytes * numEntries transactionHistoryEntries A list of transactionHistory objects to send to the client.
transactionHistory - 80 Bytes Each
Offset Data Type Length Variable Description
0x00 uint32 4 Bytes timestamp The date and time this transaction took place.
0x06 int16 2 Bytes quantity The amount of this item sold.
0x08 int32 4 Bytes gilPrice The price at which it was sold at.
0x0C boolean 1 Bytes isStack Was this multiple stacks of items. 0 = false, otherwise true.

Notes

  • This packet is repeated until all items have been sent. Once done, 0x1DC is sent to update the UI.
  • The client will keep updating the window if more of this + 0x1DC packets are sent.

Visual Layout

Game Opcode layout
0x0 0x1 0x2 0x3 0x4 0x5 0x6 0x7 0x8 0x9 0xA 0xB 0xC 0xD 0xE 0xF
0x00 00 00 00 00 00 00 00 00 00 00 00 00 numRetainers
0x10 transactionHistoryData
0x20
0x30
0x40
0x50
0x60
0x70
0x80
0x650


RetainerData Layout
0x0 0x1 0x2 0x3 0x4 0x5 0x6 0x7 0x8 0x9 0xA 0xB 0xC 0xD 0xE 0xF
0x00 timestamp 00 00 quantity gilPrice isStack 00 00
0x10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00