View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0001656 | FSSCP | FRED | public | 2008-04-06 05:19 | 2008-05-15 18:43 | ||||
Reporter | FUBAR-BDHR | ||||||||
Assigned To | karajorma | ||||||||
Priority | normal | Severity | crash | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 3.6.9 | ||||||||
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 Event was: every-time-argument -->rand-multiple-of ---->1 ---->2 ...... ---->7 -->= ---->wing(0) ---->0 -->modify-variable ---->wing(0) ----> <argument> 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. | ||||||||
Attached Files |
|
![]() |
|
karajorma (administrator) 2008-05-15 16:18 |
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. |
karajorma (administrator) 2008-05-15 18:43 |
Changed my mind. You can still use the argument with the variable and now it shouldn't crash. |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
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 |