Source Code Project Mantis - FSSCP
View Issue Details
0002779FSSCPgameplaypublic2013-01-11 23:422013-01-12 16:58
Assigned ToFUBAR-BDHR 
PlatformPCOSWindows 7OS VersionHome (64 bit)
Product Version3.6.14 
Target VersionFixed in Version 
Summary0002779: ~+U Crashes the game
DescriptionAfter enabling cheats, pressing ~+U crashes the game. This is a minor issue, I guess, but the 'U' key is right next to the 'I' key, and trying to make myself invincible will occasionally crash the game because I pressed the wrong key.

PS: What is ~+U even supposed to do?
Steps To ReproduceEnter a mission
Enable cheats
Press ~+U

Watch the game crash.
Additional InformationDebug log attached
TagsNo tags attached.
Attached Fileslog fs2_open.log (71,726) 2013-01-11 23:42
log fs2_open v3.6.16rc1.log (43,838) 2013-01-12 13:31
patch asteroid_cheat.patch (685) 2013-01-12 16:23

2013-01-12 02:53   
I can't reproduce this. Can you try with 3.6.16rc1 and see if it still exists?
2013-01-12 13:31   
Reproduced the bug using the debug build for 3.6.16rc1. New log is uploaded.

2013-01-12 16:25   
Seems I was hitting shift+~+U. Shows how much I use cheat codes. Anyway this is supposed to fire an asteroid in an asteroid field. As there is no asteroid filed in the mission it can't create one and caused the crash. Attached patch.
2013-01-12 16:57   
Fix committed to trunk@9498.
2013-01-12 16:58   
Good catch. This has been crashing ever since retail.

Issue History
2013-01-11 23:42IngloniasNew Issue
2013-01-11 23:42IngloniasFile Added: fs2_open.log
2013-01-12 02:53FUBAR-BDHRNote Added: 0014633
2013-01-12 13:31IngloniasFile Added: fs2_open v3.6.16rc1.log
2013-01-12 13:31IngloniasNote Added: 0014634
2013-01-12 13:31IngloniasNote Edited: 0014634bug_revision_view_page.php?bugnote_id=14634#r372
2013-01-12 16:23FUBAR-BDHRAssigned To => FUBAR-BDHR
2013-01-12 16:23FUBAR-BDHRStatusnew => assigned
2013-01-12 16:23FUBAR-BDHRFile Added: asteroid_cheat.patch
2013-01-12 16:25FUBAR-BDHRNote Added: 0014635
2013-01-12 16:25FUBAR-BDHRStatusassigned => code review
2013-01-12 16:57Goober5000Changeset attached => fs2open trunk r9498
2013-01-12 16:57Goober5000Note Added: 0014637
2013-01-12 16:57Goober5000Statuscode review => resolved
2013-01-12 16:57Goober5000Resolutionopen => fixed
2013-01-12 16:58Goober5000Note Added: 0014638