Game server created for educational purposes for IGAD (Breda University of Applied Sciences, the Netherlands)
Branch | Status |
---|---|
master |
For documentation references please check out the following folder Documentation
In order to learn how to use the server, check out the documentation. There you will find help files for how to communicate with the server.
- CMake 3.9.2 (latest version supported by Visual Studio 2017)
- RakNet build as static lib
Run the following commands to install RakNet correctly.
#!/bin/bash
# Install cmake (if it isn't installed already)
sudo apt-get install cmake -y
# Download and compile RakNet
git clone https://github.com/facebookarchive/RakNet.git
cd RakNet
cmake .
make
make install
# Remove old RakNet installation if it exists.
sudo rm -rf /usr/local/include/raknet
# Move RakNet to the correct directory.
sudo mv Lib/LibStatic/libRakNetLibStatic.a /usr/local/lib
sudo mv include/raknet /usr/local/include/
$ cd /server_root
$ cmake .
$ make install
You have to make sure that there is a log folder and that the app has the premission to write in it:
$ cd /server/path/bin/
$ mkdir -p log/Games
$ chmod 666 -R log
Then you can run the application:
$ /server/path/bin/ServerApp
- GCC 4.9 - 7.2 (and possibly later) (because of the json.hpp)
- Clang 3.4 - 5.0 (and possibly later) (because of the json.hpp)
- Intel C++ Compiler 17.0.2 (and possibly later) (because of the json.hpp)
- Microsoft Visual C++ 2015 / Build Tools 14.0.25123.0 (and possibly later) (because of the json.hpp)
- Microsoft Visual C++ 2017 / Build Tools 15.5.180.51428 (and possibly later) (because of the json.hpp)