From 1d60469a532bc8972e351828d62f3577998e7293 Mon Sep 17 00:00:00 2001 From: seidhrhealz <60681153+seidhrhealz@users.noreply.github.com> Date: Mon, 13 Apr 2020 12:15:31 +1000 Subject: [PATCH 1/7] Enabling events also starts the mounted event timer and vice versa Moved all logic of the mounted event timer to ItemRackEvents.lua --- ItemRack/ItemRack.lua | 2 -- ItemRack/ItemRackEvents.lua | 4 ++++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ItemRack/ItemRack.lua b/ItemRack/ItemRack.lua index 780fdde..4ac53b0 100644 --- a/ItemRack/ItemRack.lua +++ b/ItemRack/ItemRack.lua @@ -393,7 +393,6 @@ function ItemRack.InitCore() ItemRack.CreateTimer("MenuMouseover",ItemRack.MenuMouseover,.25,1) ItemRack.CreateTimer("TooltipUpdate",ItemRack.TooltipUpdate,1,1) ItemRack.CreateTimer("CooldownUpdate",ItemRack.CooldownUpdate,1,1) - ItemRack.CreateTimer("CheckForMountedEvents",ItemRack.CheckForMountedEvents,.5,1) ItemRack.CreateTimer("MinimapDragging",ItemRack.MinimapDragging,0,1) ItemRack.CreateTimer("LocksChanged",ItemRack.LocksChanged,.2) ItemRack.CreateTimer("MinimapShine",ItemRack.MinimapShineUpdate,0,1) @@ -430,7 +429,6 @@ function ItemRack.InitCore() -- ItemRackFrame:RegisterEvent("UNIT_SPELLCAST_INTERRUPTED") --end ItemRack.StartTimer("CooldownUpdate") - ItemRack.StartTimer("CheckForMountedEvents") ItemRack.MoveMinimap() ItemRack.ReflectAlpha() ItemRack.SetSetBindings() diff --git a/ItemRack/ItemRackEvents.lua b/ItemRack/ItemRackEvents.lua index efc48ca..480d43b 100644 --- a/ItemRack/ItemRackEvents.lua +++ b/ItemRack/ItemRackEvents.lua @@ -203,6 +203,7 @@ function ItemRack.InitEvents() ItemRack.CreateTimer("EventsBuffTimer",ItemRack.ProcessBuffEvent,.50) ItemRack.CreateTimer("EventsZoneTimer",ItemRack.ProcessZoneEvent,.33) + ItemRack.CreateTimer("CheckForMountedEvents",ItemRack.CheckForMountedEvents,.5,1) if ItemRackButton20Queue then ItemRackButton20Queue:SetTexture("Interface\\AddOns\\ItemRack\\ItemRackGear") @@ -216,6 +217,7 @@ end function ItemRack.RegisterEvents() local frame = ItemRackEventProcessingFrame frame:UnregisterAllEvents() + ItemRack.StopTimer("CheckForMountedEvents") ItemRack.ReflectEventsRunning() if ItemRackUser.EnableEvents=="OFF" then return @@ -243,6 +245,8 @@ function ItemRack.RegisterEvents() end end end + ItemRack.StartTimer("CheckForMountedEvents") + ItemRack.ProcessStanceEvent() ItemRack.ProcessZoneEvent() ItemRack.ProcessBuffEvent() From 4312ee48afbcc055672b3c2be9ea33b86a16fd05 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Tue, 28 Apr 2020 20:16:03 +0200 Subject: [PATCH 2/7] Release 3.28 --- ItemRack/ItemRack.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ItemRack/ItemRack.lua b/ItemRack/ItemRack.lua index 4ac53b0..94f86d8 100644 --- a/ItemRack/ItemRack.lua +++ b/ItemRack/ItemRack.lua @@ -3,7 +3,7 @@ ItemRack = {} local disable_delayed_swaps = nil -- temporary. change nil to 1 to stop attempting to delay set swaps while casting local _ -ItemRack.Version = "3.27" +ItemRack.Version = "3.28" ItemRackUser = { Sets = {}, -- user's sets From a5c00f4e7c0117565e10884523114cf32b148e0d Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Thu, 30 Apr 2020 17:02:38 +0200 Subject: [PATCH 3/7] Decrease delay until gear is swapped for buff and zone events --- ItemRack/ItemRackEvents.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ItemRack/ItemRackEvents.lua b/ItemRack/ItemRackEvents.lua index 480d43b..b0a6669 100644 --- a/ItemRack/ItemRackEvents.lua +++ b/ItemRack/ItemRackEvents.lua @@ -201,8 +201,8 @@ end function ItemRack.InitEvents() ItemRack.LoadEvents() - ItemRack.CreateTimer("EventsBuffTimer",ItemRack.ProcessBuffEvent,.50) - ItemRack.CreateTimer("EventsZoneTimer",ItemRack.ProcessZoneEvent,.33) + ItemRack.CreateTimer("EventsBuffTimer",ItemRack.ProcessBuffEvent,.15) + ItemRack.CreateTimer("EventsZoneTimer",ItemRack.ProcessZoneEvent,.16) ItemRack.CreateTimer("CheckForMountedEvents",ItemRack.CheckForMountedEvents,.5,1) if ItemRackButton20Queue then From 61de21ced248c1804ef7e5c2fd8a50993852471e Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Thu, 30 Apr 2020 17:05:36 +0200 Subject: [PATCH 4/7] Release 3.29 --- ItemRack/ItemRack.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ItemRack/ItemRack.lua b/ItemRack/ItemRack.lua index 94f86d8..f17b669 100644 --- a/ItemRack/ItemRack.lua +++ b/ItemRack/ItemRack.lua @@ -3,7 +3,7 @@ ItemRack = {} local disable_delayed_swaps = nil -- temporary. change nil to 1 to stop attempting to delay set swaps while casting local _ -ItemRack.Version = "3.28" +ItemRack.Version = "3.29" ItemRackUser = { Sets = {}, -- user's sets @@ -2047,4 +2047,4 @@ function ItemRack.ProfileFuncs() end table.insert(TinyPadPages,info) end -end \ No newline at end of file +end From a02de2ae63d404e362676a787a0623a6cd6670ef Mon Sep 17 00:00:00 2001 From: Matthew Chan Date: Mon, 24 Feb 2020 00:11:03 +0000 Subject: [PATCH 5/7] Update UI Version --- ItemRack/ItemRack.toc | 2 +- ItemRackOptions/ItemRackOptions.toc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ItemRack/ItemRack.toc b/ItemRack/ItemRack.toc index 89715ad..054537d 100644 --- a/ItemRack/ItemRack.toc +++ b/ItemRack/ItemRack.toc @@ -1,4 +1,4 @@ -## Interface: 11302 +## Interface: 11303 ## Title: ItemRack ## Author: Gello - Updated for Classic by Rottenbeer ## SavedVariables: ItemRackSettings, ItemRackItems, ItemRackEvents diff --git a/ItemRackOptions/ItemRackOptions.toc b/ItemRackOptions/ItemRackOptions.toc index 138f931..0ac6827 100644 --- a/ItemRackOptions/ItemRackOptions.toc +++ b/ItemRackOptions/ItemRackOptions.toc @@ -1,4 +1,4 @@ -## Interface: 11302 +## Interface: 11303 ## Title: ItemRackOptions ## Notes: Load-On-Demand modules for ItemRack ## Dependencies: ItemRack, Blizzard_MacroUI From 7cccc27f889fb1e2f386cd97c0936681d174b874 Mon Sep 17 00:00:00 2001 From: Matthew Chan Date: Mon, 24 Feb 2020 00:04:23 +0000 Subject: [PATCH 6/7] Fixed queue icon not disappearing after combat --- ItemRack/ItemRack.lua | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/ItemRack/ItemRack.lua b/ItemRack/ItemRack.lua index f17b669..602a491 100644 --- a/ItemRack/ItemRack.lua +++ b/ItemRack/ItemRack.lua @@ -1372,17 +1372,17 @@ function ItemRack.UpdateCombatQueue() queue:Hide() end end - if PaperDollFrame:IsVisible() then - for i=1,19 do - queue = _G["Character"..ItemRack.SlotInfo[i].name.."Queue"] - if ItemRack.CombatQueue[i] then - queue:SetTexture(select(2,ItemRack.GetInfoByID(ItemRack.CombatQueue[i]))) - queue:Show() - else - queue:Hide() - end + + for i=1,19 do + queue = _G["Character"..ItemRack.SlotInfo[i].name.."Queue"] + if ItemRack.CombatQueue[i] then + queue:SetTexture(select(2,ItemRack.GetInfoByID(ItemRack.CombatQueue[i]))) + queue:Show() + else + queue:Hide() end end + end --[[ Tooltip ]] From a00b769f439055c9902c39137af5b505182fa9e9 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Thu, 30 Apr 2020 18:44:05 +0200 Subject: [PATCH 7/7] Release 3.30 --- ItemRack/ItemRack.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ItemRack/ItemRack.lua b/ItemRack/ItemRack.lua index 602a491..467380b 100644 --- a/ItemRack/ItemRack.lua +++ b/ItemRack/ItemRack.lua @@ -3,7 +3,7 @@ ItemRack = {} local disable_delayed_swaps = nil -- temporary. change nil to 1 to stop attempting to delay set swaps while casting local _ -ItemRack.Version = "3.29" +ItemRack.Version = "3.30" ItemRackUser = { Sets = {}, -- user's sets