Skip to content
This repository has been archived by the owner on Feb 19, 2021. It is now read-only.

bretonium/my-infclass-server

Repository files navigation

Teeworlds InfClassR

Slightly modified version of original InfClass by necropotame.

Do not use it. Instead, go to currently developed version: https://github.com/InfectionDust/teeworlds-infclassR

Additional dependencies

GeoLite2++ is used for IP geolocation

sudo apt install libmaxminddb-dev

Building

Install bam 0.4.0 build tool. Compile it from source or get precompiled binaries for your platform.

git clone https://github.com/yavl/teeworlds-infclassr
cd teeworlds-infclassr

Copy bam executable into teeworlds-infclassr directory.

With sv_maprotation you can define what maps will be played in which order, for example:
sv_maprotation "infc_skull infc_warehouse infc_damascus"
With sv_rounds_per_map you can define how many rounds each map should be played before changing to the next map.
If inf_maprotation_random is set to 1 than a random map will be chosen after a map finished.

on Ubuntu

sudo apt install libicu-dev libmaxminddb-dev
./bam server_debug

on macOS

via Homebrew:

brew install icu4c libmaxminddb
./bam server_debug_x86_64

on Windows

GCC should be installed, e.g. Mingw-w64.

bam config stackprotector=true nogeolocation=true
bam server_debug

Server commands

Read the wiki

This product includes GeoLite2 data created by MaxMind, available from https://maxmind.com.