|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001656||FSSCP||FRED||public||2008-04-06 05:19||2008-05-15 18:43|
|Target Version||Fixed in Version||3.6.10|
|Summary||0001656: Replace data -> <argument> can be used with a numeric variable resulting in crash|
|Description||When using when-argument or every-time-argument modify variable will allow you to pick <argument> to assign to a numeric variable. This results in an immediate crash. I was trying the idea from this thread: http://www.hard-light.net/forums/index.php/topic,53155.0.html |
As soon as argument was selected FRED crashed.
|Additional Information||Originally found in TBP 3.6.9 inferno version of FRED but confirmed in 3.6.10 trunk build dated 04/03.|
|Tags||No tags attached.|
As I thought this one is caused by the fact that <argument>s are strings but you're sticking them into a numeric variable. Obviously this doesn't make the slightest bit of sense and the game asserts or crashes as a result.
The FREDding solution is to use the string-to-int SEXP to convert from one to the other. It's currently hiding in the training SEXP section for some reason I still don't understand but I'll move it soon enough.
The coding solution is to stop FRED allowing you to stick a string <argument> into a numeric variable.
|Changed my mind. You can still use the argument with the variable and now it shouldn't crash.|
|2008-04-06 05:19||FUBAR-BDHR||New Issue|
|2008-04-06 05:19||FUBAR-BDHR||File Added: argument_error.txt|
|2008-04-06 05:19||FUBAR-BDHR||File Added: argument_fs2_open.log|
|2008-05-15 16:18||karajorma||Note Added: 0009335|
|2008-05-15 16:18||karajorma||Status||new => assigned|
|2008-05-15 16:18||karajorma||Assigned To||=> karajorma|
|2008-05-15 18:43||karajorma||Status||assigned => resolved|
|2008-05-15 18:43||karajorma||Fixed in Version||=> 3.6.10|
|2008-05-15 18:43||karajorma||Resolution||open => fixed|
|2008-05-15 18:43||karajorma||Note Added: 0009336|