Interface toc file, loading issue
Hello folks,
after some years i started to work on my (new/old) interface again. But for some odd reason my files are not loading in the right direction. I am using the same template files i used a couple of years ago. TestUI Code:
Core\Engine.lua Code:
Core\Core.lua The main files has some small loading engine like i used before: Code:
local AddOnName, Engine = ... The toc file is looking like this: Code:
## Interface: 80205 but when i want to load the TestUI Config file with this content: TOC file Code:
## Interface: 80205 Core.lua Code:
local UI, DB, M, L = unpack( TestUI ) i got this ingame error: Code:
Message: Interface\AddOns\TestUI_ConfigUI\Core\Core.lua:1: bad argument #1 to 'unpack' (table expected, got nil) Back in the past i used the same code without any errors. Maybe someone can help me out. The Files can be found here: natias.de/TestUI.rar |
Try removing OptionalDeps to config from the main toc, maybe that'll help
|
When i remove the OptionalDeps entrie the ConfigUI loads without any errors.
Now i am confused because i used it in the past the same way. I want to have the config ui as a optional addon and not as a must have loaded addon for the main ui |
Dependencies, whether required or optional, are loaded before the add-on that declares them as dependencies. Config is loaded before Test, but with the deps line removed, Test now loads before Config.
|
Quote:
|
In your files you are referencing the .toc which should not be in there AFAIK. Could this be part of your problem?
TestUI Code: Core\Engine.lua Core\Commands.lua TestUI.toc TestUI.xml TestUI_ConfigUI Code: Core\Core.lua TestUI_ConfigUI.toc |
Quote:
|
Quote:
Quote:
|
All times are GMT -6. The time now is 09:38 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI