View Single Post
Old 05-17-2004, 08:29 AM   #2 (permalink)
ArteGordon
Master of the Internet
 
Join Date: Aug 2003
Posts: 5,688
Default

when you serialize it you write the version out as 17

Code:
writer.Write( (int) 17 ); // version
it should be 18.

Your choices are to change this and go back to a previous save, or you can modify your deserialize temporarily to check for version 17 instead of 18 when loading your Onshow variable (since that is the version number that you saved it with). Have your serialization write version 18. Load it up and do a save (that will create a save with the correct version number). Then quit and fix your deser routine to check for version 18 like it should. Then load up and you will be set.
__________________
The first line of the first rule in the forum rules and guidelines "Be respectful of others. "

For questions, information, and support for XmlSpawner and its addons, visit the
XmlSpawner Support Forum
ArteGordon is offline   Reply With Quote