DJSchaffner / aoe2de_patcher

Reverts patches in AoE2 DE (Steam version)
GNU General Public License v2.0
13 stars 3 forks source link

[BUG] Steam Guard asking for 2FA mobile app confirmation multiple times #10

Open lfueracker opened 3 months ago

lfueracker commented 3 months ago

I have almost the same issue as #8. The difference seems to be that I have to confirm via the Steam mobile app and not via authentication code. The behavior continues until the login limit is reached. I'm using v2.8

Game directory set to: C:\Program Files (x86)\Steam\steamapps\common\AoE2DE
Installed version detected: 107882
Starting download phase...
Generating list of changes
Connecting to Steam3... Done!
Logging 'my_steam_user_name' into Steam3...
STEAM GUARD! Use the Steam Mobile App to confirm your sign in...
 Done!
Using Steam3 suggested CellID: 91
Got 77 licenses for account!
Got AppInfo for 813780
Using app branch: 'public'.
Got depot key for 813781 result: OK
Processing depot 813781
Downloading depot manifest...Got manifest request code for 813781 4513437704973867881 result: 10839962263811461644
 Done!
Manifest 4513437704973867881 (2024-03-13 00:58:00)
Total downloaded: 0 bytes (0 bytes uncompressed) from 1 depots
Disconnected from Steam
Connecting to Steam3... Done!
Logging 'my_steam_user_name' into Steam3...
STEAM GUARD! Use the Steam Mobile App to confirm your sign in...
 Done!
Using Steam3 suggested CellID: 91
Got 77 licenses for account!
Got AppInfo for 813780
Using app branch: 'public'.
Got depot key for 813781 result: OK
Processing depot 813781
Downloading depot manifest...Got manifest request code for 813781 5767571627324248032 result: 17486455897610057081
 Done!
Manifest 5767571627324248032 (2024-02-15 13:11:21)
Total downloaded: 0 bytes (0 bytes uncompressed) from 1 depots
Disconnected from Steam
Connecting to Steam3... Done!
Logging 'my_steam_user_name' into Steam3...
STEAM GUARD! Use the Steam Mobile App to confirm your sign in...
[...]
lfueracker commented 3 months ago

Same behavior with v2.7 I disabled Steam 2FA and tried again. Though it looks like basically the same behavior, after a couple (~10) retries, it got to the download step, and after the download getting cancelled and restarted multiple times due to disconnects, it actually managed to run successfully.

Edit: While the tool says it was successful, the game does not start after patching. The splash screen appears but closes itself after a couple of seconds. After running Restore, it works again. I tried this twice, with 2.7 and 2.8, same behavior each time (including the authentication-retry isssue). Was trying to revert the latest patch (and go back to 104954).

DJSchaffner commented 3 months ago

Once you reached the login limit you will have to wait 30 minutes until steam actiavtes login for your account again. However, this seems odd. Did you activate the checkbox to remember the device when confirming the login in the app?

Version 2.7 or 2.8 shouldn't make a difference with that issue. Just version 2.6 could be different but will likely also not work.

While the tool says it was successful, the game does not start after patching. The splash screen appears but closes itself after a couple of seconds. After running Restore, it works again. I tried this twice, with 2.7 and 2.8, same behavior each time (including the authentication-retry isssue). Was trying to revert the latest patch (and go back to 104954).

This is unfortunately a "bug" that has been happening since the patch around january. Haven't been able to find a workaround for this. So far just repeatedly starting the game should launch your game after a few tries. If it doesn't you can try running the aoe2 executable as administrator.

Will do some more digging into this issue and perhaps contact some Microsoft devs if I can't find a solution.

DJSchaffner commented 3 months ago

Since I can't reliably reproduce the error of the game not starting / splash screen showing up and vanishing after a few seconds, could you maybe check the Windows event manager and see if you find an error for the startup of the game?

lfueracker commented 3 months ago

Yes, I did activate the checkbox.

This shows up in the event log (multiple times, but the same save for pid, time, and report id):

Faulting application name: AoE2DE_s.exe, version: 101.102.39418.0, time stamp: 0x65ce0b66
Faulting module name: ntdll.dll, version: 10.0.22621.3235, time stamp: 0xa2c4352c
Exception code: 0xc0000374
Fault offset: 0x000000000010c1a9
Faulting process id: 0x0x38F8
Faulting application start time: 0x0x1DA7BA831A63347
Faulting application path: C:\Program Files (x86)\Steam\steamapps\common\AoE2DE\AoE2DE_s.exe
Faulting module path: C:\WINDOWS\SYSTEM32\ntdll.dll
Report Id: c42501cb-2cea-4e22-81ab-f47ee9985d8a
Faulting package full name: 
Faulting package-relative application ID: 
DJSchaffner commented 3 months ago

Alright, thanks for that. Looking into it! One more thing:

Can you check if you have an error dump (or multiple) from when you tried to launch the game and it crashed at this location: %LOCALAPPDATA%\CrashDumps Not sure if this will be too useful yet but maybe it's easier to find a pattern with mine and your crash logs combined.

lfueracker commented 3 months ago

AoE2DE_CrashDumps.zip Those are the first three. I got a couple more if you want them, but the upload limit was 25 MB.

DJSchaffner commented 3 months ago

I created a new issue for the issue with the game not starting to separate it from your original question. Think i got all information in there we collected.