Open Athanasius opened 3 years ago
And note that as it is Save Raw Data...
totally ignores the cooldown on auto/manual Updates. That needs to change.
Definitely change the Update
text on the button, remembering the translation, to:
Refresh Market,
Shipyard & Outfitting
Obviously the changed label will need translation, so use {CR}
for the line break.
Also, the Cooldown XXs
should probably be split over two lines to prevent main window size jumping around.
We'll probably want to do a CAPI pull after we know the Cmdr has sold or bought a ship, so that the list of all owned ships is properly in sync.
Then you also should consider pulling after death in case if player didn't rebought ship.
UPD: There is special journal event for it: Resurrect
.
Then you also should consider pulling after death in case if player didn't rebought ship. UPD: There is special journal event for it:
Resurrect
.
Now mentioned in my central #1188 comment.
It is true that EDMC should absolutely not allow 'Update' if the game isn't even running. The player might have played elsewhere such that the latest local Journal file isn't in sync with the in-game location, and as such any cross-check for CAPI-sourced commodity, shipyard and outfitting will be unreliable.
Although that would entirely disallow running EDMC other than on the computer the game is on....
Users are pressing 'Update' because they expect it to, e.g. send new data about them to Inara. It will not, nor EDSM. The most it would do is send updated (if different from currently held data) for market, shipyard and outfitting out to EDDN and other plugins.
We also have other uses pressing Update when not docked and experiencing spurious status messages: #1208 & #1018
There are some caveats:
File
>Status
information about all your owned ships only comes from the/profile
endpoint. So would be unavailable if not docked during the session. We can probably just address #1188 to take care of this.File
>Save Raw Data...
able to work anyway for this purpose. But note #1168 should be addressed as well, allowing for pulling fresh data if none is yet cached.