MountsJournal

MountsJournal

294k Downloads

MountsJournal SummonPanel/NDUI compatibility LUA error

DrkWntr opened this issue ยท 2 comments

commented
  • Addon version: 11.0.5
  • WoW version: 11.0.2
  1. Enable MountsJournal and NDUI addons
  2. Log in
  3. Error pops up

Error seems to be some sort of compatability issue with NDUI only started happening with latest version. Error only seems to pop up on log in or when reload UI. I opened the options panel, summon pet panel, etc but no error popped up except for the initial one on log in. I noticed in changelog there was some change to the summonpanel so I figure it must have something to do with that. Let me know if theres any other info I can provide or if this would be something the NDUI author would have to fix on his end. Thanks!

Message: ...face/AddOns/MountsJournal/components/SummonPanel.lua:108: attempt to perform arithmetic on field 'x' (a nil value)
Time: Tue Jul 30 09:44:14 2024
Count: 1
Stack: ...face/AddOns/MountsJournal/components/SummonPanel.lua:108: attempt to perform arithmetic on field 'x' (a nil value)
[string "@Interface/AddOns/MountsJournal/components/SummonPanel.lua"]:108: in function setPosition' [string "@Interface/AddOns/MountsJournal/components/SummonPanel.lua"]:35: in function <...face/AddOns/MountsJournal/components/SummonPanel.lua:30> [string "@Interface/AddOns/MountsJournal/components/SummonPanel.lua"]:275: in function <...face/AddOns/MountsJournal/components/SummonPanel.lua:275> [string "=[C]"]: in function SetScale'
[string "@Interface/AddOns/NDui/Init.lua"]:92: in function SetupUIScale' [string "@Interface/AddOns/NDui/Init.lua"]:123: in function func'
[string "@Interface/AddOns/NDui/Init.lua"]:23: in function <Interface/AddOns/NDui/Init.lua:18>

Locals: self = Button {
layoutType = "TooltipDefaultLayout"
summon1 = Button {
}
resize = Button {
}
NineSlice = Frame {
}
config =

{
}
summon2 = Button {
}
}
scale = 0.700000
(*temporary) = Button {
layoutType = "TooltipDefaultLayout"
summon1 = Button {
}
resize = Button {
}
NineSlice = Frame {
}
config =
{
}
summon2 = Button {
}
}
(*temporary) = "TOPLEFT"
(*temporary) = UIParent {
variablesLoaded = true
Tabs =
{
}
firstTimeLoaded = 1
}
(*temporary) = "BOTTOMLEFT"
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to perform arithmetic on field 'x' (a nil value)"

Screenshots

commented

Hi, thx for the feedback, fixed :)

commented

That was fast! Will test it out when servers go back up and report back. Thank you!

Edit: Error is gone, thanks again!