View Issue Details

IDProjectCategoryView StatusLast Update
0000195FSSCPFREDpublic2004-08-31 20:54
ReporterBlack Wolf Assigned ToGoober5000  
PrioritynormalSeveritymajorReproducibilityrandom
Status resolvedResolutionopen 
Summary0000195: Variables randomly destroy themselves in FRED2 (Original and SCP)
Descriptionhttp://www.sectorgame.com/forums/viewtopic.php?t=869

Basically, apparently at random, my variables screw up when I save a mission in FRED, producing what's seen in the image. Sometimes variables will work, and as a general rule, it seems that on very simple misisons, it's less likely to screw up, but not immune.
Additional InformationI classified it as major because the abscence of variables can kill a mission, and others (Karajorma, in the linked thread) have had to entirely rebuild missions to fix this bug. Which sucks. It doesn;t affect play directly, but it does screw with mission (and therefore campaign) building.
TagsNo tags attached.

Activities

Goober5000

2004-06-30 00:23

administrator   ~0001025

Bandwidth limit exceeded. :P

Black Wolf

2004-07-01 02:14

reporter   ~0001027

Yeah - I was thinking when I wrote this "Should I link to the topic? Isn't that kind of haphazard? Nah... she'll be right. Anyway, twill be back up within hours (I assume...).

2004-07-02 00:09

 

variables.gif (3,933 bytes)   
variables.gif (3,933 bytes)   

Goober5000

2004-07-02 00:13

administrator   ~0001029

Uploaded the picture. I'm not sure entirely what's wrong, as I've used variables many times before and never had trouble with them. From your picture, it looks like you're making at least one mistake: the orange-colored icon is where you're supposed to specify your variable. It's currently blank - () - it's supposed to show the variable name. The second argument is what you're comparing/assigning the variable. I'm not sure offhand what the third argument is. I'll take a look next time I'm in FRED.

Black Wolf

2004-07-12 06:59

reporter   ~0001051

The third argument isn't anything - it's something FRED puts there when I exit the editor and the bug occurs, one of the more obvious symptoms of the bug.

Goober5000

2004-08-26 02:58

administrator   ~0001182

Found out what the problem is... FRED doesn't like spaces in variable names. Just use a hyphen instead of a space and you won't have this problem.

I'm leaving this open until I code a patch to fix this. I'm not sure when that will be, given the current state of FRED. :-/

Goober5000

2004-08-31 20:54

administrator   ~0001188

Patch applied. Variable names are not allowed to have spaces.

Issue History

Date Modified Username Field Change
2004-06-15 15:17 Black Wolf New Issue
2004-06-30 00:23 Goober5000 Note Added: 0001025
2004-07-01 02:14 Black Wolf Note Added: 0001027
2004-07-02 00:09 Goober5000 File Added: variables.gif
2004-07-02 00:13 Goober5000 Note Added: 0001029
2004-07-12 06:59 Black Wolf Note Added: 0001051
2004-07-15 17:45 Goober5000 Status new => assigned
2004-07-15 17:45 Goober5000 Assigned To => Goober5000
2004-08-26 02:58 Goober5000 Note Added: 0001182
2004-08-31 20:54 Goober5000 Note Added: 0001188
2004-08-31 20:54 Goober5000 Status assigned => resolved