A small TCP server written in C11 powered by libuv, an asynchronous networking library. It powers the Habbo Hotel version 18 client from 2007 era. The aim is to fully replicate this version by writing the back-end server in the C11 language.
This was the original Kepler emulator before it was recoded in Java. Both the C and Java versions share the same MySQL database schema.
Pre-built binaries are available from the latest release. The zip includes the binary and data files.
curl -fsSL https://raw.githubusercontent.com/Quackster/KeplerC/master/install.sh | bash
irm https://raw.githubusercontent.com/Quackster/KeplerC/master/install.ps1 | iexBoth scripts download and extract to ~/KeplerC.
- MySQL or MariaDB server
- Load the database schema from the Java Kepler project (
tools/kepler.sqland migrations)
On first run, a config.ini file is created where you can configure your MySQL connection:
[MySQL]
mysql.host=127.0.0.1
mysql.port=3306
mysql.user=kepler
mysql.password=
mysql.database=keplersudo apt install make cmake git libuv1-dev libmariadb-dev libsodium-dev
pacman -S mingw-w64-x86_64-gcc mingw-w64-x86_64-cmake mingw-w64-x86_64-make mingw-w64-x86_64-libuv mingw-w64-x86_64-libsodium mingw-w64-x86_64-libmariadbclient
git clone --recursive https://github.com/Quackster/KeplerC
cd KeplerC
cmake -B build
cmake --build build
./build/Kepler