Evan
3a4db82c9a
add more aggressive headers to prevent caching the root.
2025-03-18 09:59:33 -07:00
Evan
48b19413c8
update gatekeepr
2025-03-16 13:25:09 -07:00
Evan
09403ae13a
update gatekeeper
2025-03-16 13:24:16 -07:00
Evan
de0241973e
update gatekeeper
2025-03-16 13:18:01 -07:00
Evan
48db92c922
update subproject
2025-03-16 13:14:38 -07:00
Evan
0f52cbeaf1
fix lobby duration at 60s now that we limit lobby size. remove "high traffic time"
2025-03-16 08:36:00 -07:00
Evan
e929cc42b0
add Britannia, reduce world & europe frequency
2025-03-15 18:25:16 -07:00
Ilan Schemoul
854ae02d16
fix: lobby were twice as long because of dynamic timer ( #252 )
...
We previously had a system where lobbyLifetime = gameCreationRate * 2
It was to always have one lobby ready.
With dynamic timer (start if enough player or timer's over) we cannot
rely on this system (which used setInterval) so we have one lobby and
check every 100ms if we need to create another lobby.
Might add 100ms+time of creating a lobby ms latency. Which is fine I
guess.
2025-03-14 14:30:26 -07:00
Ilan Schemoul
b9dad022fc
fix timer ( #239 )
...
- **improve and fix dynamic lobby**
- **Revert "Change BorderTiles from Array to Set (#230 )"**
I'm obviously forced to include the revert patch otherwise I can't
compile. but you should first merge PR dedicated to revert before tthis
2025-03-13 17:03:38 -07:00
Ilan Schemoul
07ad7912bc
feat: timer starts if enough player or enough time ( #229 )
...
Avoid these huge lobbies
2025-03-12 14:18:34 -07:00
evanpelle
ea628570b2
have nginx cache index for 1s. ( #224 )
...
This is required for A B deployments, the browser wasn't updating due to
conditional caches
2025-03-12 11:03:28 -07:00
evanpelle
b1035a8e77
update to hetzner deployment ( #220 )
2025-03-12 09:17:27 -07:00
evanpelle
5dc00bc3ab
use git commit hash verification when replaying archived games ( #204 )
2025-03-10 12:40:36 -07:00
evanpelle
61cfe7102c
update error modal to show game id ( #197 )
2025-03-09 19:16:57 -07:00
evanpelle
33292aec5c
feat: replay archived games, gamestate hash verification ( #195 )
...
create endpoint to load archived game. when joining game client first
checks if the game is active, if not it requests the game archive from
the server. the archive is sent to LocalServer to replay the game
locally. Every 10 ticks a hash is stored on the archive, and during
replay the LocalServer verifies this hash.
2025-03-09 14:24:39 -07:00
ilan schemoul
1b76c46bc5
feat: remove LocalPersistantStats so we locally save GameRecords
...
GameRecords also now include PlayerStats
2025-03-08 17:39:41 +01:00
Evan
2b8cc2cf28
add mars map to rotation
2025-03-07 21:43:32 -08:00
BeGj
619891741f
linting
2025-03-07 16:53:10 +00:00
Evan
a56ea5f786
don't check if public when starting game
2025-03-07 07:24:18 -08:00
Evan
56e84c3679
copy .env file to instance
2025-03-06 20:49:59 -08:00
Evan
edcfac2fe7
give public lobbies smoother countdown, use admin token in server.
2025-03-06 19:43:56 -08:00
Evan
fc73ed46cb
remove oceania from map rotation
2025-03-06 16:16:41 -08:00
Evan
cf702bcbb4
update gatekeeper
2025-03-06 15:54:23 -08:00
Evan
4c8eeb0cc1
merge branch v0.17.3
2025-03-06 15:46:57 -08:00
Evan
1a9176779f
remove no cache from /api/env
2025-03-06 10:46:23 -08:00
Evan
dacd9607e4
update ttl, use file based hashing to prevent stale data.
2025-03-05 20:14:49 -08:00
Evan
3a0bc594ae
use api prefix
2025-03-05 18:04:22 -08:00
Evan
d2dd262220
update map=>mapType map is keyword
2025-03-05 16:48:52 -08:00
Evan
92594c48d0
update end => end_time, end is reserved keyword
2025-03-05 14:51:56 -08:00
Evan
303180f51f
update config, fix s3 region
2025-03-05 13:50:32 -08:00
Evan
1a0729a427
move out -> static
2025-03-05 13:24:54 -08:00
Evan
2b26cfbbc9
update aws deployment, have client get env from server
2025-03-05 12:37:37 -08:00
Evan
bf5b3ef993
use S3 & reshift to archive
2025-03-05 07:34:07 -08:00
Evan
fa5ba935ff
update gatekeeper
2025-03-04 16:35:36 -08:00
Evan
e288b5d5fa
use gatekeeper wrapper to avoid using promise
2025-03-04 16:32:29 -08:00
Evan
8c8fa87821
update gatekeepr
2025-03-04 08:43:58 -08:00
Evan
6a22d58281
use admin key token for admin auth
2025-03-04 08:43:17 -08:00
Evan
9fd1203d50
format HostLobbyModal
2025-03-03 14:46:29 -08:00
Evan
1132dc5ed9
use S3 & reshift to archive
2025-03-03 11:53:28 -08:00
Evan
bcf121788f
fix gatekeeper name
2025-03-02 12:16:19 -08:00
Evan
24362d0b8c
remove rate limiter, let gatekeeper handle it
2025-03-02 09:57:16 -08:00
Evan
5e09c0db47
fix build errors from cherry-pick
2025-03-02 09:51:25 -08:00
Evan
d8841924e2
update gatekeeper
2025-03-02 09:39:54 -08:00
Evan
74ce3b3187
Update to Gatekeeper
2025-03-02 09:39:54 -08:00
Evan
d09d4695f2
Added gatekeeper submodule
2025-03-02 09:39:54 -08:00
Evan
439777f360
Removed security-middleware submodule
2025-03-02 09:39:54 -08:00
Evan
10873baf74
bugfix: use gameCreationRate to schedule games
2025-03-02 09:39:54 -08:00
Evan
daa9820c32
added security middleware
2025-03-02 09:39:54 -08:00
Evan
0b34e2b5e6
Add SecurityMiddleware
2025-03-02 09:39:54 -08:00
Evan
85abcd169e
fix lobby not found bug
2025-03-02 09:39:54 -08:00