changeset 150:47885ba83d38 Release 2010-10-30

Removed some debugging code that caused characters on your own account to use the cross-account mail. Addes support GnomeWorks and ATSW queues.
author Asa Ayers <Asa.Ayers@Gmail.com>
date Mon, 18 Oct 2010 19:25:44 -0700
parents c949a0f26d9e
children e06bf0b64caa
files CHANGELOG.txt ItemAuditor.toc Modules/Events.lua QueueSupport/ATSW.lua QueueSupport/GnomeWorks.lua
diffstat 5 files changed, 24 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/CHANGELOG.txt	Sat Oct 16 07:36:11 2010 -0700
+++ b/CHANGELOG.txt	Mon Oct 18 19:25:44 2010 -0700
@@ -1,3 +1,8 @@
+2010-10-18  Asa Ayers  <Asa.Ayers@Gmail.com>
+
+- Removed some debugging code that caused characters on your own account to use the cross-account mail.
+- Addes support GnomeWorks and ATSW queues.
+
 2010-10-16  Asa Ayers  <Asa.Ayers@Gmail.com>
 
 - Fixed references to 'this' which Blizzard removed in 4.0.1
--- a/ItemAuditor.toc	Sat Oct 16 07:36:11 2010 -0700
+++ b/ItemAuditor.toc	Mon Oct 18 19:25:44 2010 -0700
@@ -29,3 +29,5 @@
 
 Modules\UnitTests.lua
 
+QueueSupport\ATSW.lua
+QueueSupport\GnomeWorks.lua
\ No newline at end of file
--- a/Modules/Events.lua	Sat Oct 16 07:36:11 2010 -0700
+++ b/Modules/Events.lua	Mon Oct 18 19:25:44 2010 -0700
@@ -120,7 +120,6 @@
 		for character in pairs(DataStore:GetCharacters(realm, account)) do
 			if strlower(recipient) == strlower(character) then
 				destinationType = (account == 'Default') and 'same_account' or 'owned_account'
-				destinationType = 'owned_account'
 				break
 			end
 		end
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/QueueSupport/ATSW.lua	Mon Oct 18 19:25:44 2010 -0700
@@ -0,0 +1,8 @@
+local function ATSWQueue(data)
+	if ATSW_AddJobLL then
+		ATSW_AddJobLL(data.skillName, data.queue)
+	else
+		print("Unable to find ATSW")
+	end
+end
+IAapi.RegisterQueueDestination('ATSW', ATSWQueue)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/QueueSupport/GnomeWorks.lua	Mon Oct 18 19:25:44 2010 -0700
@@ -0,0 +1,9 @@
+local function GnomeWorksQueue(data)
+	if GnomeWorks then
+		GnomeWorks:ShowQueueList()
+		GnomeWorks:AddToQueue(GnomeWorks.player, data.tradeSkillIndex, data.recipeID, data.queue)
+	else
+		print("Unable to find GnomeWorks")
+	end
+end
+IAapi.RegisterQueueDestination('GnomeWorks', GnomeWorksQueue)