Page 1 of 1

Problem - OXP-caused - of non-main stations with no markets?

Posted: Wed Apr 06, 2016 11:44 pm
by UK_Eliter
Well, not no markets, buy prices of zero to buy and sell anything - in a Salvage Gang and a GRS factory.

I've just run the game for the first time in a while, having installed some new packs (well, new to me) - namely, the Respray one, Headlights and Dockside services (this last being responsible for new intra-station goodness, I think). Things, especially the insides of stations, look really good. But there is this problem with the markets. Presuming it is a problem - I seem to remember being able to buy and sell things at those two stations.

Can anyone shed light?

Re: Problem - OXP-caused - of non-main stations with no mark

Posted: Thu Apr 07, 2016 12:04 am
by phkb
You might need some OXP tweaks for older OXP's that have station markets. This thread has the methodology to use: https://bb.oolite.space/viewtopic.php?f=4&t=17621.

Re: Problem - OXP-caused - of non-main stations with no mark

Posted: Thu Apr 07, 2016 12:06 am
by Norby
There is a backward incompatible change in 1.82 so every old markets need to do this (as ninja'd by phkb).

A bit simpler way if you accept a similar market that in the main station then just add an empty market_definition into shipdata.plist:

Code: Select all

"market_definition" = ();

Re: Problem - OXP-caused - of non-main stations with no mark

Posted: Thu Apr 07, 2016 12:16 am
by UK_Eliter
Right, thanks. So I think that, in the case of the stations I mentioned - to fix them in this regard (but not sadly reinstate their old pricing structure, but at least give them markets - I need to add that line to:

Buoy Repair OXZ [EDIT: the actual OXZ file being oolite.oxp.Svengali.Eric.BuoyRepair]
Anarchies OXZ [EDIT: the actual OXZ file being oolite.oxp.Commander_McLane.Anarchies]

[Further edit:] The anarchies expansion pack has old-style shipdata.plist. So do I need to the following, please?

Code: Select all

<key>market_definition</key>
Further edit (sorry!): In Buoy Repair, do I add

Code: Select all

market_definition = ();
within the "GRS-Station" entry, do you think?

Re: Problem - OXP-caused - of non-main stations with no mark

Posted: Thu Apr 07, 2016 8:44 am
by Norby
GRS: yes. In Anarchy there is a shipdata-overrides.plist where you can add in the new form.

Re: Problem - OXP-caused - of non-main stations with no mark

Posted: Thu Apr 07, 2016 1:47 pm
by UK_Eliter
Thanks Norby.