GSE: Sequences, Variables, Macros

GSE: Sequences, Variables, Macros

7M Downloads

[BUG]

Sethadon opened this issue · 1 comments

commented

🔵 Describe the bug:
LUI dev says the below error is specific to the GSE addon:
image

🔵 To reproduce: (Steps to reproduce the behavior)
Hard to know how to recreate this issue exactly. It usually occurs when using the target dummies in Valdraken.

🔵 The error:

1x [ADDON_ACTION_BLOCKED] AddOn 'LUI' tried to call the protected function 'ActionButton1:SetShown()'.
[string "@!BugGrabber/BugGrabber.lua"]:485: in function <!BugGrabber/BugGrabber.lua:485>
[string "=[C]"]: in function `SetShown'
[string "@FrameXML/ActionBar.lua"]:195: in function `UpdateShownButtons'
[string "@FrameXML/ActionButton.lua"]:507: in function `UpdateAction'
[string "@FrameXML/ActionButton.lua"]:981: in function `OnEvent'
[string "@FrameXML/ActionButton.lua"]:207: in function <FrameXML/ActionButton.lua:204>
[string "=[C]"]: in function `SetMacroSpell'
[string "@GSE/API/Storage.lua"]:762: in function `method'
[string "@FrameXML/RestrictedFrames.lua"]:791: in function <FrameXML/RestrictedFrames.lua:783>
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "@FrameXML/RestrictedFrames.lua"]:810: in function `CallMethod'
...
[string "=[C]"]: in function `UseAction'
[string "@FrameXML/SecureTemplates.lua"]:364: in function `handler'
[string "@FrameXML/SecureTemplates.lua"]:690: in function <FrameXML/SecureTemplates.lua:672>
[string "@FrameXML/SecureTemplates.lua"]:704: in function <FrameXML/SecureTemplates.lua:697>
[string "@FrameXML/SecureTemplates.lua"]:746: in function <FrameXML/SecureTemplates.lua:730>
[string "=[C]"]: ?
[string "@FrameXML/SecureHandlers.lua"]:266: in function <FrameXML/SecureHandlers.lua:263>
[string "=[C]"]: ?
[string "@FrameXML/SecureHandlers.lua"]:296: in function <FrameXML/SecureHandlers.lua:279>
[string "=(tail call)"]: ?

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_BLOCKED"
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
}

🔵 Expected behavior:
No error

🔵 GSE.lua file:
GSE.lua.txt

🔵 Desktop (please complete the following information):

  • OS: Windows 11 64bit
  • Game Version: retail 10.2.5

🔵 GSE Version:

  • Version: 3.1.54
  • Downloaded From: Curseforge Desktop App
commented

Unfortunately LUI is doing something that is breaking the SetMacroSpell APi. This doesn’t look like a GSE issue but that LUI is bundling an old version of BarTender4 which has a lot of limitations in what it is allowed to do in WoW’s Dragonflight UI changes.

This is a 3rd party action bar being locked in combat rather than a GSE problem. It’s not something I can code around as SetMacroIcon is a WoW API not a GSE function. It’s an incompatibility with what BT4 is doing to work around DF’s limitations for custom action bars. Also this works perfectly with Blizzards standard bars which are the reference for what addons need to be compatible with.

The fix is run away from Bartender, Dominoes and ElvUI. The best is you MIGHT be able to use KeyUp but you will get this same problem using a normal WoW macro that has a ? Icon.