Skip to content

Deploy Xonotic game sever in a Cloud via CB Tumblebug

Seokho Son edited this page May 27, 2024 · 2 revisions

Deploy FPS Game Xonotic server to MC-Infra

What is Xonotic. https://xonotic.org/

How to use with a script (example)

./create-all.sh -n shson2 -f ../testSet01.env
./deploy-fps-game.sh -n shson2 -f ../testSet01.env
shson@dev:~/go/src/github.com/cloud-barista/cb-tumblebug/src/testclient/scripts/sequentialFullTest$ ./deploy-fps-game.sh -n shson2 -f ../testSet01.env 
####################################################################
## Deploy-Xonotic-FPS-Game-to-mcis 
####################################################################

MASTERIP: 13.213.58.171

Installing Xonotic to MCIS...

...

[DATE: 22/12/2021 03:50:48] [ElapsedTime: 100s (1m:40s)] [Command: ./deploy-fps-game.sh all 1 shson2 ../testSet01.env]

[MCIS Xonotic: complete] Access to
 13.213.58.171:26000

How to use with CB-MapUI (example)

image

How to play game (client)

To access the game server,

Support Xonotic server configuration

  • Params can be configured: serverName, serverPort, numBot

Example.

wget https://raw.githubusercontent.com/cloud-barista/cb-tumblebug/main/scripts/usecases/xonotic/startServer.sh; 
chmod +x ~/startServer.sh; 
sudo ~/startServer.sh cloud-barista-VM01 30000
Clone this wiki locally