Quantcast
Download
(150 Kb)
Download
Updated: 07/19/19 04:41 PM
Pictures
File Info
Compatibility:
Wrathstone (4.3)
Murkmire (4.2)
Updated:07/19/19 04:41 PM
Created:12/02/18 04:02 PM
Monthly downloads:193
Total downloads:3,958
Favorites:31
MD5:
Synced Account Settings
Version: 0.3
by: Jodynn [More]
Syncs your account settings for you

You log onto someone you like their settings, you go into this addon settings (/accountsettings) and click save settings, confirm that, yes you want to do that, make sure sync is on and you're good.

For Chat window size and position you'll have to click the save button in the chat window

Now anytime you zone/log in on all of your characters you will have the same settings you did whenever you pressed that button.

Settings
Sync - automatically sync your current settings to your saved settings once saved
Save button - Save your settings at this point and time.
Log - Log messages about saved/synced.
Debug - Log messages about debug.

Future Plans
- Keybindings
- Idk what else yet, maybe look into Addon's settings, but, that's a slippery slope.


Donation Link

https://paypal.me/pools/c/8a80aoQpa4
V0.3
Can now save chat window size and position

V0.2.2
Fixed debug issue

V0.2.1
Fixed logging issue

V0.2
Fixed debug, sep option for log and debug now, and removed libs

V0.11
Fix logging
Archived Files (7)
File Name
Version
Size
Uploader
Date
0.2.2
141kB
Jodynn
07/19/19 03:50 PM
0.2.1
128kB
Jodynn
07/17/19 08:44 PM
0.2
121kB
Jodynn
07/15/19 08:38 AM
0.11
152kB
Jodynn
07/13/19 12:42 PM
0.11
146kB
Jodynn
07/13/19 12:36 PM
0.1
148kB
Jodynn
02/25/19 09:41 AM
0.1
132kB
Jodynn
12/02/18 04:02 PM


Post A Reply Comment Options
Unread 11/08/19, 06:20 PM  
Pavel Sg

Forum posts: 0
File comments: 6
Uploads: 0
Thanks!

Is it possible to create different setting profiles with this addon, and switch between them?
Or is it just only one (current) configuration can be saved?
Report comment to moderator  
Reply With Quote
Unread 10/23/19, 01:25 AM  
Scootworks
 
Scootworks's Avatar
AddOn Author - Click to view AddOns

Forum posts: 244
File comments: 141
Uploads: 25
Originally Posted by Jodynn
Originally Posted by GJSmoker
https://ibb.co/6Zhxm6v
How can I get rid of this icon?
I'll make a setting
any update for this?
__________________
EU Server - SŁĄuGhTerHĜuSe
Report comment to moderator  
Reply With Quote
Unread 09/06/19, 11:35 AM  
Jodynn
 
Jodynn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 131
Uploads: 10
Originally Posted by amber1019
"Minimum Transparency" and "Notifications" (AvA Announcements, at least) under Social settings aren't getting saved. I might be wrong about the Notifications, but I know for SURE that the "minimum transparency" setting isn't getting saved.
Interesting, will look into, may be one of those settings that I can't save or change;

I know for some like shadows and such it has issues because it has to reload the ui therefore it doesnt save until the reload of the ui so saving doesn't really do anything and I can't really change it, but I think there may be a way I just need to look more into it; I may just be missing a setting ID in the API that wasn't there before but is now.

Will let you know, thanks.
Report comment to moderator  
Reply With Quote
Unread 09/03/19, 10:13 AM  
amber1019
Addon Addict
 
amber1019's Avatar
Premium Member

Forum posts: 78
File comments: 318
Uploads: 0
"Minimum Transparency" and "Notifications" (AvA Announcements, at least) under Social settings aren't getting saved. I might be wrong about the Notifications, but I know for SURE that the "minimum transparency" setting isn't getting saved.
Report comment to moderator  
Reply With Quote
Unread 08/22/19, 11:49 AM  
Jodynn
 
Jodynn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 131
Uploads: 10
Originally Posted by GJSmoker
https://ibb.co/6Zhxm6v
How can I get rid of this icon?
I'll make a setting
Report comment to moderator  
Reply With Quote
Unread 08/20/19, 10:43 PM  
GJSmoker
 
GJSmoker's Avatar

Forum posts: 0
File comments: 9
Uploads: 0

How can I get rid of this icon?
Last edited by GJSmoker : 08/27/19 at 12:42 PM.
Report comment to moderator  
Reply With Quote
Unread 07/20/19, 01:43 PM  
Scootworks
 
Scootworks's Avatar
AddOn Author - Click to view AddOns

Forum posts: 244
File comments: 141
Uploads: 25
thank you for the window save function
__________________
EU Server - SŁĄuGhTerHĜuSe
Report comment to moderator  
Reply With Quote
Unread 07/19/19, 03:47 PM  
Jodynn
 
Jodynn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 131
Uploads: 10
Originally Posted by amber1019
Still getting an error if I try to turn on the log and use the "save these settings" button:

user:/AddOns/AccountSettings/AccountSettings.lua:467: operator .. is not supported for nil .. string
stack traceback:
user:/AddOns/AccountSettings/AccountSettings.lua:467: in function 'AccountSettings:Log'
|caaaaaa<Locals> self = tbl, color = "48 table: 0000017AC0DB0B48" </Locals>|r
user:/AddOns/AccountSettings/AccountSettings.lua:431: in function 'AccountSettings:SaveSettings'
|caaaaaa<Locals> self = tbl, _ = 1, x = 48, r = 0.91764706373215, g = 0.7294117808342, b = 0.13333334028721, value = tbl </Locals>|r
user:/AddOns/AccountSettings/AccountSettings.lua:502: in function 'func'
user:/AddOns/GroupSynergizer/libs/LibAddonMenu-2.0/controls/button.lua:63: in function 'callback'
EsoUI/Libraries/ZO_Dialog/ZO_Dialog.lua:77: in function 'HandleCallback'
|caaaaaa<Locals> clickedButton = ud, dialog = ud, instanceId = 1 </Locals>|r
EsoUI/Libraries/ZO_KeybindButton/ZO_KeybindButton.lua:194: in function 'ZO_KeybindButtonMixin:OnClicked'
|caaaaaa<Locals> self = ud, visible = true </Locals>|r
EsoUI/Libraries/ZO_KeybindButton/ZO_KeybindButton.lua:265: in function 'ZO_KeybindButtonTemplate_OnMouseUp'
|caaaaaa<Locals> self = ud, button = 1, upInside = true </Locals>|r
ZO_Dialog1Button2_MouseUp:3: in function '(main chunk)'
|caaaaaa<Locals> self = ud, button = 1, upInside = true, ctrl = false, alt = false, shift = false, command = false </Locals>|r


Also, I noticed at the top of the settings page, it says: "Author: Jodynn - Version:" with nothing after. Hehe.
yeah that was my bad
Report comment to moderator  
Reply With Quote
Unread 07/18/19, 11:06 AM  
amber1019
Addon Addict
 
amber1019's Avatar
Premium Member

Forum posts: 78
File comments: 318
Uploads: 0
Still getting an error if I try to turn on the log and use the "save these settings" button:

user:/AddOns/AccountSettings/AccountSettings.lua:467: operator .. is not supported for nil .. string
stack traceback:
user:/AddOns/AccountSettings/AccountSettings.lua:467: in function 'AccountSettings:Log'
|caaaaaa<Locals> self = tbl, color = "48 table: 0000017AC0DB0B48" </Locals>|r
user:/AddOns/AccountSettings/AccountSettings.lua:431: in function 'AccountSettings:SaveSettings'
|caaaaaa<Locals> self = tbl, _ = 1, x = 48, r = 0.91764706373215, g = 0.7294117808342, b = 0.13333334028721, value = tbl </Locals>|r
user:/AddOns/AccountSettings/AccountSettings.lua:502: in function 'func'
user:/AddOns/GroupSynergizer/libs/LibAddonMenu-2.0/controls/button.lua:63: in function 'callback'
EsoUI/Libraries/ZO_Dialog/ZO_Dialog.lua:77: in function 'HandleCallback'
|caaaaaa<Locals> clickedButton = ud, dialog = ud, instanceId = 1 </Locals>|r
EsoUI/Libraries/ZO_KeybindButton/ZO_KeybindButton.lua:194: in function 'ZO_KeybindButtonMixin:OnClicked'
|caaaaaa<Locals> self = ud, visible = true </Locals>|r
EsoUI/Libraries/ZO_KeybindButton/ZO_KeybindButton.lua:265: in function 'ZO_KeybindButtonTemplate_OnMouseUp'
|caaaaaa<Locals> self = ud, button = 1, upInside = true </Locals>|r
ZO_Dialog1Button2_MouseUp:3: in function '(main chunk)'
|caaaaaa<Locals> self = ud, button = 1, upInside = true, ctrl = false, alt = false, shift = false, command = false </Locals>|r


Also, I noticed at the top of the settings page, it says: "Author: Jodynn - Version:" with nothing after. Hehe.
Report comment to moderator  
Reply With Quote
Unread 07/15/19, 04:06 PM  
Jodynn
 
Jodynn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 131
Uploads: 10
Re: Re: Still Getting Error

Originally Posted by Baertram
The ":" makes the difference!

As AccountSettings is an object and your functions AccountSettings:Log(color, message) has 2 parameters, calling it as non-object like this
AccountSettings.Log(color, message) will additionally need the object's variable (pointing to self or the instance of your created AccountSettings) as first parameter!

So everywhere you are using AccountSettings.Log(color, message) you need to change it to either
AccountSettings:Log(color, message) or
AccountSettings.Log(objectOfAccountSettings, color, message)

If you call AccountSettings.Log from within any function of AccountSettings: like AccountSettings:SaveSettings you can use "self" as the objectOfAccountSettings.
e.g.

Lua Code:
  1. function AccountSettings:SaveSettings()
  2.     for _,x in ipairs(AccountSettings.SettingSystemType) do
  3.         for _, y in ipairs(AccountSettings.SettingIds[x]) do
  4.             local value = GetSetting(x,y)
  5.             AccountSettings.Log ( self, AccountSettings.DEBUG_COLOR, tostring( x ) .. " " .. tostring( y ) .. " ".. tostring(value) )
  6.             AccountSettings.sv.settings[x][y] = value
  7.         end
  8.     end
  9.  
  10.     for _,x in ipairs(AccountSettings.ChatColors) do
  11.         local r,g,b = GetChatCategoryColor (x)
  12.         local value = { r, g, b }
  13.  
  14.         AccountSettings.Log ( self, tostring( x ) .. " " .. tostring(value) ) --where is the message to output to the log here? You only apply the color parameter as it seems
  15.         AccountSettings.sv.chatColors[x] = value
  16.     end
  17.  
  18.     AccountSettings.sv.tracked = true
  19.     AccountSettings:Log ( self, AccountSettings.OKAY_COLOR, "Saved." )
  20. end

or the function will take color as the object, message as the color and the message itsself will be missing then.

Originally Posted by amber1019
Got this error:

user:/AddOns/AccountSettings/AccountSettings.lua:467: operator .. is not supported for nil .. string
stack traceback:
user:/AddOns/AccountSettings/AccountSettings.lua:467: in function 'AccountSettings:Log'
|caaaaaa<Locals> self = "ffff44", color = "1 0 0" </Locals>|r
user:/AddOns/AccountSettings/AccountSettings.lua:422: in function 'AccountSettings:SaveSettings'
|caaaaaa<Locals> self = tbl, _ = 1, x = 1, _ = 1, y = 0, value = 0 </Locals>|r
user:/AddOns/AccountSettings/AccountSettings.lua:502: in function 'func'
user:/AddOns/VotansFisherman/LibAddonMenu-2.0/LibAddonMenu-2.0/controls/button.lua:63: in function 'callback'
EsoUI/Libraries/ZO_Dialog/ZO_Dialog.lua:77: in function 'HandleCallback'
|caaaaaa<Locals> clickedButton = ud, dialog = ud, instanceId = 1 </Locals>|r
EsoUI/Libraries/ZO_KeybindButton/ZO_KeybindButton.lua:194: in function 'ZO_KeybindButtonMixin:OnClicked'
|caaaaaa<Locals> self = ud, visible = true </Locals>|r
EsoUI/Libraries/ZO_KeybindButton/ZO_KeybindButton.lua:265: in function 'ZO_KeybindButtonTemplate_OnMouseUp'
|caaaaaa<Locals> self = ud, button = 1, upInside = true </Locals>|r
ZO_Dialog1Button2_MouseUp:3: in function '(main chunk)'
|caaaaaa<Locals> self = ud, button = 1, upInside = true, ctrl = false, alt = false, shift = false, command = false </Locals>|r


Also, Log and Debug can only be both on or both off. Not one or the other. I don't think that's what you intended?
I know the differences, I'm normally using c, c# and c++ so I'm use to . anx -> ops, so sometimes my muscle memory doesn't care.

I'll fix the other error, been busy at work, thanks for the comments.
Report comment to moderator  
Reply With Quote
Unread 07/15/19, 02:10 PM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2503
File comments: 2810
Uploads: 57
Re: Still Getting Error

The ":" makes the difference!

As AccountSettings is an object and your functions AccountSettings:Log(color, message) has 2 parameters, calling it as non-object like this
AccountSettings.Log(color, message) will additionally need the object's variable (pointing to self or the instance of your created AccountSettings) as first parameter!

So everywhere you are using AccountSettings.Log(color, message) you need to change it to either
AccountSettings:Log(color, message) or
AccountSettings.Log(objectOfAccountSettings, color, message)

If you call AccountSettings.Log from within any function of AccountSettings: like AccountSettings:SaveSettings you can use "self" as the objectOfAccountSettings.
e.g.

Lua Code:
  1. function AccountSettings:SaveSettings()
  2.     for _,x in ipairs(AccountSettings.SettingSystemType) do
  3.         for _, y in ipairs(AccountSettings.SettingIds[x]) do
  4.             local value = GetSetting(x,y)
  5.             AccountSettings.Log ( self, AccountSettings.DEBUG_COLOR, tostring( x ) .. " " .. tostring( y ) .. " ".. tostring(value) )
  6.             AccountSettings.sv.settings[x][y] = value
  7.         end
  8.     end
  9.  
  10.     for _,x in ipairs(AccountSettings.ChatColors) do
  11.         local r,g,b = GetChatCategoryColor (x)
  12.         local value = { r, g, b }
  13.  
  14.         AccountSettings.Log ( self, tostring( x ) .. " " .. tostring(value) ) --where is the message to output to the log here? You only apply the color parameter as it seems
  15.         AccountSettings.sv.chatColors[x] = value
  16.     end
  17.  
  18.     AccountSettings.sv.tracked = true
  19.     AccountSettings:Log ( self, AccountSettings.OKAY_COLOR, "Saved." )
  20. end

or the function will take color as the object, message as the color and the message itsself will be missing then.

Originally Posted by amber1019
Got this error:

user:/AddOns/AccountSettings/AccountSettings.lua:467: operator .. is not supported for nil .. string
stack traceback:
user:/AddOns/AccountSettings/AccountSettings.lua:467: in function 'AccountSettings:Log'
|caaaaaa<Locals> self = "ffff44", color = "1 0 0" </Locals>|r
user:/AddOns/AccountSettings/AccountSettings.lua:422: in function 'AccountSettings:SaveSettings'
|caaaaaa<Locals> self = tbl, _ = 1, x = 1, _ = 1, y = 0, value = 0 </Locals>|r
user:/AddOns/AccountSettings/AccountSettings.lua:502: in function 'func'
user:/AddOns/VotansFisherman/LibAddonMenu-2.0/LibAddonMenu-2.0/controls/button.lua:63: in function 'callback'
EsoUI/Libraries/ZO_Dialog/ZO_Dialog.lua:77: in function 'HandleCallback'
|caaaaaa<Locals> clickedButton = ud, dialog = ud, instanceId = 1 </Locals>|r
EsoUI/Libraries/ZO_KeybindButton/ZO_KeybindButton.lua:194: in function 'ZO_KeybindButtonMixin:OnClicked'
|caaaaaa<Locals> self = ud, visible = true </Locals>|r
EsoUI/Libraries/ZO_KeybindButton/ZO_KeybindButton.lua:265: in function 'ZO_KeybindButtonTemplate_OnMouseUp'
|caaaaaa<Locals> self = ud, button = 1, upInside = true </Locals>|r
ZO_Dialog1Button2_MouseUp:3: in function '(main chunk)'
|caaaaaa<Locals> self = ud, button = 1, upInside = true, ctrl = false, alt = false, shift = false, command = false </Locals>|r


Also, Log and Debug can only be both on or both off. Not one or the other. I don't think that's what you intended?
Last edited by Baertram : 07/15/19 at 02:11 PM.
Report comment to moderator  
Reply With Quote
Unread 07/15/19, 12:01 PM  
amber1019
Addon Addict
 
amber1019's Avatar
Premium Member

Forum posts: 78
File comments: 318
Uploads: 0
Exclamation Still Getting Error

Got this error:

user:/AddOns/AccountSettings/AccountSettings.lua:467: operator .. is not supported for nil .. string
stack traceback:
user:/AddOns/AccountSettings/AccountSettings.lua:467: in function 'AccountSettings:Log'
|caaaaaa<Locals> self = "ffff44", color = "1 0 0" </Locals>|r
user:/AddOns/AccountSettings/AccountSettings.lua:422: in function 'AccountSettings:SaveSettings'
|caaaaaa<Locals> self = tbl, _ = 1, x = 1, _ = 1, y = 0, value = 0 </Locals>|r
user:/AddOns/AccountSettings/AccountSettings.lua:502: in function 'func'
user:/AddOns/VotansFisherman/LibAddonMenu-2.0/LibAddonMenu-2.0/controls/button.lua:63: in function 'callback'
EsoUI/Libraries/ZO_Dialog/ZO_Dialog.lua:77: in function 'HandleCallback'
|caaaaaa<Locals> clickedButton = ud, dialog = ud, instanceId = 1 </Locals>|r
EsoUI/Libraries/ZO_KeybindButton/ZO_KeybindButton.lua:194: in function 'ZO_KeybindButtonMixin:OnClicked'
|caaaaaa<Locals> self = ud, visible = true </Locals>|r
EsoUI/Libraries/ZO_KeybindButton/ZO_KeybindButton.lua:265: in function 'ZO_KeybindButtonTemplate_OnMouseUp'
|caaaaaa<Locals> self = ud, button = 1, upInside = true </Locals>|r
ZO_Dialog1Button2_MouseUp:3: in function '(main chunk)'
|caaaaaa<Locals> self = ud, button = 1, upInside = true, ctrl = false, alt = false, shift = false, command = false </Locals>|r


Also, Log and Debug can only be both on or both off. Not one or the other. I don't think that's what you intended?
Report comment to moderator  
Reply With Quote
Unread 07/15/19, 09:14 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2503
File comments: 2810
Uploads: 57
Originally Posted by yoco007
Thank you for update!
I need to ask, does this only save "options" settings or addons settings as well?
Eso Options/Settings only.

Addons are not that easy as each addon uses different savedvariable names and got several settings on their own to save accountwide, each character, all accounts the same etc.
It depends on each addon and another addon like AccountSettings sneaking in there will most likely break the other addons. It'd be better to implement account wide settings and all accounts the same settings in each addon then trying to copy them with 3rd addons.
Last edited by Baertram : 07/15/19 at 09:18 AM.
Report comment to moderator  
Reply With Quote
Unread 07/15/19, 09:03 AM  
yoco007

Forum posts: 3
File comments: 43
Uploads: 0
Thank you for update!
I need to ask, does this only save "options" settings or addons settings as well?
Report comment to moderator  
Reply With Quote
Unread 07/15/19, 09:00 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2503
File comments: 2810
Uploads: 57
Oh btw, your APIversion is old: 100026 and shown outdated ingame (stupid check... annoys me as well).
You can specify 2 api versions after another, with a space, if the addon will work on next api as well 8current PTS).
So you could chaneg it to
##APIVersion: 100027 100028
Last edited by Baertram : 07/15/19 at 09:01 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: