Cartographer_QuestInfo

12 - Error after going through a portal

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.

User When Change
Aoife Fri, 04 Sep 2009 20:33:42 Create

You must login to post a comment. Don't have an account? Register to get one!

  • 2 comments
  • Avatar of CerebralFox CerebralFox Wed, 30 Sep 2009 02:33:22

    Apologies, forgot to mention: apply the patch to Interface/AddOns/Cartographer_QuestInfo/libs/LibQuixote-2.0/LibQuixote-2.0.lua

  • Avatar of CerebralFox CerebralFox Wed, 30 Sep 2009 02:27:17

    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.

  • 2 comments

Facts

Last updated on
30 Sep 2009
Reported on
04 Sep 2009
Status
New - Issue has not had initial review yet.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.

Reported by

Possible assignees

Votes (Total: +3, Average: +3.0)