burito / sumech

zlib License
1 stars 0 forks source link

eso ui error when using storage boxes in purchased homes #1

Open popinthehoot opened 1 year ago

popinthehoot commented 1 year ago

works great and flawless with keyboard / mouse but not with gamepad

hi when i try to withdraw or deposit an item into a storage box within my purchased home (ESO) i get a ui error when i have the addon enabled. i would like to say i did appreciate the work you did and its a great idea .

i have posted the error here i dont know if it will be any use for you

short UI error

/EsoUI/Ingame/Inventory/InventorySlot.lua:735: Attempt to access a private function 'PickupInventoryItem' from insecure code. The callstack became untrusted 1 stack frame(s) from the top. stack traceback: /EsoUI/Ingame/Inventory/InventorySlot.lua:735: in function 'TryBankItem' /EsoUI/Ingame/Inventory/InventorySlot.lua:1659: in function 'INDEX_ACTION_CALLBACK' /EsoUI/Ingame/Inventory/InventorySlotActions.lua:96: in function 'ZO_InventorySlotActions:DoPrimaryAction' /EsoUI/Ingame/Inventory/ItemSlotActionController.lua:30: in function 'callback' /EsoUI/Libraries/ZO_KeybindStrip/ZO_KeybindStrip.lua:678: in function 'ZO_KeybindStrip:TryHandlingKeybindDown' (tail call): ? (tail call): ?

extended info UI error

/EsoUI/Ingame/Inventory/InventorySlot.lua:735: Attempt to access a private function 'PickupInventoryItem' from insecure code. The callstack became untrusted 1 stack frame(s) from the top. stack traceback: /EsoUI/Ingame/Inventory/InventorySlot.lua:735: in function 'TryBankItem' |caaaaaa inventorySlot = [table:1]{enabled = T, text = "Crown Experience Scroll", cooldownIcon = "/esoui/art/icons/store_experie...", header = "Crown Item", uniqueId = 1.4060699656533e+21, fontScaleOnSelection = F, numIcons = 1, bagId = 11, showBarEvenWhenUnselected = T, slotIndex = 13, slotType = 9, alphaChangeOnSelection = F, subLabelTemplate = "ZO_GamepadMenuEntrySubLabelTem..."}, bag = 11, index = 13 |r /EsoUI/Ingame/Inventory/InventorySlot.lua:1659: in function 'INDEX_ACTION_CALLBACK' /EsoUI/Ingame/Inventory/InventorySlotActions.lua:96: in function 'ZO_InventorySlotActions:DoPrimaryAction' |caaaaaa self = [table:2]{m_contextMenuMode = F, m_hasActions = T, m_numContextMenuActions = 0}, primaryAction = [table:3]{1 = "Withdraw"}, success = T |r /EsoUI/Ingame/Inventory/ItemSlotActionController.lua:30: in function 'callback' /EsoUI/Libraries/ZO_KeybindStrip/ZO_KeybindStrip.lua:678: in function 'ZO_KeybindStrip:TryHandlingKeybindDown' |caaaaaa self = [table:4]{insertionId = 82, batchUpdating = F, allowDefaultExit = T}, keybind = "UI_SHORTCUT_PRIMARY", buttonOrEtherealDescriptor = ud, keybindButtonDescriptor = [table:5]{addedForSceneName = "gamepad_banking", keybind = "UI_SHORTCUT_PRIMARY", order = 500, alignment = 1} |r (tail call): ? (tail call): ?

many thanks martin

burito commented 1 year ago

Can you replicate this with no addons installed? Which addon causes this problem when you add the addons back one at a time?

popinthehoot commented 1 year ago

I can replicate this when enabling and disabling the sumech addons I've not tried by itself. Maybe it is conflicting with another addons I just know when disabling sumech I no longer get the error. I will play around and see if I can find a conflict and get back to you

On Fri, 20 Jan 2023, 15:16 Daniel Burke, @.***> wrote:

Can you replicate this with no addons installed? Which addon causes this problem when you add the addons back one at a time?

— Reply to this email directly, view it on GitHub https://github.com/burito/sumech/issues/1#issuecomment-1398546049, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5LXBQWCV3L3EOXAPZCYFKTWTKT6PANCNFSM6AAAAAAUBPC2NQ . You are receiving this because you authored the thread.Message ID: @.***>

burito commented 1 year ago

Could you try anyway?

The error very clearly shows this is related to some inventory management addon. Which SuMech is not.

popinthehoot commented 1 year ago

Hi the addons still produces the same error with all addons and all libraries disabled when using the xbox one gamepad keyboard and mouse work fine

On Fri, 20 Jan 2023, 15:57 Daniel Burke, @.***> wrote:

Could you try anyway?

The error very clearly shows this is related to some inventory management addon. Which SuMech is not.

— Reply to this email directly, view it on GitHub https://github.com/burito/sumech/issues/1#issuecomment-1398593365, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5LXBQVEQRIYXTNT2MGVOFDWTKYVBANCNFSM6AAAAAAUBPC2NQ . You are receiving this because you authored the thread.Message ID: @.***>

popinthehoot commented 1 year ago

sorry my bad since disabling al addons and libraries i get this error now mith sumech enabled only with keyboardand mouse short UI error

/EsoUI/Ingame/Inventory/InventorySlot.lua:735: Attempt to access a private function 'PickupInventoryItem' from insecure code. The callstack became untrusted 1 stack frame(s) from the top. stack traceback: /EsoUI/Ingame/Inventory/InventorySlot.lua:735: in function 'TryBankItem' /EsoUI/Ingame/Inventory/InventorySlot.lua:1659: in function 'INDEX_ACTION_CALLBACK' /EsoUI/Ingame/Inventory/InventorySlotActions.lua:96: in function 'ZO_InventorySlotActions:DoPrimaryAction' /EsoUI/Ingame/Inventory/ItemSlotActionController.lua:30: in function 'callback' /EsoUI/Libraries/ZO_KeybindStrip/ZO_KeybindStrip.lua:678: in function 'ZO_KeybindStrip:TryHandlingKeybindDown' (tail call): ? (tail call): ?

extended info UI error

/EsoUI/Ingame/Inventory/InventorySlot.lua:735: Attempt to access a private function 'PickupInventoryItem' from insecure code. The callstack became untrusted 1 stack frame(s) from the top. stack traceback: /EsoUI/Ingame/Inventory/InventorySlot.lua:735: in function 'TryBankItem' |caaaaaa inventorySlot = [table:1]{enabled = T, text = "Crown Experience Scroll", cooldownIcon = "/esoui/art/icons/store_experie...", header = "Crown Item", uniqueId = 1.4060699656533e+21, fontScaleOnSelection = F, numIcons = 1, bagId = 11, showBarEvenWhenUnselected = T, slotIndex = 13, slotType = 9, alphaChangeOnSelection = F, subLabelTemplate = "ZO_GamepadMenuEntrySubLabelTem..."}, bag = 11, index = 13 |r /EsoUI/Ingame/Inventory/InventorySlot.lua:1659: in function 'INDEX_ACTION_CALLBACK' /EsoUI/Ingame/Inventory/InventorySlotActions.lua:96: in function 'ZO_InventorySlotActions:DoPrimaryAction' |caaaaaa self = [table:2]{m_contextMenuMode = F, m_hasActions = T, m_numContextMenuActions = 0}, primaryAction = [table:3]{1 = "Withdraw"}, success = T |r /EsoUI/Ingame/Inventory/ItemSlotActionController.lua:30: in function 'callback' /EsoUI/Libraries/ZO_KeybindStrip/ZO_KeybindStrip.lua:678: in function 'ZO_KeybindStrip:TryHandlingKeybindDown' |caaaaaa self = [table:4]{insertionId = 82, batchUpdating = F, allowDefaultExit = T}, keybind = "UI_SHORTCUT_PRIMARY", buttonOrEtherealDescriptor = ud, keybindButtonDescriptor = [table:5]{addedForSceneName = "gamepad_banking", keybind = "UI_SHORTCUT_PRIMARY", order = 500, alignment = 1} |r (tail call): ? (tail call): ?

the game pad produces the previous error sorry to be a pain in your ass

On Fri, 20 Jan 2023 at 16:33, martin glendinning < @.***> wrote:

Hi the addons still produces the same error with all addons and all libraries disabled when using the xbox one gamepad keyboard and mouse work fine

On Fri, 20 Jan 2023, 15:57 Daniel Burke, @.***> wrote:

Could you try anyway?

The error very clearly shows this is related to some inventory management addon. Which SuMech is not.

— Reply to this email directly, view it on GitHub https://github.com/burito/sumech/issues/1#issuecomment-1398593365, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5LXBQVEQRIYXTNT2MGVOFDWTKYVBANCNFSM6AAAAAAUBPC2NQ . You are receiving this because you authored the thread.Message ID: @.***>

burito commented 1 year ago

On base ESO with only SuMech installed, I can't replicate this on Keyboard or Gamepad mode. Methinks your game is corrupted somehow. I suggest you try https://help.elderscrollsonline.com/app/answers/detail/a_id/3330/

popinthehoot commented 1 year ago

No worries I will find an alternative addon and repair files if necessary vanilla eso works fine and all other addons enabled I know eso just did a hotfix for gamepads causing errors when mousing over tool tips and links in the chat. I will just disable for now but thank you for replying and trying to replicate, I may try with an alt toon and on a different server, you never now. I did not state this happened Intermittently when using storage boxes in homes and also the banks but never with the banks in the outlaws refuge (without guild stores) so as you say I thought it was inventory related at first, maybe different coding used I don't know, I'm no programmer, when it does occur reloading ui does not fix it only disabling the addon.

Many thanks and regards martin

On Fri, 20 Jan 2023, 17:01 Daniel Burke, @.***> wrote:

On base ESO with only SuMech installed, I can't replicate this on Keyboard or Gamepad mode. Methinks your game is corrupted somehow. I suggest you try https://help.elderscrollsonline.com/app/answers/detail/a_id/3330/

— Reply to this email directly, view it on GitHub https://github.com/burito/sumech/issues/1#issuecomment-1398669766, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5LXBQRXWQTWUFGOIJ4DVYDWTLAHXANCNFSM6AAAAAAUBPC2NQ . You are receiving this because you authored the thread.Message ID: @.***>

burito commented 1 year ago

I managed to reproduce it... by not having a clean install. I test a clean ESO by renaming the live/Addons and live/SavedVariables folders. I found that I can reproduce this if I keep my "dirty" live/SavedVariables folder.

This... makes things tricky. Somewhere a "config" file (they are all lua) has something in it it should not have.

Would you be able to send me a list of all the files in your live/SavedVariables folder? I ask so that I can cross reference with mine to see which ones we have in common, to try to reduce the effort, as there is more in here than a mortal human can read, and the errors tell me not much at all.

popinthehoot commented 1 year ago

I will certainly have a look

On Fri, 20 Jan 2023, 17:36 Daniel Burke, @.***> wrote:

I managed to reproduce it... by not having a clean install. I test a clean ESO by renaming the live/Addons and live/SavedVariables folders. I found that I can reproduce this if I keep my "dirty" live/SavedVariables folder.

This... makes things tricky. Somewhere a "config" file (they are all lua) has something in it it should not have.

Would you be able to send me a list of all the files in your live/SavedVariables folder? I ask so that I can cross reference with mine to see which ones we have in common, to try to reduce the effort, as there is more in here than a mortal human can read, and the errors tell me not much at all.

— Reply to this email directly, view it on GitHub https://github.com/burito/sumech/issues/1#issuecomment-1398725610, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5LXBQX7SH3F5EMSSTTG4B3WTLEJTANCNFSM6AAAAAAUBPC2NQ . You are receiving this because you authored the thread.Message ID: @.***>

popinthehoot commented 1 year ago

hope this helps

On Fri, 20 Jan 2023 at 17:43, martin glendinning < @.***> wrote:

I will certainly have a look

On Fri, 20 Jan 2023, 17:36 Daniel Burke, @.***> wrote:

I managed to reproduce it... by not having a clean install. I test a clean ESO by renaming the live/Addons and live/SavedVariables folders. I found that I can reproduce this if I keep my "dirty" live/SavedVariables folder.

This... makes things tricky. Somewhere a "config" file (they are all lua) has something in it it should not have.

Would you be able to send me a list of all the files in your live/SavedVariables folder? I ask so that I can cross reference with mine to see which ones we have in common, to try to reduce the effort, as there is more in here than a mortal human can read, and the errors tell me not much at all.

— Reply to this email directly, view it on GitHub https://github.com/burito/sumech/issues/1#issuecomment-1398725610, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5LXBQX7SH3F5EMSSTTG4B3WTLEJTANCNFSM6AAAAAAUBPC2NQ . You are receiving this because you authored the thread.Message ID: @.***>

burito commented 1 year ago

Oh goody. Now I can reproduce it with a clean live/SavedVariables. If I attempt to put a stack of crown potions into a chest, in gamepad mode, it creates the error.

/EsoUI/Ingame/Inventory/InventorySlot.lua:749: Attempt to access a private function 'PickupInventoryItem' from insecure code. The callstack became untrusted 1 stack frame(s) from the top.
stack traceback:
/EsoUI/Ingame/Inventory/InventorySlot.lua:749: in function 'TryBankItem'
|caaaaaa<Locals> inventorySlot = [table:1]{uniqueId = 4.1171498775112e+18, showBarEvenWhenUnselected = T, bagId = 1, slotType = 35, cooldownIcon = "/esoui/art/icons/crownpotion_t...", subLabelTemplate = "ZO_GamepadMenuEntrySubLabelTem...", alphaChangeOnSelection = F, numIcons = 1, enabled = T, text = "Crown Tri-Restoration Potion", fontScaleOnSelection = F, header = "Potion", slotIndex = 3}, bag = 1, index = 3, bankingBag = 7, canAlsoBePlacedInSubscriberBank = F </Locals>|r
/EsoUI/Ingame/Inventory/InventorySlot.lua:1653: in function 'INDEX_ACTION_CALLBACK'
/EsoUI/Ingame/Inventory/InventorySlotActions.lua:96: in function 'ZO_InventorySlotActions:DoPrimaryAction'
|caaaaaa<Locals> self = [table:2]{m_hasActions = T, m_contextMenuMode = F, m_numContextMenuActions = 0}, primaryAction = [table:3]{1 = "Deposit"}, success = T </Locals>|r
/EsoUI/Ingame/Inventory/ItemSlotActionController.lua:30: in function 'callback'
/EsoUI/Libraries/ZO_KeybindStrip/ZO_KeybindStrip.lua:678: in function 'ZO_KeybindStrip:TryHandlingKeybindDown'
|caaaaaa<Locals> self = [table:4]{batchUpdating = F, allowDefaultExit = T, insertionId = 37}, keybind = "UI_SHORTCUT_PRIMARY", buttonOrEtherealDescriptor = ud, keybindButtonDescriptor = [table:5]{order = 500, addedForSceneName = "gamepad_banking", keybind = "UI_SHORTCUT_PRIMARY", alignment = 1} </Locals>|r
(tail call): ?
(tail call): ?

If I switch to keyboard mode, I get this error.

/EsoUI/Ingame/Inventory/InventorySlot.lua:749: function expected instead of nil
stack traceback:
/EsoUI/Ingame/Inventory/InventorySlot.lua:749: in function 'TryBankItem'
|caaaaaa<Locals> inventorySlot = ud, bag = 1, index = 3, bankingBag = 7, canAlsoBePlacedInSubscriberBank = F </Locals>|r
/EsoUI/Ingame/Inventory/InventorySlot.lua:1653: in function 'INDEX_ACTION_CALLBACK'
/EsoUI/Ingame/Inventory/InventorySlotActions.lua:96: in function 'ZO_InventorySlotActions:DoPrimaryAction'
|caaaaaa<Locals> self = [table:1]{m_numContextMenuActions = 0, m_contextMenuMode = F, m_hasActions = T}, primaryAction = [table:2]{1 = "Deposit"}, success = T </Locals>|r
/EsoUI/Ingame/Inventory/ItemSlotActionController.lua:30: in function 'callback'
/EsoUI/Libraries/ZO_KeybindStrip/ZO_KeybindStrip.lua:678: in function 'ZO_KeybindStrip:TryHandlingKeybindDown'
|caaaaaa<Locals> self = [table:3]{insertionId = 26, batchUpdating = F, allowDefaultExit = T}, keybind = "UI_SHORTCUT_PRIMARY", buttonOrEtherealDescriptor = ud, keybindButtonDescriptor = [table:4]{addedForSceneName = "houseBank", order = 500, keybind = "UI_SHORTCUT_PRIMARY", alignment = 3} </Locals>|r
(tail call): ?
(tail call): ?

/reloadui will make it go away (I can put the stack of potions into the chest). Turning Gamepad mode back on will recreate the error.

I think I need to raise a bug with ZOS over this one.

popinthehoot commented 1 year ago

OK mate thanks for looking at the problem give me an update if you get it sorted so I can re-enable the addons thanks in advance

On Fri, 20 Jan 2023, 18:06 Daniel Burke, @.***> wrote:

Oh goody. Now I can reproduce it with a clean live/SavedVariables. If I attempt to put a stack of crown potions into a chest, in gamepad mode, it creates the error.

/EsoUI/Ingame/Inventory/InventorySlot.lua:749: Attempt to access a private function 'PickupInventoryItem' from insecure code. The callstack became untrusted 1 stack frame(s) from the top. stack traceback: /EsoUI/Ingame/Inventory/InventorySlot.lua:749: in function 'TryBankItem' |caaaaaa inventorySlot = [table:1]{uniqueId = 4.1171498775112e+18, showBarEvenWhenUnselected = T, bagId = 1, slotType = 35, cooldownIcon = "/esoui/art/icons/crownpotion_t...", subLabelTemplate = "ZO_GamepadMenuEntrySubLabelTem...", alphaChangeOnSelection = F, numIcons = 1, enabled = T, text = "Crown Tri-Restoration Potion", fontScaleOnSelection = F, header = "Potion", slotIndex = 3}, bag = 1, index = 3, bankingBag = 7, canAlsoBePlacedInSubscriberBank = F |r /EsoUI/Ingame/Inventory/InventorySlot.lua:1653: in function 'INDEX_ACTION_CALLBACK' /EsoUI/Ingame/Inventory/InventorySlotActions.lua:96: in function 'ZO_InventorySlotActions:DoPrimaryAction' |caaaaaa self = [table:2]{m_hasActions = T, m_contextMenuMode = F, m_numContextMenuActions = 0}, primaryAction = [table:3]{1 = "Deposit"}, success = T |r /EsoUI/Ingame/Inventory/ItemSlotActionController.lua:30: in function 'callback' /EsoUI/Libraries/ZO_KeybindStrip/ZO_KeybindStrip.lua:678: in function 'ZO_KeybindStrip:TryHandlingKeybindDown' |caaaaaa self = [table:4]{batchUpdating = F, allowDefaultExit = T, insertionId = 37}, keybind = "UI_SHORTCUT_PRIMARY", buttonOrEtherealDescriptor = ud, keybindButtonDescriptor = [table:5]{order = 500, addedForSceneName = "gamepad_banking", keybind = "UI_SHORTCUT_PRIMARY", alignment = 1} |r (tail call): ? (tail call): ?

If I switch to keyboard mode, I get this error.

/EsoUI/Ingame/Inventory/InventorySlot.lua:749: function expected instead of nil stack traceback: /EsoUI/Ingame/Inventory/InventorySlot.lua:749: in function 'TryBankItem' |caaaaaa inventorySlot = ud, bag = 1, index = 3, bankingBag = 7, canAlsoBePlacedInSubscriberBank = F |r /EsoUI/Ingame/Inventory/InventorySlot.lua:1653: in function 'INDEX_ACTION_CALLBACK' /EsoUI/Ingame/Inventory/InventorySlotActions.lua:96: in function 'ZO_InventorySlotActions:DoPrimaryAction' |caaaaaa self = [table:1]{m_numContextMenuActions = 0, m_contextMenuMode = F, m_hasActions = T}, primaryAction = [table:2]{1 = "Deposit"}, success = T |r /EsoUI/Ingame/Inventory/ItemSlotActionController.lua:30: in function 'callback' /EsoUI/Libraries/ZO_KeybindStrip/ZO_KeybindStrip.lua:678: in function 'ZO_KeybindStrip:TryHandlingKeybindDown' |caaaaaa self = [table:3]{insertionId = 26, batchUpdating = F, allowDefaultExit = T}, keybind = "UI_SHORTCUT_PRIMARY", buttonOrEtherealDescriptor = ud, keybindButtonDescriptor = [table:4]{addedForSceneName = "houseBank", order = 500, keybind = "UI_SHORTCUT_PRIMARY", alignment = 3} |r (tail call): ? (tail call): ?

/reloadui will make it go away (I can put the stack of potions into the chest). Turning Gamepad mode back on will recreate the error.

I think I need to raise a bug with ZOS over this one.

— Reply to this email directly, view it on GitHub https://github.com/burito/sumech/issues/1#issuecomment-1398755664, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5LXBQQWAODQS3KB5OFHD23WTLH2RANCNFSM6AAAAAAUBPC2NQ . You are receiving this because you authored the thread.Message ID: @.***>