View Single Post
06/29/16, 11:47 AM   #7
votan
 
votan's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2014
Posts: 578
Originally Posted by ZOS_ChipHilseberg View Post
The tricky part is that it's possible to change a character name and then quit the client, so we'd need some sort of persistence here. This is a problem we're working on solving, and hopefully in a way that every addon that uses saved vars doesn't have to roll their own upgrade code to handle this (though more complex or non-standard uses will have to). Right now the plan is to add some automatic functionality to ZO_SavedVars:New that can be opted out of.
So, basically you are saying, that addons with non-standard saved variables need this information anyway

And more tricky: The old/former name must be persisted anyway (until next renaming), because you don't know, if addons (standard and non-standard) were enabled since when.
/edit: What I mean is: If you implicit convert variables in ZO_SavedVars:New, you must be able to do this any time after renaming.

And what if the user wants to be a really bad guy and renames a char to the old name of another char?

Last edited by votan : 06/29/16 at 11:57 AM.