Commit Graph

138 Commits

Author SHA1 Message Date
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
Evan bad74a0488 schedule game duration based on time of day 2025-03-02 09:39:54 -08:00
Evan 3b492df56b set trust proxy to 3 2025-03-02 09:39:54 -08:00
Evan ccc2140f2d don't log each hash 2025-03-02 09:39:36 -08:00
Evan b449d6ef9b don't send desync message to client until fixed. 2025-03-02 09:39:36 -08:00
Evan a9caee6323 make GameManager more efficient 2025-03-02 09:39:36 -08:00
Evan 38365fd9d0 configure nginx to run in container 2025-03-02 09:39:36 -08:00
Evan a029b4277f use node cluster to shard server 2025-03-02 09:39:09 -08:00
Evan ff33c2db50 have server check hashes, crash game if out of sync 2025-03-02 09:29:10 -08:00
Evan cd5e2dfbb5 only limit ips in public games 2025-03-02 09:29:10 -08:00
Evan e0938253df send game hash to server each second 2025-03-02 09:29:10 -08:00
Evan 808107c9c3 don't log zod validation errors 2025-03-02 09:29:10 -08:00
Evan 389e905813 server is lagging for some reason and cpu is high, log cpu usage to track it 2025-02-24 13:39:03 -08:00
NewHappyRabbit 02d5060352 Customizable creative mode 2025-02-24 23:06:50 +02:00
Evan f995fc4ec6 remove test error 2025-02-24 09:10:43 -08:00
Evan cace7e1789 create rate limit async handler 2025-02-24 08:44:53 -08:00
NewHappyRabbit abb06d5bb9 Added frequency settings for the map playlist 2025-02-24 16:56:04 +02:00
Evan 34fff98c99 make europe and world more frequent 2025-02-23 20:46:31 -08:00
Evan a7f08b5233 allow up to 3 of same ip to join game 2025-02-23 19:57:51 -08:00
Evan 0994fb19bb rate limit start & create private lobby, change max game duration to 3 hours 2025-02-23 19:42:25 -08:00
Evan 528c8c371e only allow 1 ip per game, don't allow modifying public games 2025-02-23 19:42:15 -08:00
Evan 951d708763 only allow one ip per game 2025-02-23 19:41:56 -08:00
Evan a072a24433 add ws rate limiter 2025-02-23 19:41:38 -08:00
Evan 19794e4c65 add express rate limiting 2025-02-23 19:38:17 -08:00
NewHappyRabbit 1dfc0aef39 Added Mars. Excluded from public lobby playlist. Changed Africa image background to transparent. 2025-02-20 20:42:17 +02:00
Evan 5f26cf72c8 Make world & europe maps more likely for public multiplayer 2025-02-18 20:36:00 -08:00
Evan 876fb8dbf9 validate persistent id to prevent player spoofing 2025-02-18 13:53:28 -08:00
evanpelle 4f3ad5c1ac Merge pull request #39 from NewHappyRabbit/map-randomizer
Public lobbies map will now be picked from a randomized playlist, assuring each map is played at least once, without duplicates.
2025-02-18 11:30:10 -08:00
Evan e37cba91dc don't crash when failing to load discord secrets 2025-02-17 19:36:31 -08:00
Evan 6a66d0c52d load archived game if not found 2025-02-17 19:30:30 -08:00
NewHappyRabbit 2249f5207e Public lobbies map will now be picked from a randomized playlist, assuring each map is played at least once, without duplicates. 2025-02-17 21:32:36 +02:00
Evan 0f325d4be8 add database layer 2025-02-16 12:18:50 -08:00
Evan 969886331c create discord login button & flow 2025-02-16 12:18:50 -08:00
Evan 6d507914c9 add websocket error handling 2025-02-12 13:31:22 -08:00
NewHappyRabbit 303543d246 Lobby urls! Server will server index.html and act as a SPA. 2025-02-12 21:18:23 +02:00
Evan 40966ca3b9 format all files with prettier 2025-02-12 08:28:15 -08:00
NewHappyRabbit 1f1a07113c Fixed creative mode not working in private lobby 2025-02-12 02:21:46 +02:00
NewHappyRabbit 7fcbaa8584 Added creative mode. Everything costs 0 gold, builds instantly and you start with 100k population 2025-02-12 00:15:30 +02:00