Prat 3.0

Prat 3.0

26M Downloads

Error in some cases from the linkinfoicons module

plusmouse opened this issue ยท 1 comments

commented
11x bad argument #1 to '?' (Usage: local className, classFilename, classID = C_PlayerInfo.GetClass(playerLocation))
[string "=[C]"]: in function `GetClass'
[string "@Prat-3.0-3.9.22/modules/LinkInfoIcons.lua"]:565: in function `?'
[string "@Accountant_Classic/Libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:109: in function <...sic/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:109>
[string "=[C]"]: ?
[string "@Accountant_Classic/Libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:19: in function <...sic/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
[string "@Accountant_Classic/Libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:54: in function `Fire'
[string "@Prat-3.0-3.9.22/addon/addon.lua"]:263: in function <Prat-3.0/addon/addon.lua:245>
[string "=(tail call)"]: ?
[string "=(tail call)"]: ?
[string "@WIM/Modules/History.lua"]:244: in function `fun'
[string "@WIM/WIM.lua"]:364: in function `CallModuleFunction'
[string "@WIM/Sources/WindowHandler.lua"]:1460: in function <WIM/Sources/WindowHandler.lua:1407>
...
[string "=(tail call)"]: ?
[string "@FrameXML/ChatFrame.lua"]:4927: in function <FrameXML/ChatFrame.lua:4884>
[string "=[C]"]: ?
[string "=[C]"]: in function `ChatEdit_ParseText'
[string "@FrameXML/ChatFrame.lua"]:4799: in function `ChatEdit_OnTextSet'
[string "*ChatFrame.xml:136_OnTextSet"]:1: in function <[string "*ChatFrame.xml:136_OnTextSet"]:1>
[string "=[C]"]: ?
[string "=[C]"]: in function `SetText'
[string "@FrameXML/ChatFrame.lua"]:4159: in function `ChatEdit_OnUpdate'
[string "*ChatFrame.xml:118_OnUpdate"]:1: in function <[string "*ChatFrame.xml:118_OnUpdate"]:1>

Locals:
(*temporary) = "bad argument #1 to '?' (Usage: local className, classFilename, classID = C_PlayerInfo.GetClass(playerLocation))"

Originally posted by @orionshock in #115 (comment)

commented

playerLocation:IsValid()

Seems to not be good enough and dosn't work as expected as im still getting these errors when using Prat Formatting in WIM