Guidelime

Guidelime

4M Downloads

Bug Questie Database

stampis opened this issue ยท 1 comments

commented

Got errors when using Questie as the DB source and trying to call quest in [QA949] "The Twilight Camp" id:949...

Lua Error:

Message: ...nterface\AddOns\Guidelime\Data\Guidelime_Questie.lua:140: attempt to index field '?' (a nil value)
Time: Wed Aug 14 01:18:29 2019
Count: 2
Stack: ...nterface\AddOns\Guidelime\Data\Guidelime_Questie.lua:140: attempt to index field '?' (a nil value)
...nterface\AddOns\Guidelime\Data\Guidelime_Questie.lua:140: in function <...nterface\AddOns\Guidelime\Data\Guidelime_Questie.lua:58>
(tail call): ?
...face\AddOns\Guidelime\Data\Guidelime_QuestsTools.lua:299: in function `getQuestPosition'
Interface\AddOns\Guidelime\Guidelime.lua:292: in function `loadCurrentGuide'
Interface\AddOns\Guidelime\Guidelime_Guides.lua:21: in function `loadGuide'
Interface\AddOns\Guidelime\Guidelime_Guides.lua:139: in function <Interface\AddOns\Guidelime\Guidelime_Guides.lua:138>
Interface\AddOns\Guidelime\Guidelime_Frames.lua:103: in function <Interface\AddOns\Guidelime\Guidelime_Frames.lua:102>

Locals: id = 949
typ = "ACCEPT"
index = nil
quest = <table> {
 1 = "The Twilight Camp"
 2 = <table> {
 }
 3 = <table> {
 }
 4 = 12
 5 = 17
 6 = 77
 8 = <table> {
 }
 10 = <table> {
 }
 13 = <table> {
 }
 17 = 148
 22 = 950
}
list = <table> {
 2 = <table> {
 }
}
npcs = <table> {
}
objects = <table> {
 1 = 10076
}
items = <table> {
}
positions = <table> {
}
filterZone = 148
(for index) = 1
(for limit) = 1
(for step) = 1
j = 1
object = <table> {
 1 = "Scrying Bowl"
 2 = <table> {
 }
 3 = <table> {
 }
 5 = 0
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field '?' (a nil value)"
addon = <table> {
 setArrowTexture = <function> defined @Interface\AddOns\Guidelime\Guidelime_Map.lua:143
 showEditPopupQUEST = <function> defined @Interface\AddOns\Guidelime\Guidelime_Editor.lua:428
 showEditPopupNEXT = <function> defined @Interface\AddOns\Guidelime\Guidelime_Editor.lua:192
 showEditPopupDETAILS = <function> defined @Interface\AddOns\Guidelime\Guidelime_Editor.lua:234
 class = "Paladin"
 loadGuide = <function> defined @Interface\AddOns\Guidelime\Guidelime_Guides.lua:4
 races = <table> {
 }
 showEditPopupAPPLIES = <function> defined @Interface\AddOns\Guidelime\Guidelime_Editor.lua:336
 createPopupFrame = <function> defined @Interface\AddOns\Guidelime\Guidelime_Frames.lua:132
 COLOR_LEVEL_YELLOW = ""
 showArrow = <function> defined @Interface\AddOns\Guidelime\Guidelime_Map.lua:189
 mapIcons = <table> {
 }
 COLOR_INACTIVE = ""
 showGuides = <function> defined @Interface\AddOns\Guidelime\Guidelime_Guides.lua:222
 SPECIAL_MAP_INDEX = <table> {
 }
 showOptions = <function> defined @Interface\AddOns\Guidelime\Guidelime_Options.lua:216
 importPlainText = <function> defined @Interface\AddOns\Guidelime\Guidelime_Import.lua:295
 getClass = <function> defined @Interface\AddOns\Guidelime\Data\Guidelime_Data.lua:26
 getQuestFactionQuestie = <function> defined @Interface\AddOns\Guidelime\Data\Guidelime_Questie.lua:50
 factions = <table> {
 }
 showEditPopupNAME = <function> defined @Interface\AddOns\Guidelime\Guidelime_Editor.lua:192
 creaturesDB = <table> {
 }
 containsKey = <function> defined @Interface\AddOns\Guidelime\Data\Guidelime_Data.lua:76
 COLOR_LEVEL_GRAY = ""
 addCheckbox = <function> defined @Interface\AddOns\Guidelime\Guidelime_Frames.lua:55
 COLOR_LIGHT_BLUE = ""
 getQuestPositions = <function> defined @Interface\AddOns\Guidelime\Data\Guidelime_QuestsTools.lua:144
 addQuestCoordinates = <function> defined @Interface\AddOns\Guidelime\Guidelime_EditorTools.lua:33
 COLOR_LEVEL_RED = ""
 arrowX = -2295.891640
 AUTO_COMPLETE_DELAY = 0.500000
 getPossibleQuestIdsByName = <function> defined @Interface\AddOns\Guidelime\Data\Guidelime_QuestsTools.lua:349
 addCheckOption = <function> defined @Interface\AddOns\Guidelime\Guidelime_Frames.lua:69
 updateFromQuestLog = <function> defined @Interface\AddOns\Guidelime\Guidelime_Even

DB entry from Questie:
[949] = {"The Twilight Camp",{nil,{10076,},nil,},{nil,{12666,},},12,17,77,nil,{"Find a clue in the Twilight's Hammer camp at the Master's Glaive.",},nil,{nil,nil,nil,nil,},nil,nil,{944,},nil,nil,nil,148,nil,nil,nil,nil,950,},

commented

Thanks for the detailed report. Made it super easy to fix this bug.