Ship changing after Juan Carlos mission freezes game

Bug reports for the different beta versions of transcendence.
User avatar
alterecco
Fleet Officer
Fleet Officer
Posts: 1658
Joined: Wed Jan 14, 2009 3:08 am
Location: Previously enslaved by the Iocrym

OK Bobby. Thanks for pointing out that your observations rule out objRegisterForEvents. I didn't get the chance to create the test case yet anyways...
Get your own Galactic Omni Device
Get it now. It's free!!
Image
PM
Fleet Admiral
Fleet Admiral
Posts: 2570
Joined: Wed Sep 01, 2010 12:54 am

Attempting to change ships after accepting the Juan Carlos mission still causes the game to freeze in 1.07a.
Download and Play in 1.9 beta 1...
Drake Technologies (Alpha): More hardware for combat in parts 1 and 2!
Star Castle Arcade: Play a classic arcade game adventure, with or without more features (like powerups)!
Playership Drones: Buy or restore exotic ships to command!

Other playable mods from 1.8 and 1.7, waiting to be updated...
Godmode v3 (WIP): Dev/cheat tool compatible with D&O parts 1 or 2.
PM
Fleet Admiral
Fleet Admiral
Posts: 2570
Joined: Wed Sep 01, 2010 12:54 am

Line 964 in CommonwealthFleet.xml:

Code: Select all

(objSetObjRefData gPlayerShip "MissionSource" gSource)
I removed that line and I could change ships without the game freezing.
Download and Play in 1.9 beta 1...
Drake Technologies (Alpha): More hardware for combat in parts 1 and 2!
Star Castle Arcade: Play a classic arcade game adventure, with or without more features (like powerups)!
Playership Drones: Buy or restore exotic ships to command!

Other playable mods from 1.8 and 1.7, waiting to be updated...
Godmode v3 (WIP): Dev/cheat tool compatible with D&O parts 1 or 2.
PM
Fleet Admiral
Fleet Admiral
Posts: 2570
Joined: Wed Sep 01, 2010 12:54 am

Some more things:

The culprit is definitely the (objSetObjRefData gPlayerShip ...) function.

The supply delivery mission also calls objSetObjRefData for the playership, and if I get that mission (or Juan Carlos), I cannot change ships without locking up the game/computer.

I tried (objSetObjRefData gPlayerShip "MissionSource" Nil) before (plyChangeShips ...), but that does not work. In fact, doing so freezes the game when the ship change function gets called.

I would love to see a fix for this. In the meantime, I will need to overwrite and disable everything that calls (objSetObjRefData gPlayerShip ...) for the Playership Drones mod.
Download and Play in 1.9 beta 1...
Drake Technologies (Alpha): More hardware for combat in parts 1 and 2!
Star Castle Arcade: Play a classic arcade game adventure, with or without more features (like powerups)!
Playership Drones: Buy or restore exotic ships to command!

Other playable mods from 1.8 and 1.7, waiting to be updated...
Godmode v3 (WIP): Dev/cheat tool compatible with D&O parts 1 or 2.
PM
Fleet Admiral
Fleet Admiral
Posts: 2570
Joined: Wed Sep 01, 2010 12:54 am

Attempting to change ships after (objSetObjRefData gPlayerShip ...) is invoked still crashes or freezes the game in 1.08. Said function is invoked when the player accepts the Juan Carlos or supply delivery Fleet missions.
Download and Play in 1.9 beta 1...
Drake Technologies (Alpha): More hardware for combat in parts 1 and 2!
Star Castle Arcade: Play a classic arcade game adventure, with or without more features (like powerups)!
Playership Drones: Buy or restore exotic ships to command!

Other playable mods from 1.8 and 1.7, waiting to be updated...
Godmode v3 (WIP): Dev/cheat tool compatible with D&O parts 1 or 2.
george moromisato
Developer
Developer
Posts: 2997
Joined: Thu Jul 24, 2003 9:53 pm
Contact:

FYI: Finally fixed this in 1.08c. The clue about objSetObjRefData helped a lot.
Post Reply