N00B Topic; flushing the cache (and related)
Posted: Tue Dec 29, 2009 11:23 pm
Okay... pressing SHIFT as Oolite starts. I have a vague notion in principle as to what this does. Apparantly you are supposed to do this whenever you put in a new OXP... and I guess when making certain changes.
Does restarting Oolite TWICE do just about the same thing? (I was studying the log, and a certain error message that appears whenever putting in any new OXP).
I've noticed that (at least some) OXPs SEEM to work OK even if you don't flush the cache (HUD OXPs for example; apparantly).
What are the implications of NOT flushing the cache under various conditions? Maybe a fairly brief but comprehensive explanation (yes I know that sounds funny).
If there are effects of NOT flushing, does / would it / ONLY effect the system that *you are currently in* (for an applicable change or OXP); or would other systems be effected... like the last two systems you visited or something? (IE "old system data" still in the cache... )
=====
Somewhat related. OXP variables.
What would happen, to, say my savegame; if I was running RandomHits OXP, and to my "Criminal Hatred Score" (a variable for that OXP), then removed the OXP, played and saved at least once, then re-installed the OXP? Seems to me that the Criminal Hatred score would disappear (in effect)... it would apparantly be "reset" upon re-installing the OXP.
What about playing in Strict Mode for a couple of sessions... does that "destroy" OXP variables?
Are OXP variables stored in the cache... or in the savegame... or both... or (I can't think of any other places they would be).
There is NOT a burning need for this info - I'm just curious. (But maybe this should be documented better in the readme... I don't think its even mentioned).
Thanks.
Does restarting Oolite TWICE do just about the same thing? (I was studying the log, and a certain error message that appears whenever putting in any new OXP).
I've noticed that (at least some) OXPs SEEM to work OK even if you don't flush the cache (HUD OXPs for example; apparantly).
What are the implications of NOT flushing the cache under various conditions? Maybe a fairly brief but comprehensive explanation (yes I know that sounds funny).
If there are effects of NOT flushing, does / would it / ONLY effect the system that *you are currently in* (for an applicable change or OXP); or would other systems be effected... like the last two systems you visited or something? (IE "old system data" still in the cache... )
=====
Somewhat related. OXP variables.
What would happen, to, say my savegame; if I was running RandomHits OXP, and to my "Criminal Hatred Score" (a variable for that OXP), then removed the OXP, played and saved at least once, then re-installed the OXP? Seems to me that the Criminal Hatred score would disappear (in effect)... it would apparantly be "reset" upon re-installing the OXP.
What about playing in Strict Mode for a couple of sessions... does that "destroy" OXP variables?
Are OXP variables stored in the cache... or in the savegame... or both... or (I can't think of any other places they would be).
There is NOT a burning need for this info - I'm just curious. (But maybe this should be documented better in the readme... I don't think its even mentioned).
Thanks.