Guidelime

Guidelime

4M Downloads

Integration with Questie problems

MyTechnoHunter opened this issue · 3 comments

commented

Questie is refactoring to make things easier/better with WotLK and thus is changing the questieDB end of things..

the following occurs when loading questie version 7.0.2
and guidelime v2.038 (WotLK)

2x Questie\Database\QuestieDB.lua:370: Usage: GetQuestTagInfo(questID)
[string "=[C]"]: in function GetQuestTagInfo' [string "@Questie\Database\QuestieDB.lua"]:370: in function GetQuestTagInfo'
[string "@Questie\Database\QuestieDB.lua"]:333: in function IsDungeonQuest' [string "@Guidelime\Data\Guidelime_Questie.lua"]:91: in function <Guidelime\Data\Guidelime_Questie.lua:89> [string "=(tail call)"]: ? [string "@Guidelime\Guidelime-2.038.lua"]:640: in function getQuestText'
[string "@Guidelime\Guidelime_Map.lua"]:129: in function <Guidelime\Guidelime_Map.lua:124>
[string "@Guidelime\Guidelime_Map.lua"]:161: in function addMapIcon' [string "@Guidelime\Guidelime-2.038.lua"]:1233: in function updateStepsMapIcons'
[string "@Guidelime\Guidelime-2.038.lua"]:1314: in function `updateSteps'
[string "@Guidelime\Data\Guidelime_Questie.lua"]:40: in function <Guidelime\Data\Guidelime_Questie.lua:36>

Locals:
(*temporary) =

{
objectCompilerOrder =
{
}
questDataOverrides =
{
}
_QueryItemSingle = defined @Questie\Database\compiler.lua:1161
itemCompilerOrder =
{
}
questKeys =
{
}
questFlags =
{
}
objectDataOverrides =
{
}
_npcAdapterQueryOrder =
{
}
NPCPointers =
{
}
IsActiveEventQuest = defined @Questie\Database\QuestieDB.lua:382
ObjectPointers =
{
}
IsComplete = defined @Questie\Database\QuestieDB.lua:602
factionTemplate =
{
}
IsParentQuestActive = defined @Questie\Database\QuestieDB.lua:436
objectKeys =
{
}
questCompilerTypes =
{
}
objectKeysReversed =
{
}
QueryNPC = defined @Questie\Database\QuestieDB.lua:153
_QueryQuestSingle = defined @Questie\Database\compiler.lua:1161
QuestPointers =
{
}
GetQuestsByZoneId = defined @Questie\Database\QuestieDB.lua:995
itemKeys =
{
}
GetQuestTagInfo = defined @Questie\Database\QuestieDB.lua:369
GetNPC = defined @Questie\Database\QuestieDB.lua:944
_itemAdapterQueryOrder =
{
}
IsRaidQuest = defined @Questie\Database\QuestieDB.lua:339
npcDataOverrides =
{
}
GetQuest = defined @Questie\Database\QuestieDB.lua:642
questCompilerOrder =
{
}
npcKeys =
{
}
itemDataOverrides =
{
}
raceKeys =
{
}
questKeysReversed =
{
}
fakeTbcItemStartId = 40000
itemCompilerTypes =
{
}
IsExclusiveQuestInQuestLogOrComplete = defined @Questie\Database\QuestieDB.lua:388
objectCompilerTypes =
{
}
sortKeys =
{
}
QueryItemSingle = defined @Questie\Database\QuestieDB.lua:153
Initialize = defined @Questie\Database\QuestieDB.lua:168
QueryObject = defined @Questie\Database\QuestieDB.lua:153
ItemPointers =
{
}
QueryObjectSingle = defined @Questie\Database\QuestieDB.lua:153
_questAdapterQueryOrder =
{
}
_QueryObjectSingle = defined @Questie\Database\compiler.lua:1161
QueryQuestSingle = defined @Questie\Database\QuestieDB.lua:153
_QueryItem = defined @Questie\Database\compiler.lua:1188
npcCompilerOrder =
{
}
QueryItem = defined @Questie\Database\QuestieDB.lua:153
_QueryQuest = defined @Questie\Database\compiler.lua:1188
_QueryNPC = defined @Questie\Database\compiler.lua:1188
IsLevelRequirementsFulfilled = defined @Questie\Database\QuestieDB.lua:405
_QueryNPCSingle = defined @Questie\Database\compiler.lua:1161
_CreatureLevelCache =
{
}
GetZoneOrSortForClass = defined @Questie\Database\QuestieDB.lua:361
IsPreQuestSingleFulfilled = defined @Questie\Database\QuestieDB.lua:477
private =
{
}
GetCreatureLevels = defined @Questie\Database\QuestieDB.lua:902
_QueryObject = defined @Questie\Database\compiler.lua:1188
IsPreQuestGroupFulfilled = defined @Questie\Database\QuestieDB.lua:448
IsDoable = defined @Questie\Database\QuestieDB.lua:503
npcFlags =
{
}
QueryQuest = defined @Questie\Database\QuestieDB.lua:153
IsRepeatable = defined @Questie\Database\QuestieDB.lua:317
classKeys =
{
}
itemKeysReversed =
{
}
_objectAdapterQueryOrder =
{
}
IsDailyQuest = defined @aDDo

commented

Thank you Björn!
Great support from you guys.

commented

You are welcome @max-ri We know your addon is quite popular as well, so its good to stick together 😉

commented

Questie Dev here: Easy fix. We refactored parts of the QuestieDB module to improve performance. SImply call QuestieDB.IsDungeonQuest instead of QuestieDB:IsDungeonQuest. Same goes for a few other QuestieDB functions.

These are the erroring lines:

if QuestieDB:IsDungeonQuest(id) then return "Dungeon" end
if QuestieDB:IsRaidQuest(id) then return "Raid" end
if QuestieDB:GetQuestTagInfo(id) == 1 then return "Group" end