Log in to ZYGOR
Log in with social media
OR
Log in with Zygor account

Announcement

Collapse
No announcement yet.

ADDON_ACTION_BLOCKED: ZygorGuidesViewer tried to call the protected function...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    ADDON_ACTION_BLOCKED: ZygorGuidesViewer tried to call the protected function...

    i'm getting these errors when engaging in combat with a NPC for a quest:

    Code:
    Message: ADDON_ACTION_BLOCKED: ZygorGuidesViewer tried to call the protected function 'ZygorGuidesViewerFrame:SetHeight()'.
    Time: Sun Aug  5 09:46:41 2018
    Count: 1
    Stack: ADDON_ACTION_BLOCKED: ZygorGuidesViewer tried to call the protected function 'ZygorGuidesViewerFrame:SetHeight()'.
    [C]: ?
    [string "safecall Dispatcher[3]"]:13: in function `?'
    ...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:90: in function `Fire'
    Interface\AddOns\Ace3\AceEvent-3.0\AceEvent-3.0.lua:120: in function <Interface\AddOns\Ace3\AceEvent-3.0\AceEvent-3.0.lua:119>
    [C]: in function `SetHeight'
    ...rface\AddOns\ZygorGuidesViewer\ZygorGuidesViewer.lua:3089: in function <...rface\AddOns\ZygorGuidesViewer\ZygorGuidesViewer.lua:2170>
    (tail call): ?
    ...rface\AddOns\ZygorGuidesViewer\ZygorGuidesViewer.lua:1451: in function `FocusStepUnquiet'
    ...rface\AddOns\ZygorGuidesViewer\ZygorGuidesViewer.lua:1366: in function `FocusStep'
    ...rface\AddOns\ZygorGuidesViewer\ZygorGuidesViewer.lua:1637: in function `SkipStep'
    ...rface\AddOns\ZygorGuidesViewer\ZygorGuidesViewer.lua:1872: in function `TryToCompleteStep'
    Interface\AddOns\ZygorGuidesViewer\QuestTracking.lua:406: in function `?'
    ...rface\AddOns\ZygorGuidesViewer\ZygorGuidesViewer.lua:933: in function `?'
    ...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:145: in function <...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:145>
    [string "safecall Dispatcher[1]"]:4: in function <[string "safecall Dispatcher[1]"]:4>
    [C]: ?
    [string "safecall Dispatcher[1]"]:13: in function `?'
    ...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:90: in function `Fire'
    Interface\AddOns\Ace3\AceEvent-3.0\AceEvent-3.0.lua:120: in function <Interface\AddOns\Ace3\AceEvent-3.0\AceEvent-3.0.lua:119>
    
    Locals: <none>

    #2
    Try disabling all other addons so only Zygor is running and see if you still get this error in combat.
    Become a Fan of Zygor Guides on Facebook:
    http://www.facebook.com/pages/Zygor-...04933799556988

    Follow Zygor Guides on Twitter:
    http://twitter.com/zygorguides

    Comment


      #3
      I think it's a bug in the pre-patch or Ace3 as it's completely random. It sometimes happens when ending or starting combat. ElvUI uses Ace3 too and is getting the same errors, it happens very rarely.

      Comment


        #4
        That error normally happens when the game server thinks you're still in combat but your addons think you are out of combat and they can do their normal tasks. Commonly caused by some minor lag in the connection to the game server. The idea of eliminating other addons was to see if maybe it was a specific addon that was seeing the out of combat triggering the error.
        Become a Fan of Zygor Guides on Facebook:
        http://www.facebook.com/pages/Zygor-...04933799556988

        Follow Zygor Guides on Twitter:
        http://twitter.com/zygorguides

        Comment


          #5
          Can we just put the line from line 3171 in ZygorGuidesViewer.lua at line 2218 as such:

          Code:
          function ZGV:DoUpdateFrame(full,onupdate)
          	if InCombatLockdown() then return end
          Then it won't try to update the frame until combat is over.

          I keep having this error as well and have to /reload every time it happens or it won't try to auto equip new gear and I'm not sure what else it isn't doing.

          Comment


            #6
            The problem normally stems from a small lag spike between you and the game server where your client thinks you're out of combat (so addons will start to act normal) but the game server thinks you're still in combat and then tells the client your addons aren't allowed to do what they're trying to do.
            Become a Fan of Zygor Guides on Facebook:
            http://www.facebook.com/pages/Zygor-...04933799556988

            Follow Zygor Guides on Twitter:
            http://twitter.com/zygorguides

            Comment


              #7
              I understand that might be the case. However this actually isn't how I am producing the error. I'm able to reproduce the error while I'm actually in combat and I know I'm still in combat because I'm still fighting mobs and the guide is trying to advance because I've either killed enough mobs or picked up enough drops, etc. Adding this line there seems to be doing the trick for me so far. I don't get the error anymore and I don't have to keep reloading the UI to auto equip my gear anymore.

              I've tried to reproduce it by killing enough mobs while still being in combat by having more on me, and picking up drops while still in combat with mobs and I don't get the error anymore. It just doesn't update the window until I leave combat which is fine with me.

              If I ever get the error again with this line added then I'll reply again if there's more info to add.

              Comment


                #8
                We'll check into this.
                Become a Fan of Zygor Guides on Facebook:
                http://www.facebook.com/pages/Zygor-...04933799556988

                Follow Zygor Guides on Twitter:
                http://twitter.com/zygorguides

                Comment

                Working...
                X