ToxiUI - ElvUI edit

ToxiUI - ElvUI edit

349k Downloads

Battlground signup causing lua error/taint

ShotaroKaneda opened this issue · 1 comments

commented

Description

Lua-Error/taint shows when trying to signup to a Battleground through the PvP Frame (H). Thus not able to sign up to a BG.
Weirdly enough, if the PvP frame (H) is opened after a reload and the preselected BG is not changed, the "Join Battle" works.
But if any other BG than the preselected one is clicked, it ends in the Lua-Error/Taint below.

Everything works if "/ecdebug on" is used or if ToxiUI is disabled via addon settings.

image

Lua error

[string "@!BugGrabber/BugGrabber.lua"]:485: in function <!BugGrabber/BugGrabber.lua:485>
[string "=[C]"]: in function `JoinBattlefield'
[string "@Blizzard_UIPanels_Game/Cata/PVPFrame.lua"]:376: in function `PVPFrame_JoinClicked'
[string "*PVPFrame.xml:534_OnClick"]:1: in function <[string "*PVPFrame.xml:534_OnClick"]:1>

Locals:
_ = Frame {
 RegisterEvent = <function> defined @!BugGrabber/BugGrabber.lua:491
 0 = <userdata>
 UnregisterEvent = <function> defined @!BugGrabber/BugGrabber.lua:491
 SetScript = <function> defined @!BugGrabber/BugGrabber.lua:491
}
event = "ADDON_ACTION_FORBIDDEN"
events = <table> {
 ADDON_ACTION_BLOCKED = <function> defined @!BugGrabber/BugGrabber.lua:557
 ADDON_ACTION_FORBIDDEN = <function> defined @!BugGrabber/BugGrabber.lua:557
 PLAYER_LOGIN = <function> defined @!BugGrabber/BugGrabber.lua:551
 LUA_WARNING = <function> defined @!BugGrabber/BugGrabber.lua:566
 ADDON_LOADED = <function> defined @!BugGrabber/BugGrabber.lua:511
}

ToxiUI Status Report

"/tx status" throws a lua error itself:

[string "=[C]"]: ?
[string "@ElvUI_ToxiUI/Modules/Misc/StatusReport.lua"]:295: in function `StatusReportUpdate'
[string "@ElvUI_ToxiUI/Modules/Misc/StatusReport.lua"]:463: in function `StatusReportShow'
[string "@ElvUI_ToxiUI/Modules/Options/General/Core.lua"]:39: in function <ElvUI_ToxiUI/Modules/Options/General/Core.lua:37>
[string "=[C]"]: ?
[string "@ElvUI_Libraries/Core/Ace3/AceConfig-3.0-3/AceConfigDialog-3.0-86/AceConfigDialog-3.0.lua"]:45: in function <...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:43>
[string "@ElvUI_Libraries/Core/Ace3/AceConfig-3.0-3/AceConfigDialog-3.0-86/AceConfigDialog-3.0.lua"]:869: in function <...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:691>
[string "=[C]"]: ?
[string "@Masque/Libs/AceGUI-3.0-41/AceGUI-3.0.lua"]:66: in function <Masque/Libs/AceGUI-3.0/AceGUI-3.0.lua:64>
[string "@Masque/Libs/AceGUI-3.0-41/AceGUI-3.0.lua"]:300: in function `Fire'
[string "@ElvUI_Libraries/Core/Ace3-ElvUI/AceGUIWidget-Button-ElvUI.lua"]:85: in function <...raries/Core/Ace3-ElvUI/AceGUIWidget-Button-ElvUI.lua:82>
[string "=[C]"]: ?

Locals:
(*temporary) = "No (%s)"
(*temporary) = nil
(*temporary) = "string expected, got nil" 

Screenshots

image
image

To reproduce

not applicable or already described above i guess

commented

it´s BetterBags and/or one of the plugins for it that i use or a certain combination of them.
All of them work and don´t throw any Lua errors but seem to be causing the weird issue i described above.
But, with "BetterBags ElvUI Skin" disabled, the issue is gone.

https://discord.com/channels/769550106948141086/769550106948141088/1239871241758703646