*.sav files messing up everything?

Help bring our custom Ages to life! Share tips and tricks, as well as code samples with other developers.
Post Reply
User avatar
Aloys
Posts: 1968
Joined: Sun Oct 21, 2007 7:57 pm
MOULa KI#: 0
Location: France (GMT +1)
Contact:

*.sav files messing up everything?

Post by Aloys »

Lately I've found that the save files tend to mess up stuff that shouldn't belong to them. Latest issue: after pulling my hair out for a couple solid hours over some texture animation problem, it turns out the solution was to delete the .sav file for this Age and that's it! Are animations settings saved in there?? :shock: Why??
I remember someone had a similar problem not too long ago that was solved the same way... can't remember what it was. (maybe it was a texture animation issue too, thinking of it..)
Do we know exactly what is saved in those files, why, and more important do we have a way to avoid saving anything in there?
Tsar Hoikas
Councilor of Technical Direction
Posts: 2180
Joined: Fri Nov 16, 2007 9:45 pm
MOULa KI#: 23335
Location: South Georgia
Contact:

Re: *.sav files messing up everything?

Post by Tsar Hoikas »

Anything based on plSynchedObject has its state saved in them.

Add the class type to the plSynchedObject's SDL Exclude List....
Image
Nadnerb
Posts: 1057
Joined: Fri Sep 28, 2007 8:01 pm
MOULa KI#: 23247
Location: US (Eastern Time)
Contact:

Re: *.sav files messing up everything?

Post by Nadnerb »

The current sound emitters will have their state saved like this as well, which is probably where you saw this issue before.
Image
Live KI: 34914 MOULa KI: 23247 Gehn KI: 11588 Available Ages: TunnelDemo3, BoxAge, Odema
User avatar
Aloys
Posts: 1968
Joined: Sun Oct 21, 2007 7:57 pm
MOULa KI#: 0
Location: France (GMT +1)
Contact:

Re: *.sav files messing up everything?

Post by Aloys »

I guess there's no easy & lazy method; to exclude all of the Age from the sav file or something similar? I have no idea how to add anything in the SDL files.
D'Lanor
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Re: *.sav files messing up everything?

Post by D'Lanor »

The SDL files contain only a fraction of all that is saved into the age state. I don't think there is anything an age builder can do. I am sure that was a programmers note from Hoikas.

This would not be a big problem if we could properly delete explorer ages (set them volatile) like we do with personal ages when we push back books in the shelf. An idea for a new ULM feature perhaps?

You cannot expect from users that they manually delete sav files from their vaults each time we update our ages. And then I do not even want to think about the vault in the online version.
"It is in self-limitation that a master first shows himself." - Goethe
Tsar Hoikas
Councilor of Technical Direction
Posts: 2180
Joined: Fri Nov 16, 2007 9:45 pm
MOULa KI#: 23335
Location: South Georgia
Contact:

Re: *.sav files messing up everything?

Post by Tsar Hoikas »

D'Lanor wrote:The SDL files contain only a fraction of all that is saved into the age state. I don't think there is anything an age builder can do. I am sure that was a programmers note from Hoikas.


That was a note to the current PyPRP devs mostly. I think Paradox or someone has implemented what I described in AlcScript since then, so it might be worth a shot to check the SVN (recommended only if you feel like picking through the changed code). I dunno though.
Image
Post Reply

Return to “Scripting”