Switeck wrote:I triggered this error when arriving in interstellar space:
17:07:32.250 [script.javaScript.exception.unexpectedType]: ***** JavaScript exception (market_observer 2.0.1): TypeError: system.mainStation is null
A minor error, but figured you'd want to know.
Thanks for this one. Haven't done much interstellar spacing recently. I'll fix it probably this evening.
While I'm fixing stuff, I've been looking into simplifying mO and writing my own version of Commodity Markets. It would depend on mO to work.
1. Is someone using the $noteOxpPrices variable, or can it be removed as redundant? That variable controls whether oxp stations' prices should be included in mix-max gathering or not. At the moment it defaults to true, and this change would make it permanent.
2. Is someone using the $writeOff variable, or can it be removed as redundant? That variable controls whether lost cargo should be deducted from profits when docking main station. At the moment it defaults to true, and this change would make it permanent.
3. Is someone using the $traderRankFeat variable, or can it be removed as redundant? That variable controls the trader's rank calculations and ratings feature. At the moment it defaults to true, and this change would make it permanent. It could also be an external oxp, that would depend in mO to work.
4. If I re-wrote the CO, I would make it to affect all stations as opposed to the original, tht only affects the main stations. Making my own version would also make the original incompatible with mO. If you are using CO and mO, how does this sound?