Hard Light Productions Forums

General FreeSpace => FreeSpace Discussion => Topic started by: Cobra on October 27, 2005, 02:16:05 pm

Title: Okay, I'm stumped.
Post by: Cobra on October 27, 2005, 02:16:05 pm
got this while trying to play Omni's Star Trek mod:

Error: weapons.tbl(line 826:
Error: Required token = [#End] or [$Name:], found [$Homing:                        ]
in weapon: Defiant Pulse.

File:\fs2_open\code\parse\parselo.cpp
Line: 570
[This filename points to the location of a file on the computer that built this executable]

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

Error: weapons.tbl(line 826:
Error: Required token = [#End] or [$Name:], found [$LaunchSnd:                     ]
in weapon: Defiant Pulse.

File:\fs2_open\code\parse\parselo.cpp
Line: 570
[This filename points to the location of a file on the computer that built this executable]

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

Error: weapons.tbl(line 827:
Error: Required token = [#End] or [$Name:], found [$ImpactSnd:                     ]
in weapon: Defiant Pulse.

File:\fs2_open\code\parse\parselo.cpp
Line: 570
[This filename points to the location of a file on the computer that built this executable]

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

Error: weapons.tbl(line 828:
Error: Required token = [#End] or [$Name:], found [$Flags:                         ]
in weapon: Defiant Pulse.

File:\fs2_open\code\parse\parselo.cpp
Line: 570
[This filename points to the location of a file on the computer that built this executable]

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

Error: weapons.tbl(line 830:
Error: Required token = [#End] or [$Name:], found [$Icon:                          ]
in weapon: Defiant Pulse.

File:\fs2_open\code\parse\parselo.cpp
Line: 570
[This filename points to the location of a file on the computer that built this executable]

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

Omni think's it's because i'm using 3.6.7 builds, and not an older build.

anyone have any suggestions?
Title: Okay, I'm stumped.
Post by: SuperCoolAl on October 27, 2005, 02:18:35 pm
try 3.6.5
Title: Okay, I'm stumped.
Post by: Wanderer on October 27, 2005, 03:28:12 pm
That has also sounds of table errors in it. Can you compare the troublesome entry to other similar entries. It might have double homing entry or something like that. I could take a look at it if i knew where to get the weapons.tbl you are using...

I think the SCP team made the table parsing much more strict that what it used to be so now this kind of errors pop up.

EDIT: I may have managed to stumble upon the right weapons.tbl on my own (If you have $FOF: before $Homing entry). Try moving the fof entry to the last row of the weapon entry, right after the impact explosion (or whatever) entry...
Title: Okay, I'm stumped.
Post by: Cobra on October 27, 2005, 05:48:01 pm
well, it fixed the FOF errors in the Defiant pulse and Bird-of-Prey Pulse, but now... damn this photon torpedo.

getting some more table bugs, but i think i can fix this.
Title: Okay, I'm stumped.
Post by: Getter Robo G on October 27, 2005, 06:06:54 pm
Thanks for the inadvertant  heads up! I haven't moved the Trek test build files to 3.6.7 yet and still do testing in 3.6.5
Title: Okay, I'm stumped.
Post by: Cobra on October 27, 2005, 06:31:34 pm
ok, i've just fixed all the errors in the weapons AND ships tables (there were entries like ""Photon Torpedo" and such).

but now, 3.6.7 just locks up on startup.
Title: Okay, I'm stumped.
Post by: Galemp on October 27, 2005, 06:45:02 pm
Try the debug build?
Title: Okay, I'm stumped.
Post by: Cobra on October 27, 2005, 06:49:15 pm
aha... beam trouble.

Warning: Type D beam weapon, 'AAA Phasers', has less than one "+Shots" specified!  It must be set to at least 1!!
File:c:\fs2_open\code\weapon\weapons.cpp
Line: 2411
[This filename points to the location of a file on the computer that built this executable]

Call stack:
------------------------------------------------------------------
    fs2_open_d-20051025.exe 0053ebd8()
    fs2_open_d-20051025.exe 0053fa89()
    fs2_open_d-20051025.exe 004051cc()
    fs2_open_d-20051025.exe 0040efc8()
    fs2_open_d-20051025.exe 0040f15c()
    fs2_open_d-20051025.exe 00740177()
    kernel32.dll 7c816d4f()
------------------------------------------------------------------

does anyone know what this should be set to?
Title: Okay, I'm stumped.
Post by: Goober5000 on October 27, 2005, 07:55:23 pm
I'm guessing at least 1?
Title: Okay, I'm stumped.
Post by: Cobra on October 27, 2005, 07:56:26 pm
ah, but i want to keep this as Trekish as possible. that's why i asked. ;)
Title: Okay, I'm stumped.
Post by: Taristin on October 27, 2005, 08:41:35 pm
well, doesn't the trek whatevers fire one shot? No shots would be a weapon that doesn't fire......
Title: Okay, I'm stumped.
Post by: Cobra on October 27, 2005, 09:22:20 pm
i know, i know.

now i'm getting actual bugs (looking for weapons that aren't in a ship entry) and an error saying i'm over the 130 ships limit. :wtf:
Title: Okay, I'm stumped.
Post by: StratComm on October 27, 2005, 09:25:16 pm
Yeah, there's a 130 ships limit.  If you must go over it, try an Inferno build, but you're going to sacrafice the ability to play online in doing so.
Title: Okay, I'm stumped.
Post by: Getter Robo G on October 28, 2005, 07:22:52 am
What you actually enforce that now? (I got something like 280 for Trek mod)... :D
Title: Okay, I'm stumped.
Post by: StratComm on October 28, 2005, 08:49:41 am
Dude, there's ALWAYS been a 130 ships limit.  Multiplayer breaks when it's removed.  And it's almost always been enforced in standard builds AFAIK.
Title: Okay, I'm stumped.
Post by: Cobra on October 28, 2005, 12:34:49 pm
all I ever heard was that the limit for ships was upped. that's it.