Hard Light Productions Forums

Hosted Projects - Standalone => Wings of Dawn => WoD Archive => Topic started by: Lykurgos88 on June 20, 2014, 02:49:35 pm

Title: A new nightly build seems to wreck WOD
Post by: Lykurgos88 on June 20, 2014, 02:49:35 pm
So uh, I tried opening Wings of Dawn after a while (I have already completed the main campaign plus Stranded, but decided to replay some missions), but now it seems that there is a new error right on launch. It happens with both mediaVPs_3612 and mediaVPs_2014:

Code: [Select]
ships.tbl(line 993): Error: Required token = [#End], [$Subsystem:], [$Name], or [$Template], found [;; in x/y/z -- z only specified forward.  use special tokens fo].

ERROR: ships.tbl(line 993):
Error: Required token = [#End], [$Subsystem:], [$Name], or [$Template], found [;; in x/y/z -- z only specified forward.  use special tokens fo].

File: parselo.cpp
Line: 333

This happens with r10824. I'm not sure what is the exact build number that begins to throw this error, but it seems that the guilty build can't be more than a month old.

[attachment kidnapped by pirates]
Title: Re: A new nightly build seems to wreck WOD
Post by: Spoon on June 20, 2014, 03:50:33 pm
Took me a bit to find the issue. It was a really silly tabling error that has been there since release.
There were three cases of  +Armor: XSTR("Heavy Reflective", ", -1) the extra ", being the offender. I don't know why that has never produced an error before! ¯\_(ツ)_/¯

Throw this little patch into your WoD folder: https://www.mediafire.com/?5yc6cuzwe0x14v5 this should make it playable with RC3 and likewise nightly builds.
Title: Re: A new nightly build seems to wreck WOD
Post by: FrikgFeek on June 20, 2014, 05:13:47 pm
The problem is that new non-debug builds act like debug builds and cry over every single .tbm mismatch. The patch helps resolve this particular issue, but the new nightlies still cry about the stranded ship table, lines 395 through 450ish, which means you'll have to press OK around 50 times to load the mod.
You should probably just use RC2 until they fix it.
Title: Re: A new nightly build seems to wreck WOD
Post by: Lykurgos88 on June 21, 2014, 07:15:13 am
Like FrikgFeek said, Stranded is still affected, but thanks anyway for the patch  :)
Title: Re: A new nightly build seems to wreck WOD
Post by: The E on June 21, 2014, 09:00:39 am
You should probably just use RC2 until they fix it.

Speaking as an SCP dev, this is not going to happen, because it's not an error from our POV. The engine warning the user about things that are tabled wrong is not a bug.
Title: Re: A new nightly build seems to wreck WOD
Post by: FrikgFeek on June 21, 2014, 09:30:45 am
I meant no offense, but don't we have debug builds for that very reason? I'm not saying it should be outright removed, but at least an option to avoid having to click OK a million times could be helpful. I mean, this makes some older mods virtually unplayable.
Title: Re: A new nightly build seems to wreck WOD
Post by: AdmiralRalwood on June 21, 2014, 09:35:02 am
I meant no offense, but don't we have debug builds for that very reason? I'm not saying it should be outright removed, but at least an option to avoid having to click OK a million times could be helpful. I mean, this makes some older mods virtually unplayable.
The problem is that the original file really should never have worked in any version of FSO. To quote Spoon on this:
I don't know why that has never produced an error before! ¯\_(ツ)_/¯
I don't know what the problems with the Stranded ship table are, but if they're similar issues, then they absolutely should be throwing errors, even in release builds.
Title: Re: A new nightly build seems to wreck WOD
Post by: FrikgFeek on June 21, 2014, 11:18:56 am
OK, so instead of crying about it I found the error. The debug complained about line 395, but that line was fine. Since line 395-450 were all about the Caliburn I used an online text compare program to compare the Caliburn-C in the new patched ship table that spoon gave out in this thread and the one in stranded_V0.99.vp. It was basically the same error, an extra quotation mark was breaking the table.

I've attached a patch file with a (hopefully) fixed stranded ship table. You'll have to forgive me if this doesn't help as I have literally no idea how FS2 tables work.

[attachment kidnapped by pirates]
Title: Re: A new nightly build seems to wreck WOD
Post by: Spoon on June 21, 2014, 12:45:28 pm
Mind you, back in the day none of the debug builds ever threw up an error about this either. It's just that recent builds have become more picky about errors  :p

And yes, Stranded has the same error in Stranded-shp.tbm in the caliburn entry. I'll go fix it soonish. (But I am reminded that I never did release stranded as 1.0... still 0.99. I am shamed)
Title: Re: A new nightly build seems to wreck WOD
Post by: FrikgFeek on June 21, 2014, 12:55:43 pm
The urge to snark about "fixes" ending up in a full remake is too great.
But yeah, the new debug and even non-debug builds are a lot less lenient. They complain about everything, not just stuff that will break the game and/or set your computer on fire. It's not really a bad thing, but it does expose some mismatches in older mods.
Title: Re: A new nightly build seems to wreck WOD
Post by: headdie on June 21, 2014, 07:48:25 pm
Rule of thumb around here

If a warning or error starts to appear due to tightened error checking then its the mod's fault. 

eotd this was a clear case of this should never have worked but it still slipped past the codes table parsers, the fact that is is now picked up actually benefits everyone because the error is now fixed and future mods wont have this issue which might break something in game.

If this happened because of a feature rebuild/addition/removal then there is cause to open a dialogue with SCP, so long as it's kept reasonable.