Thread Tools Display Modes
Prev Previous Post   Next Post Next
09/12/20, 09:03 AM   #1
CoffeeMonster42
Join Date: Sep 2020
Posts: 2
Saved variables not saving

Hi

My saved saved variables are not saving and i only ever get the default values
Here is the init function for my addon.

Code:
function ShutupRillis:Initialize()
	d("ShutupRillis loaded")
	ShutupRillis.savedVariables = ZO_SavedVars:NewAccountWide("ShutupRillisVars", ShutupRillis.variableVersion, nil, ShutupRillis.Default)
	CALLBACK_MANAGER:RegisterCallback("OnWorldMapChanged", ShutupRillis.OnZoneChanged)
	EVENT_MANAGER:RegisterForEvent(ShutupRillis.name,   EVENT_ZONE_CHANGED, ShutupRillis.OnZoneChanged)
	ShutupRillis.LoadSettings()
end
Edit: I think this became a problem when i changed the API version in the manifest.

Last edited by CoffeeMonster42 : 09/12/20 at 09:35 AM.
  Reply With Quote
 

ESOUI » Developer Discussions » General Authoring Discussion » Saved variables not saving


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off