CTD Beda Fromm Scenario

Dave 'Arjuna' O'Connor

Panther Games Designer
Joined
Jul 31, 2014
Messages
3,294
Points
113
Location
Canberra, Australia
Website
www.panthergames.com
I received a support ticket from unrealdemand re a CTD while playing the Beda Fromm scenarios from the Cauldron module. He says:
No problems with the 3 core scenarios, they worked fine. Started with beda fromm and it crashed at 1949 game time. I restarted and it keeps crashing. A loud alarm sounds and then a CTD. I have attached a save game from 1946.

I tried to start Beda Fromm over but it crashes after I give an order. No loud sound this time just a window and then the CTD.

This is an interesting issue. It is generic and not directly related to the Beda Fromm scenario. What is happening is that it's ten minutes before the end of the scenario. The player had ordered an attack by the 7th Armoured Div, who in turn gave the task to one of its brigades. They inturn created a Bn level attack task and an independent attack task for its armoured car squadron. The Bn got held up but the AC Sqn dashed to the objective and managed to reach it ten minutes before the end of the scenario.

What then happened was the 7th AD, decided to replan during its regular ScheduleNextEvent function which occurs every minute for every unit. In doing so though it got into an infinite loop of developing an attack and then calling it off again. Eventually the memory all gets used up and the computer spits the dummy and crashes.

What is interesting is that I have code in there to handle end of scenario attacks. The problem as I understand it is that we have two slightly different tests being employed when we should be using the same one. In the Plan development code we test for both whether the objective is already reached and whether it has been achieved. You can reach an objective but still not dominate enough to achieve it. And that is what is happening in this case. We have a lone AC Sqn with three enemy units all around it.

So at this stage I need to adjust the WillReschedule() inside the regular scheduling code. It tests for reachability but not achievability. This should ensure we don' get in a loop again. It will also mean that attacks won't get called off as often as they do now. But I think that is a good thing. We will need to monitor this.
 

Dave 'Arjuna' O'Connor

Panther Games Designer
Joined
Jul 31, 2014
Messages
3,294
Points
113
Location
Canberra, Australia
Website
www.panthergames.com
Mmm...this got a lot more complicated real quick. I checked my notes in the code and see that I need to handle things differently for basic and complex attacks. OK this is going to take a little more time. I need to get out build 5.0.19 today, as I promised. So this will have to wait till next week. I'll be back! (In best Arnie voice:)).
 

88654992

Member
Joined
Jul 17, 2015
Messages
1
Points
1
Age
68
Location
woodlands
new player here. just installed the core game a week or so ago.

read about CO2 from a post on the CMANO forum...so thanks to someone. enjoy the game/sim whatever a lot.

i thought i had the objective but noticed at the end that i didn't and so i made a dash for it...

anyways thanks for looking at the issue, and thanks for being flexible.

UD
 

Daz

Member
Joined
Oct 22, 2014
Messages
861
Points
43
Location
England
Wow!
Your making my head spin just talking about it Dave o_O
Good luck mate :D
 

About LnLP

Welcome to the official Lock 'n Load Publishing Community page. Here you will find the latest information on our released and upcoming games.



We enjoy designing, developing, and publishing some of the best strategy games in the world. Lock 'n Load Publishing has published over eighty products, including our fan favorites Nations at War Series, World at War 85 Series, and Lock 'n Load Tactical series. We have expanded the publishing line now to include novels to go along with our game series in Paperback, EPUB, and Audiobook lines.

As Lock 'n Load Publishing moves forward, it intends to continue to broaden its product lines. We thank God for blessing us and allow us to follow our passions and thank you for support in our endeavors.


Like us on Facebook

Donate Cadence International

Cadence serves all branches of the U.S. military in American and overseas locations. Comprised of nearly 4 million people, the U.S. military community has proven to be one of the largest, most responsive sub-cultures today. Cadence ministers not only to military personnel but to their spouses and dependents as well.

Thank you for your interest in supporting our us. Please specify an amount below to begin the secure, tax-deductable donation process.

Donate to Cadence International
Top