evanpelle
2c9fc7307e
fix config circular dependency ( #296 )
2025-03-19 15:42:47 -07:00
evanpelle
6499569240
add winston logger ( #289 )
2025-03-18 14:36:30 -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
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
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
bf5b3ef993
use S3 & reshift to archive
2025-03-05 07:34:07 -08:00
Evan
393ed64ab5
don't log zod validation errors
2025-02-24 13:28:14 -08:00
Evan
6a66d0c52d
load archived game if not found
2025-02-17 19:30:30 -08:00
Evan
4ee37323f9
format codebase with prettier
2025-02-01 12:05:11 -08:00
Evan
a103d721e4
don't throw archive error
2025-02-01 12:05:11 -08:00
Evan
a5a2f46099
have client send winner to server
2025-02-01 12:05:11 -08:00
Evan
0b8950f4bc
fix ip processing bug: ip was sometimes an array
2024-12-31 13:09:20 -08:00
Evan
843a1186ce
log ip address for debugging (TODO remove logging before next release)
2024-12-31 13:08:55 -08:00
Evan
0693b5db65
fix ip processing bug: ip was sometimes an array
2024-12-30 13:24:09 -08:00
Evan
cb75f6780c
log ip address for debugging (TODO remove logging before next release)
2024-12-27 12:36:06 -08:00
Evan
23b712623d
better anonymize ip function
2024-12-21 20:43:48 -08:00
Evan
361b1f7d6c
retry archiving to bigquery & gcs
2024-12-21 19:44:51 -08:00
Evan
a73b7eab91
use custom ip masking instead of library
2024-12-20 21:41:17 -08:00
evanpelle
d26eddcf2d
make ips less precise before storing
2024-12-17 14:53:52 -08:00
evanpelle
387fdcdef8
update archive error handling
2024-12-17 14:46:29 -08:00
evanpelle
1417808c14
store user's persistent id in bigquery
2024-12-17 14:30:16 -08:00
Evan
d99b60b477
fix config build error, better logging in game server
2024-12-17 14:30:16 -08:00
Evan
2fc81c7d17
store client ips in bigquery table
2024-12-14 10:03:05 -08:00
Evan
dfe2f27ba8
store metadata in bigquery
2024-12-10 20:28:39 -08:00
evanpelle
601f606a7f
save game stats to bigquery, update enums
2024-12-10 20:28:39 -08:00
evanpelle
63b0e89d8b
rebalance unit cost
2024-12-10 20:28:39 -08:00
evanpelle
d290054e5c
catch and log archive failure to prevent server crash
2024-12-09 13:14:59 -08:00
Evan
7669105a1b
record games in gcs
2024-12-07 18:30:04 -08:00