This project is read-only.

ItemSource.xml wipe after each launch

Topics: Retired
Nov 25, 2008 at 9:05 AM
Doing a massive "Update Item Cache", I discover after the next launch of Rawr that all the source of item was gone and the file was nearly empty.

Trying to trace the error, it seems that there is an exception that is raise during the "Load" in the ItemLocation.cs file.
Exactly this is line 855 wich seem to raise the Exception :
sourceInfo = (SerializableDictionary<string, ItemLocation>) serializer.Deserialize(reader);

As their is an exception, the old content wasn't read and is delete during the next save.


Nov 25, 2008 at 10:23 AM
Kavan, guessing this is from your serialization optimization changes?
Nov 25, 2008 at 12:40 PM
I guess I can't use the same "trick" here. Reverted to old serialization for item source, it should fix the problem.