Azoth Central — MB::ManaComponentReplicatedState

All Packets #1652

MB::ManaComponentReplicatedState

SolvedCaptured ✓

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

What it doesWe know what this does

Keeps your mana bar in sync: how much mana you have, the maximum and how fast it comes back.

Activity: Combat

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. Start the capture, then log in and choose a character.
  2. Equip a weapon that uses mana, such as a fire staff, a life staff, an ice gauntlet or a void gauntlet.
  3. Head to an area with enemies and use abilities until your mana bar is low.
  4. Stop and wait until the mana bar fills up again.
  5. Write down the time of each step.

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: Inferred

When: Sent by the server with the local player's mana. It comes with the first state at login and again as mana changes. Without it the client cannot find the mana regeneration rate and the mana bar misbehaves.

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
— cur f32be 4 B Current mana. During regeneration it climbs in small steps (about 0.1 per update in the captures). It is not capped by max in the captures: it went up to 110 and as low as about 72. 100.1
also seen: 100.1, 100.2, 100.299995, 100.399994, 100.49999, 100.59999, 100.69999, 100.79999, 100.89999, 100.999985
range 72.25073 to 110
— max f32be 4 B The maximum mana the server sent at login (100 in every capture). Do not treat it as a hard cap: cur went above it in some captures. 100
— regenDelay f32be 4 B How long after spending mana before it starts to regenerate. It was 0 in every capture, and the unit has not been confirmed. 0
— regenRate f32be 4 B How fast mana regenerates. It was 1.0 in every capture, and the unit has not been confirmed. 1
How to capture