Uber UI

Uber UI

298k Downloads

Errors in 10.1 with PaladinPowerBarFrame and ComboPointPlayerFrame

Ic3w0lf opened this issue ยท 4 comments

commented

Hey there,

with patch 10.1 it seems there has been some major work on the PaladinPowerBar and the rogues ComboPointPlayerFrame. If I login (or do any UI reload) the following LUA errors pop up:

Error 1

Message: Interface/AddOns/Uber UI/core/playerframe.lua:120: attempt to index global 'PaladinPowerBarFrameBG' (a nil value)
Time: Thu May  4 19:35:37 2023
Count: 1
Stack: Interface/AddOns/Uber UI/core/playerframe.lua:120: attempt to index global 'PaladinPowerBarFrameBG' (a nil value)
[string "@Interface/AddOns/Uber UI/core/playerframe.lua"]:120: in function `ColorHolyPower'
[string "@Interface/AddOns/Uber UI/core/playerframe.lua"]:31: in function `Color'
[string "@Interface/AddOns/Uber UI/core/playerframe.lua"]:18: in function <Interface/AddOns/Uber UI/core/playerframe.lua:17>
[string "=[C]"]: in function `LoadAddOn'
[string "@Interface/FrameXML/UIParent.lua"]:545: in function `UIParentLoadAddOn'
[string "@Interface/FrameXML/UIParent.lua"]:684: in function `TimeManager_LoadUI'
[string "@Interface/FrameXML/UIParent.lua"]:1541: in function <Interface/FrameXML/UIParent.lua:1421>

Locals: self = Frame {
 0 = <userdata>
 HealthManaBarTexture = <function> defined @Interface/AddOns/Uber UI/core/playerframe.lua:50
 Color = <function> defined @Interface/AddOns/Uber UI/core/playerframe.lua:23
 HealthBarColor = <function> defined @Interface/AddOns/Uber UI/core/playerframe.lua:37
 ColorTotems = <function> defined @Interface/AddOns/Uber UI/core/playerframe.lua:91
 ColorComboPoints = <function> defined @Interface/AddOns/Uber UI/core/playerframe.lua:124
 PvPIcon = <function> defined @Interface/AddOns/Uber UI/core/playerframe.lua:87
 ColorAlternateMana = <function> defined @Interface/AddOns/Uber UI/core/playerframe.lua:105
 ColorHolyPower = <function> defined @Interface/AddOns/Uber UI/core/playerframe.lua:118
}
dc = <table> {
 a = 1
 r = 0
 g = 0
 b = 0
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index global 'PaladinPowerBarFrameBG' (a nil value)"

If I comment out the self:ColorHolyPower(); the next error for combo points pops up:

Message: Interface/AddOns/Uber UI/core/playerframe.lua:126: attempt to index global 'ComboPointPlayerFrame' (a nil value)
Time: Thu May  4 20:42:40 2023
Count: 5
Stack: Interface/AddOns/Uber UI/core/playerframe.lua:126: attempt to index global 'ComboPointPlayerFrame' (a nil value)
[string "@Interface/AddOns/Uber UI/core/playerframe.lua"]:126: in function `ColorComboPoints'
[string "@Interface/AddOns/Uber UI/core/playerframe.lua"]:32: in function `Color'
[string "@Interface/AddOns/Uber UI/core/playerframe.lua"]:18: in function <Interface/AddOns/Uber UI/core/playerframe.lua:17>

Locals: self = Frame {
 0 = <userdata>
 HealthManaBarTexture = <function> defined @Interface/AddOns/Uber UI/core/playerframe.lua:50
 Color = <function> defined @Interface/AddOns/Uber UI/core/playerframe.lua:23
 HealthBarColor = <function> defined @Interface/AddOns/Uber UI/core/playerframe.lua:37
 ColorTotems = <function> defined @Interface/AddOns/Uber UI/core/playerframe.lua:91
 ColorComboPoints = <function> defined @Interface/AddOns/Uber UI/core/playerframe.lua:124
 PvPIcon = <function> defined @Interface/AddOns/Uber UI/core/playerframe.lua:87
 ColorAlternateMana = <function> defined @Interface/AddOns/Uber UI/core/playerframe.lua:105
 ColorHolyPower = <function> defined @Interface/AddOns/Uber UI/core/playerframe.lua:118
}
dc = <table> {
 a = 1
 r = 0
 g = 0
 b = 0
}
(*temporary) = <function> defined =[C]:-1
(*temporary) = <table> {
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index global 'ComboPointPlayerFrame' (a nil value)"

I tried to fix it myself but I don't understand enough of it to make it work properly. I took a look at the interface changes here but couldn't figure it out.

Also wanted to say thank you for all the work you put into this! โค๏ธ
I love the simplicity and have been using it since the start of BfA.

commented

For now if you comment out lines 15 & 16 in playerframe.lua the errors will stop.

commented

I did notice this the other day and will submit a fix soon.

commented

For now if you comment out lines 15 & 16 in playerframe.lua the errors will stop.

That's what I did so far ๐Ÿ˜„ Thanks for the fast response and looking forward for the fix ๐Ÿ‘

commented

This has been fixed with the release this morning. Will take a bit to propagate.
https://github.com/Uberlicious/UberUI/releases/tag/10.1.0-Release