View Single Post
06/25/14, 09:13 AM   #8
dominoid
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 34
Originally Posted by Flamage View Post
FYI to other addon developers, it also appears that ZOS has introduced a limit on the maximum size of strings stored in saved variables. If your string is longer than (guessing, not verified) 2048 characters, it will be replaced with something like
Code:
["showTitle"] = true,
["body"] = nil -- invalid string value,
["medium"] = 0,
Unfortunately, because the comma is also commented, if there is another table value on the following line, the it will be missing a preceding comma and the parser will be unable to read your saved variables, and so on the second logout, the entire file will be overwritten with an empty one.
I think this is a separate problem in that text used to be stored between double brackets - [[SOME TEXT]] and is now stored between double quotes - "SOME TEXT"
  Reply With Quote