Error after going through a portal #12


  • New
  • Defect
Open
Assigned to _ForgeUser1194445
  • aoifedivinealliance created this issue Sep 4, 2009
    What steps will reproduce the problem? 1. go through a portal 2. 3. What is the expected output? What do you see instead? What version of the product are you using? 3.2.0.3 Do you have an error log of what happened? Date: 2009-09-04 13:29:20 ID: 1 Error occured in: Global Count: 1 Message: ...Ons\LibQuixote-2.0\LibQuixote-2.0\LibQuixote-2.0.lua line 357: attempt to index field '?' (a boolean value) Debug: [C]: ? ...Ons\LibQuixote-2.0\LibQuixote-2.0\LibQuixote-2.0.lua:357: ?() Cartographer_QuestInfo\Core.lua:442: Cartographer_QuestInfo\Core.lua:440 AddOns: Swatter, v5.6.4424 (KangaII) (ck=10f5) Please provide any additional information below.
  • aoifedivinealliance added the tags New Defect Sep 4, 2009
  • _ForgeUser1035158 posted a comment Sep 29, 2009

    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.

  • _ForgeUser1035158 posted a comment Sep 29, 2009

    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.