addMoon in 1.69.1.1-mac
Moderators: winston, another_commander, Getafix
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact:
addMoon in 1.69.1.1-mac
It seems that addMoon: doesn't work in 1.69.1.1-mac. Don't know about former versions. I wanted to add two new planets to a system, but had to resort to 1.65 to actually see them in-game.
I don't know whether this is an issue that has been reported in association with Assassins, so--just in case--I report it here.
I don't know whether this is an issue that has been reported in association with Assassins, so--just in case--I report it here.
- LittleBear
- ---- E L I T E ----
- Posts: 2882
- Joined: Tue Apr 04, 2006 7:02 pm
- Location: On a survey mission for GalCop. Ship: Cobra Corvette: Hidden Dragon Rated: Deadly.
AddMoon is still working on 1.69.1 (at least on the Windows build).
OXPS : The Assassins Guild, Asteroid Storm, The Bank of the Black Monks, Random Hits, The Galactic Almanac, Renegade Pirates can be downloaded from the Elite Wiki here.
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Re: addMoon in 1.69.1.1-mac
It does, you know. You may need to be more specific about your problem.Commander McLane wrote:It seems that addMoon: doesn't work in 1.69.1.1-mac.
E-mail: [email protected]
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact:
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact:
It turns out there is a problem.
Changes made to planetinfo.plist don't have an immediate effect. Sometimes they work, but sometimes everything is like before. Then I take the OXP out of the addons-folder, fire up Oolite without the OXP, quit the game, take the OXP in again, start again and now I see the changes.
Maybe it's a cache-issue?
Changes made to planetinfo.plist don't have an immediate effect. Sometimes they work, but sometimes everything is like before. Then I take the OXP out of the addons-folder, fire up Oolite without the OXP, quit the game, take the OXP in again, start again and now I see the changes.
Maybe it's a cache-issue?
-
- Quite Grand Sub-Admiral
- Posts: 6682
- Joined: Wed Feb 28, 2007 7:54 am
You can just hold down shift when starting up the game and achieve the same result. The cache needs to be rebuilt in order to see changes applied to most of the plists. What you are doing by removing and reinserting the OXP folder is forcing the game to rebuild the cache "the hard way", since you are modifying the search paths twice, once when removing and once when reinserting the folder.
Hope this saves some time. It is not an actual problem, it works as per specification.
Hope this saves some time. It is not an actual problem, it works as per specification.
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact:
Thanks for the hint. Which plists exactly need a rebuilt cache? Before I never had a problem when modifying script.plist, missiontext.plist, shipdata.plist, descriptions.plist, commodities.plist or equipment.plist. All changes were recognized by the game without forcing the cache to be rebuilt. I just had to start the game again without pressing SHIFT.
-
- Quite Grand Sub-Admiral
- Posts: 6682
- Joined: Wed Feb 28, 2007 7:54 am
The planetinfo, equipment and demoships plists are definitely cached. For the rest, I am not really sure, maybe Ahruman can explain better, since he wrote the cache code.
If you want you can even check it yourself by doing this: Edit logcontrol.plist and change the line
$dataCacheDebug = no;
to
$dataCacheDebug = yes;
Run the game and hold down shift. You will rebuild the cache and in your log there will be information related to what Oolite was looking for while rebuilding it.
Hope this helps.
If you want you can even check it yourself by doing this: Edit logcontrol.plist and change the line
$dataCacheDebug = no;
to
$dataCacheDebug = yes;
Run the game and hold down shift. You will rebuild the cache and in your log there will be information related to what Oolite was looking for while rebuilding it.
Hope this helps.
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Essentially all plists are now cached, except logControl and keyConfig. Whether a change is picked up depends on how precisely you make the change. Specifically, Oolite looks for changes to the modification dates of any directory in its search paths, which includes the various AddOns folders and OXPs themselves. (The idea is that normal users should not be affected, but checking for changes should take as little time as possible. As it is, only OXP-makers should have cache-related problems.)
E-mail: [email protected]
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact: