Pirate Coves
Moderators: winston, another_commander
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
Pirate Coves
Hereby a new release of Pirate Cove by Lazygun.
It contained a few small bugs that were already solved in the 1.1 release half a year ago. Another bug has solved itself by upgrading to Oolite 1.73.
Version 1.2.1 is now completely Oolite 1.73 aware. I had it already in the download folder for some weeks but postponed the announcement as the changes would only be visible with Oolite 1.73.
For who wants to use pirate coves with 1.73 please upgrade to Pirate Coves 1.2.1
With this version pirates will better find home after chasing an enemy.
It contained a few small bugs that were already solved in the 1.1 release half a year ago. Another bug has solved itself by upgrading to Oolite 1.73.
Version 1.2.1 is now completely Oolite 1.73 aware. I had it already in the download folder for some weeks but postponed the announcement as the changes would only be visible with Oolite 1.73.
For who wants to use pirate coves with 1.73 please upgrade to Pirate Coves 1.2.1
With this version pirates will better find home after chasing an enemy.
UPS-Courier & DeepSpacePirates & others at the box and some older versions
A slight typo...
I'm sure you ment 1.73<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>version</key>
<string>1.43</string>
</dict>
</plist>
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
No, it is correct. It should still be compatible with that old version. The new added stuff is just not seen by such an old Oolite. I try to make my changes in such a way it stays at least compatible with 1.65Chaky wrote:A slight typo...
I'm sure you ment 1.73<key>version</key>
<string>1.43</string>
</dict>
</plist>
UPS-Courier & DeepSpacePirates & others at the box and some older versions
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
Re: Pirate Coves
I just updated Pirate Cove.oxp to version 1.3.
Main changes:
- It no longer uses a fixed copy of the oolites hermit station, but can now use any rock hermit. So, with Griffs hermits installed, those can become pirate coves too.
- Randomised the number of rocks around the station. No longer always 8 (That was an indication to recognise the pirate cove).
- Randomised the number of defenders to make things less predictable.
- There will be more defenders in the hermit with players with higher scores so that those players can get frightened again for the pirate coves.
- Raised minimum Oolite to 1.74 to make all those new features possible.
Main changes:
- It no longer uses a fixed copy of the oolites hermit station, but can now use any rock hermit. So, with Griffs hermits installed, those can become pirate coves too.
- Randomised the number of rocks around the station. No longer always 8 (That was an indication to recognise the pirate cove).
- Randomised the number of defenders to make things less predictable.
- There will be more defenders in the hermit with players with higher scores so that those players can get frightened again for the pirate coves.
- Raised minimum Oolite to 1.74 to make all those new features possible.
UPS-Courier & DeepSpacePirates & others at the box and some older versions
Re: Pirate Coves
Good news, good news. A lot of my "interesting" incidents tend to involve Pirate Coves
Re: Pirate Coves
Might want to replace scanForRandomMerchantmen with scanForRandomMerchantman in pirateCovePirateAI.plist and pirateCoveAI.plist?
It was mentioned somewhere around this forum and on
http://wiki.alioth.net/index.php/OXP_howto_AI
that scanForRandomMerchantmen is depreciated.
It was mentioned somewhere around this forum and on
http://wiki.alioth.net/index.php/OXP_howto_AI
that scanForRandomMerchantmen is depreciated.
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
Re: Pirate Coves
I could do that for a next release now the oxp has become 1.74+. However the old spelling is not deprecated because it is a 1.65 command and those stay in place and will have no negative effect when used. The new singular form is more logic as the command only finds one ship.Switeck wrote:Might want to replace scanForRandomMerchantmen with scanForRandomMerchantman
....
that scanForRandomMerchantmen is depreciated.
UPS-Courier & DeepSpacePirates & others at the box and some older versions
Re: Pirate Coves
Just what we need, thanks a lotEric Walch wrote:I just updated Pirate Cove.oxp to version 1.3.
Main changes:
- It no longer uses a fixed copy of the oolites hermit station, but can now use any rock hermit. So, with Griffs hermits installed, those can become pirate coves too.
- Randomised the number of rocks around the station. No longer always 8 (That was an indication to recognise the pirate cove).
- Randomised the number of defenders to make things less predictable.
- There will be more defenders in the hermit with players with higher scores so that those players can get frightened again for the pirate coves.
- Raised minimum Oolite to 1.74 to make all those new features possible.
OXPs: Furball 1.8, Factions 1.12
Re: Pirate Coves
The way Pirate Coves are added via the pirateCove.js script:
var station = system.addShipsToRoute("rockhermit", 1, 0.10+Math.random()*0.3, coordinateSystem)[0];
...means it's stuck using the Rock Hermit's commodities.plist market.
It also mass-locks me when I try to use the torus, which is strange because the original Rock Hermits do not.
var station = system.addShipsToRoute("rockhermit", 1, 0.10+Math.random()*0.3, coordinateSystem)[0];
...means it's stuck using the Rock Hermit's commodities.plist market.
It also mass-locks me when I try to use the torus, which is strange because the original Rock Hermits do not.
- Diziet Sma
- ---- E L I T E ----
- Posts: 6312
- Joined: Mon Apr 06, 2009 12:20 pm
- Location: Aboard the Pitviper S.E. "Blackwidow"
Re: Pirate Coves
Yes! A new way to ID a Pirate Cove!Switeck wrote:It also mass-locks me when I try to use the torus, which is strange because the original Rock Hermits do not.
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
- Tricky
- ---- E L I T E ----
- Posts: 821
- Joined: Sun May 13, 2012 11:12 pm
- Location: Bradford, UK. (Anarchic)
Re: Pirate Coves
Never noticed that... Although I've always destroyed them whenever I've come across one.Switeck wrote:...means it's stuck using the Rock Hermit's commodities.plist market.
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
Re: Pirate Coves
They don't mass-lock generally, but now the coves are no longer in the oxp. Instead it picks installed rock hermits from other oxps. Unfortunally some oxps don't define them as rock. As a optical fix they get a white scanner colour, but the right fix would be to fix the originel oxp that supplies the hermits.
I have a new release prepared were destroyed pirate coves stay destroyed for 30 days. (game clock)
I have a new release prepared were destroyed pirate coves stay destroyed for 30 days. (game clock)
UPS-Courier & DeepSpacePirates & others at the box and some older versions
Re: Pirate Coves
If Pirate Coves are added by the system populator, they don't mass lock and use the correct commodities.plist.
But if they're added by the pirateCove.js script, they do mass lock and use the Rock Hermit's commodities.plist.
I'm using Oolite v1.76.1 and v1.77 build 5439.
Seems adding this to the pirateCove.js script causes the Pirate Coves to use the right market commodities.plist file:
station.primaryRole = "pirate-cove"; // was rockhermit
But if they're added by the pirateCove.js script, they do mass lock and use the Rock Hermit's commodities.plist.
I'm using Oolite v1.76.1 and v1.77 build 5439.
Seems adding this to the pirateCove.js script causes the Pirate Coves to use the right market commodities.plist file:
station.primaryRole = "pirate-cove"; // was rockhermit
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
Re: Pirate Coves
The system populater can override the scanclass and sets it to rock. But a script can't change scanclass and depends on how the author had defined them. If you remove any oxp that adds hermits, you will see that when pirate coves adds rocks from the core set, they won't mass lock. It is an oxp bug, masked by the populator because it corrects these oxp bugs.
UPS-Courier & DeepSpacePirates & others at the box and some older versions
Re: Pirate Coves
And the marketplace can be sorted out with the Market shipdata.plist key (if the entity is spawned as a station).
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link