View Single Post
09/14/20, 03:28 AM   #4
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,989
Check that the file encoding of your txt file is either ANSI or if the file contains umlauts or special chars like the (c) UTF-8 without a byte order mark (BOM), or you'll sometimes get into trouble (Addon not loaded, not loaded properly).

And afaik there needs to be a space after the ## in the txt file lines!

Code:
## Title: ShutupRillis
## APIVersion: 100032 100033
## Version: 2.01
## DependsOn: LibAddonMenu-2.0>=31
## SavedVariables: ShutupRillisVars

ShutupRillis.lua
Settings.lua
Forcing your addon to use the "newest library version", if older versions exist which could be still around, and fail to load then:
I've also added the verison check of LAM2 (>=31) so that your addon needs the newest LAM version to work properly.
As there exist several older LAM2 versions which will do not include the global Variable LibAddonMenu2 and would try to use the LibStub approach, you can struip loading them by forcing your addon to do a "version check" via your manifest txt file.

Information about libraries and the >=<version> can be found here:
https://wiki.esoui.com/Libraries#.23...ned_integer.3E

Last edited by Baertram : 09/14/20 at 03:35 AM.
  Reply With Quote