Razviar / mtgap

Support tool for MTG Arena online game
https://mtgarena.pro/
219 stars 50 forks source link

Error: Awaiting User ID to appear in log. #407

Open musicluvah1981 opened 2 weeks ago

musicluvah1981 commented 2 weeks ago

How can I get this app to work?

I'm getting this error no matter what I do.

I've created an exclusion in windows defender - for the SharpMonoInjector.dll and the main folder itself. I've confirmed the SharpMonoInjector.dll file is present. I've confirmed the player.log file is present. I've confirmed the location of my MTGA_DATA folder (using default, not steam) I've confirmed I have log files for games. I've lauched the app before launching MTGA itself. I've manually deleted all app files and reinstalled. I've restarted my PC after setting the exclusion.

Still not working :\

Sadly I've spent a couple of hours trying different things and can't get it to work.

pfdutot commented 2 weeks ago

From a quick look at the logs, it seems that getusercredentials.ts is looking for something that is not in my logs. The "authenticateResponse" is not in my log, instead the logging phase looks like:

[Accounts - Login] Attempting Login with credentials. [Accounts - Login] Logged in successfully. Display Name: XXXXXXX#99999 Connecting to Front Door: frontdoor-mtga-production-2024-38-10-2.w2.mtgarena.com:30010 [UnityCrossThreadLogger]FrontDoorConnectionAWS.Open {"creator":"ArenaGlobals.Constructor"} [UnityCrossThreadLogger]Got non-message event: Wizards.Arena.TcpConnection.TcpOpenedEvent [UnityCrossThreadLogger]==> LogBusinessEvents {"id":"ffffffff-ffff-ffff-ffff-ffffffffffff","request":"{\"PlayerSocialId\":\"XXXXXXXXXXXXXXXXXXXXXXXXXX\",\"NewStatus\":\"Offline\",\"OldStatus\":\"Available\",\"SceneId\":\"EmptyScene\",\"Validity\":\"Verified\",\"EventType\":37,\"EventTime\":\"2024-06-20T13:11:04.9708572Z\"}"} [UnityCrossThreadLogger]==> LogBusinessEvents {"id":"ffffffff-ffff-ffff-ffff-ffffffffffff","request":"{\"EventName\":\"ClientStartup\",\"Data\":{\"BuildVersion\":\"2024.38.10.6143\",\"RegionId\":\"USA\",\"InstallId\":\"NoInstallID-ffffffff-ffff-ffff-ffff-ffffffffffff\",\"PersonaId\":\"NoInstallID-ffffffff-ffff-ffff-ffff-ffffffffffff\",\"AccountId\":\"NoInstallID-ffffffff-ffff-ffff-ffff-ffffffffffff\",\"ClientPlatform\":\"SteamWindows\",\"AppSessionId\":\"ffffffff-ffff-ffff-ffff-ffffffffffff\"},\"EventType\":72,\"EventTime\":\"2024-06-20T13:11:05.1398625Z\"}"}

I cut only a few lines, and anonymized. Let me know if there is more you need to know here.

pfdutot commented 2 weeks ago

Just to confirm, when hardcoding the correct values for my account line 19 and 20 in getusercredentials.ts, the plugins work correctly.