Page 1 of 1
Another CTD
Posted: Thu Nov 22, 2007 1:16 pm
by Krasny
another CTD playing the same scenario, both occuring just after the last aircraft of a group gets shot down
rename the file extension to .hp1
RE: Another CTD
Posted: Fri Nov 23, 2007 3:10 am
by TonyE
This is a more challenging one, two of us can reproduce it, two of us can't. I think it is going to come down to what group or unit is selected at the time the planes get shot down.
RE: Another CTD
Posted: Fri Nov 23, 2007 4:17 am
by TonyE
Okay, figured it out, if the Kerry missiles (command guided) don't impact or miss before the Floggers are shot down, the crash occurs because a message to the player assumed the firing unit would still exist when the missiles lost guidance. Think about that logic for a minute and thank goodness there aren't more command guided weapons or lots of crashing would be happening. Here's the snipped from the release notes (yes, fixed and tested just now).
HCE - 2007.026
==============
- Chg:2347 GE Game crashes when starting EC2003 scenarios without starting
with full ordnance. (thanks Terminus)
- Chg:0000 GE After firing command guided missiles, if the firing unit is
destroyed before the missiles impacted, the game would crash
due to a null value for sourceUnit. Fixed by adding a null
check, say "Firing unit destroyed" as the name of firing
unit if the firing unit is already gone. (thanks Krasny)