This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
alts version: 8.0.0 (through twitch app)
reproducing this lua error on every login with just "alts" activated
when right clicking a charname in the chat window a lua error pops up immediately and the counter rushes in the thousands until closing right click menu!
thx for help/fix!
Message: Interface\FrameXML\UnitPopup.lua:1359: Usage: CheckInteractDistance("unit", distIndex) Time: Thu Aug 9 21:15:42 2018 Count: 154 Stack: Interface\FrameXML\UnitPopup.lua:1359: Usage: CheckInteractDistance("unit", distIndex) [C]: in function `CheckInteractDistance' Interface\FrameXML\UnitPopup.lua:1359: in function <Interface\FrameXML\UnitPopup.lua:1354> Interface\FrameXML\UnitPopup.lua:1402: in function `UnitPopup_OnUpdate' [string "*:OnUpdate"]:3: in function <[string "*:OnUpdate"]:1> Locals: (*temporary) = nil (*temporary) = 0
Hi,
goto Alts.lua
search for "dist"
you should find a line like :
_G.UnitPopupButtons["ALTS_SET_MAIN"] = {text = L"Set Main", dist = 0}
and change it into :
_G.UnitPopupButtons["ALTS_SET_MAIN"] = {text = "Set Main", dist = 0}
This will fix it.
Greetings
I have the same problem, and when I replace _G.UnitPopupButtons["ALTS_SET_MAIN"] = {text = L["Set Main"], dist = 0} with _G.UnitPopupButtons["ALTS_SET_MAIN"] = {text = L["Set Main"], dist = 0}, when I start the game or reload I get:
Message: Interface\AddOns\Alts\Alts.lua:2625: unexpected symbol near '['Time: Sun Jul 14 12:23:51 2019Count: 1Stack: Interface\AddOns\Alts\Alts.lua:2625: unexpected symbol near '['
Try replacing the line in question with this:
_G.UnitPopupButtons["ALTS_SET_MAIN"] = {text = L["Set Main"]}
(So just deleting the , dist = 0 bit. No errors thrown here, been making the change every update for a while. Do make sure to leave the closing curly bracket in, otherwise you'll just cause a whole new pile of errors. :-P)
I have seen the errors when right clicking a name in chat. I will try to fix that. I have to add a hook to add the menu option but the client does not like that.
I added the fix and it should be available as a new release soon.
To post a comment, please login or register a new account.