The Gold Road Chapter – which includes the Scribing system – and Update 42 is now available to test on the PTS! You can read the latest patch notes here: https://forums.elderscrollsonline.com/en/discussion/656454/
Maintenance for the week of April 15:
• [COMPLETE] ESO Store and Account System for maintenance – April 16, 8:00AM EDT (12:00 UTC) - 6:00PM EDT (22:00 UTC)

Long strings in saved variables being replaced with invalid LUA.

Flamage
Flamage
Soul Shriven
FYI to other addon developers, it 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
["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, it will be missing a preceding comma and the parser will be unable to read your saved variables, and so on the next login, no variables will be loaded at all, and at logout, the entire file will be overwritten with an empty one.

To top it all off, (and this is becoming a rant now) because of the simultaneous issue with the account name being removed from saved variables, an addon can't even fix its own strings as they are inaccessible unless the user manually edits the file, so the majority of users will be unable to recover their saved variables at all if they had long strings before the patch.
  • Dominoid
    Dominoid
    ✭✭✭✭✭
    ✭✭
    I think this may be because saved text is now within double quotes instead of double brackets. They could have limited it as well.

    Before - SOME TEXT
    Now - "SOME TEXT"
    Edited by Dominoid on June 25, 2014 3:18PM
Sign In or Register to comment.