Am I going soft?
I can't get the cache to be deleted.
I have only CargoWrex and Thargorn installed.
I am trying to test cargo with the pirate-stash, I initially wanted to add asteroids.
Unfortunately the 'radius' of addShipsInRadius doesnt work anymore(was fixed?) so they got crowded.
Tried to take out the asteroids with <!--,didn't work.
then deleted the entire string. didn't work.
deleted the oolite-cache in GNUSTEP/Library. didn't work.
the asteroids dutyfully appear. without me or the script asking for them.
Are active scripts now cached into the savefile? I am confused.
persistent cache of script
Moderators: winston, another_commander, Getafix
- Arexack_Heretic
- Dangerous Subversive Element
- Posts: 1876
- Joined: Tue Jun 07, 2005 7:32 pm
- Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
- Contact:
persistent cache of script
Riding the Rocket!
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Re: persistent cache of script
Nope. You sure these aren’t naturally-occurring asteroids? and that you've deleted the cache for the right version? As far as I can see, the current builds use GNUstep/Libarary/Caches/Oolite-cache.plist. (Then again, they should be deleting the old version.)Arexack_Heretic wrote:Are active scripts now cached into the savefile? I am confused.
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:
Re: persistent cache of script
You do know that the method is called addShipsWithinRadius, do you? (Which is different to what you have written.)Arexack_Heretic wrote:Unfortunately the 'radius' of addShipsInRadius doesnt work anymore(was fixed?) so they got crowded.
- Arexack_Heretic
- Dangerous Subversive Element
- Posts: 1876
- Joined: Tue Jun 07, 2005 7:32 pm
- Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
- Contact:
I have only installed the latest version from Berlios.
(My system crashed a while back)
-No. no asteroids clumps of 10+ asteroids would naturally occur within scanner range at the WP. plus they are touching each other almost.
edit here is a pic:
http://www.box.net/shared/62ng19hlgv
@cMcL: Yep. I checked, I just wrote it wrong here.
I deleted the right file earlier, and pressing SHIFT explicitly empties the cache according to the stderr.
I still encounter the clump of misplaced rocks....I am now gonna check whether I am messing up again with a dulicate script someplace.
rocks were coming from a 'spawn' command.
annoyingly spawn no longer acts on the entity-location of the caller, but always at the WP. This is what confused me. ....i think.
(My system crashed a while back)
-No. no asteroids clumps of 10+ asteroids would naturally occur within scanner range at the WP. plus they are touching each other almost.
edit here is a pic:
http://www.box.net/shared/62ng19hlgv
@cMcL: Yep. I checked, I just wrote it wrong here.
I deleted the right file earlier, and pressing SHIFT explicitly empties the cache according to the stderr.
I still encounter the clump of misplaced rocks....I am now gonna check whether I am messing up again with a dulicate script someplace.
rocks were coming from a 'spawn' command.
annoyingly spawn no longer acts on the entity-location of the caller, but always at the WP. This is what confused me. ....i think.
Riding the Rocket!
- 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:
Hm. If it is a bug with addShipsWithinRadius, then it must be a PC-only bug. I haven't had any problems recently on my Mac.
Or another annoying question to A_H: Could you perhaps post the script-line with the addShipsWithinRadius-method? It could just be that for some reason you chose a very small radius?!?
Or another annoying question to A_H: Could you perhaps post the script-line with the addShipsWithinRadius-method? It could just be that for some reason you chose a very small radius?!?
- Arexack_Heretic
- Dangerous Subversive Element
- Posts: 1876
- Joined: Tue Jun 07, 2005 7:32 pm
- Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
- Contact:
However this is more probably me being me and messing things up.<string>addShipsWithinRadius: piratestash 5 wp 0 1250 17500 1500</string>
The rocks I observed were from a launchactions=spawn: asteroids 8 within the shipdata of another rockthing.
The thing itself was located somewhere halfway to the station, while the spawned rocks were at the WP.
Riding the Rocket!
- 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:
Indeed.Arexack_Heretic wrote:However this is more probably me being me and messing things up.<string>addShipsWithinRadius: piratestash 5 wp 0 1250 17500 1500</string>
On first glance: What do you mean by "wp"? This is not valid, the third argument is missing. Like "wpm". Try this and look what happens.
On second glance: 1500 meters is not a very big radius. But usually it should give enough room for five asteroids.
- Arexack_Heretic
- Dangerous Subversive Element
- Posts: 1876
- Joined: Tue Jun 07, 2005 7:32 pm
- Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
- Contact: