Repair didn't work. I tried several times but always heard a beep. Then I noticed my account. 3820.5 credits and repair is 7375 cr. Clearly to low. There is something fishy going on. I don't know if I am robed during my absence or during buying fuel or repairing the bomb.
Strange thing however is that equipment that it to expensive to buy normally does not show at all. But I now see the repair: Shield boosters option and also the Maintenance Overhaul of 8000.0 cr And even the Galactic Hyperdrive.
I saved under a new name, restarted Oolite with cleared cache and opened that file again. Still to low credits and things for sale that I can not afford.
-----
Went back to me previous saved file in a system earlier: 4223.3 credits. So the robbing took place before.
Than I opened a still older file: 3 503 241.9 credits. Oeff. Saved my money and only 1 day old that file. I normally use a new name only every few weeks.
Was this a bug or an oxp that robs people?
------
Remembering what I did in the meantime was working on the oo-haul script. Hmm. That oxp uses a js script for the subentities. But that is not only used for the mission script but for all oo-haul ships. I added a few lines, but those should only be active for the mission ship. They should be changed to:
Code: Select all
this.shipDied = function(whom, why)
{
this.ship.owner.spawn("oohaulcargo", 10);
if(this.ship.owner.primaryRole = "oohaulermisgo")
{
missionVariables.oohaul_credits -= 500 // decrement credits with 500 on each death.
if(--missionVariables.oohaul_cargo == 0) missionVariables.oohaul_credits = 500 // decrement by one. And when zero set credits to 500.
}
}