View Single Post
04/17/17, 03:04 PM   #38
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,578
Originally Posted by ZOS_ChipHilseberg View Post
Nice work tracking it down. What is the callstack that is leading to the security error? Is it from the "E" keybind or a right-click menu or something else?
The callstack for trying to use E:
Code:
EsoUI/Ingame/Inventory/InventorySlot.lua:1020: attempt to access a private function 'UseItem' from insecure code
stack traceback:
	EsoUI/Ingame/Inventory/InventorySlot.lua:1020: in function 'TryUseItem'
	EsoUI/Ingame/Inventory/InventorySlot.lua:1201: in function 'INDEX_ACTION_CALLBACK'
	EsoUI/Ingame/Inventory/InventorySlotActions.lua:96: in function 'ZO_InventorySlotActions:DoPrimaryAction'
	EsoUI/Ingame/Inventory/ItemSlotActionController.lua:31: in function 'callback'
	EsoUI/Libraries/ZO_KeybindStrip/ZO_KeybindStrip.lua:614: in function 'ZO_KeybindStrip:TryHandlingKeybindDown'
	(tail call): ?
	(tail call): ?
For trying to use the context menu:
Code:
EsoUI/Ingame/Inventory/InventorySlot.lua:1020: function expected instead of nil
stack traceback:
	EsoUI/Ingame/Inventory/InventorySlot.lua:1020: in function 'TryUseItem'
	EsoUI/Ingame/Inventory/InventorySlot.lua:1201: in function 'OnSelect'
	EsoUI/Libraries/ZO_ContextMenus/ZO_ContextMenus.lua:419: in function 'ZO_Menu_ClickItem'
	ZO_MenuItem1_MouseUp:4: in function '(main chunk)'
And for double clicking the item:
Code:
EsoUI/Ingame/Inventory/InventorySlot.lua:1020: function expected instead of nil
stack traceback:
	EsoUI/Ingame/Inventory/InventorySlot.lua:1020: in function 'TryUseItem'
	EsoUI/Ingame/Inventory/InventorySlot.lua:1201: in function 'INDEX_ACTION_CALLBACK'
	EsoUI/Ingame/Inventory/InventorySlotActions.lua:96: in function 'ZO_InventorySlotActions:DoPrimaryAction'
	EsoUI/Ingame/Inventory/InventorySlot.lua:1767: in function 'ZO_InventorySlot_DoPrimaryAction'
	ZO_TradingHouseItemPaneSearchResults3Row1_MouseDoubleClick:4: in function '(main chunk)'
Steps to reproduce:
1. Load the UI with AwesomeGuildStore active
2. Open any guild store
3. Switch to the sell tab
4. Close the guild store
5. Open the inventory
6. Try to use a potion or some other item
  Reply With Quote