benilla-re systems structs docs

s_pendingQuestConfirm

global · ui

Address
0xbe0840 · 4 bytes, up to 0xbe0843
Type
uint32_t
Meaning
Holds the quest id of the last quest confirmation request, never cleared
Confidence
verified, proof one
Finding
ui/questshare#the-confirmation-request

Finding: The confirmation request in ui: sharing a quest with the party

SMSG_QUEST_CONFIRM_ACCEPT (opcode 0x19c, 0x5e5eb0) is u32 questId, a C string title (at most 0x400) and u64 senderGuid. The handler stores the quest id in 0xbe0840 at once, then, when the sender's name is in the name cache, fires QUEST_ACCEPT_CONFIRM (id 346) with the name and the title as two strings; with the name missing it fires nothing. ConfirmAcceptQuest() sends opcode 0x19b with whatever 0xbe0840 holds, with no test. Nothing clears that cell, not a decline, a close, a party change or entering the world.

The derivation is in the doc.