Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

patch 1.04.01 and the turnback bug

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [Current Games From Matrix.] >> [World War II] >> Gary Grigsby's Eagle Day to Bombing the Reich >> patch 1.04.01 and the turnback bug Page: [1]
Login
Message << Older Topic   Newer Topic >>
patch 1.04.01 and the turnback bug - 7/24/2019 8:12:09 PM   
simovitch


Posts: 4477
Joined: 2/14/2006
Status: offline
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

Post #: 1
RE: patch 1.04.01 and the turnback bug - 7/24/2019 10:53:30 PM   
nelmsm1


Posts: 1007
Joined: 1/21/2002
From: Texas
Status: offline
Excellent!!!

_____________________________

Cruz 2020

(in reply to simovitch)
Post #: 2
RE: patch 1.04.01 and the turnback bug - 7/25/2019 1:24:03 AM   
harley


Posts: 1694
Joined: 10/13/2005
Status: offline
Thats amazeballs mate. I was always looking for a value changing, rather than a value not changing!

_____________________________

gigiddy gigiddy gig-i-ddy

(in reply to nelmsm1)
Post #: 3
RE: patch 1.04.01 and the turnback bug - 7/25/2019 1:15:55 PM   
simovitch


Posts: 4477
Joined: 2/14/2006
Status: offline

quote:

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


(in reply to harley)
Post #: 4
RE: patch 1.04.01 and the turnback bug - 7/29/2019 9:40:19 AM   
Johntxic

 

Posts: 16
Joined: 5/4/2019
Status: offline
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.

(in reply to simovitch)
Post #: 5
RE: patch 1.04.01 and the turnback bug - 7/31/2019 2:36:31 AM   
simovitch


Posts: 4477
Joined: 2/14/2006
Status: offline
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.





Attachment (1)

_____________________________

simovitch


(in reply to Johntxic)
Post #: 6
RE: patch 1.04.01 and the turnback bug - 7/31/2019 12:06:08 PM   
Orm


Posts: 17736
Joined: 5/3/2008
From: Sweden
Status: offline
Awesome news.

_____________________________

Intend attacking at dawn high water.

(in reply to simovitch)
Post #: 7
RE: patch 1.04.01 and the turnback bug - 7/31/2019 2:14:16 PM   
joey


Posts: 1021
Joined: 5/8/2004
From: Johnstown, PA
Status: offline
This looks great! I can't wait!!!

(in reply to Orm)
Post #: 8
RE: patch 1.04.01 and the turnback bug - 8/9/2019 9:36:31 PM   
Pete McCullagh

 

Posts: 62
Joined: 6/7/2019
Status: offline
Really good news, I am glad to have helped. Now let us see what else we can do.

(in reply to joey)
Post #: 9
RE: patch 1.04.01 and the turnback bug - 8/17/2019 2:06:36 PM   
davidjruss


Posts: 219
Joined: 5/25/2002
From: Derby, England
Status: offline
Thanks for the update , trust Alberto has returned from Holiday suitably refreshed

(in reply to Pete McCullagh)
Post #: 10
RE: patch 1.04.01 and the turnback bug - 8/18/2019 1:48:24 AM   
simovitch


Posts: 4477
Joined: 2/14/2006
Status: offline

quote:

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


(in reply to davidjruss)
Post #: 11
RE: patch 1.04.01 and the turnback bug - 8/23/2019 9:16:10 AM   
Pete McCullagh

 

Posts: 62
Joined: 6/7/2019
Status: offline
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

(in reply to simovitch)
Post #: 12
Page:   [1]
All Forums >> [Current Games From Matrix.] >> [World War II] >> Gary Grigsby's Eagle Day to Bombing the Reich >> patch 1.04.01 and the turnback bug Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.138