Readixyee
e02361c2f4
Disable nukes option ( #237 )
...
This makes it possible to disable all nukes as well as missile silos
from the game in privat lobbies and singleplayer games
2025-03-21 13:52:36 -07:00
APuddle210
2cac950574
Add gateway map to rotation ( #301 )
...
Changes made via GitHub editor. I'll test as soon as I get home ~2.5-3
hours from now.
2025-03-21 10:19:59 -07:00
evanpelle
b34dd8acf2
only send desync message once per client ( #300 )
2025-03-20 10:38:36 -07:00
Evan
bfb1c4f138
fix region env variable, fix metric name typo
2025-03-19 20:43:13 -07:00
evanpelle
2c9fc7307e
fix config circular dependency ( #296 )
2025-03-19 15:42:47 -07:00
Evan
8e05268863
add region to worker metrics
2025-03-19 10:49:41 -07:00
Evan
9d2ca6cc89
fix prometheus metric labels
2025-03-19 10:17:48 -07:00
Evan
0169b29de1
prefix metrics with openfront
2025-03-19 10:06:56 -07:00
Evan
350ff217b6
better metrics aggregation logic
2025-03-19 08:24:28 -07:00
evanpelle
6499569240
add winston logger ( #289 )
2025-03-18 14:36:30 -07:00
evanpelle
bd2c270ba3
fixed inverted check for game start ( #288 )
2025-03-18 14:18:18 -07:00
Evan
5188792cf4
delete public lobby when greater than or equal. this was causing the lobby to overfill when 2 clients joined within 250ms
2025-03-18 12:04:09 -07:00
Evan
b20b6a6ba7
Merge branch 'main' of github.com:openfrontio/OpenFrontIO
2025-03-18 09:57:31 -07:00
Evan
388aafbbf5
add more aggressive headers to prevent caching the root.
2025-03-18 09:57:28 -07:00
evanpelle
70e348c94b
Export prometheus metrics ( #286 )
2025-03-18 09:00:05 -07:00
Peter
bd91d7c00b
Game server ticks too much. Removed duplicate call to .tick ( #271 )
...
removes gameManager.tick as it is already ticking inside the
gameManagers contructor
2025-03-17 08:58:45 -07:00
Evan
321cf5e110
update gatekeeper
2025-03-16 20:53:51 -07:00
Evan
8cd8d5bf60
add Britannia, reduce world & europe frequency
2025-03-15 18:24:26 -07:00
Evan
364387578b
fix lobby duration at 60s now that we limit lobby size. remove "high traffic time"
2025-03-15 17:22:15 -07:00
Ilan Schemoul
2dd0c56583
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:05 -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