

The gdxsv directory contains main server program. It is supposed to run this command before you run updated gdxsv.īattlelog2json: Convert battle log file to json.Ġ: disable cloud profiler, 1: enable cloud profiler, 2: also enable mtx profileĠ: disable pprof, 1: enable http pprof, 2: enable blocking profile (default 1) Note that if the database file already exists it will be permanently deleted. It is supposed to run this command before you run lbs first time. It is supposed to host mcs in a different location than the lobby server. When the mcs is vacant for a certain period, it will automatically end. The mcs attempts to register itself with a lbs. Lbs: Serve lobby server and default battle server.Ī lbs hosts PS2, DC1 and DC2 version, but their lobbies are separated internally. GDXSV_MCSFUNC_URL : Specifies a URL of mcsfunc that you deployed.GDXSV_GCP_KEY_PATH : Specifies a GCP Service Account keyfile that have permission for following roles.Required if you use mcsfunc or CloudProfiler. GDXSV_GCP_PROJECT_ID : Specifies the project id of Google Cloud Platform.GDXSV_BATTLE_LOG_PATH : Specifies a file path that will be used to save battle log file.GDXSV_BATTLE_ADDR : Specifies the TCP/UDP address that the mcs listens on.GDXSV_BATTLE_PUBLIC_ADDR : Specifies the TCP/UDP address that a client will use to connect with TCP/UDP.GDXSV_LOBBY_ADDR : Specifies the TCP address that the lbs listens on.GDXSV_LOBBY_PUBLIC_ADDR : Specifies the TCP address that used when a mcs connects to a lbs.(This is especially useful during local development.) Configulations Environment variables Using only the lbs command to act as a standalone lobby and match server. There is a CloudFunction script in the mcsfunc directory that launches mcs on GCP.

This allows one lobby server to manage match servers around the world. mcs serves only a match server and connects to the parent lbs.lbs serves a lobby and a match server one by one.There are two ways to run the gdxsv binary. This command serves one lobby and one matching server. Edit build_run.sh to fix server address.bin/gdxsv initdb, then gdxsv.db is generated. protoc-gen-go (Run make install-tools to install).This project follows the all-contributors specification. Thanks goes to these wonderful people ( emoji key): : This is the server hosted by this project.This project aims to keep the online mode alive for fans. This game has online mode, but the service ended in 2004. Zeon was released on Playstation2 and Dreamcast.
