ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   AddOn Help/Support (https://www.esoui.com/forums/forumdisplay.php?f=164)
-   -   =( (https://www.esoui.com/forums/showthread.php?t=4393)

StrangerFull 03/08/15 08:49 AM

=(
 
Some addon causes an error when you try to use any potions or any other item in the inventory by right-clicking and selecting "use" but when double click the left mouse button on the same item - there is no error.


EsoUI/Ingame/Inventory/InventorySlot.lua:925: attempt to access a private function 'UseItem' from insecure code
stack traceback:
EsoUI/Ingame/Inventory/InventorySlot.lua:925: in function 'TryUseItem'
EsoUI/Ingame/Inventory/InventorySlot.lua:1148: in function 'OnSelect'
EsoUI/Libraries/ZO_ContextMenus/ZO_ContextMenus.lua:412: in function 'ZO_Menu_ClickItem'
8371350907706105899:4: in function '(main chunk)'

I m using following addons:

Advanced Filters
Advanced UI (AUI)
AwesomeGuildStore
Binder (Outdated)
CombatAnalytics (Outdated)
Destinations
FCO Item Saver
Foundry Tactical Combat
GuildAnnouncer
GuildNotificator
Harven's Aliases
Harven's Improved Skills Window
Harven's Provisioning Tooltips (Outdated)
Harven's Trait And Style
HarvestMap
HyperToxic's Regroup (Outdated)
Joviex's Settings Transfer 14.07.03.1 (Outdated)
LibAddonMenu-2.0 (Library not addon)
Librarian (Outdated)
LoreBooks 1.5.2
Lost Treasure
Lui Extended
No, thank you! 1.2.2
pChat
Postmaster 1.7.3
Potion Maker
Price Tracker Updated 2.6.2
Rainbow Reticle v 1.1
Rare Fish Tracker
Research Assistant
Show Motifs
Show Weapons while mounted (Outdated)
SkyShards 1.8.2
SpentSkillPoints
S'rendarr 1.47
TiEmote Extended (Outdated)
Votan's Fisherman
Votan's Search Box
Wykkyd Achievements Tracker 2.3.3.1
Wykkyd's Auto Repair 2.3.3.1
Wykkyd's Core Libraries (live+pts)
Wykkyd's Equip Borders 2.3.3.1
Wykkyd's Equip Level 2.3.3.1
Wykkyd's Loot Manager 2.3.3.1
Wykkyd's Outfitter 2.3.3.1
Wykkyd's Toolbar 2.3.3.1

No inventory mods installed except filters that updated to 1.6...

Halja 03/08/15 09:10 AM

I have seen that error before when trying to use a recipe while I had the bank window open for deposits. Did you have any other windows open beyond personal inventory at the same time? Some of those in your list do interact with inventory events. Can you recreate the error with all add-on off?

Kevinmon 03/08/15 09:50 AM

I have this same bug, it happens when Right Click - Destroying items too! InventorySlot.lua.

I have no idea which add-on is causing this! :(

Baertram 03/08/15 12:08 PM

Did you try this with all addons disabled? Is the error message still there?

kedavix 03/08/15 01:54 PM

I believe that I have seen the error before as well. I'd try loading up with FCO ItemSaver disabled. Something tells me it doesn't always play fair with it's insane number of features related to inventory handling.

Baertram 03/08/15 03:37 PM

FCOItemSaver never changes something at the TryUseItem or UseItem function.
It only prevents the "Use" context menu entry to appear.

I've tested it with several constellations now and never got this error message (with FCOItemSaver enabled, disabled, not used as addon).

It would make me wonder if FCOItemSaver is the one addon here causing this error.

votan 03/08/15 04:51 PM

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

StrangerFull 03/09/15 11:47 AM

Mysticism, but the bug disappeared himself. Most likely after updating addons through Minion. What addons updates I don't remember.

Baertram 03/09/15 01:42 PM

Maybe it helps other ppl too to track down the bug.
Have a look here: http://www.esoui.com/downloads/latest.php

Then remember date and time as you have updated Minion and check which addons were updated at this time (near this time).
Compare it with your version list of addons from your first post.


All times are GMT -6. The time now is 11:48 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI