Skip to content

Commit

Permalink
## [ver. 3.38] - 10.05.2024 (#97)
Browse files Browse the repository at this point in the history
## [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
  • Loading branch information
mBlinkii authored May 12, 2024
2 parents 939a321 + e44511c commit b0393cb
Show file tree
Hide file tree
Showing 35 changed files with 573 additions and 649 deletions.
2 changes: 1 addition & 1 deletion Addon/!mMT_MediaPack/!mMT_MediaPack_Cata.toc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Interface: 40400
## Author: Blinkii
## Version: 1.16
## Version: 1.17
## Title: |CFF6559F1m|r|CFFA037E9M|r|CFFDD14E0T|r - |CFFFF06A2M|r|CFFFF108Ce|r|CFFFF197Ad|r|CFFFF216Bi|r|CFFFF275Da|r |CFFFF3441P|r|CFFFF3F2Ca|r|CFFFF461Cc|r|CFFFF4E0Ck|r
## Notes: mMT Media Pack by Blinkii | Support: [email protected]
## IconTexture: Interface\AddOns\!mMT_MediaPack\media\logo\mmt_icon
Expand Down
2 changes: 1 addition & 1 deletion Addon/!mMT_MediaPack/!mMT_MediaPack_Classic.toc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Interface: 11502
## Author: Blinkii
## Version: 1.16
## Version: 1.17
## Title: |CFF6559F1m|r|CFFA037E9M|r|CFFDD14E0T|r - |CFFFF06A2M|r|CFFFF108Ce|r|CFFFF197Ad|r|CFFFF216Bi|r|CFFFF275Da|r |CFFFF3441P|r|CFFFF3F2Ca|r|CFFFF461Cc|r|CFFFF4E0Ck|r
## Notes: mMT Media Pack by Blinkii | Support: [email protected]
## IconTexture: Interface\AddOns\!mMT_MediaPack\media\logo\mmt_icon
Expand Down
2 changes: 1 addition & 1 deletion Addon/!mMT_MediaPack/!mMT_MediaPack_Mainline.toc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Interface: 100207
## Author: Blinkii
## Version: 1.16
## Version: 1.17
## Title: |CFF6559F1m|r|CFFA037E9M|r|CFFDD14E0T|r - |CFFFF06A2M|r|CFFFF108Ce|r|CFFFF197Ad|r|CFFFF216Bi|r|CFFFF275Da|r |CFFFF3441P|r|CFFFF3F2Ca|r|CFFFF461Cc|r|CFFFF4E0Ck|r
## Notes: mMT Media Pack by Blinkii | Support: [email protected]
## IconTexture: Interface\AddOns\!mMT_MediaPack\media\logo\mmt_icon
Expand Down
2 changes: 1 addition & 1 deletion Addon/!mMT_MediaPack/media/core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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")
mAddSound("mMT - Incorporeal - female", "incorporeal_female.ogg")
2 changes: 1 addition & 1 deletion Addon/ElvUI_mMediaTag/ElvUI_mMediaTag_Cata.toc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Interface: 40400
## Author: Blinkii
## Version: 3.36
## 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
Expand Down
2 changes: 1 addition & 1 deletion Addon/ElvUI_mMediaTag/ElvUI_mMediaTag_Classic.toc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Interface: 11502
## Author: Blinkii
## Version: 3.36
## 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.
Expand Down
2 changes: 1 addition & 1 deletion Addon/ElvUI_mMediaTag/ElvUI_mMediaTag_Mainline.toc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Interface: 100207
## Author: Blinkii
## Version: 3.36
## 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: [email protected]
## IconTexture: Interface\AddOns\ElvUI_mMediaTag\media\logo\mmt_icon
Expand Down
25 changes: 24 additions & 1 deletion Addon/ElvUI_mMediaTag/core/core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,36 @@ function ElvUI_mMediaTag_OnAddonCompartmentOnLeave()
end

function mMT:UpdateClassColor()
--local class = mMT.Modules.CustomClassColors.enable and E.db.mMT.classcolors.colors[E.myclass] or E:ClassColor(E.myclass)
local class = E:ClassColor(E.myclass)
local hex = E:RGBToHex(class.r, class.g, class.b)
local gradient = mMT.ElvUI_EltreumUI.loaded and mMT.ElvUI_EltreumUI.colors[E.myclass] or { a = { r = class.r - 0.2, g = class.g - 0.2, b = class.b - 0.2, a = 1 }, b = { r = class.r + 0.2, g = class.g + 0.2, b = class.b + 0.2, a = 1 } }
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"),
Expand Down
10 changes: 5 additions & 5 deletions Addon/ElvUI_mMediaTag/core/load_core.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<Ui xmlns="http://www.blizzard.com/wow/ui/">
<Script file="Core.lua"/>
<Script file="settings\defaultSettings.lua"/>
<Include file="options\load_options.xml"/>
<Script file="dropdown.lua"/>
<Script file="greeting.lua"/>
<Script file="Core.lua"/>
<Script file="cmd.lua"/>
<Script file="devmode.lua"/>
<Script file="dropdown.lua"/>
<Script file="functions.lua"/>
<Script file="greeting.lua"/>
<Script file="importexport.lua"/>
<Script file="devmode.lua"/>
<Script file="settings\defaultSettings.lua"/>
</Ui>
18 changes: 9 additions & 9 deletions Addon/ElvUI_mMediaTag/core/options/castbarshield.lua
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ local function configTable()
},
range_x = {
order = 5,
name = L["Icon Size"] .. " X",
name = L["X-Icon Size"],
type = "range",
min = 16,
max = 128,
Expand All @@ -122,7 +122,7 @@ local function configTable()
},
range_y = {
order = 6,
name = L["Icon Size"] .. " Y",
name = L["Y-Icon Size"],
type = "range",
min = 16,
max = 128,
Expand Down Expand Up @@ -170,16 +170,16 @@ local function configTable()
E.db.mMT.castbarshield.anchor = value
end,
values = {
TOP = "TOP",
BOTTOM = "BOTTOM",
LEFT = "LEFT",
RIGHT = "RIGHT",
CENTER = "CENTER",
TOP = L["TOP"],
BOTTOM = L["BOTTOM"],
LEFT = L["LEFT"],
RIGHT = L["RIGHT"],
CENTER = L["CENTER"],
},
},
range_posx = {
order = 12,
name = L["Position"] .. " X",
name = L["X-Position"],
type = "range",
min = -256,
max = 256,
Expand All @@ -193,7 +193,7 @@ local function configTable()
},
range_posy = {
order = 13,
name = L["Position"] .. " Y",
name = L["Y-Position"],
type = "range",
min = -256,
max = 256,
Expand Down
19 changes: 8 additions & 11 deletions Addon/ElvUI_mMediaTag/core/options/changelog.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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 = {
Expand Down
2 changes: 1 addition & 1 deletion Addon/ElvUI_mMediaTag/core/options/healthmarker.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ local function configTable()
order = 1,
type = "toggle",
name = L["Enable"],
desc = L["Enable Nameplate Healthmarkers"],
desc = L["Enable Nameplate Health Marker"],
get = function(info)
return E.db.mMT.nameplate.healthmarker.enable
end,
Expand Down
4 changes: 2 additions & 2 deletions Addon/ElvUI_mMediaTag/core/options/importantspells.lua
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ local function configTable()
},
range_posX = {
order = 3,
name = L["Offset"] .. " X",
name = L["X offset"],
desc = L["Icon offset if not Auto point is enabled."],
type = "range",
min = -256,
Expand All @@ -596,7 +596,7 @@ local function configTable()
},
range_posY = {
order = 4,
name = L["Offset"] .. " Y",
name = L["Y offset"],
desc = L["Icon offset if not Auto point is enabled."],
type = "range",
min = -256,
Expand Down
30 changes: 15 additions & 15 deletions Addon/ElvUI_mMediaTag/core/options/portraits.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ local L = mMT.Locales
local tinsert = tinsert

local form = {
SQ = "SQUARE",
RO = "ROUND",
CI = "CIRCLE",
PI = "PILLOW",
RA = "CARO",
QA = "RECTANGLE",
MO = "MOON",
SMQ = "SIMPLE SQUARE",
SQ = L["SQUARE"],
RO = L["ROUND"],
CI = L["CIRCLE"],
PI = L["PILLOW"],
RA = L["CARO"],
QA = L["RECTANGLE"],
MO = L["MOON"],
SMQ = L["SIMPLE SQUARE"],
}

local style = {
Expand Down Expand Up @@ -216,7 +216,7 @@ local function configTable()
args = {
range_sq = {
order = 1,
name = "SQUARE",
name = L["SQUARE"],
type = "range",
min = 0,
max = 10,
Expand All @@ -231,7 +231,7 @@ local function configTable()
},
range_ro = {
order = 2,
name = "ROUND",
name = L["ROUND"],
type = "range",
min = 0,
max = 10,
Expand All @@ -246,7 +246,7 @@ local function configTable()
},
range_ci = {
order = 3,
name = "CIRCLE/ MOON",
name = L["CIRCLE/ MOON"],
type = "range",
min = 0,
max = 10,
Expand All @@ -262,7 +262,7 @@ local function configTable()
},
range_pi = {
order = 4,
name = "PILLOW",
name = L["PILLOW"],
type = "range",
min = 0,
max = 15,
Expand All @@ -277,7 +277,7 @@ local function configTable()
},
range_ra = {
order = 5,
name = "CARO",
name = L["CARO"],
type = "range",
min = 0,
max = 10,
Expand All @@ -292,7 +292,7 @@ local function configTable()
},
range_qa = {
order = 5,
name = "RECTANGLE",
name = L["RECTANGLE"],
type = "range",
min = 0,
max = 20,
Expand All @@ -307,7 +307,7 @@ local function configTable()
},
range_smq = {
order = 6,
name = "SIMPLE SQUARE",
name = L["SIMPLE SQUARE"],
type = "range",
min = 0,
max = 60,
Expand Down
22 changes: 22 additions & 0 deletions Addon/ElvUI_mMediaTag/core/settings/defaultSettings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Loading

0 comments on commit b0393cb

Please sign in to comment.