Still mystified by cim's markets... HELP! (Please, help.)

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

Post Reply
User avatar
Wildeblood
---- E L I T E ----
---- E L I T E ----
Posts: 2678
Joined: Sat Jun 11, 2011 6:07 am
Location: Nova Hollandia
Contact:

Still mystified by cim's markets... HELP! (Please, help.)

Post by Wildeblood »

Can I, or can't I, define a market that includes new trade-goods, and excludes the trad-trade? Yes, I have in the past, messed about and written a definition for handwavium, and seen it appear on the market screen. But how do I exclude the 17 traditional commodities, so that only my newly defined Elements of Style (handwavium, unattainium, quirium, tylium, etc.) appear on the Elemental Exchange market screen?
"There are large, white swans, and there are small, black swans," he explained, "But there are no medium-sized swans, and there are no grey swans. The non-existence of grey swans mitigates against belief in Mr Darwin's theory."
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 5000
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Still mystified by cim's markets... HELP! (Please, help.)

Post by phkb »

Can anything be gleaned from [EliteWiki] SOTL Exploration? It pretty much rewrites the entire economy with brand new items. Not sure it it removed all the existing ones, though. It's been a while since I looked at it.
User avatar
Nite Owl
---- E L I T E ----
---- E L I T E ----
Posts: 587
Joined: Sat Jan 20, 2018 4:08 pm
Location: In The Dark

Re: Still mystified by cim's markets... HELP! (Please, help.)

Post by Nite Owl »

Best guess as to how to eliminate the original 17 commodities completely. You would have to override the default trade-goods.plist found at Oolite\oolite.app\Resources\Config. This could be done by placing a new trade-goods.plist at Oolite\AddOns\Config that does NOT contain the original 17 commodities. If you are doing a new commodities OXZ it might be a bit much to ask novice players to move such a file to such a folder. Not sure if there is anything in the base code that might prevent this from being done.
Humor is the second most subjective thing on the planet

Brevity is the soul of wit and vulgarity is wit's downfall

Good Night and Good Luck - Read You Soon
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 5000
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Still mystified by cim's markets... HELP! (Please, help.)

Post by phkb »

I think the core code needs three commodities for various internal reasons: slaves, minerals and alloys. They can have whatever display name you like, but as long as they have the same id, you’re good to go.
User avatar
Redspear
---- E L I T E ----
---- E L I T E ----
Posts: 2790
Joined: Thu Jun 20, 2013 10:22 pm
Location: On the moon Thought, orbiting the planet Ignorance, looking through a telescope with the lens cap on

Re: Still mystified by cim's markets... HELP! (Please, help.)

Post by Redspear »

phkb wrote: Sun Apr 20, 2025 8:16 pm
I think the core code needs three commodities for various internal reasons: slaves, minerals and alloys
For escape pods, mining and destroyed ships respectively, right?
User avatar
Wildeblood
---- E L I T E ----
---- E L I T E ----
Posts: 2678
Joined: Sat Jun 11, 2011 6:07 am
Location: Nova Hollandia
Contact:

Re: Still mystified by cim's markets... HELP! (Please, help.)

Post by Wildeblood »

Redspear wrote: Sun Apr 20, 2025 8:21 pm
phkb wrote: Sun Apr 20, 2025 8:16 pm
I think the core code needs three commodities for various internal reasons: slaves, minerals and alloys
For escape pods, mining and destroyed ships respectively, right?
That sounds legit.

But, I don't want to exclude the usual commodities from the game, just from a market. I know I could zero the quantities, but I want to prevent long lists of zeroes on the market screen. So, I guess I could be asking, is there a way to enter the market screen with the filter to only show in-stock commodities already on?

And on a similar note, is there a way to enter the F8F8 screen on a particular commodity? You can go straight to F8F8, without going through F8, as the exit screen from a mission screen, but it is always set to the first commodity in the list.

And on a similar note, is there a way to test which commodity the F8F8 screen is currently displaying?
"There are large, white swans, and there are small, black swans," he explained, "But there are no medium-sized swans, and there are no grey swans. The non-existence of grey swans mitigates against belief in Mr Darwin's theory."
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 5000
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Still mystified by cim's markets... HELP! (Please, help.)

Post by phkb »

Wildeblood wrote: Sun Apr 20, 2025 8:41 pm
is there a way to enter the market screen with the filter to only show in-stock commodities already on?
Not at the moment.*
Wildeblood wrote: Sun Apr 20, 2025 8:41 pm
is there a way to enter the F8F8 screen on a particular commodity
Not at the moment.*
Wildeblood wrote: Sun Apr 20, 2025 8:41 pm
is there a way to test which commodity the F8F8 screen is currently displaying?
Not at the moment.*

* Having said that, in 1.91 it would now be possible to recreate the market screen, or at least get very close to the existing functionality, using the additional keys and settings introduced in that version. Yes, it would be a lot of work, but it is possible. Probably not what you wanted to hear, though.

If I can pull myself away from creating more Anaconda Liner skins, I'll have a look at the core code to see how easy those suggestions would be to implement. No guarantees on that one.
User avatar
Wildeblood
---- E L I T E ----
---- E L I T E ----
Posts: 2678
Joined: Sat Jun 11, 2011 6:07 am
Location: Nova Hollandia
Contact:

Re: Still mystified by cim's markets... HELP! (Please, help.)

Post by Wildeblood »

phkb wrote: Sun Apr 20, 2025 10:17 pm
Wildeblood wrote: Sun Apr 20, 2025 8:41 pm
is there a way to enter the F8F8 screen on a particular commodity
Not at the moment.*
If going directly to GUI_SCREEN_MARKETINFO will always show the commodity with the lowest sort-order, then defining a dummy commodity, "Helpium" :( with the lowest possible sort order, could give me the ULTIMATE CONTROL that I seek...? :twisted:

And, sans other bonus commodity definitions, i.e. in a mostly vanilla game, would only push "Alien Items" onto page two.
"There are large, white swans, and there are small, black swans," he explained, "But there are no medium-sized swans, and there are no grey swans. The non-existence of grey swans mitigates against belief in Mr Darwin's theory."
User avatar
Cholmondely
Archivist
Archivist
Posts: 5884
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Still mystified by cim's markets... HELP! (Please, help.)

Post by Cholmondely »

Have you tried pm-ing Cim? (Switeck or Spara might also be able to help).

And AltMap might also be worth a look:

Image
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
User avatar
Wildeblood
---- E L I T E ----
---- E L I T E ----
Posts: 2678
Joined: Sat Jun 11, 2011 6:07 am
Location: Nova Hollandia
Contact:

Re: Still mystified by cim's markets... HELP! (Please, help.)

Post by Wildeblood »

Cholmondely wrote: Sun Apr 20, 2025 11:03 pm
Have you tried pm-ing Cim? (Switeck or Spara might also be able to help).

And AltMap might also be worth a look:
Ta, but nah. That was a scenario OXP; cim did what Nite Owl described above, started with a blank-slate trade-goods.plist.

I'll have a rifle through Market Observer, though. And see if there's anything there worth stealing I can take inspiration from. A long overdue thing to do.
"There are large, white swans, and there are small, black swans," he explained, "But there are no medium-sized swans, and there are no grey swans. The non-existence of grey swans mitigates against belief in Mr Darwin's theory."
User avatar
Cholmondely
Archivist
Archivist
Posts: 5884
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Still mystified by cim's markets... HELP! (Please, help.)

Post by Cholmondely »

Wildeblood wrote: Tue Apr 29, 2025 1:19 pm
Is this G8 Iron Raven OXP "Galactic Stock Exchange" functional? The desire to create a stock exchange in Oolite was the reason I was asking about locking the regular commodities out of the market screen, last week.
The original came out in 2010, so I rather doubt it.

But you can look at the javascript here: https://ooliteproject.github.io/oolite- ... Raven.html - it seems to be categorised by the System ID (GalCat ID: 8:180 - needs tweaking for game code version) & name (Arance).


I've tried to keep the Oolite Trading & Economics wiki pages up-to-date in terms of their listing of relevant OXPs. So they are hopefully useful rather than the obverse. What about the various OXP commodities (Quirium crystals, various types of fuel, medicine, water, etc.)? Do you know what you want to do with them?
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
Post Reply