-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EDMC is not syncing Inara ranks and rank progress when (re)logging while on foot. #1378
Comments
This is due to the code around line 425 of plugins/inara.py, which aims to not send any Inara API events for things like rank progress until a ship The proper fix is to review this whole state tracking and delayed sending. It shouldn't be necessary any more with the strict queue and 35s timer between Inara API calls. Worst case scenario we'll send a single 'startup'-related event immediately and then the rest 35s later. |
@mIRCon ping! Did you get chance to test this specific issue/fix yet ? |
@Athanasius the situation is even worse. It does sync when you relog on foot but it sends 0% for EVERY rank's rank progress. From the journal: From EDMC log with Inara trace turned on: The final result is that all of my ranks on Inara have rank progress of 0% instead of their actual values. |
Aha! Looks like a simple enough bug.
Now I just need to consider if there's any merit to making the code paranoid about the order of these two events. The latest Journal document makes no guarantee about this. |
OK, checks out with the change in #1445 - I both debugged it going through the Inara plugin code for (now) Progress and confirmed I see the correct progress on my Inara profile when mouse-overing the ranks. Stay tuned for -beta9. |
So, seems to be working in -beta10, closing this. Will re-open if there are fresh reports using 5.3.0-beta10 or later. |
Please complete the following information:
Describe the bug
EDMC is not syncing Inara ranks and rank progress when (re)logging while on foot.
In order to have ranks updated on Inara you have to enter the ship and then relog the game.
It doesn't matter how many times you relog on foot consecutively, ranks and rank progress won't be synced until you enter the ship and relog the game.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Since journal contains ranks and rank progress values whenever you (re)log the game no matter whether you're on foot or in the ship EDMC should use those values when syncing with Inara.
Screenshots
N/A
Additional context
I have included EDMarketConnector-debug.log since last night during testing with --trace-on plugin.inara.events and cleared fdevid, apikey and other "personal" data (other than cmdr name that is) along with two journal events when relogging the game while on foot and while in the ship so you can compare those events and see why EDMC is triggering Inara rank and rank progression sync while in the ship and not while on foot relog.
Maybe it would be good to check whether other things are not being synced as well when relogging on foot but are provided with journal entries too. (just as precaution while you're investigating this issue anyway)
EDMarketConnector-debug.log
Journal on foot relog events.txt
Journal in ship relog events.txt
The text was updated successfully, but these errors were encountered: