Collector's edition cobra?
Moderators: winston, another_commander, Getafix
- wackyman465
- ---- E L I T E ----
- Posts: 831
- Joined: Thu Nov 06, 2008 10:15 pm
- Location: Currently hunting you down in an Imperial Courier
Collector's edition cobra?
So I started a new game, and after my 2nd jump, back to lave, doing some exceptionally risky firearms trading, decided to price a different ship; like a python class cruiser or somesuch. Much to my surprise, when I pressed 3 twice, my cobra 3 - standard issue, no eq added on - was worth over 922 billion credits. Now, I might look stupid, but if I recall correctly, that's more than was paid to build the Taranis HQ at lerelace and certainly more than I paid for an imperial courier in another savegame.
Any help here? I'm running 1.73 and RS if that helps.
Any help here? I'm running 1.73 and RS if that helps.
I shot him back first. That is to say, I read his mind and fired before he would have fired on me. No, sir, he wasn't a fugitive.
- wackyman465
- ---- E L I T E ----
- Posts: 831
- Joined: Thu Nov 06, 2008 10:15 pm
- Location: Currently hunting you down in an Imperial Courier
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
Sounds as a very expensive cargo bay.wackyman465 wrote:.... was worth over 922 billion credits..... Fixed itself. I bought an extended cargo bay and next time I checked my cobra was worth 100k only.
But what would still be interesting is if this high value was real in calculations (you could buy a very big ship) or that only the display was wrong.
UPS-Courier & DeepSpacePirates & others at the box and some older versions
- Lestradae
- ---- E L I T E ----
- Posts: 3095
- Joined: Tue Apr 17, 2007 10:30 pm
- Location: Vienna, Austria
..
I have a save file like that.
Don't know how the megasum happened, but it was not hacked into the save game file and the game sometimes crashes if I attempt to buy something very expensive with this test Commander.
Download from here:
http://www.box.net/shared/static/htxt15o1fb.oolite-save
Hope it helps
L
Don't know how the megasum happened, but it was not hacked into the save game file and the game sometimes crashes if I attempt to buy something very expensive with this test Commander.
Download from here:
http://www.box.net/shared/static/htxt15o1fb.oolite-save
Hope it helps
L
- wackyman465
- ---- E L I T E ----
- Posts: 831
- Joined: Thu Nov 06, 2008 10:15 pm
- Location: Currently hunting you down in an Imperial Courier
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
OK, the value in Lestradae’s game is 1844674407370954330.8 credits, which (due to details of how numbers are represented) is the same as -819.2 credits. Clearly something’s subtracting more money than actually exists. It would be nice to know when it’s happening (everyone keep their eyes peeled, please), but it’s at least a lot less mysterious than “over 922 billion credits”. :-)
(But now that I look at it, if you meant “over 922 quadrillion credits”, that would be slightly less mysterious. Still odd, though.)
(But now that I look at it, if you meant “over 922 quadrillion credits”, that would be slightly less mysterious. Still odd, though.)
E-mail: [email protected]
- wackyman465
- ---- E L I T E ----
- Posts: 831
- Joined: Thu Nov 06, 2008 10:15 pm
- Location: Currently hunting you down in an Imperial Courier
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
That is interesting. It means the bug is not in adding credits but in calculating the ships value.wackyman465 wrote:I got a screenie here of the hugely expensive cobra:
UPS-Courier & DeepSpacePirates & others at the box and some older versions
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Mathematically, it seems clear what’s happening: some intermediate value in the trade-in price calculation is negative, and is divided by two. It would still be helpful to have that saved game…
E-mail: [email protected]
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
I could replicate that bug by creating an specially crippled oxp, because that could have happened here.
I created an oxp with a copy of the cobras shipyard definition. But than I created an error in the price definition. (e.g. I spelled it as prise). Now it can't find a value and defaults to zero. In shipyard trade-in value is now zero.
Than I launched, targeted the buoy, shot two missiles at it and immediately returned before the cops could kill me.
Now it adds up my current missile value and subtracts the value of a standard cobra. But because I have less than standard it becomes negative. Normally no problem as it than is masked by the much larger ships base value. But with ship value zero the total value becomes negative.
Easiest fix is probably to check that the return value is always positive.
I created an oxp with a copy of the cobras shipyard definition. But than I created an error in the price definition. (e.g. I spelled it as prise). Now it can't find a value and defaults to zero. In shipyard trade-in value is now zero.
Than I launched, targeted the buoy, shot two missiles at it and immediately returned before the cops could kill me.
Now it adds up my current missile value and subtracts the value of a standard cobra. But because I have less than standard it becomes negative. Normally no problem as it than is masked by the much larger ships base value. But with ship value zero the total value becomes negative.
Easiest fix is probably to check that the return value is always positive.
UPS-Courier & DeepSpacePirates & others at the box and some older versions
- wackyman465
- ---- E L I T E ----
- Posts: 831
- Joined: Thu Nov 06, 2008 10:15 pm
- Location: Currently hunting you down in an Imperial Courier
@ahruman: I'm pretty sure I sent you that savegame. Look in your inbox for stuff from [email protected]...
I shot him back first. That is to say, I read his mind and fired before he would have fired on me. No, sir, he wasn't a fugitive.