Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: Stormkeeper on June 25, 2008, 12:26:29 am

Title: Halp!
Post by: Stormkeeper on June 25, 2008, 12:26:29 am
Okay, so I tweaked a cruiser file, adding the "surface shields" flag, and changing its short name to TXCruiser. When I tried to start FRED after, I got this error:

Quote
Error: ships.tbl(line 468:
Error: Required token = [#End], [$Subsystem:] or [$Name], found ["in tech database"].

File:J:\src\cvs\fs2_open_3_6_9.final\code\Parse\PARSELO.CPP
Line: 659
[This filename points to the location of a file on the computer that built this executable]

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

If need be I can uploaded the modified ships.tbl file too.

Before you say it, the table is in the C:/Freespace 2/data/tables directory, C: drive being where my entire FS2 directory is located.
Title: Re: Halp!
Post by: haloboy100 on June 25, 2008, 12:30:26 am
The cruiser needs a shield subsystem?
Title: Re: Halp!
Post by: Stormkeeper on June 25, 2008, 12:54:07 am
... Goddamnit.

=edit=
Nope, still get the same error.
Title: Re: Halp!
Post by: Spicious on June 25, 2008, 02:02:10 am
It looks like you broke your flags entry. Make sure the old flags are still in the right place and not on a new line.
Title: Re: Halp!
Post by: Stormkeeper on June 25, 2008, 02:08:24 am
If the flags are like so:

( "cruiser" "surface shields" "in tech database" )

Must i add a space after the first bracket and before the last one, or does it not matter.
Title: Re: Halp!
Post by: Spicious on June 25, 2008, 02:29:56 am
The spaces shouldn't matter.

What have you got on/around line 468?
Title: Re: Halp!
Post by: Stormkeeper on June 25, 2008, 03:54:51 am
I suspect its the table entry for the modified cruiser. What I did was create a copy of the Aeolus table, renamed it, changed its stats slightly, added the surface shields flags...

I don't know how to activate line numbers for notepad and open office.

=edit=

Oh. I found it. I used flash develop to open the file, and it appears while I was marking ships to appear in the tech database, I accidentally added an extra line.
Title: Re: Halp!
Post by: Spicious on June 25, 2008, 03:57:12 am
Notepad has a goto...
Alternatively, get a decent text editor.
Title: Re: Halp!
Post by: Stormkeeper on June 25, 2008, 04:00:31 am
Yea, I just bought Office from my school. Thanks for the help Spicious.
Title: Re: Halp!
Post by: Spicious on June 25, 2008, 04:09:01 am
Word is not a text editor.
Title: Re: Halp!
Post by: Stormkeeper on June 25, 2008, 04:18:53 am
it doesn't count? then what would you recommend?
Title: Re: Halp!
Post by: Spicious on June 25, 2008, 04:26:53 am
I usually use vim these days, but if you want something easier to use, context was pretty decent and people tend to say good things about notepad++.