I’m trying to get my first addon working. So far I have written my MyAddon.lua and MyAddon.toc files. I fixed a bug in my .toc file so it now finds the .lua file (I think) and I’m getting the Addon button. My .lua file has:
print(“My first addon.”)
Problem is, I’m not seeing the “My first addon” message displayed when I log in.
Someone suggested I go into Curseforge and try the bug-grabber and bugsack. I went to the page and I see a description of what they do.
What I don’t see is instructions on how to down load bug-grabber and bugsack. In the source section I see:
svn checkout [a URL goes here I’m not allowed to post] bug-grabber
Am I suppose to file that somewhere or use that somehow or is there a download script to install them and get them running?
If you show the current contents of your .toc file, that would seem to be the most likely place for a problem given you have the AddOns button showing now (and BugSack may not be much help with a .toc bug).
If the addon in the list is shown as out-of-date you can check the “Load out of date Addons” box. This is simply a check of the ## Interface: against the internal interface version number.
It’s still missing the code file Myaddon.lua at the bottom of the .toc file.
## Interface: 100207
## Version: 10.2.7.55165
## Title: MyAddon
## Notes: My first addon
## Author: Tiffany
Myaddon.lua
### the line above is required. ###
This is weird. My version has that .lua
When I look at my note above I see the .lua
With a mark to defang the pound signs
x## Interface: 100207
x## Version: 10.2.7.55165
x## Title: MyAddon.lua
x## Notes: My first addon
x## Author: Tiffany
And the Same thing
## Interface: 100207
## Version: 10.2.7.55165
## Title: MyAddon.lua
## Notes: My first addon
## Author: Tiffany