Skip to content

server emulator to recreate the online mode of The Settlers II: 10th anniversary edition

License

Notifications You must be signed in to change notification settings

S2-modders/Settlers-DNG-lobby-emulator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Settlers II: 10th Lobby Emulator [WiP]

This project is an attempt to recreate the online mode of The Settlers II: 10th anniversary edition by emulating the online lobby and reimplementing the tincat3 network protocol.

Tincat version used: 3.0.53

Current Progress:

  • create account (just a stub, no actual account creation happening**)
  • login with account
  • request and show MOTD
  • show online status of other players
  • global chat with properly working usernames
  • error messages when auth or account creation failed
  • create new game
  • join new game
  • launch new lobby with other players
  • port check when hosting game, prefer direct connection
  • automatic creation of TCP bridge if direct connection fails
  • automatic disconnect from TCP bridge when user leaves multiplayer screen
  • see all created games with default filter (cannot get this to work :(( - kinda workaround with dll hack for now)

**) managing a user database is not worth it for this game, so any connection gets accepted regardless of CD key, username and password

Note

The current version is a complete rewrite of the old C# code base in golang. The original fork code can be found in the old/C# branch.

Credits

  • BIG THANKS to cocomed who originally created the C# implementation this port is based on here
  • pnxr for continuing the project and adding fixes to the C# code base
  • the Sacred2 community

About

server emulator to recreate the online mode of The Settlers II: 10th anniversary edition

Resources

License

Stars

Watchers

Forks

Languages

  • Go 100.0%