oatot / oatot

OpenArena tote
MIT License
3 stars 5 forks source link

oatot

OpenArena tote

Idea

Make betting (with both virtual currency or BTC) possible in OA. Read more: http://guild-oa.com/oatot

Motivation

Just for fun and to keep the game I love alive.

Architecture of the project

OaMod <-----------> gRPC client (Go) <-------------> Backend (Go)
           Cgo                             gRPC
                                  (documented in api.proto)

How to build and run OA mod

You will need a C-compiler (better gcc or clang), GNU make, Go, grpc-go.

cd /path/to/oa_mod/linux_scripts/
./build_oa_server [ path/to/dir/for/downloading/pk3s - optional ]
./run_oa_server <port> server.cfg

Make sure that server.cfg is in ~/.openarena/baseoa folder and you have BINNAME set to your openarena server binary.

How to build and run backend

You will need: Go, grpc-go.

cd /path/to/backend/otservice/
go build
./otservice -database '/path/to/storage_file' -start-money 0

OpenArena mod

Modified OAX. The mod is currently only CTF-oriented (both betting structure and user interface).

See also the Cvars and Cmds lists.

Game stages

Game process is splitted into the following stages, the only way to switch between them is to use ready command or by finishing the match in some way.

How to earn OaCoins?

Future solutions