Quantcast

Fix smelting data, and fix a bug with the reputations. We won't listen to the event of faction changing anymore because it fires 8x when you get new rep and does some lame scanning, so we'll ignore that and accept the fact that if you get a reputation level, the recipe may appear red until you relog. :P

ackis [01-03-09 - 06:29]
Fix smelting data, and fix a bug with the reputations.  We won't listen to the event of faction changing anymore because it fires 8x when you get new rep and does some lame scanning, so we'll ignore that and accept the fact that if you get a reputation level, the recipe may appear red until you relog. :P
Filename
AckisRecipeList.lua
RecipeDB/ARL-Custom.lua
RecipeDB/ARL-Quest.lua
RecipeDB/ARL-Smelt.lua
diff --git a/AckisRecipeList.lua b/AckisRecipeList.lua
index b63a109..cf9f1b2 100644
--- a/AckisRecipeList.lua
+++ b/AckisRecipeList.lua
@@ -293,7 +293,7 @@ function addon:OnEnable()
 	self:RegisterEvent("TRADE_SKILL_CLOSE")

 	-- Addon responds when a players faction level changes
-	self:RegisterEvent("UPDATE_FACTION")
+	--self:RegisterEvent("UPDATE_FACTION")

 	-- Add an option so that ARL will work with Manufac
 	if (Manufac) then
@@ -398,10 +398,8 @@ end
 -- Output: None

 function addon:UPDATE_FACTION()
-
 	-- Reputation has changed so lets update the table
 	self:SetRepDB()
-
 end

 --[[
@@ -1557,9 +1555,7 @@ do
 	function addon:SetRepDB()

 		if (playerData and playerData["Reputation"]) then
-
 			self:GetFactionLevels(playerData["Reputation"])
-
 		end

 	end
diff --git a/RecipeDB/ARL-Custom.lua b/RecipeDB/ARL-Custom.lua
index 73a219a..bbed005 100644
--- a/RecipeDB/ARL-Custom.lua
+++ b/RecipeDB/ARL-Custom.lua
@@ -59,6 +59,7 @@ function addon:InitCustom(CustomDB)
 	self:addLookupList(CustomDB, 24, "Sunwell Trash Drop")
 	self:addLookupList(CustomDB, 25, "There is a chance that you find it in 5 different rooms in blackrock depths, its random spawn though, and sometimes it doesnt even spawn at all.")
 	self:addLookupList(CustomDB, 26, "Molten Core Bosses")
+	self:addLookupList(CustomDB, 27, "MC Duder In BWL")

 end

diff --git a/RecipeDB/ARL-Quest.lua b/RecipeDB/ARL-Quest.lua
index 766d956..042d4be 100644
--- a/RecipeDB/ARL-Quest.lua
+++ b/RecipeDB/ARL-Quest.lua
@@ -6,9 +6,6 @@ ARL-Quest.lua

 Quest data for all of Ackis Recipe List

-Auto-generated using ARLDataminer.rb
-Entries to this file will be overwritten
-
 91 found from data mining.  0 ignored.

 ************************************************************************
@@ -91,7 +88,7 @@ function addon:InitQuest(QuestDB)
 	self:addLookupList(QuestDB,2859,L["Wild Leather Leggings"],BZONE["Feralas"],74.83,44.71,2)
 	self:addLookupList(QuestDB,2860,L["Master of the Wild Leather"],BZONE["Thunder Bluff"],42.37,43.59,2)
 	self:addLookupList(QuestDB,3402,L["The Undermarket"],BZONE["Tanaris"],51.45,27.09,0)
-	self:addLookupList(QuestDB,4083,L["The Spectral Chalice"],L["Unknown Zone"],0,0,0)
+	self:addLookupList(QuestDB,4083,L["The Spectral Chalice"],BZONE["Blackrock Depths"],0,0,0)
 	self:addLookupList(QuestDB,4161,L["Recipe of the Kaldorei"],BZONE["Teldrassil"],57.59,61.60,1)
 	self:addLookupList(QuestDB,5124,L["Fiery Plate Gauntlets"],BZONE["Winterspring"],60.95,37.99,0)
 	self:addLookupList(QuestDB,5127,L["The Demon Forge"],BZONE["Winterspring"],64.05,73.24,0)
@@ -103,19 +100,19 @@ function addon:InitQuest(QuestDB)
 	self:addLookupList(QuestDB,6622,L["Triage"],BZONE["Arathi Highlands"],72.97,35.39,2)
 	self:addLookupList(QuestDB,6624,L["Triage"],BZONE["Dustwallow Marsh"],68.18,47.94,1)
 	self:addLookupList(QuestDB,7321,L["Soothing Turtle Bisque"],BZONE["Hillsbrad Foothills"],62.60,20.30,2)
-	self:addLookupList(QuestDB,7493,L["The Journey Has Just Begun"],L["Unknown Zone"],0,0,2)
-	self:addLookupList(QuestDB,7497,L["The Journey Has Just Begun"],L["Unknown Zone"],0,0,1)
+	self:addLookupList(QuestDB,7493,L["The Journey Has Just Begun"],BZONE["Onyxia's Lair"],0,0,2)
+	self:addLookupList(QuestDB,7497,L["The Journey Has Just Begun"],BZONE["Onyxia's Lair"],0,0,1)
 	self:addLookupList(QuestDB,7604,L["A Binding Contract"],L["Unknown Zone"],0,0,0)
 	self:addLookupList(QuestDB,7649,L["Enchanted Thorium Platemail: Volume I"],L["Unknown Zone"],0,0,0)
 	self:addLookupList(QuestDB,7650,L["Enchanted Thorium Platemail: Volume II"],L["Unknown Zone"],0,0,0)
 	self:addLookupList(QuestDB,7651,L["Enchanted Thorium Platemail: Volume III"],L["Unknown Zone"],0,0,0)
-	self:addLookupList(QuestDB,7653,L["Imperial Plate Belt"],L["Unknown Zone"],0,0,0)
-	self:addLookupList(QuestDB,7654,L["Imperial Plate Boots"],L["Unknown Zone"],0,0,0)
-	self:addLookupList(QuestDB,7655,L["Imperial Plate Bracer"],L["Unknown Zone"],0,0,0)
-	self:addLookupList(QuestDB,7656,L["Imperial Plate Chest"],L["Unknown Zone"],0,0,0)
-	self:addLookupList(QuestDB,7657,L["Imperial Plate Helm"],L["Unknown Zone"],0,0,0)
-	self:addLookupList(QuestDB,7658,L["Imperial Plate Leggings"],L["Unknown Zone"],0,0,0)
-	self:addLookupList(QuestDB,7659,L["Imperial Plate Shoulders"],L["Unknown Zone"],0,0,0)
+	self:addLookupList(QuestDB,7653,L["Imperial Plate Belt"],BZONE["Tanaris"],0,0,0)
+	self:addLookupList(QuestDB,7654,L["Imperial Plate Boots"],BZONE["Tanaris"],0,0,0)
+	self:addLookupList(QuestDB,7655,L["Imperial Plate Bracer"],BZONE["Tanaris"],0,0,0)
+	self:addLookupList(QuestDB,7656,L["Imperial Plate Chest"],BZONE["Tanaris"],0,0,0)
+	self:addLookupList(QuestDB,7657,L["Imperial Plate Helm"],BZONE["Tanaris"],0,0,0)
+	self:addLookupList(QuestDB,7658,L["Imperial Plate Leggings"],BZONE["Tanaris"],0,0,0)
+	self:addLookupList(QuestDB,7659,L["Imperial Plate Shoulders"],BZONE["Tanaris"],0,0,0)
 	self:addLookupList(QuestDB,8313,L["Sharing the Knowledge"],BZONE["Ironforge"],40.35,72.87,0)
 	self:addLookupList(QuestDB,8323,L["True Believers"],BZONE["Silithus"],66.96,71.35,0)
 	self:addLookupList(QuestDB,8586,L["Dirge's Kickin' Chimaerok Chops"],BZONE["Tanaris"],52.50,27.99,0)
@@ -123,7 +120,7 @@ function addon:InitQuest(QuestDB)
 	self:addLookupList(QuestDB,8878,L["Festive Recipes"],L["Unknown Zone"],0,0,0)
 	self:addLookupList(QuestDB,8882,L["Cluster Launcher"],L["Unknown Zone"],0,0,0)
 	self:addLookupList(QuestDB,9171,L["Culinary Crunch"],BZONE["Ghostlands"],47.88,31.20,2)
-	self:addLookupList(QuestDB,9249,L["40 Tickets - Schematic: Steam Tonk Controller"],L["Unknown Zone"],0,0,0)
+	self:addLookupList(QuestDB,9249,L["40 Tickets - Schematic: Steam Tonk Controller"],BZONE["Darkmoon Faire"],0,0,0)
 	self:addLookupList(QuestDB,9356,L["Smooth as Butter"],BZONE["Hellfire Peninsula"],49.04,74.06,0)
 	self:addLookupList(QuestDB,9454,L["The Great Moongraze Hunt"],BZONE["Bloodmyst Isle"],53.73,55.95,1)
 	self:addLookupList(QuestDB,9635,L["The Zapthrottle Mote Extractor!"],BZONE["Zangarmarsh"],34.38,51.47,2)
diff --git a/RecipeDB/ARL-Smelt.lua b/RecipeDB/ARL-Smelt.lua
index 83ba796..a9eb709 100644
--- a/RecipeDB/ARL-Smelt.lua
+++ b/RecipeDB/ARL-Smelt.lua
@@ -94,8 +94,8 @@ function addon:InitSmelting(RecipeDB)
 	-- Smelt Dark Iron -- 14891
 	recipecount = recipecount + 1
 	self:addTradeSkill(RecipeDB,14891,230,11371,1,2575)
-	self:addTradeFlags(RecipeDB,14891,3,21,22,23,24,25,26,27,28,29,30,36,41)
-	-- No acquire information
+	self:addTradeFlags(RecipeDB,14891,1,2,8,21,22,23,24,25,26,27,28,29,30,36,41)
+	self:addTradeAcquire(RecipeDB,14891,4,4083)

 	-- Smelt Thorium -- 16153
 	recipecount = recipecount + 1
@@ -106,8 +106,8 @@ function addon:InitSmelting(RecipeDB)
 	-- Smelt Elementium -- 22967
 	recipecount = recipecount + 1
 	self:addTradeSkill(RecipeDB,22967,300,17771,5,2575)
-	self:addTradeFlags(RecipeDB,22967,3,21,22,23,24,25,26,27,28,29,30,36,41)
-	-- No acquire information
+	self:addTradeFlags(RecipeDB,22967,1,2,6,21,22,23,24,25,26,27,28,29,30,36,41)
+	self:addTradeAcquire(RecipeDB,22967,8,27)

 	-- Smelt Fel Iron -- 29356
 	recipecount = recipecount + 1
@@ -193,8 +193,7 @@ function addon:InitSmelting(RecipeDB)
 	self:addTradeSkill(RecipeDB,46353,375,35128,3,2575)
 	self:addTradeFlags(RecipeDB,46353,1,2,6,21,22,23,24,25,26,27,28,29,30,36,41)
 	self:addTradeAcquire(RecipeDB,46353,8,24)
-	-- Ignored Recipes:
-	-- 46353 - Smelt Hardened Khorium
+
 	return recipecount

 end