Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LUA error on Classic ERA #251

Closed
mimixy opened this issue Jan 23, 2024 · 4 comments
Closed

LUA error on Classic ERA #251

mimixy opened this issue Jan 23, 2024 · 4 comments

Comments

@mimixy
Copy link

mimixy commented Jan 23, 2024

15x ItemRack/ItemRack.lua:1285: calling 'GetName' on bad self (Usage: local name = self:GetName())
[string "=[C]"]: in function GetName' [string "@ItemRack/ItemRack.lua"]:1285: in function func'
[string "@ItemRack/ItemRack.lua"]:1011: in function `OnUpdate'
[string "*ItemRack.xml:7_OnUpdate"]:1: in function <[string "*ItemRack.xml:7_OnUpdate"]:1>

Locals:
(*temporary) = SecureTransferDialog {
0 =
Button2 = Button {
}
MoneyLabel = FontString {
}
CautionIcon = Texture {
}
Text = FontString {
}
Border = Frame {
}
Button1 = Button {
}
}

@yourapple
Copy link

modify line 1286 to this below:
if MouseIsOver(ItemRackMenuFrame) or IsShiftKeyDown() or (frame and frame.GetName and frame:GetName() and frame:IsVisible() and ItemRack.MenuMouseoverFrames[frame:GetName()]) then

@Alessandro-Barbieri
Copy link

17x ItemRack/ItemRack.lua:1290: calling 'GetName' on bad self (Usage: local name = self:GetName())
[string "=[C]"]: in function `GetName'
[string "@ItemRack/ItemRack.lua"]:1290: in function `func'
[string "@ItemRack/ItemRack.lua"]:1016: in function `OnUpdate'
[string "*ItemRack.xml:7_OnUpdate"]:1: in function <[string "*ItemRack.xml:7_OnUpdate"]:1>

Locals:
(*temporary) = Button {
 0 = <userdata>
 Text = FontString {
 }
 Right = Texture {
 }
 Middle = Texture {
 }
 Left = Texture {
 }
}

@romracer
Copy link

romracer commented Jun 5, 2024

Fixed in #264

@Rottenbeer
Copy link
Owner

Please retest with 4.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants