cr4ckp0t/ElvUI_ChatTweaks

LUA errors when entering dungeons

sprort opened this issue · 1 comments

WoW Version 9.0.2 (37176) (Release x64)

Upon entering dungeons (only tested with Halls of Atonement, Plaguefall, Mists of Tirna Scithe, and The Stockade) LUA errors appear and the chat frames become unresponsive. They appear to be related to the Substitutions module, but disabling that module doesn't seem to fix the issue. As of right now the addon cannot be used when inside a dungeon at all. Due to the sheer amount of LUA errors and the frozen chat frames.

LUA error examples:

Time: Thu Jan 21 23:03:55 2021
Count: 1
Stack: Usage: local position = C_Map.GetPlayerMapPosition(uiMapID, unitToken)
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "@Interface\AddOns\ElvUI_ChatTweaks\Modules\Substitutions.lua"]:314: in function `func'
[string "@Interface\AddOns\ElvUI_ChatTweaks\Modules\Substitutions.lua"]:64: in function <...ce\AddOns\ElvUI_ChatTweaks\Modules\Substitutions.lua:54>
[string "=(tail call)"]: ?
[string "=(tail call)"]: ?
[string "=(tail call)"]: ?
[string "=(tail call)"]: ?
[string "=(tail call)"]: ?
[string "@Interface\AddOns\ElvUI_WindTools\Modules\Social\ChatText.lua"]:833: in function `ChatFrame_MessageEventHandler'
[string "@Interface\AddOns\ElvUI\Modules\Chat\Chat.lua"]:2018: in function `ChatFrame_OnEvent'
[string "@Interface\AddOns\ElvUI\Modules\Chat\Chat.lua"]:2022: in function `FloatingChatFrame_OnEvent'
[string "@Interface\AddOns\ElvUI\Modules\Chat\Chat.lua"]:2027: in function <Interface\AddOns\ElvUI\Modules\Chat\Chat.lua:2026>

Locals:


Message: ...ce\AddOns\ElvUI_ChatTweaks\Modules\Substitutions.lua:315: attempt to index local 'tarPos' (a nil value)
Time: Thu Jan 21 23:10:46 2021
Count: 1
Stack: ...ce\AddOns\ElvUI_ChatTweaks\Modules\Substitutions.lua:315: attempt to index local 'tarPos' (a nil value)
[string "=[C]"]: ?
[string "@Interface\AddOns\ElvUI_ChatTweaks\Modules\Substitutions.lua"]:315: in function `func'
[string "@Interface\AddOns\ElvUI_ChatTweaks\Modules\Substitutions.lua"]:64: in function <...ce\AddOns\ElvUI_ChatTweaks\Modules\Substitutions.lua:54>
[string "=(tail call)"]: ?
[string "=(tail call)"]: ?
[string "=(tail call)"]: ?
[string "=(tail call)"]: ?
[string "=(tail call)"]: ?
[string "@Interface\FrameXML\ChatFrame.lua"]:4192: in function <Interface\FrameXML\ChatFrame.lua:4184>
[string "@Interface\AddOns\+Wowhead_Looter\Wowhead_Looter.lua"]:3458: in function `ChatFrame_DisplayTimePlayed'
[string "@Interface\FrameXML\ChatFrame.lua"]:3247: in function <Interface\FrameXML\ChatFrame.lua:3244>
[string "=(tail call)"]: ?
[string "@Interface\AddOns\ElvUI\Modules\Chat\Chat.lua"]:2017: in function `ChatFrame_OnEvent'
[string "@Interface\AddOns\ElvUI\Modules\Chat\Chat.lua"]:2022: in function `FloatingChatFrame_OnEvent'
[string "@Interface\AddOns\ElvUI\Modules\Chat\Chat.lua"]:2027: in function <Interface\AddOns\ElvUI\Modules\Chat\Chat.lua:2026>

Locals:

What locale are you? I have Substitutions enabled and it works just fine.