ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Wish List (https://www.esoui.com/forums/forumdisplay.php?f=177)
-   -   [open] Addon file loaded state (https://www.esoui.com/forums/showthread.php?t=8409)

sirinsidiator 03/17/19 02:59 AM

[open] Addon file loaded state
 
Over the past few years, I got a lot of error reports which are ultimately caused by a missing file. This seemingly happens a lot when users install an addon via the Minion addon manager, but can also happen in other cases. Unfortunately the game silently ignores missing files and just loads the addon as if everything was ok.

In my opinion it would be better if the game treated missing files as a critical problem which prevents the whole addon from loading and showed which files it could not load. That way a user would immediately see that their installation went bad and they have to reinstall the addon.

For now I have resorted to build my own integrity checker which tests if the necessary components defined in each file are available. While doing so, I noticed that there is seemingly no way to test if a virtual control exists. Right now I can only create a control from the template or just put a dummy control in the xml. I tried to use <String> as a workaround, but it seems values defined that way cannot be accessed from Lua. A function DoesVirtualControlExist(controlName) and GetXmlString(stringName) would be appreciated.


All times are GMT -6. The time now is 06:56 AM.

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