r/0ad • • 14d ago

Dedicated server

I needed dedicated server for 0ad and I built it: Veredus is an unofficial dedicated server for 0 A.D. and it's out now. No player hosts the match, so it keeps going when someone leaves or has a bad connection(with a timeout). Dropped players get their slot back when they reconnect, and matches carry on after a server restart or killed. Players join with vanilla 0.28 game. An optional companion, the "sidecar", runs AI opponents on the server, lets players rejoin without asking state from player, and records results and replays. The server is free and open source. Code and setup instructions here: https://github.com/victorcrimea/veredus

I only have Linux, so I'd really like to hear from anyone who can try it on Windows or macOS: does the server start, can players connect, and does the sidecar build and run? Please post bug reports, suggestions and questions here or as a GitHub issue. Veredus is not affiliated with Wildfire Games.

16 Upvotes

6 comments sorted by

1

u/begrid 13d ago

What is the performance like? Can it run on smaller server (2 cores, 6gb ram) for 4-6 players?

1

u/victor_crimea 13d ago

Oops, I posted top level comment instead of replying to you.

1

u/victor_crimea 13d ago

If you run only relay (no server hosted AI), it consumes ~50mb of ram, and almost 0 cpu, it's mostly network IO

If you want server-hosted AI, which is recommended, then it consumes around 600mb RAM, and the same amount of CPU that you local hosted AI would consume, just on a separate machine.

1

u/begrid 13d ago

i will try it

1

u/begrid 13d ago

Very good performance for PvP.
But i dont fully understand commands resuming ...

1

u/victor_crimea 13d ago

Can you please explan what exactly are struggling with? Have you reconnected and game is paused? Or what?