addon incompatible
I am trying to write a simple hello world program just to get myself started writing addons. I have created the needed files and it is showing up in the addons menu in wow. However next to my addon in red writing it shows "incompatible". Any help would be greatly appreciated.
Here is the code in my TOC ##Interface:50400 ##Title:Hello, World! ##Author:Me ##Version:v1.0.0 HelloWorld.lua HelloWorld.xml |
It's 54000. Not 50400. :)
|
No, it's 50400.
Try it like this: Code:
## Interface: 50400 |
I have tried both solutions and neither have changed it.
|
Is the addon for Mists of Pandaria (50400) or Warlords of Draenor Beta (60000)?
|
Quote:
Code:
/dump GetBuildInfo() |
For reference, it goes like this: (not sure about the actual terms)
Code:
5. 04. 00 We haven't had major versions in the tens since vanilla (and probably never will again, I guess), but that made the formula more clear. Version 2.1.0 was 20100, while 1.10.0 was 11000. |
They are operating on three versions:
All of these three, as well as the published date, is returned by GetBuildInfo. |
2 Attachment(s)
When I used the GetBuildInfo() in game it returned the 50400. However it in not working. I am posting the toc, lua, and xml files, as well as the addon folder i am using. Thanks again for your help guys.Attachment 8220
Attachment 8221 |
Quote:
|
The addon does not show up as incompatible in the addons list. Even not if I test your code without any changes. *shrug*
It does not work because of the UI tag in the XML. Everything is case sensitive. It's UI and not Ui. (first and last line) Lua Code:
There's no need to load the lua file via the toc if you're loading it in the XML. This would be enough. Code:
##Interface:50400 Code:
<Script File="HelloWorld.lua"/> Code:
##Interface:50400 Btw: If I'm copy&paste your toc data from your first post there are leading blanks in front of some lines. Don't know where they are from ... but if this is the case in your toc too, then you'll have to remove them to have the addon loaded correctly. It's Code:
##Interface:50400 Code:
##Interface:50400 |
Quote:
https://github.com/tekkub/wow-ui-sou...ller.xml#L1-L2 |
Quote:
Ok. I'll shut up. |
Well duugu, I tried what you said anyways and still nothing. I may just try to start over entirely.
|
All times are GMT -6. The time now is 11:31 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI