Scenario Why does my new Multistage2015 vessel crash LUNAR scenarios?

CurlSnout

Well-known member
Joined
Feb 22, 2011
Messages
49
Reaction score
106
Points
48
Location
Pacific NW
Hello Citizens,

I have created a vessel using Multistage2015 and have been flying it around in Orbiter 2016. Scenarios involving launch from and/or orbit around Earth and Mars work fine. Any (and ALL) scenarios involving the (Earth's) MOON will not work - Orbiter acts as if it is loading the scenario but shuts itself down. Not the kind of 'Critical Error' that refers to the Orbiter.log; the sim just shuts itself down without loading the scenario.

For the scenarios I've been sure to use 'CONFIGURATION 0' for the landed state and 'CONFIGURATION 1' for the orbiting state.

After such a crash the end of the Orbiter.log file looks like this:

....
000000.000: Load State Terminated
000000.000: Finished initialising status
000000.000: Finished initialising camera
000000.000: Finished setting up render state
000000.000: D3D9: [Scene Initialized]
000000.000: Post Creation Started
000000.000: RESET PEG

This happens with scenarios that I've made up for myself as well as other lunar scenarios that on their own work fine but fail when I insert my vessel or swap out one of the original (working) vessels for mine.

I've searched the forum, trying to find references to this kind of behavior or clues that might help resolve this, but have come up empty handed.

Is this a known thing? Sound familiar to anyone? Suggestions for a way to resolve it?

Thanks for listening, and good evening,

cs

MORE DATA:

I discovered that my vessel can be included in a lunar scenario as long as it is landed on or orbiting EARTH (or Mars).

And: If I try adding a different Multistage2015 vessel (i.e., one that was created by someone else, and which has absolutely no connection with mine) then I observe the same behavior - as soon as that vessel is either landed on or orbiting the Moon the scenario fails to load. It's like Multistage2015 and the Moon don't play well together. Weird.
 

CurlSnout

Well-known member
Joined
Feb 22, 2011
Messages
49
Reaction score
106
Points
48
Location
Pacific NW
Hello jacquesmomo!

Thank you for your speedy reply. Here I will post two scenarios. These represent simple test scenarios - in each there is just one vessel sitting on the moon. The first one, with the Dynetics lunar lander, works fine. The second one, in which my S-IVB craft replaces the Dynetics lander, fails to load.


01 - working:

BEGIN_DESC
Dynetics ALPACA on the moon.
END_DESC

BEGIN_ENVIRONMENT
System Sol
Date MJD 60305.6143359083
END_ENVIRONMENT

BEGIN_FOCUS
Ship ALPACA
END_FOCUS

BEGIN_CAMERA
TARGET ALPACA
MODE Extern
POS 4.213693 149.035706 -7.661473
TRACKMODE AbsoluteDirection
FOV 40.00
END_CAMERA

BEGIN_HUD
TYPE Surface
END_HUD

BEGIN_MFD Left
TYPE Orbit
PROJ Ship
FRAME Ecliptic
ALT
REF Moon
END_MFD

BEGIN_SHIPS
ALPACA:VesselBuilder1\Dyneticstest
STATUS Landed Moon
POS -55.5605200 14.2459400
HEADING 46.56
ALT 2.934
AROT 50.507 -30.245 39.342
AFCMODE 7
PRPLEVEL 0:0.220000
NAVFREQ 0 0
EVENTS_CONSUMED 0,1
MESH_DELETED 1,2
END
END_SHIPS


02 - NOT working:

BEGIN_DESC
Modified S-IVB stage on the moon.
END_DESC

BEGIN_ENVIRONMENT
System Sol
Date MJD 60305.6143359083
END_ENVIRONMENT

BEGIN_FOCUS
Ship S-IVB
END_FOCUS

BEGIN_CAMERA
TARGET S-IVB
MODE Extern
POS 1.266496 149.036451 -7.658226
TRACKMODE AbsoluteDirection
FOV 40.00
END_CAMERA

BEGIN_HUD
TYPE Surface
END_HUD

BEGIN_MFD Left
TYPE Orbit
PROJ Ship
FRAME Ecliptic
ALT
REF Moon
END_MFD

BEGIN_SHIPS
S-IVB:Multistage2015
STATUS Landed Moon
POS -55.5605200 14.2459400
HEADING 101.44
PRPLEVEL 0:1.000 1:1.000 2:1.000 3:1.000 4:1.000
NAVFREQ 0 0
CONFIG_FILE Config\S-IVB\S-IVB_CFG.ini
CONFIGURATION 0
STAGE_STATE 1
STAGE_IGNITION_TIME 0.000
CURRENT_STAGE 1
END
END_SHIPS


Here is the crazy thing: In the second (broken) scenario, if I replace 'STATUS Landed Moon' with 'STATUS Landed Earth' then the scenario loads fine. It is the word 'Moon' that appears problematic. I don't understand what's going on. Any ideas?

Thanks again, in any case,

cs
 

Urwumpe

Not funny anymore
Addon Developer
Donator
Joined
Feb 6, 2008
Messages
37,588
Reaction score
2,312
Points
203
Location
Wolfsburg
Preferred Pronouns
Sire
Maybe Multistage has some problems getting the PEG guidance initialized on the moon? Hoes does the scenario behave, if the S-IVB has no STAGE_IGNITION_TIME?
 

CurlSnout

Well-known member
Joined
Feb 22, 2011
Messages
49
Reaction score
106
Points
48
Location
Pacific NW
Hello Urwumpe,

Thanks for joining in and helping to think about this. I removed 'STAGE_IGNITION_TIME 0.000' from the scenario and tried again - with no change. The scenario still fails to load.

For tricks, I edited that line to 'STAGE_IGNITION_TIME 1.000' (thinking that the original value of 0.000 is the same as not having that line present) - but still no change. I also tried using a value of 0.100 - no change.

cs
 

Urwumpe

Not funny anymore
Addon Developer
Donator
Joined
Feb 6, 2008
Messages
37,588
Reaction score
2,312
Points
203
Location
Wolfsburg
Preferred Pronouns
Sire
I am no multistage expert at all - but how does the guidance look like?
 

CurlSnout

Well-known member
Joined
Feb 22, 2011
Messages
49
Reaction score
106
Points
48
Location
Pacific NW
Lunar scenarios including a GUIDANCE reference also failed to load. I took the GUIDANCE reference out, because I wanted to eliminate as many variables as possible that might differentiate a working scenario from a non-working one.

When it was in, the reference looked like this: GUIDANCE_FILE Config\S-IVB\S-IVB_GNC.txt

And S-IVB_GNC.txt was this:

Vehicle: S-IVB
-12.000=orbit(250,180,45)
-10.000=Playsound(Sound\Vessel\countdown.wav)
-8.000=engine(0,60,7)
-1.000=engine(60,100,1)
0.000=engine(100,100,0)

Kind of bare-bones, but it works.
 

Urwumpe

Not funny anymore
Addon Developer
Donator
Joined
Feb 6, 2008
Messages
37,588
Reaction score
2,312
Points
203
Location
Wolfsburg
Preferred Pronouns
Sire
Well - it works on Earth, right? What happens if you remove the -12.000 line?
 

CurlSnout

Well-known member
Joined
Feb 22, 2011
Messages
49
Reaction score
106
Points
48
Location
Pacific NW
The scenario works on Earth, regardless of whether or not a GUIDANCE_FILE reference is included in the scenario. The same scenario fails on the Moon, regardless of whether or not a GUIDANCE_FILE reference is included in the scenario. Removing the -12.000 line makes no difference with respect to success or failure.

I first discovered that all lunar scenarios fail before I was including a GUIDANCE_FILE reference in the scenario. Guidance files are optional in Multistage2015.
 

Urwumpe

Not funny anymore
Addon Developer
Donator
Joined
Feb 6, 2008
Messages
37,588
Reaction score
2,312
Points
203
Location
Wolfsburg
Preferred Pronouns
Sire
Ok, so the issue is independent of the guidance file and only related to multistage itself.
 

CurlSnout

Well-known member
Joined
Feb 22, 2011
Messages
49
Reaction score
106
Points
48
Location
Pacific NW
Thanks for your continued patience.

Here are two more scenarios - absolutely Bare-Bones (no HUD, no MFDs, etc.) this time. The first one loads fine; the second one fails to load at all. The ONLY difference between them is one word - the first (working) one references 'STATUS Landed Earth' and the second (broken) one references 'STATUS Landed Moon'


WORKING:

BEGIN_DESC
END_DESC

BEGIN_ENVIRONMENT
System Sol
Date MJD 60305.6143359083
END_ENVIRONMENT

BEGIN_FOCUS
Ship S-IVB
END_FOCUS

BEGIN_CAMERA
TARGET S-IVB
MODE Extern
POS 4.00 180.00 80.00
TRACKMODE AbsoluteDirection
FOV 40.00
END_CAMERA

BEGIN_SHIPS
S-IVB:Multistage2015
STATUS Landed Earth
POS -54.00 14.00
HEADING 0.00
PRPLEVEL 0:1.000
CONFIG_FILE Config\S-IVB\S-IVB_CFG.ini
CONFIGURATION 0
END
END_SHIPS


NOT WORKING:

BEGIN_DESC
END_DESC

BEGIN_ENVIRONMENT
System Sol
Date MJD 60305.6143359083
END_ENVIRONMENT

BEGIN_FOCUS
Ship S-IVB
END_FOCUS

BEGIN_CAMERA
TARGET S-IVB
MODE Extern
POS 4.00 180.00 80.00
TRACKMODE AbsoluteDirection
FOV 40.00
END_CAMERA

BEGIN_SHIPS
S-IVB:Multistage2015
STATUS Landed Moon
POS -54.00 14.00
HEADING 0.00
PRPLEVEL 0:1.000
CONFIG_FILE Config\S-IVB\S-IVB_CFG.ini
CONFIGURATION 0
END
END_SHIPS


I agree that the issue seems connected with Multistage2015. Multistage2015 has been around for a while; would seem odd that I would be the first to experience this.

Maybe I should be posting somewhere else - where the Multistage2015 crowd is more likely to see it (?).
 

CurlSnout

Well-known member
Joined
Feb 22, 2011
Messages
49
Reaction score
106
Points
48
Location
Pacific NW
Conversation moved to the Multistage2015-Development thread (Home > Forums > Orbiter Addons > Addon Development).
 
Top