Azoth Central — MB::GatherableControllerReplicatedState

All Packets #12

MB::GatherableControllerReplicatedState

SolvedCaptured ✓

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

What it doesWe know what this does

Keeps the state of a gatherable node: healthy and ready to harvest, or used up until it comes back.

Activity: Gathering

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. Head to a tree, ore vein or plant with a tool that can harvest it.
  2. Harvest it until it is used up. Write down the time it ran out.
  3. Stay nearby until it comes back and write down the time it returned.
  4. Do the same with a different kind of node (for example ore if you started with a tree). Skinning a creature body also helps.

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 server for something that can be harvested (a tree, a rock, a plant, a creature corpse). It tells the client whether the node can be gathered right now.

This state has no fixed offsets. It travels as a member inside the replicated state bundle (packet 8): component key, type, then the body. The body starts with a group mask (one bit per group, see mask_bit), then for each group present a field mask (7 bits per byte, the top bit means another mask byte follows), then only the fields whose bit is set, in order. Fields are matched by name.

AtFieldTypeSizeMeaningExample
— gatherableState u8 1 B Which state the node is in; it is a bit mask. The server sends 4 (healthy) for an intact node, 8 (depleted) once someone has finished gathering it, and 4 again when it respawns. 32 shows up when something blocks the node.
  • 1 Invalid
  • 2 Initialized
  • 4 Healthy, can be gathered
  • 8 Depleted, already gathered
  • 16 Removed
  • 32 Obstructed
  • 64 Not on the required quest
  • 128 Locked
4
also seen: 4, 8, 32
range 4 to 32
— replenishTime unknown — — not seen in the recordings
How to capture