Bridge Commander Central

BC Forums => BC Technical Support => Topic started by: Billz on February 19, 2009, 07:45:32 AM

Title: Certain Planets Won't Load
Post by: Billz on February 19, 2009, 07:45:32 AM
In my seperate stargate ship pack install, half the planets in this pack I can't get to or start in.
http://bridgecommander.filefront.com/file/Sol_Multisystem_Warp_to_9_Planets_w_AI_ships_and_NanoFx2;24107

Yet, they all work when traveling or starting in them in my other BC install. Any ideas?
Title: Re: Certain Planets Won't Load
Post by: MLeo on February 19, 2009, 12:30:00 PM
What does the console say?

I fear that the method of adding the systems it the wrong, dirty and error prone way.

You mostlikely are missing a requirement.
Title: Re: Certain Planets Won't Load
Post by: ACES_HIGH on March 03, 2009, 12:20:54 AM
are all of the requrirements installed?
Title: Re: Certain Planets Won't Load
Post by: Billz on March 04, 2009, 05:12:00 PM
are all of the requrirements installed?

Yep.
Title: Re: Certain Planets Won't Load
Post by: MLeo on March 04, 2009, 06:21:20 PM
So what does the console say?
Title: Re: Certain Planets Won't Load
Post by: Billz on March 04, 2009, 06:39:39 PM
This. I have checked all the files related to the Sol Multisystem mod and they are all there.
Title: Re: Certain Planets Won't Load
Post by: MLeo on March 05, 2009, 02:27:30 PM
Did you install a different SpeciesToShip? Or rather, a Multiplayer pack? One which removed stock ships?

For now, please put the below file in scripts/Custom/Autoload
Title: Re: Certain Planets Won't Load
Post by: Billz on March 07, 2009, 09:57:38 AM
Thanks. I'm curious. What was causing the planets to not load in the first place?
Title: Re: Certain Planets Won't Load
Post by: MLeo on March 07, 2009, 10:06:13 AM
The errror I saw in the log was about a missing constant in SpeciesToShip, my file added that constant, so that particular error wouldn't occur.

What caused the missing constant I don't know, did you install any MP mods?
Title: Re: Certain Planets Won't Load
Post by: Billz on March 07, 2009, 10:11:36 AM
I installed the non-KM version of the MP patch for the Stargate Ship Pack v3 but thats the only multiplayer based thing I installed in the stargate ships install.
Title: Re: Certain Planets Won't Load
Post by: MLeo on March 07, 2009, 10:17:11 AM
Could you give me a link to it?
Title: Re: Certain Planets Won't Load
Post by: Billz on March 07, 2009, 05:08:32 PM
Could you give me a link to it?

Here you go.
http://bridgecommander.filefront.com/file/SG_Pack_30_Multiplayer_Patch;89367
Title: Re: Certain Planets Won't Load
Post by: MLeo on March 07, 2009, 06:53:21 PM
I think you installed the not-KM version?

The TRANSPORT constant is not included in that.
I think you will be fine in MP as long nobody uses said Transport.

I've notified Dkealt about this thread, hopefully he, or someone else from that mod can give you a proper fix.
Title: Re: Certain Planets Won't Load
Post by: Billz on March 07, 2009, 07:29:41 PM
I think you installed the not-KM version?

I had mentioned that already in this thread.

It was intentional.

I wanted to host a all stargate server, non-KM so that others can join me if they wish.

Why would the TRANSPORT mod stop planets from loading anyway?  :?
Title: Re: Certain Planets Won't Load
Post by: MLeo on March 08, 2009, 10:47:19 AM
Sorry, must have missed it. It was nearly 1AM when I wrote that.


To answer your question, when Python (and nearly all languages) encounter an "error", such as a constant missing, it will stop working. So any code that would have run after the error isn't run anymore. As a point of interest, there are languages where it's possible to "go on", but that usually results in totally undeterministic and therefore unpredictable behaviour. Which isn't what you want from a computer.

So what happend is that during the loading of the planets the Transport was loaded, which failed, which stopped the remainder of planet loading.
Title: Re: Certain Planets Won't Load
Post by: PJCham on March 08, 2009, 01:15:29 PM
...when Python (and nearly all languages) encounter an "error", such as a constant missing, it will stop working. So any code that would have run after the error isn't run anymore.

I consider that a good thing usually. When I was creating new star systems, if I got a crash, I'd go back and pull all the .pyc files and run the game again. After the expected crash, I'd go back to see where Python had stopped creating new .pyc files. I'd then analyze the last .pyc created and the next file in line.

Worked great.
Title: Re: Certain Planets Won't Load
Post by: MLeo on March 08, 2009, 01:42:09 PM
I suppose there are slightly easier ways to debug such a thing, such as a log. But that's for another place another time.