• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Search results

  1. I

    FSX FlightLoaded system event delivers previous flight

    I read this and I understand where you come from, but I think I have different use case, even with similar reason. I don't use SimConnect in a panel callback, it's running in "parallel" and will be initialised and shut down in module_init/deinit. So I assume they will be called before any panel...
  2. I

    FSX FlightLoaded system event delivers previous flight

    So guys, to close this topic, I finally found a method to safely recognize loaded file. I tried before with registry and api hooking (RegOpenKey and ReadFile in kernelbase.dll), catching the flight file load based on last access time attribute (both, direct read the directory and watching...
  3. I

    FSX FlightLoaded system event delivers previous flight

    Finaly I decied to create separate thread monitoring access to all the files inside related folder, filtering FLT files and assuming that last one is THE flght file I need. Works, and looks strange I must say. Hooking access to registry or system file read finctonality wasn't really helpful. As...
  4. I

    FSX FlightLoaded system event delivers previous flight

    It's German, but let me translate [Main] Title=Vorheriger Flug (Previous Flight) Description=Dieser Flug wurde gespeichert, als Sie das letzte Mal Flight Simulator beendet haben. (This flight was stored as you quit Flight Simulator last time) AppVersion=10.0.61472 FlightVersion=1 Already...
  5. I

    FSX FlightLoaded system event delivers previous flight

    It doesn't look like it comes from FSUIPC, I checked the loading process and found out, that the order of flight files load looks like following (all will be done primarly by fsx.exe) - Previous flight.flt - Temporary flight.flt - [ALL STORED FLIGHT + ALL "INSTALLED" FLIGHT, I mean that came...
  6. I

    FSX FlightLoaded system event delivers previous flight

    I use the standard edition I bought years before it came all to Steam with SP1 and SP2 on it. And will try to check which process creates and removes these files.
  7. I

    FSX FlightLoaded system event delivers previous flight

    For half of a second I was very lucky, in the next half I remebered - fresh FSX installation, no FSUIPC, no add ons at all :/ One more strange thing: usually all the FLT files will be stored in user's "documents/fsx files" folder, this previous flight.flt comes always from...
  8. I

    FSX FlightLoaded system event delivers previous flight

    I start from opening screen, where I have an option to load flight, which I use. Further, as you can see from my code, everytime I request "FlightLoaded" I get "Previous Flight.flt" as file name of loaded file (localised in German, as I have german version) instead of desired one.
  9. I

    FSX FlightLoaded system event delivers previous flight

    Thank you, will try this. Until now I just found out, that loading flight from the opening screen causes the issue, where loading from the sim via Flights menu (where I can select the kind of file I want to load, like my own flights, adventure etc ) works just fine. Another question, I subscribe...
  10. I

    FSX FlightLoaded system event delivers previous flight

    Ok, I use 6Hz event too but wonder how it works for you. Debugging this I found out, that 6Hz event will be hit twice before scenario is completely loaded and of course if load has reach 100% and I'm in cockpit and in both cases I got previous flight. Even worster, all later calls of 6Hz event I...
  11. I

    FSX FlightLoaded system event delivers previous flight

    Hi all, I have an issue with flight loading via SimConnect. I have regular SimConnect client build as DLL, handling the SimConnect session and gauges for the aircraft. It's built as singleton (if this is important), so all works just fine except "FlightLoaded" subscription. First at all this...
Top