ItemRack Classic

ItemRack Classic

7M Downloads

LUA error on Classic ERA

mimixy opened this issue ยท 4 comments

commented

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 {
}
}

commented

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

commented
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 {
 }
}
commented

Fixed in #264

commented

Please retest with 4.2