View Single Post
11/04/20, 01:20 PM   #1
GRascm
AddOn Author - Click to view addons
Join Date: Oct 2020
Posts: 3
Private function issues in standart UI

Hi, everyone!

I was trying to implement new main menu for gamepad, based on ZO_RadialMenu.
Because it would be much comfortable to use such menu, that the current one.
Here you can see what i mean:
Warning: Spoiler


And everything was perfectly fine, until i tried to use item from the inventory.
I got the following error message:
Warning: Spoiler


To show the inventory menu, i use simple code:
Lua Code:
  1. SCENE_MANAGER:Show(menuEntryData.scene)

And the main problem is, that if i hit an "I" button to open inventory first, and than try to open it from my menu (pressing "start" on gamepad), everything works perfectly fine.

So my hypothesis is that inventory menu makes some initialization on first opening, and, when i trigger that from insecure code, that initialization makes full inventory insecure.

The fact confirming that is that when i try to open inventory with "I" button later (after it was insecurly initialized) it still doesn't work. And if i initialize it securely (pressing "I") than it perfectly working in my menu.

So, is there anything i missing, that could fix my problem?
It looks like currently impossible to implement main menu replacement with such limitations. And it not because it was forbidden, but rather, due to the imperfection of security system.

I saw ZOS developers posting on this forum, and maybe thay can give some advices (or just implement such menu themselves ).
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20201104_215656.png
Views:	831
Size:	1.11 MB
ID:	1327  
  Reply With Quote