Skip to content

Chnossos/l2auth

 
 

Repository files navigation

l2auth

Lineage 2 server emulator for the Chronicle 4 written in C just for fun.

In Windows, how to build?

  • download Visual Studio Build Tools or Visual Studio, install C++ components
  • run the following commands:
    conan install -b missing
    cmake --preset conan-default
    cmake --build build --preset conan-release
    cmake --install build --config release

In Windows, how to use?

  • update your %WINDIR%/System32/drivers/etc/hosts file to include: 127.0.0.1 l2authd.lineage2.com
  • to run the login server, cd bin && login_server.exe
  • to run the game server, cd bin && game_server.exe
  • that's it, open your Lineage 2 client and enjoy. accounts are created automatically

In Linux, how to build?

  • install and configure Conan
  • run the following commands:
    conan install -b missing
    cmake --preset conan-default
    cmake --build build --preset conan-release
    cmake --install build --config release

In Linux, how to use?

  • update /etc/hosts to include: 127.0.0.1 l2authd.lineage2.com
  • to run the login server, cd bin && ./login_server
  • to run the game server, cd bin && ./game_server
  • that's it, open your Lineage 2 client and enjoy. accounts are created automatically

Notes

  • the login server uses the port 2106
  • the game server will automatically use the port 7777

Credits

Todo

  • add stop timer flag to stop the timer thread
  • wclose should signal instead of just setting the variable

About

Lineage 2 C4 server written in C as a learning exercise

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C 97.4%
  • CMake 2.6%