Bug - Reliability below zero due to Random Event

Moderators: Nacho84, N_Molson

Post Reply
Drewpan
Senior Corporal - Ju 87G
Senior Corporal - Ju 87G
Posts: 93
Joined: Tue Jun 10, 2014 10:50 am

Bug - Reliability below zero due to Random Event

Post by Drewpan » Wed Sep 24, 2014 7:40 am

Hi Guys,

Just had my brand spanking new R7 8K72 'Luna' rocket program get a reliability factor of: - 0.9%! (That is MINUS 0.9%)

Now I can tell the Random Event that caused it probably worked as it was supposed to, but
my issue, apart from a negative reliability, is that whatever the cause, the reliability of hardware
should NEVER drop below the minimum reliability for that hardware. If this was the case then the
Hardware would instantly be dropped entirely in real life and this did not, nor should it, ever happen
historically.

Simple code fix:

calculate modified reliability
if (modified reliability < minimum reliability)
then
{reliability := minimum reliability}
else
{reliability := modified reliability}

Save Game attached

Cheers!

Andrew (Drewpan)

PS - I only caught this because it happened on the first turn I had the rocket, so it may pay to check other Hardware or the basic code.
Attachments
AutoSave-2014-09-24-165200-1955-4-Drewpan.zip
Reliability below zero
(8.29 KiB) Downloaded 139 times

Nacho84
SPM Moderator
SPM Moderator
Posts: 1382
Joined: Thu Feb 07, 2013 6:32 pm
Location: Brighton, UK

Re: Bug - Reliability below zero due to Random Event

Post by Nacho84 » Wed Sep 24, 2014 2:40 pm

Thanks Andrew,

It's fixed now, you'll get it in the next patch. If you reload your savefile the reliability will drop to 3%, which is the initial reliability value, including any tech transfers.

Cheers,
Attachments
REBReliabilitySetback.jpg
REBReliabilitySetback.jpg (528.12 KiB) Viewed 923 times
Ignacio Liverotti
Lead Developer of Buzz Aldrin's Space Program Manager

Polar Motion
Twitter

Post Reply

Return to “Buzz Aldrin's Space Program Manager : Tech Support”