- Messages
- 1,361
- Country

Please ingnore this post/thread. - A stupid mistake on my part.
Hi Folks
Just a head's up for Flight developers,
of something I'd long suspected, but not previously proven.
Data from one Flight.exe session
is persisting in memory
across multiple Flight.exe sessions.
Data in this example is a Text label, referenced by an _id GUID.
This method appears to be used for data passed to Flight's UI.
e.g.
Missions scorecategory - Text _id
Airplanes livery - Description _id
It may possibly apply to other non-UI methods.
Background -
Working on an edited version of an MS default Flight mission.
Investigating adding an extra scorecategory, (displays on the UI's post-mission score-summary screen).
I'd created a scorecategory dummy placeholder, named "Blatant Cheeseburgers".
Despite having since assigned a new-value, "Penalty MLW exceeded",
the old-value "Blatant Cheeseburgers"
has persisted across 7 subsequent Flight.exe sessions.
I'd confirmed persistance across sessions -
- The loaded addon was the current build, (by changing a loadtime evaluated element).
- The JobBoard had been purged between sessions. %AppData%\Local\Microsoft\Flight\Shared\JobBoard\.
- Fully uninstalled/deleted the addon, (DLC folder & content were removed).
- Launched a new Flight session whilst the addon was uninstalled, my mission was not listed.
- Installed a newer version of my addon, launched a new Flight session, my mission was listed.
Flew the mission to completion,
the old-value "Blatant Cheeseburgers" was still displayed.
Not tested -
Persistance across OS user logoff/logon.
Assigning a new GUID.
HTH
ATB
Paul
Hi Folks
Just a head's up for Flight developers,
of something I'd long suspected, but not previously proven.
Data from one Flight.exe session
is persisting in memory
across multiple Flight.exe sessions.
Data in this example is a Text label, referenced by an _id GUID.
This method appears to be used for data passed to Flight's UI.
e.g.
Missions scorecategory - Text _id
Airplanes livery - Description _id
It may possibly apply to other non-UI methods.
Background -
Working on an edited version of an MS default Flight mission.
Investigating adding an extra scorecategory, (displays on the UI's post-mission score-summary screen).
I'd created a scorecategory dummy placeholder, named "Blatant Cheeseburgers".
Despite having since assigned a new-value, "Penalty MLW exceeded",
the old-value "Blatant Cheeseburgers"
has persisted across 7 subsequent Flight.exe sessions.
Code:
<ScoreCategory>
<Name>Penalty_Overload_MLW</Name>
<Text _id="{25510134-CDB7-46fb-9C01-8ADF2A6A0BD7}">Penalty MLW exceeded</Text>
<MaximumScore>0</MaximumScore>
</ScoreCategory>
I'd confirmed persistance across sessions -
- The loaded addon was the current build, (by changing a loadtime evaluated element).
- The JobBoard had been purged between sessions. %AppData%\Local\Microsoft\Flight\Shared\JobBoard\.
- Fully uninstalled/deleted the addon, (DLC folder & content were removed).
- Launched a new Flight session whilst the addon was uninstalled, my mission was not listed.
- Installed a newer version of my addon, launched a new Flight session, my mission was listed.
Flew the mission to completion,
the old-value "Blatant Cheeseburgers" was still displayed.
Not tested -
Persistance across OS user logoff/logon.
Assigning a new GUID.
HTH
ATB
Paul
Last edited:
