Saved variables not saving
Hi
My saved saved variables are not saving and i only ever get the default values Here is the init function for my addon. Code:
function ShutupRillis:Initialize() |
How does your manifest.txt look like and when do you call Initialize?
|
It was working before, not 100% sure but i think changing api version in the manifest broke it.
I was also trying to implement a settings menu with libaddonmenu2 was 100029 and then changed to 100033 calling initialize here Code:
function ShutupRillis.OnAddOnLoaded(event, addonName) Code:
##Title: ShutupRillis |
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 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 |
Quote:
|
All times are GMT -6. The time now is 10:24 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI