Thread: AceDB Resetting
View Single Post
08-08-16, 08:11 AM   #8
myrroddin
A Pyroguard Emberseer
 
myrroddin's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 1,240
Here is some more stuff.
  1. Your ToC is missing CallbackHandler-1.0. It should be listed immediately after LibStub, and without it, most of the Ace3 libs won't work, including AceEvent and AceDB.
  2. I didn't verify, but the load order of Ace3 libraries is important. Cross-reference with the Ace3 ToC to make sure the are in the correct order in your ToC.
More changes:
Code:
local L = LibStub("AceLocale-3.0"):GetLocale(AddOnName, true) -- true, not false

-- doesn't need to be a subtable of XIVBar
local defaults = {
}
Your arguments in your options table are wrong. There are no such entries as general, text, or textColors. You are also missing the order field.
  Reply With Quote