View Single Post
05/03/14, 03:43 PM   #5
Zierk
 
Zierk's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 10
Originally Posted by Iyanga View Post
Where is "MyAddon_SavedVariables" in your code?
## SavedVariables: Postmaster_SavedVariables
is located in Postmaster.txt in the root addon folder, then "Postmaster_SavedVariables" is referenced in the ZO_SavedVars call. I successfully generate the Postmaster.lua file in the SavedVariables folder inside the ESO>live folder, its just the values get overwritten.

Here is my saved variables files after I move the frame
Code:
Postmaster_SavedVariables =
{
    ["Default"] = 
    {
        ["@Zierk"] = 
        {
            ["$AccountWide"] = 
            {
                ["frameX"] = 449,
                ["frameY"] = 453,
            },
        },
    },
}
Then after a reloadui:
Code:
Postmaster_SavedVariables =
{
    ["Default"] = 
    {
        ["@Zierk"] = 
        {
            ["$AccountWide"] = 
            {
                ["frameX"] = 100,
                ["frameY"] = 200,
            },
        },
    },
}
NOTE:
"MyAddon_SavedVariables" was a mis-copy/paste into the post, in the addon code it is "Postmaster_SavedVariables".

Last edited by Zierk : 05/03/14 at 03:48 PM.
  Reply With Quote