Azoth Central — Javelin::ClientMessagesTrait::LevelInfoChangedMsg

All Packets #1635

Javelin::ClientMessagesTrait::LevelInfoChangedMsg

SolvedCaptured ✓

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

What it doesWe know what this does

Tells your game which level to load. It is sent when you log in and whenever the game loads a different area.

Activity: Login & world entry

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 before you log in.
  2. Log in and wait 30 seconds.
  3. Enter a dungeon, expedition or other instanced place if you can, and write down the time you went in and out.

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 during login, after the spawn point message and before the first world state. It tells the client which level to load and gives it the session context it must use from then on. The message has a variable layout (texts and a list), so only the map name has a fixed offset: find the other fields by reading in order.

Offsets count from the first byte after the message type (offset 0 is the first byte of the body). Where a field's offset is shown as "varies", it moves with the length of the fields before it; it is matched by name.

AtFieldTypeSizeMeaningExample
0 mapName.len vlq32 — Length of the map name that follows. 20
also seen: 20, 10, 14, 15, 25, 23, 24, 7
range 7 to 25
1 mapName utf8 — The name of the level to load. The client runs "map <name>" with it. For the open world it is NewWorld_VitaeEterna (Aeternum). NewWorld_VitaeEterna
also seen: NewWorld_VitaeEterna, NW_Arena01, NW_Catacomb_00, NW_CTF_003_Long, NW_Dungeon_GreatCleave_00, NW_Dungeon_GreatCleave_01, NW_Dungeon_Edengrove_00, NW_Dungeon_ShatterMtn_00, FTUE_V2, NW_ORI_EG_QuestMotherwell
varies coatlicuePath.len vlq32 — Length of the level data path that follows. 30
also seen: 30, 20, 24, 25, 35, 33, 34, 17
range 17 to 35
varies coatlicuePath utf8 — Where the level's terrain data lives, always "coatlicue/" followed by the map name. coatlicue/NewWorld_VitaeEterna
also seen: coatlicue/NewWorld_VitaeEterna, coatlicue/NW_Arena01, coatlicue/NW_Catacomb_00, coatlicue/NW_CTF_003_Long, coatlicue/NW_Dungeon_GreatCleave_00, coatlicue/NW_Dungeon_GreatCleave_01, coatlicue/NW_Dungeon_Edengrove_00, coatlicue/NW_Dungeon_ShatterMtn_00, coatlicue/FTUE_V2, coatlicue/NW_ORI_EG_QuestMotherwell
varies phasingOriginX f32be 4 B X of the origin of the phasing grid. Phasing splits the world into 256 m cells, and a position falls in cell (x - origin) / 256. For the open world: 2048. 2048
also seen: 2048, 864, 0, 679, 256, 384, 242, 400, 928, 8766
range 0 to 9074.68
varies phasingOriginY f32be 4 B Y of the origin of the phasing grid. For the open world: 16. 16
also seen: 16, 832, 0, 864, 320, 180, 1024, 368, 150, 672
range 0 to 6596
varies phasingBoundsX f32be 4 B Width of the area the phasing grid covers (12272 m for the open world, which gives 48 cells). The client only stores it, so this role is deduced from how the grid size works out. 12272
also seen: 12272, 992, 832, 896, 1088, 1024, 320, 640, 1760, 416
range 64 to 12272
varies phasingBoundsY f32be 4 B Height of the area the phasing grid covers (10250 m for the open world, which gives 41 cells). Same caveat as the width. 10250
also seen: 10250, 960, 896, 768, 1088, 288, 640, 1024, 800, 1760
range 64 to 10250
varies reserved u64be 8 B Eight bytes that the client stores and passes on. It is 0 in some captures and a large non-zero number in others (the non-zero values are close to each other). What it is for is not known. 0
also seen: 0, 0x486f26c06aa98369, 0x8b2cbbb86ac5c889, 0xec86ab206a342b6e, 0xec86ab206a342b77, 0xec86ab206a3ac3d3, 0x8b2cbbb86aa991d3, 0xf6e4d4dc6a74d559, 0xec86ab206a34222e, 0xec86ab206a3adb89
range 0 to 0xf6e4d4dc6a74d559
varies phasing.count vlq32 — How many phasing entries follow (0 to a handful). 1
also seen: 1, 4, 2, 0, 5, 3
range 0 to 5
varies phasing.keyType u8 1 B What kind of sector an entry is about.
  • 1 Territory or point-of-interest area (the key is the area's id)
  • 2 Background grid cell (the key is (cellY << 16) XOR cellX)
  • 3 Seen in some captures; meaning unknown
2
also seen: 2, 3, 1
range 1 to 3
varies phasing.keyId u32be 4 B The sector's key, read according to keyType. 1048601
also seen: 1048601, 983066, 983065, 1048602, 0, 40186, 1376275, 1310740, 1310739, 1376276
range 0 to 2359313
varies phasing.phaseId u64be 8 B The phase the player is in for that sector. It must not be 0. 0xa5b5ccc46ac5b9cb
also seen: 0xa5b5ccc46ac5b9cb, 0xa5b5ccc46ac5b84f, 0xa5b5ccc46ac5b999, 0xa5b5ccc46ac5b84d, 0x486f26c06aa98369, 0x2f26cd6c6aa9772d, 0xa5b5ccc46ac5b87d, 0xa5b5ccc46ac5b87a, 0xa5b5ccc46ac5b87c, 0xa5b5ccc46ac5b87b
range 0x1ba81e0e6a341df2 to 0xf6e4d4dc6a74d559
varies phasing.extra u32be 4 B A last 4-byte number of each entry. It is 0 in most samples; 2 also appears. Its meaning is not known. 0
also seen: 0, 2
range 0 to 2
varies flagA0 u8 1 B A flag byte the client stores. It is 1 in every sample. Its meaning is not known. 1
varies clientCtx u8 1 B The id of this session's client context (1 to 255). Every state bundle that follows carries the same number. 1
also seen: 1, 2, 3, 4, 5, 6, 7
range 1 to 7
varies isMaster u8 1 B Whether this player is the master player of the session. It has to be 1: with 0 the client stops handling the message. 1
varies flagA3 u8 1 B A flag byte the client only copies. It is 0 in most samples; 1 also appears. Its meaning is not known. 0
also seen: 0, 1
range 0 to 1
varies instance u64be 8 B A clock stamp (milliseconds since 2000-01-01 UTC) for this level instance. The client only compares it with the previous one. 845321346369
also seen: 845321346369, 843225685757, 843226031952, 844944650132, 844944948589, 844945166411, 835529814372, 835529922778, 835531469953, 835531567322
range 835203448191 to 845321346369
How to capture