Building
There are few things required for the compilation of ttydServ. No packages are required to be installed besides g++ and pthreads (if not already installed). It does, however, use the RapidJSON C++ library for parsing the map and NPC files. The files for RapidJSON are included in the download and must be present in the same directory as main.cpp upon compilation. The command used for building ttydServ is as follows:
g++ main.cpp send_to_clients.cpp receive_from_clients.cpp calculate_fights.cpp -o server -pthread
There is also an included Makefile which will build the executable upon simply running:
make