Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reconnect button #15

Open
mixMugz opened this issue Nov 18, 2020 · 7 comments
Open

Reconnect button #15

mixMugz opened this issue Nov 18, 2020 · 7 comments
Assignees
Labels
enhancement New feature or request wontfix This will not be worked on

Comments

@mixMugz
Copy link

mixMugz commented Nov 18, 2020

If MSFS going to CTD - gees keep connected state. Next run of MSFS cause not working gees. It's staying connected, but no any report.

Every time after CTD i need to restart gees.

@scelts scelts added the wontfix This will not be worked on label Nov 18, 2020
@scelts
Copy link
Owner

scelts commented Nov 18, 2020

likely the MSFS crash to desktop is not sending a connection termination to the simconnect client, and therefore the app still sees it as connected and doesn't reconnect later.

I believe that this is an issue for this library: https://github.com/c-true/FsConnect, or maybe even a level below (MSFS base simconnect dll, which is not open source)

Cannot do anything from the app besides hacking the connection termination (listening if the values don't change or something) which is not something I'd do, as this would bring other bugs.

@scelts scelts closed this as completed Nov 18, 2020
@mixMugz
Copy link
Author

mixMugz commented Nov 18, 2020

How STKP work with simconnect and know about disconnection? Pushback Express?

@scelts
Copy link
Owner

scelts commented Nov 18, 2020

I don't know. The underlying library I use is one abstraction layer above the simconnect.dll which is handling the connections and similar things. For what I see it uses ConnectionChanged event from the underlying library (simconnect base) to detect the change in the connection.
So, either the FsConnect is not handling this well, and doesn't update the connection status, or even the underlying library, provided by Microsoft does not handle this well during the CTD, which is not a surprise to me. If it's the first one, maybe one can fork and update the github project - maybe I do it at some point, but I don't have time for this, if it's the second, you are left to submit a bug report to Microsoft.
It's a nice bug to fix, but not a part of this project.

@mixMugz
Copy link
Author

mixMugz commented Nov 18, 2020

Can you contact with author of library to resolve issue?

@mixMugz
Copy link
Author

mixMugz commented Dec 2, 2020

May be you add disconnect button. Or reconnect. Or something. It's annoying restart application every time after CTD

@scelts scelts added the enhancement New feature or request label Dec 3, 2020
@scelts scelts self-assigned this Dec 3, 2020
@scelts scelts changed the title CTD cause freeze app Reconnect button Dec 3, 2020
@scelts
Copy link
Owner

scelts commented Dec 3, 2020

dude, how often your game crashes? :)
will do the reconnect button

@scelts scelts reopened this Dec 3, 2020
@mixMugz
Copy link
Author

mixMugz commented Dec 3, 2020

It's every day 1-2 time always. This is microsoft style. When you fly alot - you have gamecrash a lot.
My friend told me, what simconnect already have state of game.
SimConnect_RequestSystemState() and 'SIMCONNECT_RECV_ID_QUIT'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants