benilla-re systems structs docs

s_questFailReason

global · objectlayer

Address
0xc4d794 · 4 bytes, up to 0xc4d797
Type
uint32_t
Meaning
Holds the reason of the last quest failure
Confidence
verified, proof one
Finding
objectlayer/quests#quest-failure

Finding: Quest failure in objectlayer: quests

0x192 stores the reason in 0xc4d794 and, with the quest's record, shows ERR_QUEST_FAILED_BAG_FULL_S and ERR_INV_FULL for reasons 4 and 0x32, ERR_QUEST_FAILED_MAX_COUNT_S for 0x11, and otherwise ERR_QUEST_FAILED_S when the quest is not already done; then 0x501130(0, 0). A record still pending shows the same lines on arrival.

The derivation is in the doc.