This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Got tired of this happening every time I zoned so I wrote a patch.
--- LibQuixote-2.0.lua~ 2009-09-29 22:09:21.494000000 -0400 +++ LibQuixote-2.0.lua 2009-09-29 22:13:01.495000000 -0400 @@ -354,14 +354,16 @@ if quest_objectives[uid] then for desc, goal in pairs(quest_objectives[uid]) do -- goal: {got, needed, type} - local oldgoal = old_quest_objectives[uid][desc] - if (goal[1] ~= 0) and (oldgoal and oldgoal[1] ~= goal[1]) then - -- An objective has advanced - lib.callbacks:Fire("Objective_Update", quest.title, uid, desc, oldgoal and oldgoal[1] or 0, goal[1], goal[2], goal[3]) - changed = true + if (old_quest_objectives[uid]) then + local oldgoal = old_quest_objectives[uid][desc] + if (goal[1] ~= 0) and (oldgoal and oldgoal[1] ~= goal[1]) then + -- An objective has advanced + lib.callbacks:Fire("Objective_Update", quest.title, uid, desc, oldgoal and oldgoal[1] or 0, goal[1], goal[2], goal[3]) + changed = true + end end end - if old_quest_objectives[uid][""] and not quest_objectives[uid][""] then + if old_quest_objectives[uid] and old_quest_objectives[uid][""] and not quest_objectives[uid][""] then -- An objective was previously uncached and has now been filled in. changed = true end
This seems to make the error go away for me.
Apologies, forgot to mention: apply the patch to Interface/AddOns/Cartographer_QuestInfo/libs/LibQuixote-2.0/LibQuixote-2.0.lua
To post a comment, please login or register a new account.