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
30 stars 9 forks source link

Carrier Screen Latency #242

Closed combivanCoder closed 1 month ago

combivanCoder commented 3 months ago

Describe the bug It looks like the carrier screen is detecting previous version(s) of the carrier position and carrier market / bartender. There is also no "Post to Discord" button available. Myself and at least one other cmdr are seeing this problem.

Looks like it takes a few docks at the carrier to get the location updated, but the markets data never updates.

To Reproduce Steps to reproduce the behavior:

  1. Configure BGS-Tally Carrier webhook and test webhook with Postman or similar
  2. During gameplay, move carrier & adjust markets / bartender buy / sell
  3. Dock at carrier
  4. Click Carrier button on BGS-Tally front screen

Expected behavior Carrier screen shows latest market and bartender positions, along with a "Post to Discord" button

Screenshots If applicable, add screenshots to help explain your problem. marketbgstally marketactual

Desktop (please complete the following information):

Log Files Please attach the following three log files:

  1. The folder containing this file can be found quickly by going to Help → Open Log Folder in EDMC.
  2. %LOCALAPPDATA%\Temp\EDMarketConnector.log - This is in the parent folder to the file above.
  3. %USERPROFILE%\Saved Games\Frontier Developments\Elite Dangerous\Journal.[latest date/time].log - The folder containing this file can be found quickly by going to File → Settings → Configuration in EDMC and looking at the file path shown in the E:D journal file location box. EDMarketConnector-debug - Copy.log

Additional context Add any other context about the problem here.

aussig commented 3 months ago

You have an enormous number of errors in your log file from other plugins, so there may be a more widespread problem, and I don't see any BGS-Tally errors being thrown Despite this, the BGS-Tally Carrier window is laid out wrong - all squashed and as you say, the Post to Discord button is missing.

So, firstly I will need your EDMarketConnector.log (item 2 in the list of requested log files) to be supplied.

I also suggest you temporarily remove all other plugins from your EDMC Plugins folder (which is found at %LOCALAPPDATA%\EDMarketConnector\plugins\) before trying to run EDMC again and see whether that improves the situation.

combivanCoder commented 3 months ago

Ah sorry - yes I should have done that to start with. One log with no game running (EDMC startup, then shutdown), one during brief period of gameplay. And, yes, the carrier screen still does has this layout "undocumented feature".

EDMarketConnector-debug-GAMERUNNING.log EDMarketConnector-debug-NOGAMERUNNING.log

aussig commented 3 months ago

No you misunderstand, I need both the Debug log and the normal EDMC log - the normal log path is shown under item 2 in the 'Log files' section in the bug report:

  1. %LOCALAPPDATA%\Temp\EDMarketConnector.log - This is in the parent folder to the file above.

    Also, did you try removing all other plugins from your EDMC plugins folder as I suggested?

combivanCoder commented 3 months ago

Gotcha. The only content in the EDMC log is:

E:D Market Connector 5.10.6+8b7923e
2024-05-22 08:17:39.583 UTC - WARNING - 27812:29004:29004 <plugins>.BGS-Tally-Fix.bgstally.overlay.Overlay._check_overlay:161: EDMCOverlay plugin is not installed
2024-05-22 08:17:39.710 UTC - WARNING - 27812:29004:29004 <plugins>.BGS-Tally-Fix.bgstally.activitymanager.ActivityManager._archive_old_activity:147: Attempt to archive failed, destination file already exists

I disabled all plugins except BGS-Tally prior to those logs posted previously.

aussig commented 3 months ago

Are you sure that's the only content? There should be all sorts of stuff like this too:

2024-05-25 16:28:41.374 UTC - INFO - 37276:50364:50364 plug.Plugin.__init__:65: loading plugin "coriolis" from "C:\Program Files (x86)\EDMarketConnector\plugins\coriolis.py"
2024-05-25 16:28:41.386 UTC - INFO - 37276:50364:50364 plug.Plugin.__init__:65: loading plugin "eddn" from "C:\Program Files (x86)\EDMarketConnector\plugins\eddn.py"
2024-05-25 16:28:41.398 UTC - INFO - 37276:50364:50364 plug.Plugin.__init__:65: loading plugin "edsm" from "C:\Program Files (x86)\EDMarketConnector\plugins\edsm.py"
2024-05-25 16:28:41.411 UTC - INFO - 37276:50364:50364 plug.Plugin.__init__:65: loading plugin "edsy" from "C:\Program Files (x86)\EDMarketConnector\plugins\edsy.py"
2024-05-25 16:28:41.417 UTC - INFO - 37276:50364:50364 plug.Plugin.__init__:65: loading plugin "inara" from "C:\Program Files (x86)\EDMarketConnector\plugins\inara.py"
2024-05-25 16:28:41.432 UTC - INFO - 37276:50364:50364 plug.Plugin.__init__:65: loading plugin "spansh_core" from "C:\Program Files (x86)\EDMarketConnector\plugins\spansh_core.py"

Also, did you attempt to open the Carrier info window before you examined that log file?

combivanCoder commented 3 months ago

Morning. Yes that is the entire log (I assumed there would be more also, slightly surprised at the lack of events), and in each iteration I've opened the carrier window in each test. I removed the other plugins as you requested which is why I suspect there is only a BGS tally event set.

Is there a debug param I can run EDMC with to get extended results perhaps?

When I next speak to the other cmdr seeing this problem I'll ask them to send me a copy of their logs also.

aussig commented 3 months ago

Did you manage to get any more info off the other CMDR with this issue?

Also, if you are still getting the "Squashed Window and No Discord Post Button" problem:

  1. Are you running Windows with some display scaling set other than default? It looks like your text is particularly small.
  2. Could you send me another file: From inside the EDMC plugins folder, send this file: BGS-Tally\otherdata\fleetcarrier.json.

Finally, can you check that you have Fleet Carrier CAPI data switched on in EDMC: Basic Setup Step 6

aussig commented 1 month ago

Closing, as no further information provided.