Source Code Project Mantis - FSSCP
View Issue Details
0001513FSSCPuser interfacepublic2007-10-25 20:252007-10-28 17:12
Assigned Totaylor 
PrioritynormalSeverityminorReproducibilityhave not tried
PlatformOSOS Version
Product Version3.6.9 
Target VersionFixed in Version3.6.10 
Summary0001513: Attempting to create multi pilot on fresh install = crash
DescriptionJust loaded FS2 on a new computer. Ran Turey's installer and installed OpenAL. Launched the program with default FS2 config. Created a multi pilot and tried to select it. Game immediately crashed. Restarted game and could not even click on the multi tab to select the pilot. Created a single player pilot, went into the menu, and exited. Went back in and was able to choose the multi pilot and start the game.

Seems like the game did not like me creating a multi pilot without having a single player one created first. Hard to try to reproduce this one without uninstalling an re-installing. I do have another computer being built that I will try to duplicate this on but that might be for a couple of weeks.
Additional Information3.6.9 final. Not much else to go on.
TagsNo tags attached.
has duplicate 0001536resolved taylor Game crash on pilot selection screen. 
Attached Filestxt 10-25-07_error.txt (11,551) 2007-10-25 20:25
rar core2quad-10-25-07.rar (7,277) 2007-10-25 21:18
rar Core2Quad-10-25-07b.rar (7,454) 2007-10-25 21:26

2007-10-25 21:20   
I was able to reproduce this by deleting the single player pilot, exiting the game and going back in. If I just pick the multi pilot it works. If I go to the single tab then back to the multi tab without creating a single player pilot it crashes.
2007-10-25 21:28   
Just tested the 10-22 build and received the same error.
2007-10-25 23:41   
The not-being-able-to-create thing is a known issue, and not really a bug. The game simply does a check to see if the last pilot used was a single or multi player, then jumps to that part of the menu. If no pilot exists (usually happens when you remove all pilots) then it will force you to create a pilot before you can switch between single/multi again. It can be rather annoying, but we aren't like to change how that works (anytime soon at least).

It's certainly not supposed to crash either way though, so I'll take a look at that.
2007-10-26 02:05   
Actually it will let you switch between single/multi if no pilot exists just by hitting ESC then clicking on the single/multi tab.
2007-10-26 03:47   
Hmmm, didn't do that for me last time I tried it.

But, the bug is fixed either way. I was a simple case of a pilot-file-fix gone wrong. In order to prevent pilot file corruption, it was necessary to allow you to exit the pilotslect menu without the game trying to save the selected pilot. And you would do this by pressing ESC. Unfortunately, this was intended solely for the purposes of exiting the game, so when you do it to escape from the text input it set this variable which said that the game was going to exit and to not save the current pilot. This also made it avoid setting up various player pointers and that's where the crash was coming from.

There will be a new build at some point this weekend with this. And I'll mark this bug as resolved once I have a chance to commit the fix to CVS.
2007-10-28 17:12   

Issue History
2007-10-25 20:25FUBAR-BDHRNew Issue
2007-10-25 20:25FUBAR-BDHRFile Added: 10-25-07_error.txt
2007-10-25 21:18FUBAR-BDHRFile Added: core2quad-10-25-07.rar
2007-10-25 21:20FUBAR-BDHRNote Added: 0008591
2007-10-25 21:26FUBAR-BDHRFile Added: Core2Quad-10-25-07b.rar
2007-10-25 21:28FUBAR-BDHRNote Added: 0008592
2007-10-25 23:41taylorNote Added: 0008593
2007-10-25 23:41taylorStatusnew => assigned
2007-10-25 23:41taylorAssigned To => taylor
2007-10-26 02:05FUBAR-BDHRNote Added: 0008594
2007-10-26 03:47taylorNote Added: 0008595
2007-10-28 17:12taylorStatusassigned => resolved
2007-10-28 17:12taylorFixed in Version => 3.6.10
2007-10-28 17:12taylorResolutionopen => fixed
2007-10-28 17:12taylorNote Added: 0008610
2007-12-04 05:54taylorRelationship addedhas duplicate 0001536