s_corpseMap
global · ui
- Address
0xb4e320· 4 bytes, up to0xb4e323- Type
int32_t- Meaning
- Holds the map id of the corpse itself
- Confidence
- verified, proof one
- Finding
- ui/deathui#the-corpse-location
Finding: The corpse location in ui: death, the corpse run and resurrection
A ghost asks for its corpse with the empty packet 0x216, sent by 0x491f50 when the player has the ghost bit (PLAYER_FLAGS bit 4) set. The function first resets the cache (0x492010(-1, 0, 0, 0, -1)) and the range latch. The answer is u8 found, i32 mapId, f32 x, y, z, i32 corpseMapId; with found set and the player a ghost it is stored by 0x492010 at 0xb4e31c, 0xb4e284 to 0xb4e28c and 0xb4e320,
otherwise the cache is reset.
The derivation is in the doc.