From f1a21a3755bb8b08ef5cfdab2ab26254f10ec511 Mon Sep 17 00:00:00 2001 From: Leonardo Pereira Santos Date: Tue, 17 Jan 2023 23:41:10 -0500 Subject: [PATCH] Fixed LS for WotLK Classic patch 3.4.1 --- LunarSphere/Lib/moduleAPI.lua | 6 +++++- LunarSphere/Lib/moduleItems.lua | 24 ++++++++++++------------ LunarSphere/LunarSphere_Mainline.toc | 20 ++++++++++---------- LunarSphere/LunarSphere_TBC.toc | 20 ++++++++++---------- LunarSphere/LunarSphere_Vanilla.toc | 20 ++++++++++---------- LunarSphere/LunarSphere_Wrath.toc | 22 +++++++++++----------- LunarSphere/changelog.txt | 9 +++++++++ README.md | 10 +++++----- 8 files changed, 72 insertions(+), 59 deletions(-) diff --git a/LunarSphere/Lib/moduleAPI.lua b/LunarSphere/Lib/moduleAPI.lua index 86c3d0c..c326ec8 100644 --- a/LunarSphere/Lib/moduleAPI.lua +++ b/LunarSphere/Lib/moduleAPI.lua @@ -2712,7 +2712,11 @@ function Lunar.API:GetItemCooldown(itemData) local itemID = Lunar.API:GetItemID(itemLink) if (itemID) then - return GetItemCooldown(itemID); + if( Lunar.API:IsVersionClassic() ) then + return GetItemCooldown(itemID); + else + return C_Container.GetItemCooldown(itemID); + end end return 0, 0, 0; diff --git a/LunarSphere/Lib/moduleItems.lua b/LunarSphere/Lib/moduleItems.lua index 8fdec16..eb4c581 100644 --- a/LunarSphere/Lib/moduleItems.lua +++ b/LunarSphere/Lib/moduleItems.lua @@ -2437,34 +2437,34 @@ function Lunar.Items:GetHealthStoneStrength(itemId) end function Lunar.Items:GetContainerNumSlots(bagID) - if( Lunar.API:IsVersionRetail() ) then - return C_Container.GetContainerNumSlots(bagID); - else + if( Lunar.API:IsVersionClassic() ) then return GetContainerNumSlots(bagID); + else + return C_Container.GetContainerNumSlots(bagID); end end function Lunar.Items:GetContainerItemLink(bagID, slot) - if( Lunar.API:IsVersionRetail() ) then - return C_Container.GetContainerItemLink(bagID, slot); - else + if( Lunar.API:IsVersionClassic() ) then return GetContainerItemLink(bagID, slot); + else + return C_Container.GetContainerItemLink(bagID, slot); end end function Lunar.Items:GetContainerItemInfo(bagID, slot) - if( Lunar.API:IsVersionRetail() ) then - return C_Container.GetContainerItemInfo(bagID, slot); - else + if( Lunar.API:IsVersionClassic() ) then return GetContainerItemInfo(bagID, slot); + else + return C_Container.GetContainerItemInfo(bagID, slot); end end function Lunar.Items:GetContainerNumFreeSlots(bagID) - if( Lunar.API:IsVersionRetail() ) then - return Lunar.Items:GetContainerNumFreeSlots(bagID); - else + if( Lunar.API:IsVersionClassic() ) then return GetContainerNumFreeSlots(bagID); + else + return Lunar.Items:GetContainerNumFreeSlots(bagID); end end diff --git a/LunarSphere/LunarSphere_Mainline.toc b/LunarSphere/LunarSphere_Mainline.toc index 9ee2906..7b9b524 100644 --- a/LunarSphere/LunarSphere_Mainline.toc +++ b/LunarSphere/LunarSphere_Mainline.toc @@ -1,30 +1,30 @@ ## Interface: 100002 ## -## Version: v1.61 +## Version: v1.62 ## ## Author: Moongaze (Twisting Nether) ## Fixer: Shaun Voysey ## Fixer#2: Toludin (Stormrage) ## Fixer#3: Fullmoon (Faerlina) ## -## Title: LunarSphere v.1.61 +## Title: LunarSphere v.1.62 ## ## Notes: A universal sphere for all classes -## Title-zhTW: LunarSphere 全職業多功能球體插件 v.1.61 +## Title-zhTW: LunarSphere 全職業多功能球體插件 v.1.62 ## Notes-zhTW: 兼具快捷列/修裝/購物/騎乘/消耗品助手...等功能, 超完美的插件。中文化:恰恰@語風 -## Title-zhCN: LunarSphere 全职业多功能球体插件 v.1.61 +## Title-zhCN: LunarSphere 全职业多功能球体插件 v.1.62 ## Notes-zhCN: 兼具快捷列/修装/购物/座骑/消耗品助手...等功能, 超完美的插件。中文化:无名人士 -## Title-frFR: LunarSphere v.1.61 +## Title-frFR: LunarSphere v.1.62 ## Notes-frFR: A universal sphere for all classes -## Title-deDE: LunarSphere v.1.61 +## Title-deDE: LunarSphere v.1.62 ## Notes-deDE: A universal sphere for all classes -## Title-koKR: LunarSphere v.1.61 +## Title-koKR: LunarSphere v.1.62 ## Notes-koKR: A universal sphere for all classes -## Title-ruRU: LunarSphere v.1.61 +## Title-ruRU: LunarSphere v.1.62 ## Notes-ruRU: A universal sphere for all classes -## Title-esES: LunarSphere v.1.61 +## Title-esES: LunarSphere v.1.62 ## Notes-esES: A universal sphere for all classes -## Title-esMX: LunarSphere v.1.61 +## Title-esMX: LunarSphere v.1.62 ## Notes-esMX: A universal sphere for all classes ## ## SavedVariables: LunarSphereGlobal diff --git a/LunarSphere/LunarSphere_TBC.toc b/LunarSphere/LunarSphere_TBC.toc index 7ee2aa3..6c0fdf7 100644 --- a/LunarSphere/LunarSphere_TBC.toc +++ b/LunarSphere/LunarSphere_TBC.toc @@ -1,30 +1,30 @@ ## Interface: 20504 ## -## Version: v1.61 +## Version: v1.62 ## ## Author: Moongaze (Twisting Nether) ## Fixer: Shaun Voysey ## Fixer#2: Toludin (Stormrage) ## Fixer#3: Fullmoon (Faerlina) ## -## Title: LunarSphere v.1.61 +## Title: LunarSphere v.1.62 ## ## Notes: A universal sphere for all classes -## Title-zhTW: LunarSphere 全職業多功能球體插件 v.1.61 +## Title-zhTW: LunarSphere 全職業多功能球體插件 v.1.62 ## Notes-zhTW: 兼具快捷列/修裝/購物/騎乘/消耗品助手...等功能, 超完美的插件。中文化:恰恰@語風 -## Title-zhCN: LunarSphere 全职业多功能球体插件 v.1.61 +## Title-zhCN: LunarSphere 全职业多功能球体插件 v.1.62 ## Notes-zhCN: 兼具快捷列/修装/购物/座骑/消耗品助手...等功能, 超完美的插件。中文化:无名人士 -## Title-frFR: LunarSphere v.1.61 +## Title-frFR: LunarSphere v.1.62 ## Notes-frFR: A universal sphere for all classes -## Title-deDE: LunarSphere v.1.61 +## Title-deDE: LunarSphere v.1.62 ## Notes-deDE: A universal sphere for all classes -## Title-koKR: LunarSphere v.1.61 +## Title-koKR: LunarSphere v.1.62 ## Notes-koKR: A universal sphere for all classes -## Title-ruRU: LunarSphere v.1.61 +## Title-ruRU: LunarSphere v.1.62 ## Notes-ruRU: A universal sphere for all classes -## Title-esES: LunarSphere v.1.61 +## Title-esES: LunarSphere v.1.62 ## Notes-esES: A universal sphere for all classes -## Title-esMX: LunarSphere v.1.61 +## Title-esMX: LunarSphere v.1.62 ## Notes-esMX: A universal sphere for all classes ## ## SavedVariables: LunarSphereGlobal diff --git a/LunarSphere/LunarSphere_Vanilla.toc b/LunarSphere/LunarSphere_Vanilla.toc index 3d57433..0869712 100644 --- a/LunarSphere/LunarSphere_Vanilla.toc +++ b/LunarSphere/LunarSphere_Vanilla.toc @@ -1,30 +1,30 @@ ## Interface: 11403 ## -## Version: v1.61 +## Version: v1.62 ## ## Author: Moongaze (Twisting Nether) ## Fixer: Shaun Voysey ## Fixer#2: Toludin (Stormrage) ## Fixer#3: Fullmoon (Faerlina) ## -## Title: LunarSphere v.1.61 +## Title: LunarSphere v.1.62 ## ## Notes: A universal sphere for all classes -## Title-zhTW: LunarSphere 全職業多功能球體插件 v.1.61 +## Title-zhTW: LunarSphere 全職業多功能球體插件 v.1.62 ## Notes-zhTW: 兼具快捷列/修裝/購物/騎乘/消耗品助手...等功能, 超完美的插件。中文化:恰恰@語風 -## Title-zhCN: LunarSphere 全职业多功能球体插件 v.1.61 +## Title-zhCN: LunarSphere 全职业多功能球体插件 v.1.62 ## Notes-zhCN: 兼具快捷列/修装/购物/座骑/消耗品助手...等功能, 超完美的插件。中文化:无名人士 -## Title-frFR: LunarSphere v.1.61 +## Title-frFR: LunarSphere v.1.62 ## Notes-frFR: A universal sphere for all classes -## Title-deDE: LunarSphere v.1.61 +## Title-deDE: LunarSphere v.1.62 ## Notes-deDE: A universal sphere for all classes -## Title-koKR: LunarSphere v.1.61 +## Title-koKR: LunarSphere v.1.62 ## Notes-koKR: A universal sphere for all classes -## Title-ruRU: LunarSphere v.1.61 +## Title-ruRU: LunarSphere v.1.62 ## Notes-ruRU: A universal sphere for all classes -## Title-esES: LunarSphere v.1.61 +## Title-esES: LunarSphere v.1.62 ## Notes-esES: A universal sphere for all classes -## Title-esMX: LunarSphere v.1.61 +## Title-esMX: LunarSphere v.1.62 ## Notes-esMX: A universal sphere for all classes ## ## SavedVariables: LunarSphereGlobal diff --git a/LunarSphere/LunarSphere_Wrath.toc b/LunarSphere/LunarSphere_Wrath.toc index 29f7ba7..d2c1e22 100644 --- a/LunarSphere/LunarSphere_Wrath.toc +++ b/LunarSphere/LunarSphere_Wrath.toc @@ -1,30 +1,30 @@ -## Interface: 30400 +## Interface: 30401 ## -## Version: v1.61 +## Version: v1.62 ## ## Author: Moongaze (Twisting Nether) ## Fixer: Shaun Voysey ## Fixer#2: Toludin (Stormrage) ## Fixer#3: Fullmoon (Faerlina) ## -## Title: LunarSphere v.1.61 +## Title: LunarSphere v.1.62 ## ## Notes: A universal sphere for all classes -## Title-zhTW: LunarSphere 全職業多功能球體插件 v.1.61 +## Title-zhTW: LunarSphere 全職業多功能球體插件 v.1.62 ## Notes-zhTW: 兼具快捷列/修裝/購物/騎乘/消耗品助手...等功能, 超完美的插件。中文化:恰恰@語風 -## Title-zhCN: LunarSphere 全职业多功能球体插件 v.1.61 +## Title-zhCN: LunarSphere 全职业多功能球体插件 v.1.62 ## Notes-zhCN: 兼具快捷列/修装/购物/座骑/消耗品助手...等功能, 超完美的插件。中文化:无名人士 -## Title-frFR: LunarSphere v.1.61 +## Title-frFR: LunarSphere v.1.62 ## Notes-frFR: A universal sphere for all classes -## Title-deDE: LunarSphere v.1.61 +## Title-deDE: LunarSphere v.1.62 ## Notes-deDE: A universal sphere for all classes -## Title-koKR: LunarSphere v.1.61 +## Title-koKR: LunarSphere v.1.62 ## Notes-koKR: A universal sphere for all classes -## Title-ruRU: LunarSphere v.1.61 +## Title-ruRU: LunarSphere v.1.62 ## Notes-ruRU: A universal sphere for all classes -## Title-esES: LunarSphere v.1.61 +## Title-esES: LunarSphere v.1.62 ## Notes-esES: A universal sphere for all classes -## Title-esMX: LunarSphere v.1.61 +## Title-esMX: LunarSphere v.1.62 ## Notes-esMX: A universal sphere for all classes ## ## SavedVariables: LunarSphereGlobal diff --git a/LunarSphere/changelog.txt b/LunarSphere/changelog.txt index 00ddc03..954fbd0 100644 --- a/LunarSphere/changelog.txt +++ b/LunarSphere/changelog.txt @@ -1,3 +1,12 @@ +LunarSphere Public Release +Version 1.62 Changelog + +====================== +Bug Fixes +====================== + +* Fixed LS for WotLK Classic patch 3.4.1 + LunarSphere Public Release Version 1.61 Changelog diff --git a/README.md b/README.md index 4ab1bd5..a332c21 100644 --- a/README.md +++ b/README.md @@ -150,8 +150,8 @@ features that you'd like to be added. ### User Manual and various help that might be needed -LunarSphere doesn't have a usre manual, but [Dreambound's blog post](http://dreambound-druid.blogspot.com/2009/03/lunarsphere.html) is pretty -close to one. +LunarSphere doesn't have a user manual, but [Dreambound's blog post](http://dreambound-druid.blogspot.com/2009/03/lunarsphere.html) +is pretty close to one. LunarSphere can be overwhelming at first. Lots of beta testers who helped with the project have said that after getting used to it, LunarSphere became @@ -176,11 +176,11 @@ please make sure that you inform: The more specific the report is, the easier for me to find the problem and fix it. -## Current Version: 1.61 +## Current Version: 1.62 * Update to WoW 10.0.2 / Dragonflight for LunarSphere * Update to WoW 1.14.2 / Classic Era (SoM) for LunarSphere -* Update to WoW 3.4.0 / WotLK-Classic for LunarSphere +* Update to WoW 3.4.1 / WotLK-Classic for LunarSphere Updates for LunarSphere are distributed via WowUp and Curseforge. Be sure to get the latest version here: @@ -193,7 +193,7 @@ get the latest version here: My first thanks must go to Moongsaze that coded this amazing addon. I originally found it when playing WotLK and I think it's one of the most -Useful addons I have. Many thanks for the other torch bearers over the years +useful addons I have. Many thanks for the other torch bearers over the years who kept LS alive: N3od3ath, Toludin-Stormrage, and voyseys. Many tanks to Zenyari1 for updating LS to Dragonflight and nicodemusmercy for