Bug - Reliability below zero due to Random Event
Posted: 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.
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.