Thread Tools Display Modes
Prev Previous Post   Next Post Next
09/05/18, 09:39 PM   #1
Phuein
 
Phuein's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2018
Posts: 132
[notabug] "invalid string value (was your string larger than 2000 characters?)"

A user of my addon Notebook 2018 just commented that she saved a page, and after checking the SavedVars file for it she saw:

["text"] = nil, -- invalid string value (was your string larger than 2000 characters?)
Now, that comment didn't come from my addon, nor did she get an error. I had put the characters' max at 2048, not knowing this was an issue. So maybe we can clarify this...

Will the game not save any one string at over 2,000 chars? Without error?

Why 2,000? Seems arbitrary. I couldn't find info on this issue anywhere. Is this new?

Thanks for helping out. I'd appreciate a game dev' that can post an official response about this, to avoid rumors.

EDIT: Also brought up was the issue of counting characters when using unicodes wider than 1 char, and how they count towards this. I'd love a response to that, too.

Last edited by Phuein : 09/06/18 at 03:50 PM.
 
 

ESOUI » Developer Discussions » Bug Reports » [notabug] "invalid string value (was your string larger than 2000 characters?)"


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