Looks reproducible:
07/29/2015 21:30:19 Start logging session
07/29/2015 21:30:19 Transcendence 1.6.1
07/29/2015 21:30:19 Graphics quality maximum: 62 ms; 4 cores.
07/29/2015 21:30:20 backColor not supported: Resources\Worlds1.jpg.
07/29/2015 21:30:20 Loaded library: Collection\LRL15.tdb
07/29/2015 21:30:20 Loaded extension: Collection\OPS_ExtOsaka.tdb
07/29/2015 21:30:20 Loaded library: Collection\OPS_LibResOsaka.tdb
07/29/2015 21:30:20 Loaded extension: Extensions\800NewWeapons\800NewWeapons - (launcher) array.xml
07/29/2015 21:30:20 Loaded extension: Extensions\800NewWeapons\800NewWeapons - (launcher) dual.xml
07/29/2015 21:30:20 Loaded extension: Extensions\800NewWeapons\800NewWeapons - (launcher) omni array multitarget.xml
07/29/2015 21:30:20 Loaded extension: Extensions\800NewWeapons\800NewWeapons - (launcher) omni array.xml
07/29/2015 21:30:20 Loaded extension: Extensions\800NewWeapons\800NewWeapons - (launcher) omni dual.xml
07/29/2015 21:30:20 Loaded extension: Extensions\800NewWeapons\800NewWeapons - (launcher) omni.xml
07/29/2015 21:30:20 Loaded extension: Extensions\800NewWeapons\800NewWeapons - (launcher) standard weapons as launchers.xml
07/29/2015 21:30:20 Loaded extension: Extensions\800NewWeapons\800NewWeapons - array.xml
07/29/2015 21:30:20 Loaded extension: Extensions\800NewWeapons\800NewWeapons - dual.xml
07/29/2015 21:30:20 Loaded extension: Extensions\800NewWeapons\800NewWeapons - new and unique.xml
07/29/2015 21:30:20 Loaded extension: Extensions\800NewWeapons\800NewWeapons - omni array multitarget.xml
07/29/2015 21:30:20 Loaded extension: Extensions\800NewWeapons\800NewWeapons - omni array.xml
07/29/2015 21:30:20 Loaded extension: Extensions\800NewWeapons\800NewWeapons - omni dual.xml
07/29/2015 21:30:20 Loaded extension: Extensions\800NewWeapons\800NewWeapons - omni.xml
07/29/2015 21:30:21 Loading user collection.
07/29/2015 21:30:22 Loading news.
07/29/2015 21:30:22 All resources downloaded.
07/29/2015 21:30:23 Loaded game file version: 1059000
07/29/2015 21:30:27 Crash in CShip::Behavior
07/29/2015 21:30:27 Unable to continue due to program error.
program state: OnAnimate
program state: updating object behavior
obj class: CShip
obj name: Ferian miner
obj pointer: 10f24158
m_pDocked: none
m_pExitGate: none
CFerianShipAI
Order: 17
m_State: 4
m_pBase: 10ee7a90 Severian's Star Stargate (CStation)
m_pTarget: none
game state: in game
Please contact [email protected] with a copy of Debug.log and your save file. We are sorry for the inconvenience.
Debugging
Loading the game shows that m_pTarget is NULL for a ferian, even though its state is stateAttackingThreat. We crash trying to access a NULL pointers.
Looking at the code there were a few things that could cause this:
- If we sent a Communication, with msgAttack (or msgAttackDeter) and pParam1 were NULL, then we could get into this state. I added some code to prevent this. However, I checked all calls and I couldn't see a way for this to happen. It's possible for an objCommunicate call to do this, but there are no such calls to a ferian.
- Another possibility is that at save time, we NULL'ed out the pointer because it was an object in a different system. I haven't found a way for that to happen (although it could have happened in a previous version). I added safety code in the ferian AI to handle the case of a NULL pointer. This also fixes the old save file.
zip
Save.zip
george moromisato 31 Jul 2015:
Note: Contact original reporter when fixed, if we can get the game to load again. [Done]
george moromisato 23 Aug 2015:
Fixed in 1.6.2 by adding safety code.
Resolve
Archive
Reopen
Create
Edit
Save
Attach File
Cancel Edit