Legacy-of-Sylvanaar / wow-instant-messenger

WIM (WoW Instant Messenger) is a World of Warcraft addon which brings an instant messenger feel to communication in game.
https://www.curseforge.com/wow/addons/wim-3
MIT License
11 stars 8 forks source link

Lua Error when you Right Click on a Name in the Chat Window #35

Open Gogo1951 opened 1 year ago

Gogo1951 commented 1 year ago

2x bad argument #1 to '?' (outside of expected range 0 to 4294967295 - Usage: local isValid = C_ChatInfo.IsValidChatLine([chatLine])) string "=[C]": in function IsValidChatLine' [string "@FrameXML/UnitPopupUtils.lua"]:30: in functionTryCreatePlayerLocation' [string "@FrameXML/UnitPopupSharedButtonMixins.lua"]:894: in function CanShow' [string "@FrameXML/UnitPopupSharedButtonMixins.lua"]:1003: in functionCanShow' [string "@FrameXML/UnitPopupShared.lua"]:55: in function ShowMenu' [string "@FrameXML/UnitPopupShared.lua"]:279: in function <FrameXML/UnitPopupShared.lua:278> [string "=[C]"]: in functionUnitPopup_ShowMenu' [string "@FrameXML/FriendsFrame_Shared.lua"]:251: in function initFunction' [string "@FrameXML/UIDropDownMenu.lua"]:79: in functionUIDropDownMenu_Initialize' [string "@FrameXML/UIDropDownMenu.lua"]:1112: in function <FrameXML/UIDropDownMenu.lua:971> string "=[C]": in function ToggleDropDownMenu' [string "@FrameXML/FriendsFrame_Shared.lua"]:222: in functionFriendsFrame_ShowDropdown' [string "@FrameXML/ItemRef.lua"]:66: in function <FrameXML/ItemRef.lua:1>

[string "@Interface_WrathBlizzard_CombatLog/Blizzard_CombatLog.lua"]:3516: in function <...athBlizzard_CombatLog/Blizzard_CombatLog.lua:3458> string "=[C]": in function SetItemRef' [string "@FrameXML/ChatFrame.lua"]:3768: in function <FrameXML/ChatFrame.lua:3767> [string "=[C]"]: in functionChatFrame_OnHyperlinkShow' [string "@WIM/Sources/WindowHandler.lua"]:1958: in function `fun' [string "@WIM/Sources/WindowHandler.lua"]:437: in function <WIM/Sources/WindowHandler.lua:429> [string "@WIM/Sources/WindowHandler.lua"]:753: in function <WIM/Sources/WindowHandler.lua:753>

Locals: (*temporary) = "bad argument #1 to '?' (outside of expected range 0 to 4294967295 - Usage: local isValid = C_ChatInfo.IsValidChatLine([chatLine]))"

image

Click on the "gray" names to reproduce.