1
0
mirror of https://git.ngram.ca/OpenJam/rc-servers synced 2026-08-23 23:08:52 +00:00
Commit Graph

5 Commits

Author SHA1 Message Date
NG (Graham)
6a953bc613 Implement lobby parts of custom games #38 2026-03-17 21:52:15 -04:00
MaxSignal
d2c68bf7dd Implement queue timeout #45 (#71)
### Description

This PR implements a queue timeout in the lobby server.

* After the time configured in `timeout` has elapsed (default: 3 minutes) since the first player joins the queue, matchmaking will start even if the queue has not reached the `players_per_game` target. Any missing slots will be filled with fake players.
* If the first queued player leaves and other players remain, the timer is recalculated so that matchmaking starts after the `timeout` duration (default: 3 minutes) from the next player’s join time. (After that, the timer continues to be adjusted in the same way whenever the head of the queue changes.)

### Game

Robocraft

### Please confirm

- [x] I am the legal owner or represent the owner of all work submitted
- [x] I consent to my submission being added to this FOSS project
- [x] This PR used LLMs to generate some or all of the code changes

Reviewed-on: https://git.ngram.ca/OpenJam/rc-servers/pulls/71
Reviewed-by: NGnius <ngniusness@gmail.com>
Co-authored-by: MaxSignal <kastera58@gmail.com>
Co-committed-by: MaxSignal <kastera58@gmail.com>
2026-01-08 02:17:34 +00:00
NG (Graham)
fd11b8746b Save current game event to database for use in the match 2025-07-22 21:36:35 -04:00
NG (Graham)
9f74a2e76a Add support for matchmaker sending clients off to game server 2025-06-19 22:05:16 -04:00
NG (Graham)
4baa1ef911 Add minimum matchmaking lobby server 2025-06-10 20:52:36 -04:00