Jump to content
The simFlight Network Forums

Slowing down FSX Shutdown on Server PC to allow Apps to close


Recommended Posts

Peter,

it has been a while since I sought out your wisdom...

I have my main PC running FSUIPC4 w/ WideFS and FSX/Win7

I have two clients running WideFS 6.94

Using RunReady and CloseReady, I am successfully shutting down the clients via Keypress. No issues.

I also have my server set up to shut down my FSX system, and using [Programs] in the FSUIPC4.ini, with Run1=READY, CLOSE,<App Path> it shuts down my apps on the server before shutting down the computer (those apps are SIOC, and various Prosim737 modules).

The problem is that even using a keypress (CTRL+SHIFT+E), the AUTOSHUTDOWN=YES in the FSUIPC [Wideserver] is so fast that it doesn't allow the apps to shutdown completely (in particular, Prosim737 MCP doesn't shut down gracefully which results in my CPFight MCP lights remaining on).

Is there a way to delay the AUTOSHUTDOWN of the server until AFTER the Apps running on the server machine have closed, or at least giving it a little more time?

Hope you can make out what I'm saying.

Thanks,

Warren

Link to comment
Share on other sites

The problem is that even using a keypress (CTRL+SHIFT+E), the AUTOSHUTDOWN=YES in the FSUIPC [Wideserver] is so fast that it doesn't allow the apps to shutdown completely (in particular, Prosim737 MCP doesn't shut down gracefully which results in my CPFight MCP lights remaining on).

I only use auto-shutdown on Client PCs, -- mainly because they have no keyboards or mice. I do that with Ctrl+Shift+E, but close FS manually using the usual Att F X.

Is there a way to delay the AUTOSHUTDOWN of the server until AFTER the Apps running on the server machine have closed, or at least giving it a little more time?

Ctrl+Shift+E is a signal to the WideServer part of FSUIPC4 (build in from the original DLL for FSUIPC3). It isn't aware of the Programs run by the FSUIPC4 parameters. It was different with WideServer.DLL in FS9 and before, because that also had its own program loading and terminating facilities.

However, I'll have a look to see if I can make the WideServer part send an appropriate signal back to the Programs part of FSUIPC. It shouldn't be a problem.

Why aren't you switching the aircraft battery off before closing down, or don't you like starting up 'cold and dark'?

Regards

Pete

Link to comment
Share on other sites

However, I'll have a look to see if I can make the WideServer part send an appropriate signal back to the Programs part of FSUIPC. It shouldn't be a problem.

Please try version 4.805, from the Download Links subforum. I've checked and double checked the code but it isn't tested as my cockpit network is down for some repairs at present. Please try it and let me know.

Regards

Pete

Link to comment
Share on other sites

OK, I gave it a try and it seems to work very well. It appears that everything is shutting down just fine. is there something else I should see happen?

I really appreciate you making this happen so quick. Thanks.

Warren

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.