-
-
Notifications
You must be signed in to change notification settings - Fork 28
Troubleshooting
Q: My antivirus detect some of the executables as virus, how do I proceed?
A: Please look for your antivirus documentation on how to add an exception (see QA on why this occurs).
Q: I run server binary but the window quickly disappears, what is wrong?
A: If you run server for the first time (and not via the launcher), the required server certificate might not have been generated. You may simply generate it by running genCert in bin directory.
Q: I cannot detect the server, how do I fix it?
A: Ensure the firewall is not preventing the communication (see QA for the specific ports and protocols). Try setting in the server [Announcement].Multicast to false. If that does not work, use a direct connection setting the launcher config [Server].Host to the host name (or IPv4).
Q: Why I can't see my friend's lobby?
A: Make sure the lobby is set as public, then ensure the lobby host's firewall is not blocking incoming connections. If that does not fix it, make sure the lobby's filters match the lobby's configuration, have the same Data Mod installed (if any) and game version. Finally, make sure the network adapter you want to use it the top priority (lowest non-zero metric in Windows).
Q: Why I cannot join another lobby but can host my own?
A: Ensure the lobby host's firewall is not blocking incoming connections.
Q: I receive an error shortly after hosting (or connecting to) a match, why is that?
A: Update your game. Also, ensure the firewall is not blocking the connections.
Q: Every time I start the launcher I get an error, what can I do?
A: Open the task manager and (if existing) kill the following processes:
- agent.
- config-admin-agent (will require admin rights).
- server.
If you are not confortable doing that, just restart your computer.
Also, do a manual cleanup just in case: Open the windows hosts file (c:\Windows\System32\Drivers\etc\hosts) with Notepad with administrador rights and delete any lines with #ageLANServer and finally, open certlm.msc -> Personal -> Certificates; remove any with name aoe-api.worldsedgelink.com or ageLANServer.
Q: After running the launcher I can't no longer access the official server, what can I do?
A: In the launcher folder, bin subfolder run config revert -g -a <game> where game is either age1, age2 or age3. If this does not work, try the previous answer.
Q: After a match ends, I can no longer create a new lobby or there are issues, why is that?
A: When a user wants to gain an achievement, the server will not allow it (to disallow cheating) and that will cause issues unrelated to the launcher or server programs. You can use a configured custom launcher as shown here to fix this issue. If you use the official game launchers, the only solution is to restart the game (for the user with issues only). As a workaround, you may try not to gain achievements by, for example, allowing the use of 'cheats' in a lobby and every player using a harmless cheat at the start of the game as using cheats in-game will disable achievements altogether.
Q: Whenever a user connects to my server I get disconnected (or the reverse), why is that?
A: If you are using a "Custom" launcher, make certain no user shares the same Steam User ID or set in the server's config file GeneratePlatformUserId to true.
Q: Launcher exits with the error Failed to backup metadata or profiles, how do I fix it?
A: Disable temporarily backing up the metadata/profiles by opening launcher\resources\config.toml with Notepad and setting IsolateMetadata/IsolateProfiles to false. Also if you have enabled the Ransom protection in Windows Defender please add %USERPROFILE%\Games as a folder exception. Please create an issue to address it otherwise.
Q: The server won't start with an error of unable to listen, how do I fix it?
A: Run sudo setcap CAP_NET_BIND_SERVICE=+eip './server' to give permissions to listen to the 443 (HTTPS) port.
Q: I run server but nothing happens, what is wrong?
A: If you run server through the file explorer, it will run in the background without a window. If you want to see the output either run server-....sh or run server through a terminal.
Q: I'm using the arm64 version of the launcher but I cannot play, why?
A: Since the game is actually x86-64, a compatibility layer is needed to run on arm64 machines. Steam is working on it already. I'm providing an arm64 variant just in anticipation for this compatibility to happen. So, in the mean time, you might have some luck tinkering with the CPU emulation that Valve is trying to use, FEX, or Box64 as an alternative.
Q: Why do I receive an error when trying to host a lobby?
A: Make sure you are creating the lobby while inside the "LAN" section (button) you access directly through the main menu.
Q: Why is the main menu button "LAN" greyed out?
A: Look at the answer I don't have the option to select "Use Local LAN server"... for AoE II.
Q: Why do I receive an error when trying to host a lobby?
A: Make sure you are selecting the "Use Local LAN server" option when creating the lobby.
Q: I don't have the option to select "Use Local LAN server" in the server dropdown when trying to host a lobby, how do I fix it?
A: Follow the next steps:
- Make sure the process
BattleServer.exeis running (e.g using Task Manager) - Disable your windows firewall temporarily.
- Disable/De-prioritize other windows adapters (like virtual adapters) making sure your main LAN adapter priority is at the top when you run
ipconfig. Look on the internet on how to do it. - On the launcher config, set
CanBroadcastBattleServertofalse. - Host the lobby with another PC.
Q: The mod browser does not work, how do I install mods?
A: You can only search and install mods online when using the official launcher. If you want to use them on other profiles when not using the official launcher, simply copy a given mod folder from %userprofile%\Age of Empires 2 DE\<profileIdSource>\mods\subscribed to %userprofile%\Age of Empires 2 DE\<profileIdDestination>\mods\local. See here for more information.
Q: Why do I receive an error when trying to host a lobby?
A: Make sure you are selecting the "LAN" option before creating the lobby.