Jump to content
The simFlight Network Forums

Pete - FSUIPC v4.85 Not Initializing Properly (4.84 is OK)


Recommended Posts

Pete,

Something weird is happening when starting FSXsp2 with FSUIPC v4.85 installed. As you can see from the attached FSUIPC v485 log, if I start with the PMDG 737-700 livery loaded in the Free flight UI, the .air file is detected, but the matching FSUIPC profile is not detected when FSX starts the session. A few other v4.85 initialization observiations include, the Lua start window is not displayed at startup, and the default airport vehicles are not being deleted in the scenery, even though the switch is set correctly int the FSUIPC.ini file, and FSUIPC is logging it as being an AES airport.

If I then load a PMDG 737-800 from the FSX menu bar -> Select Aircraft, and return to the same session, you can see later in the FSUIPC v485 log, the proper PMDG profile is detected (Aircraft = ). At this point I can even switch back to the PMDG 737-700 I originally loaded at the start of the session, and now the PMDG profile is detected. The problem is when FSX initializes FSUIPC 4.85 at session startup - something in FSUIPC is not being started or read properly - as if it's a thread problem of some sort.

I then quit FSX, installed FSUIPC v4.84, and none of the above initialization problems were noticed. The same FSUIPC.ini file is used in both instances as it has been for ages. Also, when starting with v4.84, I see the Lua window appear for a few seconds during session startup, and no default FSX airport vehicles are noted at any of the gates in a AES airport, as it should be.

FSUIPC and Install log files attached, for your review and comparison. Particularly the lack of a "Aircraft=" string or LUA statements at the beginnig of the session in FSUIPC v485 log file.

Link to comment
Share on other sites

Pete,

In the same vein, we're seeing that FSUIPC is refusing to provide at least its version info to clients attempting to connect before the sim is loaded. (ie, in the "Free Flight" dialog) We're just using the example code distributed with FSUIPC for connecting to it. The problem is that the read of 0x3304 and 0x3308 both come back NULL, leading FSUIPC_Open2() to return FSUIPC_ERR_VERSION. Once inside the sim, things work as expected. (So for now we're just telling our users to reload the aircraft once they get back into the sim)

Haven't had a chance to test with 4.84 yet as I can't find a copy anywhere.

Link to comment
Share on other sites

Looking at all this now, but meanwhile reloading or changing the flight or aircraft after FSX / P3D is ready to fly should fix it. Apologies for the mess -- it arose because of a re-ordering of initialisation events in order to overcome issues with SimConnect trust crashes. Seems I moved something in there I shouldn't have.

I'll fix it this weekend.

Regards

Pete

Link to comment
Share on other sites

Looks like 4.851 fix it for me too Pete. Profiles and Lua now seem to be initializing correctly at session start.


********* FSUIPC4, Version 4.851 by Pete Dowson *********
Running inside FSX on Windows 7
Module base=64700000
User Name="xxx"
User Addr="xxx"
FSUIPC4 Key is provided
WideFS7 Key is provided
327 System time = 25/08/2012 09:53:20
327 FLT UNC path = "\\FLIGHTCOMP\Users\jordana\Documents\Flight Simulator X Files\"
343 Trying to connect to SimConnect Acc/SP2 Oct07 ...
358 FS UNC path = "\\FLIGHTCOMP\FSX\"
546 LogOptions=00000000 00000001
546 Wind smoothing fix is fully installed
546 G3D.DLL fix attempt installed ok
546 SimConnect_Open succeeded: waiting to check version okay
546 Trying to use SimConnect Acc/SP2 Oct07
2995 Running in "Microsoft Flight Simulator X", Version: 10.0.61472.0 (SimConnect: 10.0.61259.0)
2995 Initialising SimConnect data requests now
2995 FSUIPC Menu entry added
3026 \\FLIGHTCOMP\FSX\FLIGHTS\OTHER\FLTSIM.FLT
3026 \\FLIGHTCOMP\FSX\SimObjects\Airplanes\Aircreation_582SL\Aircreation_582SL.AIR
29936 \\FLIGHTCOMP\FSX\SimObjects\Airplanes\PMDG 737-700NGX WL\B737-700WL.AIR
117359 System time = 25/08/2012 09:55:17, Simulator time = 09:53:25 (16:53Z)
117359 Aircraft="Boeing 737-700NGX U.S. Airways N357AW Winglets"
119996 Starting everything now ...
120011 AES Link established
120011 LUA.0: Starting...
120198 LUA.0: Done.
123240 Advanced Weather Interface Enabled
226841 Sim stopped: average frame rate for last 111 secs = 20.1 fps
470374 Sim stopped: average frame rate for last 162 secs = 21.3 fps
480233 System time = 25/08/2012 10:01:20, Simulator time = 09:58:07 (16:58Z)
480233 *** FSUIPC log file being closed
Average frame rate for running time of 282 secs = 20.8 fps
G3D fix: Passes 17848, Null pointers 0, Bad pointers 0, Separate instances 0
Memory managed: 71 Allocs, 71 Freed
********* FSUIPC Log file closed ***********
[/CODE]

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.