Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: origin on June 05, 2009, 09:06:05 pm

Title: Can't save Missions
Post by: origin on June 05, 2009, 09:06:05 pm
This is kinda weird.  I can play mission I made and I can open the mission in fred but if I try to save the mission it loads garbage into some of the lines and corrupts the file so it won't open.  I will get a few errors that are like the following:

Error: E:\freespace\data\missions\bob.fs2(line 208:
Error: Required token = [$Arrival Location:] or [$Status Description:], found [Pilot Hyperspace ( false )  Hype] .

File: PARSELO.CPP
Line: 670


Call stack:
------------------------------------------------------------------
------------------------------------------------------------------



Error: E:\freespace\data\missions\bob.fs2(line 209:
Error: Required token = [$Arrival Location:] or [$Status Description:], found [+Respawn priority: 0 0      ] .

File: PARSELO.CPP
Line: 670

Call stack:
------------------------------------------------------------------
------------------------------------------------------------------

the last error says:

Error: Failed attempting to reload mission after saving.  Report this bug now!
File: FREDDoc.cpp
Line: 587


Call stack:
------------------------------------------------------------------
------------------------------------------------------------------

I looked at the fs2 files and can find the corrupted data but I don't know how to stop it from getting in there?!

I am using 3.6.10 RC3

Thanks
Title: Re: Can't save Missions
Post by: karajorma on June 06, 2009, 02:31:37 am
Open the mission in notepad/wordpad and look for any lines that are like this

Code: [Select]
;;FSO 3.6.x;; Something
remove the semi colons and everything between them so that you end up with just this

Code: [Select]
Something
Save the mission (under a different name) and then try to load it. The description of your problem doesn't sound exactly like the one I'd expect for this problem but it's a good starting point and won't do any harm even if that's not your problem. 
Title: Re: Can't save Missions
Post by: origin on June 06, 2009, 06:02:52 am
Thanks, I'll give it a try.
Title: Re: Can't save Missions
Post by: origin on June 06, 2009, 07:12:59 am
You da man!  Worked like a charm. :yes: :D

Thank you, thank you, thank you!

I was freaking out thinking I had lost all that work.