benilla-re systems structs docs

s_bgMaxLevel

global · ui

Address
0xb6ebac · 4 bytes, up to 0xb6ebaf
Type
uint32_t
Meaning
Holds the maximum level of the listed bracket, at most 60
Confidence
verified, proof one
Finding
ui/battlefield#the-list-message

Finding: The list message in ui: battlegrounds

Opcode 0x23d, 0x4aa6c0: u64 battlemaster, u32 mapId, u8 bracket, u32 count, count times u32 instanceId. The bracket gives the levels: min = bracket * Map[+0x9c] + Map[+0x34] and max = min(Map[+0x9c] + min - 1, 60), both 0 when the span is not positive. The handler stores the ids, signals BATTLEFIELDS_SHOW and only then stores the player's position (three floats) as the anchor of the walk-away check, zeros without a player.

The derivation is in the doc.