Just an FYI for anyone who picks up this project. This is why you can set a version number on the component. For example, diy.version = 1; diy.version = 2, and so on. Whenever you add new features that won't be in old save files, increase the version number. Then, add some code to the onRead function that checks the version number and, if it is an older version, creates default values for the new features. For example:
function create( diy ) { diy.version = 3; // the current version } function onRead( diy, objectInputStream ) { if( diy.version < 2 ) { $newFeatureAddedInVersion2 = 'default value for this feature'; } if( diy.version < 3 ) { $firstNewFeatureAddedInVersion3 = 'the default for this feature'; $secondNewFeatureAddedInVersion3 = 'and the default for this one'; // since we added defaults for all the new stuff, this card is now // version 3 (the current version); if we don't change this, then // the default values will keep getting set when the file is opened diy.version = 3; } }
Edited by ThelricOkay now for another puzzlement.
I am now using my laptop with the files I had working on Friday, before i copied them to my home computer and uploaded to google docs.
As you know the home computer execution of Strange eons 3 and the files gives error when you open the saved file.
The problem I have is this, the laptop files give no errors at all. I can save, i can reopen those saves. There are no mission tabs.
Solutions
1. The seext files when copied over were corrupted somehow.
2. My strange eons on the laptop works better than the one on my desktop. Its 3550a. Minimum addons.
3. Tzeentch is real.
I will try copying the files over again tonight when finished work. Since the error happened from copying via usb drive, will see where the error happened.