Azoth Central — Javelin::ClientMessages::PlayerTradeComponentServerFacet_TakeItem

All Packets #2942

Javelin::ClientMessages::PlayerTradeComponentServerFacet_TakeItem

SolvedCaptured ✓

We know its format and the Azoth server already uses it.

What it doesWe know what this does

Takes one item (or part of a stack) out of a loot bag window and puts it in your inventory.

Activity: Inventory & gear

How to capture

We already have this packet in a recording. You only need to record it again if you want to help check it.

  1. Defeat a creature that leaves a loot bag with a few items, or drop two or three cheap items from your bag on the ground away from other players.
  2. Open the loot bag with the interact key (E).
  3. Click one item to take it. For a stack, take only part of it if the game asks how many. Write down the time of each.
  4. Do it three times with different items.

Recording tips

  • Record one activity per recording.
  • Keep each recording under 5 minutes.
  • Write down the time of each step.
  • Send the ledger.bin file only through /capture on Discord.

Send your recording or use /capture on Discord.

FieldsSpec: Verified

When: Sent by the client when you take one item, or part of a stack, out of the loot bag window that opens with [T].

16 B headervariable size

Offsets count from the first byte after the message type. The first 16 bytes name the component the call is addressed to; the arguments start at offset 16.

AtFieldTypeSizeMeaningExample
16 containerRecord nested structure — A 32-byte record naming the container you take from. It is either the record of a creature's loot bag, or the record of your own player: the client sends the player's own record when the loot window of a dropped-item bag is open, and the server then finds the bag from the window you have open. The first 16 bytes are an entity id, followed by two 8-byte ids.
  • containerRecord: not shown (may contain names/chat)
48 itemInstanceId structured — The 16-byte id of the item you are taking from the bag.
  • itemInstanceId: 83935b42dbf3434da68d096114bbe536
64 quantity structured — How many units to take. Taking 11 potions as 6, then 3, then 2 sent those amounts. A value of 0 or more than the stack takes the whole stack.
  • quantity: 1 (1 to 126)
How to capture