Skip to content

Latest commit

 

History

History
68 lines (55 loc) · 3.16 KB

README.md

File metadata and controls

68 lines (55 loc) · 3.16 KB

IGADPiGameServer

Game server created for educational purposes for IGAD (Breda University of Applied Sciences, the Netherlands)

Build status

Branch Status
master Coverity Scan Build Status Coverage Status Build status

Documentation

For documentation references please check out the following folder Documentation

How to use

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.

Dependencies

  • CMake 3.9.2 (latest version supported by Visual Studio 2017)
  • RakNet build as static lib

Install dependencies

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/

Build

$ cd /server_root
$ cmake .
$ make install

Run

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

Supported compiler

  • 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)