MobiFlight Community Support

Welcome to the forum for MobiFlight! Feel free to reach out to the community in case you have questions, issues or just want to share great ideas or details about your latest home cockpit project.

You like MobiFlight? Donate via PayPal and support the MobiFlight development. Thanks! 

05/03/2024 - This forum is read-only

The community support for MobiFlight has moved exclusively over to our Discord server. Register for free and enjoy more interactive functions like image and video upload, voice chat. More than 7,000 registered users around the world make it a great experience!

See you on our MobiFlight Community Discord server.

A HUGE Thank You to everyone who participated in the forum, especially obviously to Pizman and Stephan who did an outstanding job over so many years providing an incredible service to the MobiFlight community.

The forum is still providing a lot of good content, hence we keep this information accessible.

icon
Avatar
Afterburner
Posts: 3
EDIT: Topic name change by Pizman

Hi and Happy New Year!

I've a problem when mobi reads .mcc file: it doesn't give any errors, but it doesn't set the correct pmdg input, it just set it as "normal event".
Details how i proceeded from beginning:
I opened mobi, create a new input (for PMDG 737 COM1 TRANSFER SWITCH), setted up everything, tested it, it worked fine, saved .mcc, close mobi, reopen, file.mcc auto-loaded without errors, but unable to use input setted up. And the problem is that it doesn't load the data as saved in .mcc but it set event ID as a normal one instead of "PMDG EVENT"

I hope that what I wrote can be understandable :')

This is a screenshoot, maybe it could explain better than me :D


Thank you in advance!
[Last edited by pizman82, 2020-01-02 13:21]
2020-01-01 22:14
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Bug in Investigation .....
Thanks for Reporting !

Please wait for Reply or maby some testing requests to figure out the problem finaly.
Good Luck !
2020-01-02 13:19
Avatar
Afterburner
Posts: 3
Ok, thanks :)
2020-01-03 18:28
Avatar
StephanHo
From: EDDG, Germany
Posts: 1867
Supporter
Hi everyone,

I took a look at the supposed mistake.

Since I have been working with MobiFlight for a long time, I have used the "old" version of the EventIDs so far.
So I made a backup copy of my active .mcc and loaded the "hot" file.
Then the Config for the COM 1 Transfer Switch was called in the inputs and changed from EventID to PMDG-EventID, the preset was called and accepted with OK. Then the file was saved again and MobiFlight was closed.
After calling MobiFlight again, the correct preset was available in the config

It looks like this in the .mcc file:

Originally:

iconQuote:

<config guid = "b1dbba84-aa8b-4870-ba16-d4d52ad88742">
<Active> true </ active>
<description> COM 1 TRANSFER SWITSCH </description>
<settings msdata: InstanceType = "MobiFlight.InputConfigItem, MFConnector, Version = 7.8.2.0, Culture = neutral, PublicKeyToken = null" serial = "FSX02 / SN-cef-d2a" name = "COM 1 TRANSFER SWITCH" type = "button "xmlns: msdata =" urn: schemas-microsoft-com: xml-msdata ">
<Button>
<onPress type = "EventIdInputAction" eventId = "70353" param = "536870912" />
<onRelease />
</ Button>
<preconditions />
</ Settings>
</ Config>



New:

iconQuote:

<config guid = "b1dbba84-aa8b-4870-ba16-d4d52ad88742">
<Active> true </ active>
<description> COM 1 TRANSFER SWITSCH </description>
<settings msdata: InstanceType = "MobiFlight.InputConfigItem, MFConnector, Version = 7.8.2.0, Culture = neutral, PublicKeyToken = null" serial = "FSX02 / SN-cef-d2a" name = "COM 1 TRANSFER SWITCH" type = "button "xmlns: msdata =" urn: schemas-microsoft-com: xml-msdata ">
<Button>
<onPress type = "PmdgEventIdInputAction" eventId = "70353" param = "536870912" aircraft = "B737" />
<onRelease />
</ Button>
<preconditions />
</ Settings>
</ Config>



So there is no error.
The error you showed is not understandable here.
Is it possible that you have MobiFlight in older version installed with admin rights and the last one not?
Grüße,
Stephan (Time: UTC+2)
2020-01-04 00:02
Avatar
Mossman
Posts: 14
Supporter
Ive got the same seems to just save event not PMDG ...kind of random
2020-01-04 14:42
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Looks like a older Bug we got in the past ( Interpolation Checkmark )

Can you guys do another test for me..... (specialy "Afterburner" )

1. Create a Config with PMDG Event.
2. Save it
3. Check mcc file code ( Should be named as "PMDG Event" like in your screenshot )
4. Load that File ( Now it should be shown in Connector as normal Event without Parameter as you explane on screenshot)
5 NOW Save this File by clicking on "file" and "save" ( Without do another change..... Just save the loaded file)
6 Open mcc file with editor again
7. check the config line. If i´m right then NOW this should be also named as normal Event and Parameter is "0" now in the mcc code.

Is this correct ??

If yes then this is a loading bug simmular to the "interpolation checkmark" and the "placeholder" problem in the past.
Pretty sure Sebastian can solve this in same way he solved the other 2 problems !
Good Luck !
2020-01-04 15:01
Avatar
Afterburner
Posts: 3
Yep, pizman It's correct.

Ooook, thank you for your help :)

EDIT
Tip for who is experiencing my same thing:
1. Create your config. using the pmdg offset
2. Save the .mcc (and close Mobi sw)
3. Open the .mcc with a text editor
4. Search "PmdgEventIdInputAction" and replace all with "EventIdInputAction"
5. Save the file
6. Open Mobi and load the just saved .mcc
It will work. This is a temporary solution until the Software Update.

[WARNING: After the update, I thing it'll be possible to replace eventid to pmdgeventid, but it will be very easy or very difficult, depending on your config.]
[Last edited by Afterburner, 2020-01-05 09:46]
2020-01-04 19:55
icon