Baganator

Baganator

1M Downloads

Addon calls protected functions, causing Blizzard UI Dialog to block actionbar actions.

espenja opened this issue ยท 4 comments

commented

What version(s) of WoW are you using?

Retail

What version of Syndicator?

110

What isn't working? What was supposed to happen?

Sometimes in the middle of combat, a Blizzard UI dialog will pop up saying Baganator was stopped from calling an action. The Blizzard UI dialog effectively freezes all button presses until you click "Disable" or "Ignore", and in the middle of combat this can lead to your death if you're not quick enough doing /reload. Pressing "Ignore" works for a very short while until it pops up again.

Are you experiencing any lua errors

Three errors from BugGrabber/BugSack. They don't appear at the same time, but these are the ones I can find in the history of BugSack.

2x [ADDON_ACTION_BLOCKED] AddOn 'Baganator' tried to call the protected function 'OverrideActionBarButton1:SetAttribute()'.
[string "@!BugGrabber/BugGrabber.lua"]:485: in function <!BugGrabber/BugGrabber.lua:485>
[string "=[C]"]: in function `SetAttribute'
[string "@Blizzard_ActionBar/Mainline/ActionButton.lua"]:488: in function `UpdatePressAndHoldAction'
[string "@Blizzard_ActionBar/Mainline/ActionButton.lua"]:554: in function `Update'
[string "@Blizzard_ActionBar/Mainline/ActionButton.lua"]:506: in function `UpdateAction'
[string "@Blizzard_ActionBar/Mainline/ActionButton.lua"]:991: in function `OnEvent'
[string "@Blizzard_ActionBar/Mainline/ActionButton.lua"]:207: in function <Blizzard_ActionBar/Mainline/ActionButton.lua:204>

Locals:
_ = Frame {
}
event = "ADDON_ACTION_BLOCKED"
events = <table> {
}
1x [ADDON_ACTION_BLOCKED] AddOn 'Baganator' tried to call the protected function 'ActionButton1:SetAttribute()'.
[string "@!BugGrabber/BugGrabber.lua"]:485: in function <!BugGrabber/BugGrabber.lua:485>
[string "=[C]"]: in function `SetAttribute'
[string "@Blizzard_ActionBar/Mainline/ActionButton.lua"]:488: in function `UpdatePressAndHoldAction'
[string "@Blizzard_ActionBar/Mainline/ActionButton.lua"]:554: in function `Update'
[string "@Blizzard_ActionBar/Mainline/ActionButton.lua"]:506: in function `UpdateAction'
[string "@Blizzard_ActionBar/Mainline/ActionButton.lua"]:991: in function `OnEvent'
[string "@Blizzard_ActionBar/Mainline/ActionButton.lua"]:207: in function <Blizzard_ActionBar/Mainline/ActionButton.lua:204>

Locals:
_ = Frame {
}
event = "ADDON_ACTION_BLOCKED"
events = <table> {
}
1x [ADDON_ACTION_FORBIDDEN] AddOn 'Baganator' tried to call the protected function 'UseAction()'.
[string "@!BugGrabber/BugGrabber.lua"]:485: in function <!BugGrabber/BugGrabber.lua:485>
[string "=[C]"]: in function `UseAction'
[string "@Blizzard_FrameXML/Mainline/SecureTemplates.lua"]:342: in function `handler'
[string "@Blizzard_FrameXML/Mainline/SecureTemplates.lua"]:667: in function <...ddOns/Blizzard_FrameXML/Mainline/SecureTemplates.lua:649>
[string "@Blizzard_FrameXML/Mainline/SecureTemplates.lua"]:681: in function <...ddOns/Blizzard_FrameXML/Mainline/SecureTemplates.lua:674>
[string "@Blizzard_FrameXML/Mainline/SecureTemplates.lua"]:723: in function `SecureActionButton_OnClick'
[string "@Blizzard_ActionBar/Mainline/ActionButton.lua"]:100: in function `TryUseActionButton'
[string "@Blizzard_ActionBar/Mainline/ActionButton.lua"]:135: in function `ActionButtonDown'
[string "ACTIONBUTTON2"]:2: in function <[string "ACTIONBUTTON2"]:1>

Locals:
_ = Frame {
}
event = "ADDON_ACTION_FORBIDDEN"
events = <table> {
}

Anything else?

No response

commented

I can't say how long I had been playing, but I'll try to keep an eye on the time in the future.
They don't appear to happen when I do certain things. I'm just playing normally, doing my rotation fighting mobs, but they always seems to happen immediately after attacking a mob. Here's a clip I just caught of it happening. I tried to reproduce it by going into options, into edit mode, and doing the exact spell rotation, but I wasn't able to get it again.

Sorry for the youtube link, but github won't allow me to embed anything over 10MB.
https://youtu.be/IUP6T8pLvps

The error in this vid is

1x [ADDON_ACTION_BLOCKED] AddOn 'Baganator' 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 "@Blizzard_ActionBar/Mainline/ActionBar.lua"]:206: in function `UpdateShownButtons'
[string "@Blizzard_ActionBar/Mainline/ActionButton.lua"]:510: in function `UpdateAction'
[string "@Blizzard_ActionBar/Mainline/ActionButton.lua"]:991: in function `OnEvent'
[string "@Blizzard_ActionBar/Mainline/ActionButton.lua"]:207: in function <Blizzard_ActionBar/Mainline/ActionButton.lua:204>

Locals:
_ = Frame {
}
event = "ADDON_ACTION_BLOCKED"
events = <table> {
}
commented

Do you remember how long you had been playing for before the last error?

What had you been doing in game?

Did you use the quest log? Map? Talents? Spell book? Anything in that vein?

Answers to these questions will help me narrow down the cause of the issue so I can fix it

commented

The cause of the blocked action would have occurred earlier, before the video starts. It would have been at some point since your last reload/login.

commented

This is caused by an addon like DeModal or NoAutoClose (NoAutoClose will be patched soon), and is not from Baganator.