From e44511c8647d0ecd7aaddd03e1e36a824550cb44 Mon Sep 17 00:00:00 2001 From: Blinkii <92640275+mBlinkii@users.noreply.github.com> Date: Sun, 12 May 2024 18:15:59 +0200 Subject: [PATCH] ## [ver. 3.38] - 10.05.2024 ### FIX - FIX - Fixed nil Error with the new Locales and Dock LFD - FIX - Fixed wrong function name in Cata ### Update - UPDATE - Update more Locales, Thx for the Help of Dlarge - UPDATE - Functions for Cata and Retail - UPDATE - For all Datatext M+ and Vault infos will now only load on Max Level - UPDATE - Datatext M+ Score shows below max Level the Player Level --- Addon/!mMT_MediaPack/media/core.lua | 2 +- .../ElvUI_mMediaTag/ElvUI_mMediaTag_Cata.toc | 2 +- .../ElvUI_mMediaTag_Classic.toc | 2 +- .../ElvUI_mMediaTag_Mainline.toc | 2 +- Addon/ElvUI_mMediaTag/core/core.lua | 24 +++++++++++++++++++ .../core/options/changelog.lua | 19 +++++++-------- .../core/settings/defaultSettings.lua | 22 +++++++++++++++++ CHANGELOG | 10 ++++++++ 8 files changed, 68 insertions(+), 15 deletions(-) diff --git a/Addon/!mMT_MediaPack/media/core.lua b/Addon/!mMT_MediaPack/media/core.lua index bec18687..d5fbcd0b 100644 --- a/Addon/!mMT_MediaPack/media/core.lua +++ b/Addon/!mMT_MediaPack/media/core.lua @@ -766,4 +766,4 @@ mAddSound("mMT - Frontal 2 - female", "frontal_b_female.ogg") mAddSound("mMT - Incorp - male", "incorp_male.ogg") mAddSound("mMT - Incorp - female", "incorp_female.ogg") mAddSound("mMT - Incorporeal - male", "incorporeal_male.ogg") -mAddSound("mMT - Incorporeal - female", "incorporeal_female.ogg") \ No newline at end of file +mAddSound("mMT - Incorporeal - female", "incorporeal_female.ogg") diff --git a/Addon/ElvUI_mMediaTag/ElvUI_mMediaTag_Cata.toc b/Addon/ElvUI_mMediaTag/ElvUI_mMediaTag_Cata.toc index fde20188..a69e3f19 100644 --- a/Addon/ElvUI_mMediaTag/ElvUI_mMediaTag_Cata.toc +++ b/Addon/ElvUI_mMediaTag/ElvUI_mMediaTag_Cata.toc @@ -1,6 +1,6 @@ ## Interface: 40400 ## Author: Blinkii -## Version: 3.37 +## Version: 3.38 ## Title: |CFF6559F1m|r|CFFA037E9M|r|CFFDD14E0T|r - |CFF6559F1m|r|CFF7A4DEFM|r|CFF8845ECe|r|CFFA037E9d|r|CFFA435E8i|r|CFFB32DE6a|r|CFFBC26E5T|r|CFFCB1EE3a|r|CFFDD14E0g|r |CFFFF006C&|r |CFFFF4C00T|r|CFFFF7300o|r|CFFFF9300o|r|CFFFFA800l|r|CFFFFC900s|r ## IconTexture: Interface\AddOns\ElvUI_mMediaTag\media\logo\mmt_icon ## AddonCompartmentFunc: ElvUI_mMediaTag_OnAddonCompartmentClick diff --git a/Addon/ElvUI_mMediaTag/ElvUI_mMediaTag_Classic.toc b/Addon/ElvUI_mMediaTag/ElvUI_mMediaTag_Classic.toc index c5871e81..872dbeaf 100644 --- a/Addon/ElvUI_mMediaTag/ElvUI_mMediaTag_Classic.toc +++ b/Addon/ElvUI_mMediaTag/ElvUI_mMediaTag_Classic.toc @@ -1,6 +1,6 @@ ## Interface: 11502 ## Author: Blinkii -## Version: 3.37 +## Version: 3.38 ## Title: |CFF6559F1m|r|CFFA037E9M|r|CFFDD14E0T|r - |CFF6559F1m|r|CFF7A4DEFM|r|CFF8845ECe|r|CFFA037E9d|r|CFFA435E8i|r|CFFB32DE6a|r|CFFBC26E5T|r|CFFCB1EE3a|r|CFFDD14E0g|r |CFFFF006C&|r |CFFFF4C00T|r|CFFFF7300o|r|CFFFF9300o|r|CFFFFA800l|r|CFFFFC900s|r ## Notes: mMediaTag & Tools is a plugin for ElvUI. mMediaTag adds many media files like textures/ fonts/ icons and some tools to ElvUI. ## Notes-deDE: mMediaTag & Tools ist ein Plugin für ElvUI. mMediaTag fügt viele Mediendateien wie Texturen/ Schriften/ Symbole und einige Tools zu ElvUI hinzu. diff --git a/Addon/ElvUI_mMediaTag/ElvUI_mMediaTag_Mainline.toc b/Addon/ElvUI_mMediaTag/ElvUI_mMediaTag_Mainline.toc index 6a1b917b..a8335128 100644 --- a/Addon/ElvUI_mMediaTag/ElvUI_mMediaTag_Mainline.toc +++ b/Addon/ElvUI_mMediaTag/ElvUI_mMediaTag_Mainline.toc @@ -1,6 +1,6 @@ ## Interface: 100207 ## Author: Blinkii -## Version: 3.37 +## Version: 3.38 ## Title: |CFF6559F1m|r|CFFA037E9M|r|CFFDD14E0T|r - |CFF6559F1m|r|CFF7A4DEFM|r|CFF8845ECe|r|CFFA037E9d|r|CFFA435E8i|r|CFFB32DE6a|r|CFFBC26E5T|r|CFFCB1EE3a|r|CFFDD14E0g|r |CFFFF006C&|r |CFFFF4C00T|r|CFFFF7300o|r|CFFFF9300o|r|CFFFFA800l|r|CFFFFC900s|r ## Notes: ElvUI Plugin from Blinkii | Support: mMediaTag@gmx.de ## IconTexture: Interface\AddOns\ElvUI_mMediaTag\media\logo\mmt_icon diff --git a/Addon/ElvUI_mMediaTag/core/core.lua b/Addon/ElvUI_mMediaTag/core/core.lua index e04aac29..4bd9e54a 100644 --- a/Addon/ElvUI_mMediaTag/core/core.lua +++ b/Addon/ElvUI_mMediaTag/core/core.lua @@ -30,6 +30,30 @@ function mMT:UpdateClassColor() return { class = class, r = class.r, g = class.g, b = class.b, hex = hex, string = strjoin("", hex, "%s|r"), gradient = gradient } end +function mMT:Update_MP_Settings() + if IsAddOnLoaded("!mMT_MediaPack") then + mMTSettings.all = E.db.mMT.mp_textures.all + mMTSettings.a = E.db.mMT.mp_textures.a + mMTSettings.b = E.db.mMT.mp_textures.b + mMTSettings.c = E.db.mMT.mp_textures.c + mMTSettings.d = E.db.mMT.mp_textures.d + mMTSettings.e = E.db.mMT.mp_textures.e + mMTSettings.f = E.db.mMT.mp_textures.f + mMTSettings.g = E.db.mMT.mp_textures.g + mMTSettings.h = E.db.mMT.mp_textures.h + mMTSettings.i = E.db.mMT.mp_textures.i + mMTSettings.j = E.db.mMT.mp_textures.j + mMTSettings.k = E.db.mMT.mp_textures.k + mMTSettings.l = E.db.mMT.mp_textures.l + mMTSettings.n = E.db.mMT.mp_textures.n + mMTSettings.m = E.db.mMT.mp_textures.m + mMTSettings.o = E.db.mMT.mp_textures.o + mMTSettings.p = E.db.mMT.mp_textures.p + mMTSettings.q = E.db.mMT.mp_textures.q + mMTSettings.r = E.db.mMT.mp_textures.r + end +end + function mMT:CheckEltruism() local elt_tbl = { loaded = IsAddOnLoaded("ElvUI_EltreumUI"), diff --git a/Addon/ElvUI_mMediaTag/core/options/changelog.lua b/Addon/ElvUI_mMediaTag/core/options/changelog.lua index 941f50a6..aa40bfba 100644 --- a/Addon/ElvUI_mMediaTag/core/options/changelog.lua +++ b/Addon/ElvUI_mMediaTag/core/options/changelog.lua @@ -16,25 +16,22 @@ local change_log_important = { "This update will reset the Spell DB." } -local releasdate = "10.05.2024" +local releasdate = "12.05.2024" local change_log_new = { "Add Sound files to mMT Media" } local change_log_update = { - "Update German Locale", - "Update Spelling and Locales", - "Add sound delay for important spell filters", - "TOC for new Retail Version", - "Add more Icons to Important Spells Icons.", + "Update more Locales, Thx for the Help of Dlarge", + "Functions for Cata and Retail", + "For all Datatext M+ and Vault infos will now only load on Max Level", + "Datatext M+ Score shows below max Level the Player Level", } local change_log_fix = { - "Incorrect Execute Rage for Warriors", - "Bug with Monk ToD Execute Range", - "Wrong variable for Dock LFD Call to Arms", - "Fixed Bug with the new Locales, Thx for the Help of Tsxy and Dlarge", + "Fixed nil Error with the new Locales and Dock LFD", + "Fixed wrong function name in Cata", } local function Concatenation(tbl, icon, color) @@ -55,7 +52,7 @@ end local function configTable() --change_log_important_string = Concatenation(change_log_important) - change_log_new_string = Concatenation(change_log_new) + --change_log_new_string = Concatenation(change_log_new) change_log_update_string = Concatenation(change_log_update) change_log_fix_string = Concatenation(change_log_fix) E.Options.args.mMT.args.changelog.args = { diff --git a/Addon/ElvUI_mMediaTag/core/settings/defaultSettings.lua b/Addon/ElvUI_mMediaTag/core/settings/defaultSettings.lua index bb2535a4..278d6573 100644 --- a/Addon/ElvUI_mMediaTag/core/settings/defaultSettings.lua +++ b/Addon/ElvUI_mMediaTag/core/settings/defaultSettings.lua @@ -552,6 +552,28 @@ P.mMT = { EVOKER = { r = 0.20, g = 0.58, b = 0.50 }, }, }, + mp_textures = { + isChanged = false, + all = true, + a = true, + b = true, + c = true, + d = true, + e = true, + f = true, + g = true, + h = true, + i = true, + j = true, + k = true, + l = true, + n = true, + m = true, + o = true, + p = true, + q = true, + r = true, + }, portraits = { player = { enable = true, diff --git a/CHANGELOG b/CHANGELOG index de20e03e..944628e4 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,16 @@ # Changelog - ElvUI_mMediaTag [Eng] - All changes to this project will be documented in this file. The latest changes are at the top. +## [ver. 3.38] - 10.05.2024 +### FIX +- FIX - Fixed nil Error with the new Locales and Dock LFD +- FIX - Fixed wrong function name in Cata +### Update +- UPDATE - Update more Locales, Thx for the Help of Dlarge +- UPDATE - Functions for Cata and Retail +- UPDATE - For all Datatext M+ and Vault infos will now only load on Max Level +- UPDATE - Datatext M+ Score shows below max Level the Player Level + ## [ver. 3.37] - 10.05.2024 ### FIX - FIX - Fixed Bug with the new Locales, Thx for the Help of Tsxy and Dlarge