Hi,
I have a problem. AceDB-3.0 dont read the saving DB.
It'save correct.
Code:
local defaults = {
char = {
position = {
x = 50,
y = 50
},
Shown = true
}
}
Code:
local AceDB = LibStub("AceDB-3.0")
EuF.DB = LibStub("AceDB-3.0"):New("EnemyUnitFrameDB", defaults)
dataPlayer = EuF.DB.char
Code:
local function Load_DB()
Euf_mainFrame:ClearAllPoints()
Euf_mainFrame:SetPoint("CENTER", UIParent, "CENTER", dataPlayer.position.x, dataPlayer.position.y)
Euf_mainFrame:SetShown(dataPlayer.Shown)--Euf
print("[INFO EUF] Load Profile " )
end
thank for your help.