Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: Ryan on December 02, 2007, 07:36:51 pm

Title: New error....
Post by: Ryan on December 02, 2007, 07:36:51 pm
Alright. I saved the mission... and i know I'm earning a reputation of being  a whiny little noob. But i have another error message that i Can't understand.

Error: Couldn't open mission 'Lost in Space2.fs2'

File:C:\projects\freespace2\code\Mission\MissionParse.cpp
Line: 3761

Call stack:
------------------------------------------------------------------
    FS2.exe 005e4889()
    kernel32.dll 7c816fd7()
------------------------------------------------------------------

Thats after saving my mission from the .bak file

Is this mission at all recoverable? Or will i have to start over?
Title: Re: New error....
Post by: Goober5000 on December 02, 2007, 09:34:57 pm
You can very likely recover it, but you'll have to do some editing in Notepad.  FRED has a few bugs when saving missions.

What did you do right before you saved it?
Title: Re: New error....
Post by: Ryan on December 02, 2007, 09:37:11 pm
You can very likely recover it, but you'll have to do some editing in Notepad.  FRED has a few bugs when saving missions.

What did you do right before you saved it?

I think i was doing some spell cheecking and icon making in the briefing editor.
Title: Re: New error....
Post by: FUBAR-BDHR on December 03, 2007, 12:08:40 am
Look and see if there is an earlier backup.  It keeps 9 of them.  Try that one.
Title: Re: New error....
Post by: karajorma on December 03, 2007, 02:05:35 am
I'd like to take a look at the corrupt version if you don't mind. First I'm pretty sure I can figure out what's wrong with it and second I'd like to fix FRED so it doesn't do it again.

If you can post both the corrupt and last working versions it probably won't take long either.
Title: Re: New error....
Post by: Ryan on December 04, 2007, 07:44:23 pm
Of course. Where can i send it to you? found out how

Thanks again in advance

[attachment deleted by admin]
Title: Re: New error....
Post by: karajorma on December 05, 2007, 01:04:45 am
Fixored.

It will still complain that the secondary goal is incorrect because you've shoehorned a when SEXP into the Mission Objective. You don't need to add one. It's implied. If you notice, your primary goals don't have one.

BTW you have a very bad habit of not naming all your events. You really ought to lose that as quickly as possible. It makes a mission much harder to read, especially if you start using is-event-true SEXPs. Same goes for not naming goals (which I suspect was the cause of this particular problem).

[attachment deleted by admin]
Title: Re: New error....
Post by: Ryan on December 05, 2007, 02:45:29 pm
Thanks! Ill get it as soon as i can. I'm usually not aloud no the computer monday-thursday because of school(I log on via school computer)

BTW, out of curiousity, who else DL'ed that mission? i ser 1 person already tried the fixed version.

Anyway, ill download the Fixed version friday(Sooner if dad lets me on the home computer)
Title: Re: New error....
Post by: karajorma on December 05, 2007, 03:21:18 pm
More strangely why did 4 people grab the corrupt version? :lol:
Title: Re: New error....
Post by: Ryan on December 06, 2007, 07:08:17 pm
By the way, what was it that caused the error? I'd like to know so i can avoid doing it again.

EDIT: I peeked into the mission objective editor and found why. Thanks again!