HandyNotes: Loremaster

HandyNotes: Loremaster

15.8k Downloads

LUA error with quest item

Mike160770 opened this issue · 3 comments

commented

when using a questitem out of the questlog the following LUA error occurs:

1x [ADDON_ACTION_FORBIDDEN] AddOn 'HandyNotes_erglo_Loremaster' hat versucht die geschützte Funktion 'UseQuestLogSpecialItem()' aufzurufen.
[string "@Interface/AddOns/SpartanUI/libs/bug-grabber/BugGrabber.lua"]:478: in function <...ace/AddOns/SpartanUI/libs/bug-grabber/BugGrabber.lua:477>
[string "=[C]"]: in function `UseQuestLogSpecialItem'
[string "@Interface/AddOns/Blizzard_ObjectiveTracker/Blizzard_ObjectiveTrackerShared.lua"]:94: in function <...ObjectiveTracker/Blizzard_ObjectiveTrackerShared.lua:87>

Locals:
_ = Frame {
}
event = "ADDON_ACTION_FORBIDDEN"
events =

{
}

commented

Hi, thank you for reporting this!
I encountered this and similar messages from the Objective Tracker already myself, but tbh I have no idea where this is coming from. Neither does my code nor my libraries use the function UseQuestLogSpecialItem() . You can verify that yourself if you want.
Blizzard doesn't report where or how this is triggered and I have no clue how to prevent this from happening again.
I know it's annoying, but unfortunately we have to live with that for the moment. Sorry!

I will look further into this, maybe I find someone who has the same or a similar problem or even a solution for it.

commented

I sometimes encounter my addons "Bartender" or "Pettracker" causing the same error - something weird is going on here...

commented

It is weird indeed. It might be caused by a library of a library...?! I really don't know.
I noticed that when the system complains with the ADDON_ACTION_FORBIDDEN error you can reload the UI (/reload) and strangely enough using the special item from the Objective Tracker after that works.