Quantcast

More debug messages for missing ID's... just for you Jim!

ackis [01-08-09 - 22:36]
More debug messages for missing ID's... just for you Jim!
Filename
AckisRecipeList.lua
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