Problem Can't get MMExt add-ons to work

ReSoTe

New member
Joined
Jun 19, 2018
Messages
8
Reaction score
0
Points
0
Hi! I tried to install some add-ons but the ones which use Module Messaging Extended library don't work. Game starts as intended but when I click on the TransX button on Module Select Screen - program crashes.
Code:
**** Orbiter.log
000000.000: Build Aug 28 2016 [v.160828]
000000.000: Timer precision: 3.01349e-007 sec
000000.000: Found 1 joystick(s)
000000.000: Module AtlantisConfig.dll .... [Build 160828, API 160828]
000000.000: Module AtmConfig.dll ......... [Build 160828, API 160828]
000000.000: Module DGConfigurator.dll .... [Build 160828, API 160828]
000000.000: Module D3D9Client.dll ........ [Build 170705, API 160828]
000000.000: Module OrbiterSound.dll ...... [Build 121120, API 100830]
000000.000: Module TransX2.dll ........... [Build 180405, API 160828]
000000.000: Module BurnTimeMFD.dll ....... [Build 180514, API 160828]
=====================================================
000000.000: Finished initialising status
000000.000: Finished initialising camera
000000.000: Finished setting up render state
000000.000: D3D9: [Scene Initialized]
000000.000: Finished initialising panels
000000.000: ---------------------------------------------------------------
000000.000: >>> WARNING: Obsolete API function used: VESSEL::GetHorizonAirspeedVector
000000.000: At least one active module is accessing an obsolete interface function.
000000.000: Addons which rely on obsolete functions may not be compatible with
000000.000: future versions of Orbiter.
000000.000: ---------------------------------------------------------------
D3D9: ERROR: SurfHandle=0x8613138, Never use Sketchpad::GetDC() hDC not available
When I try to start Orbiter with BurnTimeCalcMFD it won't even get to the end of the loading screen.
I've already tried installing different versions of the VS redistributable files (32-bit), it doesn't seem to make any difference.

Thanks and I hope it's possible to solve this problem.
 

Attachments

  • TransX2.log
    5.8 KB · Views: 6
  • With BurnTimeMFD.log
    5.3 KB · Views: 2

Enjo

Mostly harmless
Addon Developer
Tutorial Publisher
Donator
Joined
Nov 25, 2007
Messages
1,665
Reaction score
13
Points
38
Location
Germany
Website
www.enderspace.de
Preferred Pronouns
Can't you smell my T levels?

ReSoTe

New member
Joined
Jun 19, 2018
Messages
8
Reaction score
0
Points
0
Did you install this: https://www.orbithangar.com/searchid.php?ID=6889 ?

I cannot see any reference to this in your logs, so I suspect not. Happy to help you get this working, as one of the co-authors of this utility.

Sorry, didn't notice that I unchecked it. I tried different combinations of modules because there was no information about some of them in the instruction I followed. The list of modules I used for TransX-MMExt.log is in the modules.png

Enjo, yes, all of them work.
And I made a mistake - didn't install BaseSync before BurnTimeCalc. But even after that I can't get the program to load properly.
Installed the Service Pack and tried again, the result is still the same.
Then it must be something about TransX and BurnTimeCalc?
 

Attachments

  • modules.png
    modules.png
    10.1 KB · Views: 13
  • TransX-MMExt.log
    5 KB · Views: 2
  • BaseSync.log
    5.7 KB · Views: 1
  • Glideslope.log
    6.9 KB · Views: 1
  • BurnTime with BaseSync.log
    6.2 KB · Views: 3

ADSWNJ

Scientist
Addon Developer
Joined
Aug 5, 2011
Messages
1,667
Reaction score
3
Points
38
ok good - we are making progress! You can now see the expected MMExt lines in the logs, and you have a good install there.

Next thing you can do: in the simulation, bring up the MMExt MFD. You can see two types of things in here: the data elements (with values when they are non-struct data types), and the activity log.

See what you see in the activity log. Bring up MMExt first, then BurnTime, then BaseSync, and see what happens.
 

Enjo

Mostly harmless
Addon Developer
Tutorial Publisher
Donator
Joined
Nov 25, 2007
Messages
1,665
Reaction score
13
Points
38
Location
Germany
Website
www.enderspace.de
Preferred Pronouns
Can't you smell my T levels?
Then it must be something about TransX and BurnTimeCalc?
It appears so. I will be at my development PC on the 7th of July. I'll see what I can do for you then.
 

ReSoTe

New member
Joined
Jun 19, 2018
Messages
8
Reaction score
0
Points
0
See what you see in the activity log. Bring up MMExt first, then BurnTime, then BaseSync, and see what happens.

Can't activate BurnTime cause the program doesn't launch with it. But the activity log of BaseSync is in the Activity.png
My mistake, BurnTime with BaseSync.log would've to be named BurnTime with MMExt MFD.
Found another bug (?): if the log in MMExt MFD is already clear and you press Next or Previous buttons - program crashes. Is it reproducible on other machines? The log is in the attachments.

Enjo, thank you! But it appears that no one else has this problem, at least I didn't find it on the forum. Maybe it's possible to fix it on my side.
 

Attachments

  • Orbiter.log
    6.8 KB · Views: 4
  • Activity.png
    Activity.png
    15.8 KB · Views: 11
Last edited:

ADSWNJ

Scientist
Addon Developer
Joined
Aug 5, 2011
Messages
1,667
Reaction score
3
Points
38
mmext mfd crashing on a next/prev with no data ... that's on me!
 

ReSoTe

New member
Joined
Jun 19, 2018
Messages
8
Reaction score
0
Points
0
I think I know where the problem is. See here:
https://www.orbiter-forum.com/showthread.php?p=578059&postcount=38

Please be available in two weeks for a retest.

Will be!
Does it matter that the actions described here are causing the same problem, wasn't it fixed?
-load "DG-S ready o take off to ISS" or any other default scenario
-open HudDrawerMFD
=no issues
-open another MFD to move HudDrawerMFD out of the picture
-open LaunchMFD
-open again...HudDrawerMFD
=CTD

Same scenario again, but other procedure-order:
-open LaunchMFD
-open HudDrawerMFD
=CTD
 

ADSWNJ

Scientist
Addon Developer
Joined
Aug 5, 2011
Messages
1,667
Reaction score
3
Points
38
See updated v2.1d versions of ModuleMessagingExt in the Orbithangar (for Orbiter 2010 and 2016), fixing the PRV/NXT with no data bug.
 

Enjo

Mostly harmless
Addon Developer
Tutorial Publisher
Donator
Joined
Nov 25, 2007
Messages
1,665
Reaction score
13
Points
38
Location
Germany
Website
www.enderspace.de
Preferred Pronouns
Can't you smell my T levels?
Will be!
Does it matter that the actions described here are causing the same problem, wasn't it fixed?
Yes. I had broken it by bundling the VC++ redistributable into my modules. Then I forgot about this and made the same mistake again.
 

ADSWNJ

Scientist
Addon Developer
Joined
Aug 5, 2011
Messages
1,667
Reaction score
3
Points
38
Yes. I had broken it by bundling the VC++ redistributable into my modules. Then I forgot about this and made the same mistake again.

What specifically is breaking, Enjo? Interested in what you have found here.
 

Enjo

Mostly harmless
Addon Developer
Tutorial Publisher
Donator
Joined
Nov 25, 2007
Messages
1,665
Reaction score
13
Points
38
Location
Germany
Website
www.enderspace.de
Preferred Pronouns
Can't you smell my T levels?
ReSoTe:
Please test the attached pre-releases.
Thanks in advance!
 

Attachments

  • TopographicMapMFD-v.0.7-2016.zip
    701.1 KB · Views: 3
  • TransX-2018.05.06-VCpp-2016.zip
    1,005.6 KB · Views: 3
  • BurnTimeCalcMFD-v.3.1.0-2016.zip
    4.4 MB · Views: 4
  • LaunchMFD-v.1.6.6-2016.zip
    4.6 MB · Views: 9
  • HUDDrawerSDK-v.0.5-2016.zip
    226.7 KB · Views: 10

ReSoTe

New member
Joined
Jun 19, 2018
Messages
8
Reaction score
0
Points
0
It looks like everything works perfectly fine, except for TransX.
Orbiter.log - serial test with every module, apart from TransX.
 

Attachments

  • Orbiter.log
    7.6 KB · Views: 9
  • TransX.log
    7 KB · Views: 2

Enjo

Mostly harmless
Addon Developer
Tutorial Publisher
Donator
Joined
Nov 25, 2007
Messages
1,665
Reaction score
13
Points
38
Location
Germany
Website
www.enderspace.de
Preferred Pronouns
Can't you smell my T levels?
Do you mean that Orbiter crashed with TransX enabled?
 

Enjo

Mostly harmless
Addon Developer
Tutorial Publisher
Donator
Joined
Nov 25, 2007
Messages
1,665
Reaction score
13
Points
38
Location
Germany
Website
www.enderspace.de
Preferred Pronouns
Can't you smell my T levels?
I was able to reproduce the TransX2 crash.
Please try the attached version again.
 

Attachments

  • TransX-2018.05.06-VCpp-2016.zip
    1,005.6 KB · Views: 2

ReSoTe

New member
Joined
Jun 19, 2018
Messages
8
Reaction score
0
Points
0
It works now, thank you!
What caused the problem?
 
Top