All Packets #4297
MB::StaminaComponentReplicatedState
We know its format and the Azoth server already uses it.
Keeps your stamina bar in sync: how much you have, the most you can have, whether you are out of breath and how fast it refills.
Activity: Combat
We already have this packet in a recording. You only need to record it again if you want to help check it.
- Start the capture before you log in, then log in and write down the time you pressed Play.
- Head to the open world and sprint until your stamina bar is empty. Keep going until your character is out of breath, then stop and let it refill.
- Roll or dodge three times in a row, then rest. 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.
When: Sent by the server to the local player (component key 42) with its stamina meter. It comes with the first states at login and again whenever stamina is spent or recovers. Without it the client cannot find the stamina regeneration delay and logs a missing-stat error every time stamina is used. All six fields are 32-bit floats in one group, so a full state is mask bytes 0x01 0x3f followed by 24 bytes.
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 |
|---|---|---|---|---|---|
| — | cur | f32be |
4 B | Current stamina. 100 when full; in the captures it drops when stamina is spent and climbs in small steps while recovering. |
100
also seen: 100, 55, 10, 11.111, 12.222, 13.333, 14.444, 15.555, 16.666, 17.777
range 0 to 100
|
| — | max | f32be |
4 B | Maximum stamina (100 in the captures). |
100
|
| — | winded | f32be |
4 B | Zero normally. In the captures it goes up to 2 and then counts down in steps of about 0.033 back to 0 (apparently after stamina runs out). The unit has not been confirmed. |
0
also seen: 0, 2, 1.9666667, 1.9333334, 1.9000001, 1.8666668, 1.8333335, 1.8000002, 1.7666669, 1.7333336
range 0 to 2
|
| — | regen | f32be |
4 B | Zero when stamina is full. In the captures it goes up to 1 and then counts down in steps of about 0.033 (apparently while stamina recovers). The unit has not been confirmed. |
0
also seen: 0, 1, 0.96666664, 0.9333333, 0.8999999, 0.86666656, 0.8333332, 0.79999983, 0.7666665, 0.7333331
range 0 to 1
|
| — | multMax | f32be |
4 B | Multiplier applied to the maximum (1 in the captures). |
1
|
| — | multRegen | f32be |
4 B | Multiplier applied to the regeneration. 1 normally; gear and effects change it (from 0.81 to 1.4 in the captures). |
1
also seen: 1, 1.25, 1.4, 1.15, 1.224, 1.034, 0.81
range 0.81 to 1.4
|