View Single Post
01-22-18, 08:06 AM   #2
myrroddin
A Pyroguard Emberseer
 
myrroddin's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 1,240
This has been mentioned before: AceDB does NOT write updated values to your saved variables file unless the user changes a setting from the default to something else.

If nothing has been changed from the defaults table, then nothing is written.

Let's say you have this default table:
Lua Code:
  1. local defaults = {
  2.     profile = {
  3.         pet = "dog",
  4.         breed = "Doberman"
  5.     }
  6. }
When you load the addon, then exit out of the game, you will NOT see entries for pet or breed. Now load the addon again, and change pet to "cat"; NOW AceDB will write an entry that says pet = "cat".
  Reply With Quote