Development

The first server is up

The lobby: Team Deathmatch on Varikko with players and bots in the list.

The first official server, Pullakahvi Suomi 1, is now running in Finland, and the game's Find a match search finds it. Bots keep you company until other players join.

The server is the same game without a screen. I run it in a Docker container. The server list lives on Cloudflare: the server reports there that it is alive, and the game fetches the list from there. Bots fill a match up to twelve players, and every real player takes one bot's place.

A match on Varikko: an assault rifle in hand, an enemy between the containers, the minimap and the kill feed on screen.
A match on Varikko on the official server.

The first version never started a match. The server counted joined players as bots, so a public lobby waited for real players forever. The second trap was in the search: the server did not always answer the game's search message, so the game now also asks the server's address directly. Finally I checked that the search finds the server over the internet.

After a match the server keeps the lobby open, and the next match starts from there after the map vote. If you join mid-match, you pick a class first. Until then your character stays hidden and frozen, so nobody shoots you while you are in the menu.

The server works out hits itself and does not trust what a player's machine says. Odd results come to me for review. Only matches on official servers go into the stats, and the server signs every report with its own key so the site knows where a result came from.

Before I let others play, I had AI review the security of the site and the game server. It found 17 issues in the site alone, and one was serious: the old shared server key still worked, and with it someone could have sent made-up matches and collected XP. I removed the old key. Join tickets now work only once, and requests are limited per address.

The official server takes care. Its address is visible to players, so it is also a target for attacks. So the server runs without admin rights, and if attacks come, I have a plan ready for them.

Next, the server starts changing modes between matches. What ping do you get to Suomi 1? Write it in the comments on this post.

All devlog posts

Reactions

Comments