Azoth Central — Javelin::ClientMessages::TimeComponentClientFacet_SyncTimeChange

All Packets #4246

Javelin::ClientMessages::TimeComponentClientFacet_SyncTimeChange

SolvedCaptured ✓

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

What it doesWe know what this does

Tells your game how long the day and night cycle is and where it is right now.

Activity: Other

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. It is sent at login.
  2. Stay in the world for a few minutes and watch the sky.
  3. Write down the time you entered the world.

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 shortly after your character appears in the world, in answer to the client's time request. It describes how the day and night cycle runs. It is server configuration and is the same for every player on the same server: each client works out the time of day from its own synced clock and the anchor inside.

16 B headervariable size

Offsets count from the first byte after the message type. The first 16 bytes name the component the call is addressed to; the arguments start at offset 16.

AtFieldTypeSizeMeaningExample
16 not named yet nested structure — —
  • p0: 6
20 not named yet structured — —
  • p1: -1
24 not named yet structured — —
  • p2: 0.00046913116
28 sunriseSecondOfDay structured — When day starts, as seconds into the game day (21300, about 05:55). The names and roles in this message are deduced from the values.
  • p3: 21300
32 sunsetSecondOfDay structured — When night starts, as seconds into the game day (65100, about 18:05).
  • p4: 65100
40 dayLengthSeconds structured — How long daytime lasts in real seconds (3600, one hour).
  • p5: 3600
48 nightLengthSeconds structured — How long night lasts in real seconds (1800, half an hour). One full cycle is therefore 5400 seconds.
  • p6: 1800
52 cycleAnchorNs structured — The moment the cycle began, in nanoseconds since 2000-01-01 UTC. Whether it is day or night now follows from the time since this anchor, modulo the 5400-second cycle. The official server sent different anchor values on different dates, so it is not a constant; all players of one server get the same one.
  • p7: 0xbb23eade4348a3f (0xb987731f3dd4e94 to 0xbb23eade4348a3f)
60 not named yet structured — —
  • p8: 0.16666667
64 not named yet structured — —
  • p9: 0.16666667
68 not named yet structured — —
  • p10: 0.8333333
72 not named yet structured — —
  • p11: 0.8333333
How to capture