All Packets #12
MB::GatherableControllerReplicatedState
We know its format and the Azoth server already uses it.
Keeps the state of a gatherable node: healthy and ready to harvest, or used up until it comes back.
Activity: Gathering
We already have this packet in a recording. You only need to record it again if you want to help check it.
- Head to a tree, ore vein or plant with a tool that can harvest it.
- Harvest it until it is used up. Write down the time it ran out.
- Stay nearby until it comes back and write down the time it returned.
- 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.
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.
| At | Field | Type | Size | Meaning | Example |
|---|---|---|---|---|---|
| — | 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.
|
4
also seen: 4, 8, 32
range 4 to 32
|
| — | replenishTime | unknown |
— | — | not seen in the recordings |