Aurora 4x

Starfire => SA Bugs => Topic started by: Kurt on September 16, 2006, 05:04:21 PM

Title: Bug Related to Battle Resolver
Post by: Kurt on September 16, 2006, 05:04:21 PM
Steve -

I've noticed this before, but I can't remember if I've told you about it, so if I have, I apologize for bringing it up again, but it's annoying.  

This bug takes effect after using the battle resolver, and only affects ships with either advanced engines (Is), or with It2 (so far).  The class display for such ships shows them with their modified speed, in other words, if it is a monitor with a base speed of 4, and it has an It2, then the class screen shows it with a speed of 5.  However, when such a ship has been involved in a battle using the Battle Resolver screen, somehow the ship display for that ship is changed to the base speed.  For the monitor that would be 4.  As the ship display for that ship no longer matches the class display, the ship then shows as damaged, even though it has not taken damage.  

Kurt
Title:
Post by: Steve Walmsley on September 18, 2006, 10:36:21 AM
I have checked the SA code. The routine that updates ships as you design them is different than the routine that updates them after damage (a problem corrected in Aurora). The post-damage update does not check for engine tuners so I have added some code to account for the tuners in future.
Title:
Post by: Kurt on September 18, 2006, 12:15:43 PM
Quote from: "Steve Walmsley"
I have checked the SA code. The routine that updates ships as you design them is different than the routine that updates them after damage (a problem corrected in Aurora). The post-damage update does not check for engine tuners so I have added some code to account for the tuners in future.


Steve - you might want to adjust for Is as well.  I noticed the same problem with them.

Kurt