Hard Light Productions Forums
Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: Flexion on February 26, 2008, 04:26:18 pm
-
I was making an event, but I wrote something wrong. So FRED2 closed. And I can't open my file. This pops out:
Error: C:\FreeSpace2\data\Missions\Shipyard.fs2(line 1028:
Error: Required token = [#Goals] or [$Formula:], found [)] .
File: PARSELO.CPP
Line: 667
Call stack:
------------------------------------------------------------------
fred2_open_3_6_10_debug-20071007T.exe 00510967()
fred2_open_3_6_10_debug-20071007T.exe 004f6af4()
fred2_open_3_6_10_debug-20071007T.exe 004f82ec()
fred2_open_3_6_10_debug-20071007T.exe 004f91c6()
fred2_open_3_6_10_debug-20071007T.exe 004334e4()
fred2_open_3_6_10_debug-20071007T.exe 004329c8()
fred2_open_3_6_10_debug-20071007T.exe 00978e76()
fred2_open_3_6_10_debug-20071007T.exe 0097f115()
fred2_open_3_6_10_debug-20071007T.exe 0098b0f5()
fred2_open_3_6_10_debug-20071007T.exe 00997419()
fred2_open_3_6_10_debug-20071007T.exe 0098ae52()
fred2_open_3_6_10_debug-20071007T.exe 00961564()
fred2_open_3_6_10_debug-20071007T.exe 00961c91()
fred2_open_3_6_10_debug-20071007T.exe 009a2fb7()
fred2_open_3_6_10_debug-20071007T.exe 0095cfbb()
------------------------------------------------------------------
can someone help?
BTW I was doign the Walkthrough. ^^
-
Seems like you have an extra bracket somewhere. This is the sort of problem that's very easy to fix if you have a good text editor. If you have one that does line numbers simply load the mission into it (All FS2 Missions and tables are text files) scroll to line 1028 and remove the extra bracket. Should work fine then.
If you don't post it and I'll fix it for you. In fact post it either way. You shouldn't be able to crash FRED just cause you did something wrong so whatever causes this problem ought to be fixed.
-
kk here you go ...
[attachment deleted by ninja]
-
I removed the bracket for you, but that honestly didn't look like it was the problem.
[attachment deleted by ninja]
-
Yeah. The mission actually looks fine to me. Going to check more in depth.
-
ok ... thnx. It happened when I added the SEXP Modify-Variable.
-
OH great ... now I can't even open FRED2 ...
I keep clicking it but I don't work.
"fred2_open_3_6_10-20071007T.exe"
-
I see the problem now, its obvious once you remove the bracket and allow FRED to actually load the mission even with errors. You haven't picked a variable for this SEXP
modify-variable
-DockCount[0]
-- +
---DockCount[0]
---1
You've TYPED IN the name of a variable and you've used curly brackets instead of square ones. You can easily avoid this kind of error if you press the right mouse button on the SEXPs and use the pop up menu instead of typing.
Anyway I'm attaching a fixed version.
[attachment deleted by ninja]
-
Ok thnx! ... as for FRED? How can I open it again?
-
All hail Karajorma! Variables both amaze and confuse me, i'll have to reiterate some lost knowledge to myself by looking through some old missions :)
-
lol ... :P
-
Most likely a simple computer restart will fix whatever is ailing it.
-
oky dokey ... thnx! :D