benilla-re systems structs docs

s_lastDisplayedMessage

global · ui

Address
0xb4da40 · 2048 bytes, up to 0xb4e23f
Type
char[2048]
Meaning
Holds the text DisplayError last formatted; empty at load
Confidence
inferred
Finding
spell/failures#display-log-and-events

Finding: Display, log and events in spell: failures

CGGameUI::DisplayError gets the message id and the text, the argument of the id's format. The combat-log formatter 0x62c360 gets the player, the spell and the text, or, when the text is empty, the text just displayed. If the spell is the in-flight spell 0xceca88, 0x6e4940 (cast) runs with 1, the from-server byte's negation and the reason, firing SPELLCAST_INTERRUPTED (340) for 0x23 and 0x24 and SPELLCAST_FAILED (339) for the rest when its caster is the player, and the reporter returns. Otherwise, with no spell in flight and a reason other than 0x61, it fires the same choice itself; no event carries arguments.

The derivation is in the doc.