You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PR #1241 adds filtering code to the lastMsg property of a save file of unknown version to importGame() in functions.js. The lastMsg data structure has a different topology in sufficiently old save data, causing an exception to be thrown during import. This completely prevents the save data from being loaded.
Note that replacing the content of lastMsg in an older save file with an empty array [] bypasses the issue, because it avoids execution of the statement msg.c = msg.c.replaceAll('"', '') in importGame().
To have be something like +color.replaceAll('"', '')+ instead.
A bit yucky since it's filtering the color every time the message is displayed, but admittedly I'm not familiar enough with legacy save formats to figure out a proper solution...
Otherwise the color filtering could honestly just be rid of entirely, since I doubt someone would actually exploit it.
PR #1241 adds filtering code to the lastMsg property of a save file of unknown version to
importGame()
in functions.js. The lastMsg data structure has a different topology in sufficiently old save data, causing an exception to be thrown during import. This completely prevents the save data from being loaded.https://www.reddit.com/r/EvolveIdle/comments/1hgslhi/how_to_port_saves_i_tried_repeatedly_and_no_luck/
sample.txt
The text was updated successfully, but these errors were encountered: