patch 1.04.01 and the turnback bug

Eagle Day to Bombing of the Reich is a improved and enhanced edition of Talonsoft's older Battle of Britain and Bombing the Reich. This updated version represents the best simulation of the air war over Britain and the strategic bombing campaign over Europe that has ever been made.

Moderators: Joel Billings, harley, warshipbuilder, simovitch

Post Reply
User avatar
simovitch
Posts: 5936
Joined: Tue Feb 14, 2006 7:01 pm

patch 1.04.01 and the turnback bug

Post by simovitch »

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.
simovitch

User avatar
nelmsm1
Posts: 734
Joined: Mon Jan 21, 2002 10:00 am
Location: Texas

RE: patch 1.04.01 and the turnback bug

Post by nelmsm1 »

Excellent!!!
User avatar
harley
Posts: 1700
Joined: Thu Oct 13, 2005 3:21 am

RE: patch 1.04.01 and the turnback bug

Post by harley »

Thats amazeballs mate. I was always looking for a value changing, rather than a value not changing!
gigiddy gigiddy gig-i-ddy
User avatar
simovitch
Posts: 5936
Joined: Tue Feb 14, 2006 7:01 pm

RE: patch 1.04.01 and the turnback bug

Post by simovitch »

ORIGINAL: harley

Thats amazeballs mate. I was always looking for a value changing, rather than a value not changing!
Dude, you were soooo close with your fixes, and on the right path...
simovitch

Johntxic
Posts: 106
Joined: Sat May 04, 2019 3:59 am

RE: patch 1.04.01 and the turnback bug

Post by Johntxic »

Good show chaps
The Nazis entered this war under the rather childish delusion that they were going to bomb everyone else, and nobody was going to bomb them. They sowed the wind, and now they are going to reap the whirlwind.
User avatar
simovitch
Posts: 5936
Joined: Tue Feb 14, 2006 7:01 pm

RE: patch 1.04.01 and the turnback bug

Post by simovitch »

Here's a screenie of the color-coded raid paths. White=bombing, blue=night raid/Intruder, orange=recon, green=sweep. red of course is the return leg for all. I created some bugs with some other edits[:@] but Alberto left on holiday so I'm kind of dead in the water until he returns in mid-August to compile a new build. Stay tuned.


Image
Attachments
coloraid.jpg
coloraid.jpg (152.77 KiB) Viewed 981 times
simovitch

User avatar
Orm
Posts: 32848
Joined: Sat May 03, 2008 7:53 pm
Location: Sweden

RE: patch 1.04.01 and the turnback bug

Post by Orm »

Awesome news. [:)] [&o]
Have a bit more patience with newbies. Of course some of them act dumb -- they're often students, for heaven's sake. - Terry Pratchett

A government is a body of people; usually, notably, ungoverned. - Quote from Firefly
User avatar
joey
Posts: 1532
Joined: Sat May 08, 2004 8:00 pm
Location: Johnstown, PA

RE: patch 1.04.01 and the turnback bug

Post by joey »

This looks great! I can't wait!!!
Pete McCullagh
Posts: 1427
Joined: Fri Jun 07, 2019 9:50 am
Location: Philippines

RE: patch 1.04.01 and the turnback bug

Post by Pete McCullagh »

Really good news, I am glad to have helped. Now let us see what else we can do.
User avatar
davidjruss
Posts: 256
Joined: Sat May 25, 2002 11:03 am
Location: Derby, England

RE: patch 1.04.01 and the turnback bug

Post by davidjruss »

Thanks for the update , trust Alberto has returned from Holiday suitably refreshed
User avatar
simovitch
Posts: 5936
Joined: Tue Feb 14, 2006 7:01 pm

RE: patch 1.04.01 and the turnback bug

Post by simovitch »

ORIGINAL: davidjruss

Thanks for the update , trust Alberto has returned from Holiday suitably refreshed
Yes, he's back and we should have something out in a few weeks. One little feature we added that I'm testing is that damaged level bombers loose random altitude proportionate to the amount of damage they have taken. So if the defender wants to chase down stragglers they too will have to lose altitude to do so. Adds a bit of drama to the return trip.

also added a go-nogo check for strafing on the return trip based on disruption and morale of the group. Should reduce the number of overly-heroic strafe runs.

We will probably bump up the number of flights per turn to 3-4K but I'm wondering of that will mean that saved games are unplayable. I'll have to test that.
simovitch

Pete McCullagh
Posts: 1427
Joined: Fri Jun 07, 2019 9:50 am
Location: Philippines

RE: patch 1.04.01 and the turnback bug

Post by Pete McCullagh »

Wow! Love the altitude mod for stragglers, very realistic! Maybe combine with the emergency landing idea?? As far as fixing number of flights not working with current saves, I, for one would happily restart campaign to avoid hiccups this has caused, especially if dec43 weather I'd fixed. I really want to play a 43 campaign again!! Keep up the good work
User avatar
mark dolby
Posts: 908
Joined: Sun Dec 22, 2019 5:36 am
Location: Caernarfon, United Kingdom

RE: patch 1.04.01 and the turnback bug

Post by mark dolby »

Hi.
Coming in late on this one, but was the 'turnback' bug what I always considered USAAF bombers flying a reciprocal compass course?
One, rarely more, BG would almost be over the UK coast and then fly around and fly most of the way back to the target. Even rarer did any of them get home after I scrambled extra interceptors against them. And after Feb '44 this is the best thing to keep your 110 gruppen ready for - no escorts return with them!
As you can guess I was the LW for my last campaign.
Pete McCullagh
Posts: 1427
Joined: Fri Jun 07, 2019 9:50 am
Location: Philippines

RE: patch 1.04.01 and the turnback bug

Post by Pete McCullagh »

No more on the next release.!!!
Post Reply

Return to “Gary Grigsby's Eagle Day to Bombing the Reich”