Z-Perl Unit Frames

Z-Perl Unit Frames

15M Downloads

TWW Lua Error

zeenk opened this issue ยท 3 comments

commented

Opening settings with /zperl spams out errors until closed
2024-07-27_23-07-25

265x ZPerl_Options/ZPerl_FrameOptions.lua:412: attempt to call global 'GetMouseFocus' (a nil value)
[string "@ZPerl_Options/ZPerl_FrameOptions.lua"]:412: in function `XPerl_Options_OnUpdate'
[string "*ZPerl_FrameOptions.xml:1826_OnUpdate"]:1: in function <[string "*ZPerl_FrameOptions.xml:1826_OnUpdate"]:1>

Locals:
self = XPerl_Options {
 BottomLeftCorner = Texture {
 }
 optRange = "Main"
 corner = Frame {
 }
 TopLeftCorner = Texture {
 }
 RightEdge = Texture {
 }
 gradient = Texture {
 }
 raidAlign = "all"
 initDone = true
 initWidth = 740
 TopEdge = Texture {
 }
 Center = Texture {
 }
 backdropInfo = <table> {
 }
 BottomEdge = Texture {
 }
 TopRightCorner = Texture {
 }
 LeftEdge = Texture {
 }
 BottomRightCorner = Texture {
 }
}
arg1 = 0.021000
(*temporary) = nil
(*temporary) = "attempt to call global 'GetMouseFocus' (a nil value)"

commented

GetMouseFocus was changed to GetMouseFoci.
You can change it for yourself in ZPerl_Options/ZPerl_FrameOptions.lua row 412.

commented

GetMouseFocus was changed to GetMouseFoci. You can change it for yourself in ZPerl_Options/ZPerl_FrameOptions.lua row 412.

I tried that but getting another error now instead

102x ZPerl_Options/ZPerl_FrameOptions.lua:414: attempt to call method 'GetName' (a nil value)
[string "@ZPerl_Options/ZPerl_FrameOptions.lua"]:414: in function `XPerl_Options_OnUpdate'
[string "*ZPerl_FrameOptions.xml:1826_OnUpdate"]:1: in function <[string "*ZPerl_FrameOptions.xml:1826_OnUpdate"]:1>

Locals:
self = XPerl_Options {
 BottomLeftCorner = Texture {
 }
 optRange = "Main"
 corner = Frame {
 }
 TopLeftCorner = Texture {
 }
 RightEdge = Texture {
 }
 gradient = Texture {
 }
 raidAlign = "all"
 initDone = true
 initWidth = 740
 TopEdge = Texture {
 }
 Center = Texture {
 }
 backdropInfo = <table> {
 }
 BottomEdge = Texture {
 }
 TopRightCorner = Texture {
 }
 LeftEdge = Texture {
 }
 BottomRightCorner = Texture {
 }
}
arg1 = 0.011000
f = <table> {
 1 = XPerl_Options {
 }
}
(*temporary) = nil
(*temporary) = <table> {
 1 = XPerl_Options {
 }
}
(*temporary) = "attempt to call method 'GetName' (a nil value)"
commented

I can confirm I am seeing the same issue. First the getmouseposition issue, then trying the suggested fix, the same new issue with GetName