11/08/14, 06:43 AM | #1 | ||
FCO Itemsaver
Hello,
does anyone else have an problem with auto marking and fast deposit items to your bank? (Press fast the button you have bind to puish items into your bank) The Addon Research Assistant is needed for the auto mark option. I got the following bug message:
Baertram the Autor of FCO_ItemSaver think ...
Last edited by Dingodan : 11/08/14 at 06:46 AM. |
|||
11/08/14, 10:24 AM | #2 |
|
Just had this problem with Inventory Grid View.
It could be the genetic UI bug, however if you can get it to come up regularly it may be that some normally protected code is getting called from an unprotected context. For example, I caused it 100% when I post hooked the ZO_InventorySlot_OnMouseEnter function. |
11/24/14, 06:56 PM | #3 |
Thx for the hint to the post hook. But at the time the error occured I had not post hooked the OnMouse events in the inventories. With the current version I pre-hooked them to prevent deconstruction and destroying.
I'm not sure if the error is still there Dingodan? Unfortunately the error only occured if you have FCOItemSaver activated and the automatic marking of researchable items (by help of the "researchable" data information coming from ResearchAssistant) is enabled. If you deactive the addon or the automatic marking function the fast moving of items from & to the bank seems to work just fine? I cannot find the connection between the standard ESO lua function "ZO_KeybindStrip:TryHandlingKeybindDown'" and my addon. I never changed anything on the keybindings. It must have something to do with the "data" table of the items. Maybe the item is moved too fast for the addon to read the "data" table and then it will react with this bug text instead of a better one :-) I'm currently not able to fix this. I can reproduce the error, but I cannot see and understand where it comes form. All my changes and tests did not solve the problem so far. |
|
11/25/14, 07:20 AM | #4 | |
|
> UpdateMouseoverCommand (local in ingame/inventory/inventoryslot.lua) > ZO_ItemSlotActionsController:New > SetInventorySlot > RefreshKeybindStrip > ZO_KeybindStrip:UpdateKeybindButtonGroup I've been digging around this error for so long, but never really succeeded in identifying the primary cause, much less a fix. Any add-on that hooks ZO_InventorySlot_OnMouseEnter might cause it. Doesn't matter how you do that, whether manually or via ZO_PreHook, fact is the function is replaced by an add-on created function, which means everything it calls down the chain isn't allowed to call protected/private functions directly. When UpdateMouseoverCommand is called for the first time, it calls ZO_ItemSlotActionsController:New, which creates parameters for the primary command. Among those is the callback function: Lua Code:
It's an anonymous function, and if created from hooked (non-privileged) ZO_InventorySlot_OnMouseEnter, will be non-privileged as well. I don't know why it sometimes bugs and sometimes not, or why when it bugs I'm able to put items into bank via my custom context-menu command (I'm not hooking OnMouseEnter, but DiscoverSlotActionsFromActionList), via custom chat slash-command, but not via 'E' key. Maybe I should put in some code to reproduce it reliably and dig more, I've given up on this lately |
|
11/25/14, 09:08 AM | #5 | |
|
||
11/29/14, 04:51 AM | #6 |
Thx for the information merlight! Very appreciated.
I'm only wondering why this bug only appears if I enable the automatic marking of researchable items in FCOItemSaver addon. If you disbale this option in the settings the bug won't appear? But the hook on OnMouseEnter is always done, even if the setting is disabled. maybe this helps you to find more information about that bug? @Dingodan I'm sorry to reapt my last answer then, even if merlight brought some more information how the bug might happen. Unfortunately I'm not able to remove this error. I need the OnMouseEnter event to protect items from beeing deconstructed. Please turn of the automatic marking of researchable items to avoid the bug for today. Workaround: -> You could open the settings panel once a day, or before you want to craft, and just enable the automatic marking of researchable items, and then disable it again. As you enable it your inventory will be scanned and all researchable items will get marked. I'll see if I can implement a keybinding to open the settings menu fast in the future. |
|
ESOUI » AddOns » AddOn Help/Support » FCO Itemsaver |
«
Previous Thread
|
Next Thread
»
|
Display Modes |
Linear Mode |
Switch to Hybrid Mode |
Switch to Threaded Mode |
|
|