HandleQuestUpdate
function · objectlayer · primitive
- Address
0x5e5ad0· 976 bytes, up to0x5e5e9f- Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)- Meaning
- Reads the quest updates 0x196 to 0x19a and shows their failure, completion, kill and item messages
- Confidence
- verified, proof one
- Finding
- objectlayer/quests#quest-updates
Finding: Quest updates in objectlayer: quests
0x5e5ad0 handles 0x196 to 0x19a. 0x19a reads an item and count and reports progress for each
log quest not done, as below. The others read a quest; a quest is done when
0x4df4b0 says so or its log entry has failed bit 0x2. An unknown quest prints "Unkown questID
(%d) in QuestUpdate". 0x197 first calls 0x4df550, then acts as 0x196: ERR_QUEST_FAILED_S.
0x198 shows ERR_QUEST_OBJECTIVE_COMPLETE_S with the objective text and QUEST_WATCH_UPDATE, or
ERR_QUEST_UNKNOWN_COMPLETE without text. 0x199 reads an id, a count, a need and a GUID: the
quest's own objective text gives ERR_QUEST_ADD_FOUND_SII, else an id with bit 31 names a game
object and shows the same error, else a creature ERR_QUEST_ADD_KILL_SII; then
QUEST_WATCH_UPDATE.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 16
- CDataStore::GetInt32 base
- CDataStore::GetGuid base
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- CGGameUI::DisplayError ui
- IsQuestIdExpiryLatched ui
- LatchQuestExpiryByQuest ui
- GetQuestLogIndex ui
- CreatureCacheGetRecord dbcache
- GameObjectCacheGetRecord dbcache
- QuestCacheGetRecord dbcache
- ReportQuestItemProgress objectlayer
- ConsoleWriteA console
- SMemAlloc storm
- FrameScriptGetPluralIndex ui
- FrameScript_SignalEvent2 ui
Calls and jumps by a bare address, from tables/calls.tsv.