Hey man, did you fix this issue again?
I’m not in DEV mode and I did my flights in all LIVE settings but it’s still getting removed after restarting the sim.
I’ve tried to enroll in SU10 Beta but that didn’t fix this issue. I haven’t tried resetting the sim though.
Not yet. I tried uninstalling and re-installing the Sim (not the content) several times, to different locations. I even went through the AppData and Registry to remove all “flightsim” after uninstall. Only thing I have not done is purchase another PC just to see if that would fix my problem… and I am not going to do that. Nor am I going to reinstall Windows from scratch just for this issue.
I started thinking there is a bug or limitation of number of entries. I have 2508 entries. I thought there could be a limitation of entries or the size of data that can be uploaded to their server.
I have been trying a bunch of different thing but no luck finding a solution on my end. Asobo will not do anything about it because I (or we) are too few a number of users that see this issue.
One thing I found is the code for how the Logbook is created. I have been editing the code to possibly fix the totals at the bottom to update when filtering. The code looks like it should recalculate the totals each time, so they must think it is OK. It has been a while working with JS and it is always a challenge to figure out other people’s code. So it may take me some time.
Regards.
PS. I am stuck at 1336 hours.
The number of entries is definitely something that could be the culprit.
I currently have 2613 entries and 1622 hours. Minus some weird 0 min flights our total should be similar.
Please let me know if my logbook file could be helpful to your investigation.
I can send it to you.
Cheers.
What was your last entry? Plane, location, hours?
Here’s a screenshot of my latest logbook entries.
Uploading pictures takes forever for me here so I uploaded it to imgur.
Doesn’t provide a clue to me. I used the H135 and [OMDU]VICINITY.
Another indication to me is… Whenever I load the Sim and create a new flight, World Map places my last location as OMDU, that of my Logbook.
That could be related to the logbook getting stuck. As you can see my last location logged was KDFW and it’s also shown in the world map history location as well.
I’ve been doing some experimentation on Xbox and if I finish the flight, wait 5-10 mins then go back to Home Screen, quit MSFS and wait another 10-20 minutes before shutting down the console - most of the flights seem to remain logged. This is inconsistent though and occasionally it still loses the flight. I’ve noticed longer flights seem to disappear more often. Did a 3 hour flight and it was in the logbook when I shut down, next day it’s gone.
Also, the total flight time statistic is not losing the flights as the number in there is way above the logbook hours once converted to hours from seconds
I don’t think I was loosing flights prior to SU8, but I can’t be 100% sure.
Hey man, how many total flights do you have in your logbook?
Are you in 2500 flights ballpark?
I still think this has something to do with the total log entries but I can’t be sure.
I’ll have a check later, don’t think I have that many entries though.
Recently I have been experimenting, once I end the flight I immediately open settings/network/bandwidth usage by pressing the Xbox button on the controller and I see bandwidth usage in the .5 - 1 Gb/s range for a period of time that then normalises down to a few kb/s. I have summised that this is the logbook data being synced to the cloud. Often there is a delay between end of the flight and the increased bandwidth, and in all instances where I have waited for the higher bandwidth use, the flight has been correctly saved in the logbook and remained there. The longer the flight the longer the high bandwidth is present for so I think my assumption is correct.
I think in the flights the logbook entry is missing, perhaps the sync had not happened for some reason and that is why it is no longer present when you restart the sim the next time.
Once I go back to Home Screen and close simulator there is negligible bandwidth used, that then drops to zero and you just see the usual keep alive type messaging.
Thank you so much for this critical information!
Do you mean to wait a bit longer on the logbook pop-up page after you shut down the engine and cut the power? Or just click on the Main Menu button on the pop-up page to end the flight and wait a bit longer on the Main Menu?
I’ll definitely try to wait a bit longer next time but I believe I’ve tried to wait forever on the Main Menu after end a flight and it’s not working for me.
I was really hoping SU10 would fix my Deleted Logbook entries… It did not.
I made some good progress with the Logbook - understanding of their code. I understand that they will read your logbook data and populate the entire logbook table, no matter search. The search simply adds a HTML “hide” to the table entry that matches so it is not visible. Since all entries are still in the table, their totals will not change.
Sorry this is taking so long. I don’t get to work full time on this and dissecting other people’s code is sometimes very hard… trying to understand WHY they coded it like that, other than making it harder to manipulate. There are a few redundancies that could be deleted. A bonus, I found a few entries that would be nice to see, like IFR and VFR totals along with Notes and Favorites that are not yet implemented. Sorting the data would be more efficient, which is what I am working on now.
NOTE: IFR & VFR under Operational Conditions Times.
I am also trying to:
- Export the data to see if something is corrupt, CSV format.
- Enable Notes and Favorites.
- Display Distance (I believe this is Total Distance in the logbook field).
I end the flight then while on the main page (where you can choose activities / flight etc I press the Xbox button and go to settings to check network bandwidth. So far by doing that I have not lost a flight except when the sim has crashed to the home screen before the flight ended.
Asobo updated their code with SU10. I think they performed a global optimization of their code. Anyway, I edited the Logbook page to include Notes and Favorites. I added a note and found it in the Logbook file:
C:\Users\USERNAME \AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\SystemAppData\wgs\Weird Random Number\Weird Random Number\Random Number that is limited to 16MB.
The issue appears to be the file size limitation. When I added a large note to the last entry, the entire entry was deleted from the file, thus removing it from my “stuck” Logbook from July 1st.
Now my last flight is the one prior. Flying a new flight was not added. This probably stems from me adding a few more notes for testing, that are taking up too much space?
New Logbook Was 2508, now 2507 entries:
Other Note Edit:
Hey man,
It’s so nice of you to take the time and dig into this issue!
I really appreciate your work and I think with your findings we can nail it down to a simple file size limitation.
I think it really depends on Asobo to find it and figure it out then.
Do you by any chance find a way to delete some empty entries to shrink down the size so new flights can be logged again?
@N316TS Hey man, I think the above reply explains why we were having this issue.
Could you please send our findings to the dev team?
I wish PC users would use the correct forum for this as their post has no relevance to xbox users. This has been tagged for XBox NOT PC.
All the flight data and other interesting totals, etc would be great, but as a simple old pilot, I would very happy at this point, just to have an accurate running Log Total of my Flight Hours… Would seem easy enough… Thanks to all who are jumping into help.
Does the logbook have a 16mb capacity after which it stops recording? If so, how can it be emptied for re-use without losing the cloud data?