From 53833ad98b54ea48abefd54c6a01b3f8448badcc Mon Sep 17 00:00:00 2001 From: Ahmil Jilani Date: Wed, 30 Nov 2011 21:03:00 -0500 Subject: [PATCH] 2.4.3 --- SuperDuperMacro/SuperDuperMacro.toc | 2 +- SuperDuperMacro/SuperDuperMacro_Core.lua | 6 +++--- SuperDuperMacro/sdm Readme.txt | 7 ++++--- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/SuperDuperMacro/SuperDuperMacro.toc b/SuperDuperMacro/SuperDuperMacro.toc index 897cfd9..db9b10e 100644 --- a/SuperDuperMacro/SuperDuperMacro.toc +++ b/SuperDuperMacro/SuperDuperMacro.toc @@ -2,7 +2,7 @@ ## Title : Super Duper Macro ## Notes: Enables creation of incredibly long macros. ## Author: hypehuman -## Version: 2.4.2 +## Version: 2.4.3 ## SavedVariables: sdm_version, sdm_listFilters, sdm_iconSize, sdm_mainContents, sdm_macros SuperDuperMacro_Core.lua SuperDuperMacro_Interface.lua diff --git a/SuperDuperMacro/SuperDuperMacro_Core.lua b/SuperDuperMacro/SuperDuperMacro_Core.lua index 57346c8..d5606c3 100644 --- a/SuperDuperMacro/SuperDuperMacro_Core.lua +++ b/SuperDuperMacro/SuperDuperMacro_Core.lua @@ -82,7 +82,7 @@ sdm_eventFrame:SetScript("OnEvent", function (self, event, ...) -- SDM uses this event for two things. Whenever you log into the game, UPDATE_MACROS is fired twice. After the second firing, the macros are loaded. This is when SDM deletes extraneous macros that it has created before. This generally happens if you use different computers or if you don't use SDM for a while. Whenever you log in, SDM makes sure that your macro list jives with the info in SavedVariables. if sdm_countUpdateMacrosEvents == 0 then sdm_countUpdateMacrosEvents = 1 - elseif sdm_countUpdateMacrosEvents==1 then + elseif sdm_countUpdateMacrosEvents == 1 then sdm_countUpdateMacrosEvents = 2 local killOnSight = {} local macrosToDelete = {} @@ -114,8 +114,8 @@ sdm_eventFrame:SetScript("OnEvent", function (self, event, ...) sdm_SetUpMacro(sdm_macros[i]) end end - end - if sdm_countUpdateMacroEvents==2 then + end + if sdm_countUpdateMacrosEvents == 2 then -- If the macros are loaded, update the number of button macros on the SDM frame local numAccountMacros, numCharacterMacros = GetNumMacros() sdm_macroLimitText:SetText("Global macros: "..numAccountMacros.."/36\nCharacter-specific macros: "..numCharacterMacros.."/18") diff --git a/SuperDuperMacro/sdm Readme.txt b/SuperDuperMacro/sdm Readme.txt index 745fd46..1364d7d 100644 --- a/SuperDuperMacro/sdm Readme.txt +++ b/SuperDuperMacro/sdm Readme.txt @@ -1,5 +1,5 @@ Super Duper Macro -version 2.4.2 +version 2.4.3 by hypehuman Check for updates at http://www.wowinterface.com/downloads/info10496 @@ -17,14 +17,15 @@ Suggestions and bug reports are always welcome. You can post comments on the wo Special thanks to: ¥ SuperMacro, which inspired the idea for this addon. -¥ Behaviors, from which I shamelessly copied many UI elements. ¥ÊAll the regulars on the UI & Macro forums, who have been guiding me through this process. -¥ survivorx and ambro, who patched this addon while I was AWOL Change Log +2.4.3 (11/30/11) +¥ÊRe-enabled the text that shows how many more button macros you can create + 2.4.2 (11/30/11) ¥ÊFixed a minor error that occurs when running SDM for the first time ¥ÊWhen attempting to pick up a macro during combat, you will get an error message created by SDM instead of Blizzard's "Interface action failed due to an addon". -- 1.7.9.5