GetQuestLogIndex
function · ui · primitive
- Address
0x4df880· 37 bytes, up to0x4df8a4- Meaning
- Returns the 1-based position of a quest among the 40 log entries, headers counted and skipped, or 0
- 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 2
- ReportQuestItemProgress objectlayer
- HandleQuestUpdate objectlayer
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.