View Single Post
02/12/20, 01:11 AM   #3
Keldor
 
Keldor's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2015
Posts: 101
I think your problem is the default var in the saved variables init method. You have this

Lua Code:
  1. self.savedVariables=ZO_SavedVars:NewAccountWide("PlayerInfoLoggerSavedVariables", 2, nil, {PlayerInfoLogger.Default})

You have already a default table. Can you try to remove the braces around the PlayerInfoLogger.Default var?

Lua Code:
  1. self.savedVariables=ZO_SavedVars:NewAccountWide("PlayerInfoLoggerSavedVariables", 2, nil, PlayerInfoLogger.Default)

You should also delete your saved vars before this change while the game is not running to avoid the loading of old invalid data.
  Reply With Quote