Hard Light Productions Forums

Hosted Projects - FS2 Required => FreeSpace Conversion => Topic started by: ArmedStupidity on December 16, 2006, 05:06:32 pm

Title: Problem with "Playing Judas" and "Enter The Dragon"
Post by: ArmedStupidity on December 16, 2006, 05:06:32 pm
Alright. I really love the SCP and the mod in general, but these missions have some issues. When the port tries to load the briefing, I find the following error:

Error: Invalid ship class name.

In sexpression: ( when
   ( true )
   ( allow-ship "SF Dragon (Terrans)" )
)
(Error appears to be: SF Dragon (Terrans))
File:J:\src\cvs\fs2_open_3_6_9.rc7dot9x\code\Mission\MissionParse.cpp
Line: 5792
[This filename points to the location of a file on the computer that built this executable]

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

Any help?

I grabbed the FS2 SCP installer from Turey.
http://tinyurl.com/owsu9/FSOINSTALL.htm (http://tinyurl.com/owsu9/FSOINSTALL.htm)

Any help is appreciated.
Title: Re: Problem with "Playing Judas" and "Enter The Dragon"
Post by: Snail on December 16, 2006, 05:15:01 pm
Looks like an error in the tables...
Title: Re: Problem with "Playing Judas" and "Enter The Dragon"
Post by: Goober5000 on December 17, 2006, 08:58:39 pm
Try redownloading the mission pack from the FSPort website.
Title: Re: Problem with "Playing Judas" and "Enter The Dragon"
Post by: snake60 on December 18, 2006, 09:58:23 am
hello all,

same problem here, and i've downloaded all the files one week ago
Title: Re: Problem with "Playing Judas" and "Enter The Dragon"
Post by: throwaway4 on December 18, 2006, 11:57:58 am
If you have downloaded the Ross128 standalone mission, this breaks Enter the Dragon and Playing Judas.  There are probably other missions that do this, but this is the one that breaks it for me.  If you remove it from your port directory, those missions should work again.

I'm guessing it's a table issue.  Can we get the Ross128 designer to take a look at this.  I love that mission.
Title: Re: Problem with "Playing Judas" and "Enter The Dragon"
Post by: Goober5000 on December 18, 2006, 09:21:42 pm
Oh, good call.  Yes, that's probably the reason.

On the other hand, the SCP is supposed to bridge the gap for those kinds of bugs.  I'll have to take a look.
Title: Re: Problem with "Playing Judas" and "Enter The Dragon"
Post by: snake60 on December 19, 2006, 10:57:02 am
If you have downloaded the Ross128 standalone mission, this breaks Enter the Dragon and Playing Judas.  There are probably other missions that do this, but this is the one that breaks it for me.  If you remove it from your port directory, those missions should work again.

I'm guessing it's a table issue.  Can we get the Ross128 designer to take a look at this.  I love that mission.

The only think that i've added to the port is the LighSpeedNebulae Pack, so the problem may come from something else
Title: Re: Problem with "Playing Judas" and "Enter The Dragon"
Post by: throwaway4 on December 19, 2006, 11:17:38 am
The only think that i've added to the port is the LighSpeedNebulae Pack, so the problem may come from something else

Well, you're including the mediavps folder in your mod.ini, right?  Then, anything that you dropped in there can be breaking it, too, right?
Title: Re: Problem with "Playing Judas" and "Enter The Dragon"
Post by: snake60 on December 19, 2006, 12:42:37 pm
i think i've tried without the mediavps too (by removing it from the mod.ini), but i'm not sure.

I'll try again this evening, and tell you the result
Title: Re: Problem with "Playing Judas" and "Enter The Dragon"
Post by: throwaway4 on December 19, 2006, 12:46:26 pm
I don't know if that's going to work.  Whenever something like this happens, I take out all of my extra vp's and add them back in group by group.  On the current RC, I got through both the port and FS2 without any problems.
Title: Re: Problem with "Playing Judas" and "Enter The Dragon"
Post by: miskat on December 19, 2006, 02:21:36 pm
I tried playing Enter the Dragon without the mediavps and I still got the error.
Title: Re: Problem with "Playing Judas" and "Enter The Dragon"
Post by: throwaway4 on December 19, 2006, 02:46:52 pm
Hmm.  So, you don't have any other vp's in your port directory, right?
Title: Re: Problem with "Playing Judas" and "Enter The Dragon"
Post by: miskat on December 20, 2006, 12:55:54 am
The vps in my port directory are as follows:

fsport3_0_3.vp
fsport-awakenings.vp
fsport-awakenings-voice.vp
fsport-fs1_training.vp
fsport-glow.vp
fsport-hi_res.vp
fsport-missions.vp
sport-shine.vp
sparky_hi_fs1.vp
stu_fs1.vp
tango_fs1.vp
warble_fs1.vp

As far as I know all that is A-OK usually.  XD  Maybe try moving Awakenings....  =/  Don't have time to test it now, but... it's a thought.
Title: Re: Problem with "Playing Judas" and "Enter The Dragon"
Post by: throwaway4 on December 20, 2006, 02:10:19 am
Hmm.  I have a 3.0 version for Awakenings.  I have everything else you have listed there, too.  Perhaps, that is the issue?
Title: Re: Problem with "Playing Judas" and "Enter The Dragon"
Post by: snake60 on December 20, 2006, 03:49:24 am
didn't have time yesterday. I have the exact same files, so i'll do extensive test this evening by removing awakenings and other vps files one by one
Title: Re: Problem with "Playing Judas" and "Enter The Dragon"
Post by: miskat on December 20, 2006, 05:27:01 am
Alright, I just removed all but the most necessary of the fsport .vp files and tried to run the game.  The files I left were:
fsport_3_0_3.vp
fsport-missions.vp
sparky_hi_fs1.vp
stu_fs1.vp
tango_fs1.vp
warble_fs1.vp

Interestingly, this fixed the error AND caused me to be marked as having completed several missions including the two troublesome ones... all the way up to Last Hope.

So I stuck all but the two Awakenings vp files back in the directory and ran the port... and all seems well.  I was marked as having just completed Shell Game (correct) and moved into Enter the Dragon with no errors.  Look like Awakenings just needs to be in it's own directory with fsport as a secondarymod.

Hope this works for everyone else.
Title: Re: Problem with "Playing Judas" and "Enter The Dragon"
Post by: throwaway4 on December 20, 2006, 08:38:14 am
Get the 3.0 version of Awakenings.  I don't have this issue in my port, and Awakenings is in the same directory.
Title: Re: Problem with "Playing Judas" and "Enter The Dragon"
Post by: miskat on December 20, 2006, 10:32:40 am
I have the 3.0 version, and the 3.0 voicepack.  My guess is that it's corrupted and I need to re-download it.  =/

EDIT: I re-downloaded the 3.0 Awakenings files and tried those in my fsport folder and got the error again.  Do you get the error WITH Awakenings there?  Because the dragon error the OP mentioned goes away when Awakenings is not in that folder (either deleted or working as a secondarymod.)
Title: Re: Problem with "Playing Judas" and "Enter The Dragon"
Post by: throwaway4 on December 20, 2006, 12:34:01 pm
No error with Awakenings in the folder.  I just tried it again with both Judas and Enter.  I'm out of ideas, Buddy.  Sorry!
Title: Re: Problem with "Playing Judas" and "Enter The Dragon"
Post by: Goober5000 on December 20, 2006, 11:31:45 pm
Awakenings is based on the 3.1 version of the tables, which are slightly different than in the 3.0 version.  If this many people are having trouble, though, perhaps I should post an interm release (like 3.0.4) before 3.1 comes out.

On the other hand, the SCP should handle this properly.  Are you sure you're using a 3.6.9 release version?
Title: Re: Problem with "Playing Judas" and "Enter The Dragon"
Post by: snake60 on December 21, 2006, 09:52:08 am
so,

same conclusion for me. It's works well without awakenings in the folder, but as soon as i put it in the FSPORT folder, i've the "dragon" problem. All the files i use have been downloaded one week ago (fsport AND awakenings).

The important thing is that i'm can finish the campaign wOOOOOOttttt  :D
Title: Re: Problem with "Playing Judas" and "Enter The Dragon"
Post by: miskat on December 21, 2006, 02:45:09 pm
I hear you there, snake.  XD  And Awakenings does work if you put it in a seperate folder with a mod.ini file with the lines:

[Multimod]
secondarymod = fsport, mediavps;

Makes everything peachy keen.
Title: Re: Problem with "Playing Judas" and "Enter The Dragon"
Post by: snake60 on December 22, 2006, 06:44:16 am
yep, that's exactly what i've done
Title: Re: Problem with "Playing Judas" and "Enter The Dragon"
Post by: ARSPR on December 22, 2006, 08:22:32 am
I've just taken a look to this. And it is a loading order problem. And, yes, I'm using the latest available build (2nd hoopla from Taylor, ie, RC7.9x 3rd version).

Both, fsport-awakenings.vp and fsport3_0_3.vp have a ship.tbl. But they are different:

+AWAKENINGS:
Code: [Select]
$Name: SF Dragon#Terrans

+FSPORT:
Code: [Select]
$Name: SF Dragon (Terrans)

Despite of what Explorer file order shows, fsport-awakenings.vp has higher loading priority than fsport3_0_3.vp. ("-" is alphabetically before "3"). So Awakenings table takes the control and defines a different ship from the one used in port missions.

Solutions:

As a side note: I haven't checked all settings in both ship.tbl's, but even if there weren't different named ships, mixing both mods can change designed game balance. As an example: imagine that Awakenigs had a faster Herc because of whatever reason you can think of. Then Herc in port would be also faster, so missions with it would be somehow easier. So again, never mix mods, unless you are absolutely sure you're not going to have any undesired cross-effect.

I hear you there, snake.  XD  And Awakenings does work if you put it in a seperate folder with a mod.ini file with the lines:

[Multimod]
secondarymod = fsport, mediavps;

Makes everything peachy keen.

Beware of the space you've put in "SecondaryMod = FSPort,mediavps;". IIRC you have to type without spaces in the list. With your typing FSOpen will be looking for a folder called " mediavps" instead of "mediavps".

And remember that "fsport" or "mediavps" should be changed to match the EXACT name you have actually used to place your mods or additions.
Title: Re: Problem with "Playing Judas" and "Enter The Dragon"
Post by: ARSPR on December 26, 2006, 02:53:17 am
Goober, reopen Mantis 1178 (http://scp.indiegames.us/mantis/view.php?id=1178), because I can assure you that with latest Taylor's Cousinarnold build this bug is still present. (I can't reopen it, I just can monitor it).

If I add fsport-awakenings.vp to FSPort 3.0.3 folder so ship.tbl is changed, when I try to play "Enter the Dragon" I get:

Code: [Select]
Error: Invalid ship class name.

In sexpression: ( when
   ( true )
   ( allow-ship "SF Dragon (Terrans)" )
)
(Error appears to be: SF Dragon (Terrans))
File:J:\src\cvs\fs2_open_3_6_9.final\code\Mission\MissionParse.cpp
Line: 5792
[This filename points to the location of a file on the computer that built this executable]

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


And of course, I start playing with an Ulysses.
Title: Re: Problem with "Playing Judas" and "Enter The Dragon"
Post by: miskat on December 26, 2006, 05:56:41 am
Get FSPort 3.0.4.  That should fix it for you.

If not, put Awakenings in another folder.  =P  But this bug should not be build-dependent.  It's a problem between Awakenings and FSPort, not FSPort and SCP.
Title: Re: Problem with "Playing Judas" and "Enter The Dragon"
Post by: ARSPR on December 26, 2006, 07:24:52 am
Get FSPort 3.0.4.  That should fix it for you.

If not, put Awakenings in another folder.  =P  But this bug should not be build-dependent.  It's a problem between Awakenings and FSPort, not FSPort and SCP.

Yes I know that. But nevertheless FSOpen is supposed to swap between those ship names and it is not doing it. Check Goober's Mantis report (http://scp.indiegames.us/mantis/view.php?id=1178).
Title: Re: Problem with "Playing Judas" and "Enter The Dragon"
Post by: Goober5000 on December 26, 2006, 12:20:35 pm
There's a feature that's supposed to handle the slight differences in names, but it wasn't working for all cases.  I just fixed it.
Title: Re: Problem with "Playing Judas" and "Enter The Dragon"
Post by: miskat on December 26, 2006, 01:49:55 pm
Gotcha.  Sorry about that, wasn't aware of that.  ^^;;;

I'm gonna go eat my foot now.  XD
Title: Re: Problem with "Playing Judas" and "Enter The Dragon"
Post by: ARSPR on January 03, 2007, 02:50:57 pm
Sorry Goober, but it seems that Mantis 1178 (http://scp.indiegames.us/mantis/view.php?id=1178) is still alive in official 3.6.9.

Now, it doesn't show up any error window but the dragons are changed by ulysses nevertheless. Look at the screenshot from "Enter the Dragon".

(Intentionally using fsport3.0.3 + fsport-awakenings.vp in the same folder)


OTOH, why are you coding this feature? I think "intelligent" software behaviour, like this one, can be quite dangerous. Imagine that someone wants a 'SF Dragon#Terrans' and a 'SF Dragon (Terrans)' because of whatever reason. Or imagine that someone is tweaking 'SF Dragon#Terrans' features and he doesn't notice that there is a 'SF Dragon (Terrans)' in any other -shp.tbm.

[attachment deleted by admin]
Title: Re: Problem with "Playing Judas" and "Enter The Dragon"
Post by: Goober5000 on January 03, 2007, 04:22:35 pm
Sorry Goober, but it seems that Mantis 1178 (http://scp.indiegames.us/mantis/view.php?id=1178) is still alive in official 3.6.9.

Now, it doesn't show up any error window but the dragons are changed by ulysses nevertheless. Look at the screenshot from "Enter the Dragon".
Uhh...

You don't fly a Dragon fighter in "Enter the Dragon"; you fly a Ulysses.  You fly a Dragon in "Playing Judas".

Quote
OTOH, why are you coding this feature? I think "intelligent" software behaviour, like this one, can be quite dangerous. Imagine that someone wants a 'SF Dragon#Terrans' and a 'SF Dragon (Terrans)' because of whatever reason. Or imagine that someone is tweaking 'SF Dragon#Terrans' features and he doesn't notice that there is a 'SF Dragon (Terrans)' in any other -shp.tbm.
This is for adaptability and user-friendliness.  It's so people using different versions of the port don't get table errors.  The situation you describe is very rare, and is far outweighed by the gain in flexibility provided by the feature.
Title: Re: Problem with "Playing Judas" and "Enter The Dragon"
Post by: ARSPR on January 04, 2007, 12:39:17 pm

Uhh...

You don't fly a Dragon fighter in "Enter the Dragon"; you fly a Ulysses.  You fly a Dragon in "Playing Judas".


Ooops, sorry Goober. Your fix DOES work fine.