simovitch -> patch 1.04.01 and the turnback bug (7/24/2019 8:12:09 PM)
|
The big news is that the dreaded "turnback" bug has been identified and squashed by our gifted programmer Alberto. This annoying bug has been around since pre-Matrix days and thanks to a repeatable save game that I had and a replay provided by Pete McCullagh (and reduced screen shifting from 1.04) Alberto was able to identify the problem rather quickly. I tested my save repeatedly and never saw a turnback. I need to verify this with Alberto but it seems that the trigger happened whenever "following" units (bombers and escorts) checked for separation from the lead group after bombing. Thus, like stragglers and enemy interceptors, new flight numbers>200 (the maximum number of raids) were assigned. This is fine, since the maximum number of units flying is 2000. The problem occurred when re-assigning return waypoints at trigger time all flight numbers>200 in that raid were ignored. This only impacted followers, since stragglers and interceptors don't use the assigned waypoints. The result was that corrupt followers would "turnback" to the exit point from the trigger point and then follow the waypoints. Changing the MAX_RAID constant to MAX_FLIGHT in a few places of code fixed it! Other fixes I did myself that need testing when I get a compiled .exe: 1. fixed "days since last mission" incorrectly displayed as "turn number of last mission" for lead bomber groups. 2. fixed attacker's view of area damage on a target changing after saves and checking summary. (fingers crossed on this one) 3. color-coded raid path display for night bombing, day bombing, sweeps and recon. 4. defender AI will now cancel all patrols when attacker missions completed (saves time waiting around for AI patrols to bingo fuel) 5. Overcast/cloud cover over primary target now displays during raid planning screen so you can adjust your raid altitude without flipping back to the main menu. 6. Alberto is working on some fatigue display and minor calculation anomalies and catching some other bugs.
|
|
|
|