News:

Plan-G has over 1700 followers on FACEBOOK! Click HERE and add your support

Main Menu

Build 231

Started by tim arnot, October 11, 2020, 07:54:10 PM

Previous topic - Next topic

tim arnot

Please rebuild your databases.

Logbook.
Flights are stored in a regular SQLite database (Data\Plan-G_Logbook.db) It can be edited with any SQLite browser utility, but be aware that there are relational links that need to be maintained if you do change anything.
Building a database for MSFS will generate a names lookup table within the logbook database, so if you're running Plan-G on a remote computer, you will need to copy this file across after building a database. This table generation is non-destructive, so it's fine to copy the database back in the event that the table needs updating.

Flights are generated from "Brakes Off" to "Brakes on". The brakes off trigger is reaching 5kts on the ground, and brakes on is triggered by a complete stop. A flight can have multiple takeoffs and landings at the same or different airports.
Restarting the aircraft and flying again in the same session will be treated as a continuation of the same flight. To close the flight, disconnect Plan-G from the sim.

Limitations: Changing aircraft after Brakes Off is triggered will not be registered. You should disconnect & reconnect Plan-G to start a new flight.
There is only a simple "Flights" report right now. Further reports (e.g. Flight time per aircraft, Landings per airport etc) will be added at a later time and as the need arises.
It's intended that the Aircraft table in the logbook will eventually replace the current aircraft profile files. An importer for current profiles still needs to be written.
The database can handle multiple pilot profiles, although only a single pilot is catered for right now. If you have set an 'Author Name' to be saved in your flight plans, this will be used when creating the profile, otherwise it'll be a generic "Pilot".


v4.0.0 (build 231)
* 'Air Base' now triggers "military" flag
* If no airport country, we now guess based on lat/lon
* Fixed some Canadian airports incorrectly marked as American
* Split main viewmodel across multiple files
* User aircraft position now plotted on AD chart
* Refreshed aircraft icons
* Added helicopter icons
* Additional logging & error handling around SimConnect com, nav & AP functions (MSFS & P3D)
* Fixed plan line was drawn beneath airport markers
* Plan Author setting moved to General Options panel
* Swapped dialog background colours
* Added Logbook database
* Added flight logging
* Airport table now has flags for ILS, lighting and fuel (X-plane just ILS & lighting)
* Added Logbook view panel (view ribbon)
* Added required facilities options to Quick plan
* Fixed multiple takeoffs not recorded in logbook (e.g. touch & go)
* Aerodrome Information now includes facilities (fuel etc)
* Added "Start from current Destination" button to QuickPlan
* Fixed bouncy takeoffs or landings could record multiple events
* Disconnecting the sim will end the flight (logbook)
* Fixed some ATC typenames were not correctly picked up (e.g. 'Beechcraft')
* QuickDest directions now split into 8 45-degree octants, centred on the ordinal directions. Each octant is additive, so
    NW + N + NE will give you airports from 292.5 to 067.5 (northerly) etc


https://1drv.ms/u/s!AkfXrd8YzuWw7B0NhtK_J86jVwEJ?e=25uXoA

Tim. @TimArnot