Azoth Central — MB::CooldownTimersComponentReplicatedState

All Packets #2932

MB::CooldownTimersComponentReplicatedState

SolvedCaptured ✓

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

What it doesVery likely

Keeps the cooldown clocks you see in the game: potions and food, ability recharge timers, and the daily and weekly reset times.

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. Drink a health potion, then try to drink another one while the clock runs. Write down the time.
  2. Use an item that has its own cooldown, such as a food or a utility item, twice.
  3. Fight an enemy and use two or three abilities that show a recharge timer. Wait for them to recharge.
  4. 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: Verified

When: Sent by the server to the local player (component key 45) with the cooldown timers that the UI shows. The official server sends everything at login (about 6 KB) and then small deltas when a cooldown starts. Without the consumable map the client cannot draw the cooldown clock on a potion even though the potion works. All fields are in one group (mask bit 0x01). A container is sent either in full (a 0 byte, then an optional version, the entry count and the entries; it replaces what the client has) or as a delta (the number of changes, then for each batch of up to 8 entries one mask byte and, per entry, its key, an optional version and, if the mask bit is set, the value; a clear bit removes the entry).

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
— cdmap1 structured — A cooldown map. Each entry is a 32-bit key and two 64-bit numbers; both are 1 when the entry has expired, and while running they are clock values in microseconds since 2000-01-01 UTC. In the login state it has 98 entries, all expired. What the two numbers and the key stand for has not been confirmed.
  • count: 0 (0 to 1)
  • each: a: 1 (0 to 844960976655691)
  • each: b: 1 (0 to 844960963990208)
— cdmap2 structured — A second cooldown map with the same layout as cdmap1.
  • count: 0 (0 to 1)
  • each: a: 1 (0 to 844960987812518)
  • each: b: 1 (1 to 844960970925208)
— cdmap3 structured — A third cooldown map with the same layout as cdmap1.
  • count: 0 (0 to 1)
  • each: a: 1 (0 to 844960997655174)
  • each: b: 1 (1 to 844960972324208)
— ccdmap structured — Cooldowns of consumables such as potions. Each entry is: a 32-bit key (the CRC32 of the lowercase consumable id), the end time as a 64-bit number of microseconds on the server clock (2000-01-01 UTC; all bits 1 = no end), the CRC32 of the cooldown group id (potions of one kind share a group) and the CRC32 of the consumable id again. The client turns the end time into the seconds left on the clock.
  • count: 0
  • each: end: 844960254945773 (843829358539455 to 844960860362985)
  • each: group: 1114963810 (1004578122 to 1114963810)
  • each: id: 2650467017 (253248503 to 2650467017)
— gencds structured — A map of 32-bit key, 64-bit number and 32-bit number (about 28 entries at login). Its meaning is not decoded.
  • count: 0
  • each: a: 4697562678 (4682937933 to 4705221649)
  • each: b: 1112767828 (21003428 to 4263878908)
— nextDailyCooldown u64be 8 B A 64-bit time in nanoseconds since 1970-01-01. Probably the next daily reset (not confirmed). 0x18dd5a6130d3115c
also seen: 0x18dd5a6130d3115c, 0x18b9707abd736afc, 0x18b9707abd82542c, 0x18b8d351b9ae9d68, 0x18b921e62dd409e8, 0x18dd5a6136649b40, 0x18d95cd5d4e0024c, 0x18b9bf0f6ec82558
range 0x18b8d351b9ae9d68 to 0x18dd5a6136649b40
— nextWeeklyCooldown u64be 8 B A 64-bit time in nanoseconds since 1970-01-01. Probably the next weekly reset (not confirmed). 0x18ddf78a53724978
also seen: 0x18ddf78a53724978, 0x18b9707abd74be70, 0x18b9707abd841cd0, 0x18b9707adc4d96a0, 0x18b9707abf249efc, 0x18ddf78a590474b0, 0x18d9ab6a6630b7cc, 0x18bb968ad6a35cac
range 0x18b9707abd74be70 to 0x18ddf78a590474b0
How to capture