This is a project to revive the online matchmaking services. This allows you to go online again.
To let this server work there are some DNS changes required before it all works. The following domains needs to be redirected to this server:
*.dnas.playstation.org
*.theater.ea.com
Read here more about it how to install your own DNS.
git clone https://github.com/Project-Backstab/MOHRS-Matchmaker.git
cd MOHRS-Matchmaker
git submodule init
git submodule update
sudo apt-get install doxygen graphviz ccache
Copy the example config file.
cp data/settings.exmaple.json data/settings.json
Then change the discord token and channel to your needs and change the password for the webserver.
./make_release_build.sh
This will create the mohrs executable and copy the data to the "MOHRS-Matchmaker-release" directory.
For development:
cd MOHRS-Matchmaker
mkdir build
cd build
cmake ..
cmake --build . --target doc
make -j 4
sudo ufw allow 80/tcp
sudo ufw allow 8080/tcp
sudo ufw allow 14300/tcp
If you want to avoid to run the application as sudo you must Preroute port 80 to 8080
sudo iptables -A PREROUTING -t nat -i <network interface> -p tcp --dport 80 -j REDIRECT --to-port 8080
For release:
cd MOHRS-Matchmaker-release/
./bin/mohrs
For development:
cd MOHRS-Matchmaker/build
./mohrs
For development debugging:
cd MOHRS-Matchmaker/build
gdbserver --multi :2345 mohrs
If you want to run this project as a services you can read more about it over here.