Thread: =(
View Single Post
03/08/15, 04:51 PM   #7
votan
 
votan's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2014
Posts: 578
While working on Votan's Fish Fillet I found out the following:
If a hooked function (or a sub-call) using a private/protected function like "UseItem" is not the very last call by using return, this message is coming.

e.g.
fails:
function NewFunction(...)
-- action
hookedFunction(...)
end

working:
function NewFunction(...)
-- action
return hookedFunction(...)
end

Even if the hooked function has no return values. But this causes the error message reproducable.
In my case, it was hooking the context-menu. (right-click)

If the error is random, it can be caused by adding the wrong fragment type to HUD_SCENE (from any addon)
http://www.esoui.com/forums/showthre...ight=HUD_SCENE

Last edited by votan : 03/08/15 at 04:54 PM.
  Reply With Quote