[Release] Market Observer

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

Moderators: another_commander, winston

User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4652
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: [Release] Market Observer

Post by phkb »

Cholmondely wrote: Sun Jan 14, 2024 10:17 am
Is there an easy fix for this? Perhaps displaying Removed! instead of the purchase price? Or (better) (Removed!) after the purchase price?

Or does this require torrid tweaking with each individual OXP: Illegal Goods Tweak OXP & Feudal States OXP etc.?
This is a long-running issue that has been in the OXP for a while. The "easiest" fix would be to have some sort of validation function that compares the quantities in the $buyLog with the quantities actually in the hold. If the former is greater than the latter for any particular commodity, trim the $buyLog down to match the hold. It's crude, but I think that would at least remove the discrepancy on screen.

It gets more complicated when you incorporate a smuggling hold, or use a hypercargo system.
Post Reply