aussig / BGS-Tally

A tool to track and report your Background Simulation (BGS) and Thargoid War (TW) activity in Elite Dangerous, implemented as an EDMC plugin. BGS Tally counts all the work you do for any faction, in any system.
https://discord.gg/YDNVtjPnnm
MIT License
31 stars 9 forks source link

Current System ID not updated when EDMC launched while game is running #141

Closed aussig closed 11 months ago

aussig commented 11 months ago

If the user FSD jumps when EDMC is not running, then EDMC is launched with the game already running, the current system ID is not updated. Therefore, if activity is logged before a Location, FSDJump or CarrierJump is logged, it will be tallied to the wrong system.

Examine the synthetic StartUp event sent by EDMC in this circumstance - if it contains all data we need then trigger an activity.system_entered() call. We will need to ensure the StartUp event contains at least the following: