All Packets #4246
Javelin::ClientMessages::TimeComponentClientFacet_SyncTimeChange
We know its format and the Azoth server already uses it.
Tells your game how long the day and night cycle is and where it is right now.
Activity: Other
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, then log in. It is sent at login.
- Stay in the world for a few minutes and watch the sky.
- 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.
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.
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.
| At | Field | Type | Size | Meaning | Example |
|---|---|---|---|---|---|
| 16 | not named yet | nested structure |
— | — |
|
| 20 | not named yet | structured |
— | — |
|
| 24 | not named yet | structured |
— | — |
|
| 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. |
|
| 32 | sunsetSecondOfDay | structured |
— | When night starts, as seconds into the game day (65100, about 18:05). |
|
| 40 | dayLengthSeconds | structured |
— | How long daytime lasts in real seconds (3600, one hour). |
|
| 48 | nightLengthSeconds | structured |
— | How long night lasts in real seconds (1800, half an hour). One full cycle is therefore 5400 seconds. |
|
| 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. |
|
| 60 | not named yet | structured |
— | — |
|
| 64 | not named yet | structured |
— | — |
|
| 68 | not named yet | structured |
— | — |
|
| 72 | not named yet | structured |
— | — |
|