Thread: QuestInfo Bug
View Single Post
08/26/15, 04:44 AM   #2
votan
 
votan's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2014
Posts: 577
Originally Posted by @AlphaLemming View Post
Did anyone encounter this too?

GetJournalQuestInfo(questId) returns a empty array if on a german client and has crafting quest Alchemy writ with completed steps?
Yes. Wandamey figured out how it's correct:
Lua Code:
  1. for questIndex = 1, MAX_JOURNAL_QUESTS do
  2.     if IsValidQuestIndex(questIndex) then
  3.       questType = GetJournalQuestType(questIndex)
  4. ...
Because the questIndex does not change, if you complete another quest with a lower index.
  Reply With Quote