Getting CheckInteractDistance error #2023


Open
  • dimsy__ created this issue Nov 17, 2023

    Here is buggrabber:

     

    2x [ADDON_ACTION_BLOCKED] AddOn 'ShadowedUnitFrames' tried to call the protected function 'CheckInteractDistance()'.
    [string "@!BugGrabber/BugGrabber.lua"]:481: in function <!BugGrabber/BugGrabber.lua:481>
    [string "=[C]"]: in function `CheckInteractDistance'
    [string "@ShadowedUnitFrames/modules/range.lua"]:80: in function <ShadowedUnitFrames/modules/range.lua:60>

    Locals:
    Skipped (In Encounter)

     

     

    ty!

  • Hollo6 posted a comment Nov 17, 2023

    I'm getting the same error and also the target frame stays faded forever like it was out of range, regardless of actual distance.

  • twlangbart posted a comment Nov 17, 2023

    blizzard disabled that function in api :(

  • cankyy posted a comment Nov 17, 2023

    what do u mean blizzard disabled that function? i also have the same issue.

  • Hollo6 posted a comment Nov 17, 2023

    " Restricted addon functions that allowed for in-combat distance checking between players."

    But it works... sometimes?

     

    On that note, I should mention that this bug concerns enemy frames, not friendlies, so this change shouldn't have anything to do with it.


    Edited Nov 18, 2023
  • gemini1661 posted a comment Nov 18, 2023

    A little confused as to why, of all things, Stagger on a Brewmaster is the thing that triggers the error repeatedly.  That's a personal mechanic that only affects the Brewmaster.  I wouldn't think that a range check is necessary.

  • Hollo6 posted a comment Nov 19, 2023

    To preserve some of my sanity, I just deleted this function call for now. I couldn't really notice the drawback because it being only a fallback option, it almost never triggers in normal situations, at least for me it always got bugged by a presumably weird interaction with some environmental objects in specific dungeons.

    This way it at least stays working and I don't have to /reload mid-dungeon or play it blind.

     

    modules\range.lua L80:

     

    frame:SetRangeAlpha(ShadowUF.db.profile.units[frame.unitType].range.inAlpha or ShadowUF.db.profile.units[frame.unitType].range.oorAlpha)

  • Felinae_OCE posted a comment Nov 26, 2023

    AFAIK - the API is disabled in raids and dungeons in retail

     


To post a comment, please login or register a new account.