KuiNameplates

KuiNameplates

11M Downloads

Colour Picker Broken Lua Error

Nukesoup opened this issue ยท 2 comments

commented

Colour Picker broken and presenting an Lua error for all colour options in Kui Nameplates Core.

This issue only came about since 10.2.5 patch and is not affecting Kui Target Helper.

Lua Error presented when selecting any Colour Picker option in Kui Nameplates Core:

Message: ...erface/AddOns/Kui_Nameplates_Core_Config/helpers.lua:421: attempt to call method 'SetColorRGB' (a nil value)
Time: Sun Feb 11 20:23:58 2024
Count: 2
Stack: ...erface/AddOns/Kui_Nameplates_Core_Config/helpers.lua:421: attempt to call method 'SetColorRGB' (a nil value)
[string "@Interface/AddOns/Kui_Nameplates_Core_Config/helpers.lua"]:421: in function <...erface/AddOns/Kui_Nameplates_Core_Config/helpers.lua:410>

Locals: self = KuiNameplatesCoreConfigtarget_glow_colourColourPicker {
0 =
enabled = defined @Interface/AddOns/Kui_Nameplates_Core_Config/create.lua:70
label = FontString {
}
env = "target_glow_colour"
block = Frame {
}
Set = defined @Interface/AddOns/Kui_Nameplates_Core_Config/helpers.lua:401
Get = defined @Interface/AddOns/Kui_Nameplates_Core_Config/helpers.lua:396
}
val =

{
1 = 0.815686
2 = 0
3 = 1
4 = 1
}
(*temporary) = nil
(*temporary) = ColorPickerFrame {
0 =
GetColorRGB = defined @Interface/FrameXML/ColorPickerFrame.lua:79
DragBar = Frame {
}
OnKeyDown = defined @Interface/FrameXML/ColorPickerFrame.lua:53
cancelFunc = defined @Interface/AddOns/Kui_Nameplates_Core_Config/helpers.lua:383
previousValues =
{
}
SetupColorPickerAndShow = defined @Interface/FrameXML/ColorPickerFrame.lua:62
OnLoad = defined @Interface/FrameXML/ColorPickerFrame.lua:3
opacity = 0
OnShow = defined @Interface/FrameXML/ColorPickerFrame.lua:34
GetPreviousValues = defined @Interface/FrameXML/ColorPickerFrame.lua:91
GetColorAlpha = defined @Interface/FrameXML/ColorPickerFrame.lua:83
hasOpacity = true
GetExtraInfo = defined @Interface/FrameXML/ColorPickerFrame.lua:87
Header = Frame {
}
Footer = Frame {
}
func = defined @Interface/AddOns/Kui_Nameplates_Core_Config/helpers.lua:383
Border = Frame {
}
Content = Frame {
}
opacityFunc = defined @Interface/AddOns/Kui_Nameplates_Core_Config/helpers.lua:383
}
(*temporary) = 0.815686
(*temporary) = 0
(*temporary) = 1
(*temporary) = "attempt to call method 'SetColorRGB' (a nil value)"
opt = KuiNameplatesCoreConfig {
0 =
LayoutLoaded = defined @Interface/AddOns/Kui_Nameplates_Core_Config/main.lua:575
CreateCheckBox = defined @Interface/AddOns/Kui_Nameplates_Core_Config/helpers.lua:116
CreatePopupPage = defined @Interface/AddOns/Kui_Nameplates_Core_Config/helpers.lua:546
Locale = defined @Interface/AddOns/Kui_Nameplates_Core_Config/main.lua:513
TabList = KuiNameplatesCoreConfigTabList {
}
CreateConfigPage = defined @Interface/AddOns/Kui_Nameplates_Core_Config/helpers.lua:529
CreateButton = defined @Interface/AddOns/Kui_Nameplates_Core_Config/helpers.lua:71
pages =
{
}
ScrollFrame = KuiNameplatesCoreConfigPageScrollFrame {
}
CurrentPage_UpdateClipboardButton = defined @Interface/AddOns/Kui_Nameplates_Core_Config/helpers.lua:1064
PageBG = Frame {
}
GetLocale = defined @Interface/AddOns/Kui_Nameplates_Core_Config/main.lua:542
ConfigChanged = defined @Interface/AddOns/Kui_Nameplates_Core_Config/main.lua:547
profile =
{
}
name = "Kui Nameplates Core"
LocaleLoaded = defined @Interface/AddOns/Kui_Nameplates_Core_Config/main.lua:523
ClipboardButton = Button {
}
CurrentPage_Copy = defined @Interface/AddOns/Kui_Nameplates_Core_Config/helpers.lua:1004
CurrentPage_Name = defined @Interface/AddOns/Kui_Nameplates_Core_Config/helpers.lua:999
Initialise = defined @Interface/AddOns/Kui_Nameplates_Core_Config/helpers.lua:1161
CurrentPage_ClipboardButtonClick = defined @Interface/AddOns/Kui_Nameplates_Core_Config/helpers.lua:1048
CreateSlider = defined @Interface/AddOns/Kui_Nameplates_Core_Config/helpers.lua:314
CurrentPage_Paste = defined @Interface/AddOns/Ku

Capture

2.29.11 2.5
enUS SHAMAN
{profile=Enh Sha Detached}
{auras_centre=false,auras_hide_all_other=true,auras_icon_normal_size=20,auras_icon_squareness=0.7,auras_offset=-1,auras_purge_opposite=true,auras_purge_size=25,auras_show_all_self=true,bot_vertical_offset=0,castbar_colour={1=0.502,2=1,3=0},castbar_detach=true,castbar_detach_height=20,castbar_detach_offset=1,castbar_detach_width=200,castbar_height=15,castbar_icon=false,castbar_name_vertical_offset=14,castbar_unin_colour={1=1,2=0,3=0},cvar_enable=true,cvar_overlap_v=0.75,execute_enabled=false,fade_non_target_alpha=1,font_size_normal=10,frame_glow_size_target=7.5,frame_height=10,frame_height_minus=10,frame_height_personal=10,frame_height_target=15,frame_minus_size=false,frame_width_personal=100,frame_width_target=150,global_scale=1.3,health_text=true,health_text_hostile_max=4,mouseover_glow=true,mouseover_glow_colour={1=1,2=1,3=1,4=1},target_arrows=true,target_arrows_size=40,target_glow_colour={1=0.816,2=0,3=1,4=1}}
HealthBar, NameText, LevelText, CombatUpdate, [ClassPowers], RaidIcon, PowerBar, Highlight, AbsorbBar, CastBar, Threat, Auras, Classification, [Execute], TankMode, Fading, GuildText, PlayerAnchor, ArenaID, BossMods, Quest, BarAnimation, [CombatToggle], KUI_TargetHelper, KuiConfigTargetHelper, Target

commented

For me, the color picker doesn't open at all

commented

For me, the color picker doesn't open at all

Yeah sorry if I didn't make it clear in my original post, mine won't open at all either, just presents a Lua error as soon as I try to use anything that uses the current colour picker.