Skip to content

Failed to add hosts #622

Description

@Rotusdark

Versions

Mi version del agelanserver es la 1.15.2 y mi version del juego es la v101.103.38051.0 (#169123)

Severity

Major (feature broken)

Describe the bug

Hola, estoy haciendo todo el proceso para poder jugar lan mi aoe2 pero me da este error el bat del launcher:

Using main config file: resources\config.toml
Using game config file: resources\config.age2.toml
Running as administrator, this is not recommended for security reasons. It will request isolated admin privileges if/when needed.
Game age2.
Looking for the game...
Game found on Custom Path.
Cleaning up (if needed)...
Flushing cache...
Setting up...
Looking for 'server's, you might need to allow the 'launcher' in the firewall...
No 'server's were found, proceeding to start a battle server (if needed) and then start the 'server'. Press enter to continue...

Found 'server' executable path: C:\Users\marqu\Downloads\ageLANServer_full_1.15.2_win10_x86-64\server\server.exe
Running 'battle-server-manager, you might need to allow it in the firewall...
Starting 'server', authorize it in firewall if needed...
'Server' started.
Adding hosts to hosts file...
Failed to add hosts.
Exit code: 19.
Stopping 'server'...
'Server' stopped.
Stopping battle server via 'battle-server-manager'...
Battle-server stopped (or was already).
Program finished with errors...
Presione una tecla para continuar . . .

To Reproduce

Quisiera saber que debo hacer para poder corregir eso

Reproducibility

Always

Expected behavior

Quedo atento gracias

Software Components

  • Server
  • Server certificate generator (genCert)
  • Launcher
  • Launcher tools (bin subfolder)
  • Battle Server Manager

Games

  • Age of Empires: Definitive Edition
  • Age of Empires II: Definitive Edition
  • Age of Empires III: Definitive Edition
  • Age of Empires IV: Anniversary Edition
  • Age of Mythology: Retold

Operating System

Windows

OS Version

Windows 11 Pro

Linux Distribution

No response

OS Architecture

x86-64 (Intel, AMD, etc.)

Network environment

LAN

Number of players involved

No response

Full logs

No response

Launcher logs

No response

Server logs

No response

Game logs

No response

Additional context

No response

Screenshots

No response

Crash dumps

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

aoe2Age of Empires II: Definitive EditionbugSomething isn't workinglauncherlauncher executable or subexecutablewindows

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions