From 2d7f7492c2b0f7bdab60cc5bdacec7c0cea3813a Mon Sep 17 00:00:00 2001 From: ackis Date: Thu, 8 Jan 2009 22:36:49 +0000 Subject: [PATCH] More debug messages for missing ID's... just for you Jim! --- AckisRecipeList.lua | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/AckisRecipeList.lua b/AckisRecipeList.lua index cf9f1b2..0ff358c 100644 --- a/AckisRecipeList.lua +++ b/AckisRecipeList.lua @@ -1419,6 +1419,14 @@ do if (TrainerList) then +--@debug@ + + if (not TrainerList[recipeacquire[i]["ID"]]) then + self:Print("Missing trainer in database: " .. recipeacquire[i]["ID"]) + end + +--@end-debug@ + local location = TrainerList[recipeacquire[i]["ID"]]["Location"] if (not locationchecklist[location]) then @@ -1457,6 +1465,14 @@ do if (MobList) then +--@debug@ + + if (not MobList[recipeacquire[i]["ID"]]) then + self:Print("Missing mob in database: " .. recipeacquire[i]["ID"]) + end + +--@end-debug@ + local location = MobList[recipeacquire[i]["ID"]]["Location"] if (not locationchecklist[location]) then @@ -1474,6 +1490,14 @@ do if (QuestList) then +--@debug@ + + if (not QuestList[recipeacquire[i]["ID"]]) then + self:Print("Missing quest in database: " .. recipeacquire[i]["ID"]) + end + +--@end-debug@ + local location = QuestList[recipeacquire[i]["ID"]]["Location"] if (not locationchecklist[location]) then -- 1.7.9.5