Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

CTD during Air Unit upgrade phase

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

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> War in the Pacific: Admiral's Edition >> Tech Support >> CTD during Air Unit upgrade phase Page: [1]
Login
Message << Older Topic   Newer Topic >>
CTD during Air Unit upgrade phase - 1/8/2022 6:07:00 AM   
Ian R

 

Posts: 3420
Joined: 8/1/2000
From: Cammeraygal Country
Status: offline
I have been getting repetitive crashes to disk during the air unit upgrade phase. This is something I have not seen in 12 years with AE, and was not seeing on the same hardware etc in a previous, different scenario, game.

This appears to be a scenario related problem ( I am testing some modifications of a mod).

I have found a couple of work arounds:

(a) restart, load the pre-turn save, give some more TF orders (including creating some new TFs);

(b) restart, load the pre-turn save, go to a couple of large (at peace) Soviet air bases - and change the auto-upgrade status of some Soviet units en masse.

Backing up a turn or two also seems to work, at least sometimes.

This is sometimes fixed with one reload and a tweak to TF orders, but can also be almost intractable at times, taking a dozen or more attempts to get a successfully resolved turn execution.

When the CTD is coming, the progress screen stalls on "UPDATE AIR UNITS" and you see it coming, otherwise it whizzes through that phase and you hardly see it at all.

Anyone else had this?

Could it be caused by something relating to a aircraft type upgrade path (fixable with a scenario edit), or some particular air unit, (also fixable within the game by permanently disbanding it)?

< Message edited by Ian R -- 1/8/2022 6:09:51 AM >


_____________________________

"I am Alfred"
Post #: 1
RE: CTD during Air Unit upgrade phase - 1/8/2022 6:33:05 AM   
Yaab


Posts: 4552
Joined: 11/8/2011
From: Poland
Status: offline
The aircraft you are trying to upgrade to probably has durability of 0. It has to have at least durability of 1.

(in reply to Ian R)
Post #: 2
RE: CTD during Air Unit upgrade phase - 1/8/2022 11:31:40 AM   
Ian R

 

Posts: 3420
Joined: 8/1/2000
From: Cammeraygal Country
Status: offline
I checked all aircraft durabilities - all are 11 (the ZPK dirigible) or greater. So no problem there.

_____________________________

"I am Alfred"

(in reply to Yaab)
Post #: 3
RE: CTD during Air Unit upgrade phase - 1/8/2022 11:52:16 AM   
Yaab


Posts: 4552
Joined: 11/8/2011
From: Poland
Status: offline
I am out of ideas.

My solution was from here (discussion starts from post 223), Bottlenecks in Pacific mod.
https://www.matrixgames.com/forums/tm.asp?m=4262848&mpage=8&key=

(in reply to Ian R)
Post #: 4
RE: CTD during Air Unit upgrade phase - 1/8/2022 1:50:53 PM   
BBfanboy


Posts: 18046
Joined: 8/4/2010
From: Winnipeg, MB
Status: offline
I am no expert at modding, but an invalid upgrade path is what I would look for. I am not sure how the game engine decides an upgrade path is valid or not.

_____________________________

No matter how bad a situation is, you can always make it worse. - Chris Hadfield : An Astronaut's Guide To Life On Earth

(in reply to Ian R)
Post #: 5
RE: CTD during Air Unit upgrade phase - 1/8/2022 5:30:40 PM   
Ian R

 

Posts: 3420
Joined: 8/1/2000
From: Cammeraygal Country
Status: offline
I've checked over the upgrade paths of all the aircraft types in the editor, and made sure they all point to the appropriate next model up the tree, or for the terminal model, itself. That is how they are set in stock scenario one. There are some cross overs - Beaufort to Beaufighter, etc - but they are as per the stock scenarios.

So that is another possibility eliminated.



_____________________________

"I am Alfred"

(in reply to BBfanboy)
Post #: 6
RE: CTD during Air Unit upgrade phase - 1/8/2022 10:17:37 PM   
michaelm75au


Posts: 13500
Joined: 5/5/2001
From: Melbourne, Australia
Status: offline
If you have a save that crashes each time, please post it here and I can have a look.

_____________________________

Michael

(in reply to Ian R)
Post #: 7
RE: CTD during Air Unit upgrade phase - 1/9/2022 12:34:31 AM   
Ian R

 

Posts: 3420
Joined: 8/1/2000
From: Cammeraygal Country
Status: offline
Thanks Michael.

Save 005 attached.

I will attach the scenario file (s) in the next post.

Edit: After reading LST's scenario mod thread, I am starting to suspect the problem relates to some IJ aircraft upgrade paths leading to blank lines in the data base. The copy scenario below includes those paths - I am rectifying those to see if that helps.

Attachment (1)

< Message edited by Ian R -- 1/9/2022 1:57:22 AM >


_____________________________

"I am Alfred"

(in reply to michaelm75au)
Post #: 8
RE: CTD during Air Unit upgrade phase - 1/9/2022 12:40:31 AM   
Ian R

 

Posts: 3420
Joined: 8/1/2000
From: Cammeraygal Country
Status: offline
Scenario:



< Message edited by Ian R -- 1/15/2022 10:56:44 AM >


_____________________________

"I am Alfred"

(in reply to Ian R)
Post #: 9
RE: CTD during Air Unit upgrade phase - 1/9/2022 12:51:19 AM   
Ian R

 

Posts: 3420
Joined: 8/1/2000
From: Cammeraygal Country
Status: offline
quote:

ORIGINAL: Yaab

I am out of ideas.

My solution was from here (discussion starts from post 223), Bottlenecks in Pacific mod.
https://www.matrixgames.com/forums/tm.asp?m=4262848&mpage=8&key=



gervabit's post #225 shows exactly the same crash.

I'm guessing this is something generated by scenario modifications, as opposed to a bug per se - but it would be good if Michael can identify the origin, so we can put it on the "don't do that" list.

Edit: I would be most interested to see if Michael finds that the problem relates to some IJ aircraft upgrade paths leading to blank lines in the data base.

< Message edited by Ian R -- 1/9/2022 1:51:55 AM >


_____________________________

"I am Alfred"

(in reply to Yaab)
Post #: 10
RE: CTD during Air Unit upgrade phase - 1/10/2022 5:37:38 AM   
michaelm75au


Posts: 13500
Joined: 5/5/2001
From: Melbourne, Australia
Status: offline
Yes, it is because of upgrading to 'blank' aircraft types.
I thought I had prevented that ages ago but there was must a hole in the logic somewhere. I'll make it ignore 'blank' upgrades so it won't crash out of the game.

Example code says air type 684 upgrades to type 689.

< Message edited by michaelm75au -- 1/10/2022 5:39:16 AM >


_____________________________

Michael

(in reply to Ian R)
Post #: 11
RE: CTD during Air Unit upgrade phase - 1/10/2022 5:53:34 AM   
Ian R

 

Posts: 3420
Joined: 8/1/2000
From: Cammeraygal Country
Status: offline
Cheers Michael, thanks.

I went through and sorted them all out, and now it's all WAD- no CTDs.

For the moment I'll add it to the 'don't do this' list, along with avoiding ship class line #813.

_____________________________

"I am Alfred"

(in reply to michaelm75au)
Post #: 12
RE: CTD during Air Unit upgrade phase - 1/10/2022 7:31:02 AM   
Chris21wen

 

Posts: 6249
Joined: 1/17/2002
From: Cottesmore, Rutland
Status: offline

quote:

ORIGINAL: michaelm75au

Yes, it is because of upgrading to 'blank' aircraft types.
I thought I had prevented that ages ago but there was must a hole in the logic somewhere. I'll make it ignore 'blank' upgrades so it won't crash out of the game.

Example code says air type 684 upgrades to type 689.


First time i've seen a post from you for ages. Sounds like your back coding?

(in reply to michaelm75au)
Post #: 13
RE: CTD during Air Unit upgrade phase - 1/10/2022 7:59:12 AM   
michaelm75au


Posts: 13500
Joined: 5/5/2001
From: Melbourne, Australia
Status: offline
Yes. For the 'final' curtain as they say.

_____________________________

Michael

(in reply to Chris21wen)
Post #: 14
RE: CTD during Air Unit upgrade phase - 1/10/2022 3:48:22 PM   
Kull


Posts: 2625
Joined: 7/3/2007
From: El Paso, TX
Status: offline

quote:

ORIGINAL: michaelm75au

Yes, it is because of upgrading to 'blank' aircraft types.
I thought I had prevented that ages ago but there was must a hole in the logic somewhere. I'll make it ignore 'blank' upgrades so it won't crash out of the game.

Example code says air type 684 upgrades to type 689.





_____________________________


(in reply to michaelm75au)
Post #: 15
RE: CTD during Air Unit upgrade phase - 1/11/2022 7:16:36 AM   
Chris21wen

 

Posts: 6249
Joined: 1/17/2002
From: Cottesmore, Rutland
Status: offline

quote:

ORIGINAL: michaelm75au

Yes. For the 'final' curtain as they say.


Excellent!

(in reply to michaelm75au)
Post #: 16
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> War in the Pacific: Admiral's Edition >> Tech Support >> CTD during Air Unit upgrade phase 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

1.344