View Single Post
01-18-18, 06:50 PM
A Black Drake
Join Date: Jun 2015
Ok yeah true. But I have little experience with AceConfig and the tutorials are pretty straightforward with AceDB.
AceDB doesn't seem to be the problem even, probably just me being stupid.
So after removing AceDB, Settings/Vars save fine, I'm not sure where I went wrong with AceDB. I'd actually like to use AceDB because profiles could be very useful for my addon. If anyone has any input, I'm thankful.
Here is the relevant code:
I've added a Menu for setting profiles which looks nice but changing profile and reloading just resets to Default again.
It seems AceDB can't write into saved vars for some reason.
I also have another question:
When do i load saved vars? I currently have a callback function that fire when they are loaded and then executes whatever you pass it. But how do I scale that efficently. I have stuff like actionbars which require a length or so given, so should I wait even initalizing those bars until the saved vars are loaded?
Last edited by gempir : 01-19-18 at
View Public Profile
Send a private message to gempir
Find More Posts by gempir