Cholmondely wrote: ↑Thu Oct 29, 2020 6:12 am
I, too, found exactly the same. I found Market Observer to useful to ditch - and the bug too easy to ignore.
Indeed. With that in mind and being loath to nuke it, I assigned an empty string to the offending variable
traderRank in both the docking message and the Manifest screen, commenting out the egregious lines:
Code: Select all
//Trader rank for market hud
this.$setInstruction = function() { //set trader rank text to manifest
var traderRank = ""; // Reval blanked this out until loss-bug is fixed
//var traderRank = "Trader's Rating: " + this.$traderRank() + " (" + formatCredits(this.$profit/10, true, true ) + ")";
player.ship.setCustomHUDDial("marketObserverProfit", traderRank);
mission.setInstructions(traderRank+".", this.name);
(that's lines 37-43 in mo_traders_rating.js)
and here in market_observer.js, lines 221-225:
Code: Select all
if (profitLoss > 0) {
worldScripts["mo-traders_rating3"].$reportProfit(-1 * profitLoss);
// Is this is a bug? (Reval)
// player.consoleMessage(formatCredits(profitLoss/10, true, true )+" worth of cargo is lost.");
}
Save, and restart Oolite with the <shift> key held down, and no more irritation
Would still appreciate help from Spara in nailing the causes though...