Lua error 5.17.0
zeenk opened this issue ยท 5 comments
1x Myslot/gui.lua:307: attempt to concatenate global 'ACTIONBAR_LABEL' (a nil value)
[string "@Myslot/gui.lua"]:307: in function `CreateSettingMenu'
[string "@Myslot/gui.lua"]:379: in main chunk
Locals:
opt =
ignorePetActionBar = false
ignoreActionBars =
}
ignoreBinding = false
ignoreMacros =
}
}
tableref = defined @Myslot/gui.lua:69
childchecked = defined @Myslot/gui.lua:83
childclicked = defined @Myslot/gui.lua:87
parentchecked = defined @Myslot/gui.lua:93
parentclicked = defined @Myslot/gui.lua:104
actionbarlist =
1 =
}
2 =
}
3 =
}
4 =
}
5 =
}
6 =
}
7 =
}
8 =
}
9 =
}
10 =
}
11 =
}
12 =
}
13 =
}
}
(*temporary) =
}
(*temporary) =
hasArrow = true
checked = defined @Myslot/gui.lua:93
notCheckable = false
isNotRadio = true
func = defined @Myslot/gui.lua:104
arg1 = "action"
keepShownOnClick = true
menuList =
}
}
(*temporary) =
checked = defined @Myslot/gui.lua:272
keepShownOnClick = true
notCheckable = false
text = "Key Binding"
func = defined @Myslot/gui.lua:269
isNotRadio = true
}
(*temporary) =
hasArrow = true
checked = defined @Myslot/gui.lua:93
notCheckable = false
text = "Macro"
func = defined @Myslot/gui.lua:104
arg1 = "macro"
keepShownOnClick = true
menuList =
}
isNotRadio = true
}
(*temporary) =
}
(*temporary) = "Pet"
(*temporary) = " "
(*temporary) = nil
(*temporary) = "%s Specific Macros"
(*temporary) = ""
(*temporary) = "attempt to concatenate global 'ACTIONBAR_LABEL' (a nil value)"
menuFrame = Frame {
0 =
Text = UIParentText {
}
Icon = UIParentIcon {
}
Button = UIParentButton {
}
Right = UIParentRight {
}
Middle = UIParentMiddle {
}
Left = UIParentLeft {
}
}
L =
Stance Action Bar = "Stance Action Bar"
Key Binding = "Key Binding"
Myslot = "Myslot"
Main Action Bar Page = "Main Action Bar Page"
Ignore during Import = "Ignore during Import"
Close = "Close"
Import = "Import"
}
Retail, the error happens when you load into the game, and the /myslot command doesn't work, previous version works with no errors so yeah, something went wrong in this update.
the export/import options for ignoring the main action bars are also not visible due to same issue on https://github.com/tg123/myslot/blob/master/gui.lua#L254 (but no error generated as its not concatenating the text, just setting it to nil)