Commit Graph

75 Commits

Author SHA1 Message Date
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
Ilan Schemoul 275de50fcd feat: move warship (#196) 2025-03-14 16:30:30 -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 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
ilan schemoul 1b76c46bc5 feat: remove LocalPersistantStats so we locally save GameRecords
GameRecords also now include PlayerStats
2025-03-08 17:39:41 +01:00
ilan schemoul 9a1f916f4d feat: cancel attack
Canceling attack takes time and incurs a malus (loose some troops).
Also prettier fixed a file HostLobbyModal.
2025-03-03 22:06:35 +01:00
evanpelle 38b762b8bc Merge pull request #95 from ilan-schemoul/embargoes
feat: everyone trade with everyone, anyone can embargo a player to stop trade
2025-03-02 10:58:05 -08:00
Evan a029b4277f use node cluster to shard server 2025-03-02 09:39:09 -08:00
evanpelle 0a077ebf4d Merge pull request #100 from d3n0x8/scrollAttackRatio
add shift + scroll command in HelpModal hotkeys table
2025-03-02 18:34:04 +01:00
Evan ff33c2db50 have server check hashes, crash game if out of sync 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
NewHappyRabbit 02d5060352 Customizable creative mode 2025-02-24 23:06:50 +02:00
Evan 33c634f928 allow ü in schema 2025-02-20 19:16:31 -08:00
Evan f894276ef0 fix execution validation, verify that clientID own playerID to prevent spoofing 2025-02-18 17:13:08 -08:00
Evan 876fb8dbf9 validate persistent id to prevent player spoofing 2025-02-18 13:53:28 -08:00
Evan 40966ca3b9 format all files with prettier 2025-02-12 08:28:15 -08:00
RealJosephStalin d6dce787c0 allow emojis in safestring 2025-02-12 02:55:12 -05: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
NewHappyRabbit 949f68287e Added flags 2025-02-11 23:34:19 +02:00
NewHappyRabbit 684b0bb2e0 Added checkboxes to disable Bots and NPCs for single player and private lobbies 2025-02-11 03:29:56 +02:00
Evan b3498976fb show game map name in public lobby 2025-02-09 13:15:06 -08:00
Evan 963daefdeb allow brackets in names 2025-02-09 11:17:33 -08:00
Evan 4ee37323f9 format codebase with prettier 2025-02-01 12:05:11 -08:00
Evan 95aa222f8e improve front page 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 f0f5bae79f thread_split: convert all tile to tileref 2025-02-01 12:05:11 -08:00
evanpelle 0d764eb885 update gamemap, rename gamemap enum => gamemaptype 2025-02-01 12:05:11 -08:00
Evan f6b739e263 validate usernames on change, fix public lobby highlight bug, validate
strings with zod for safety
2025-01-02 09:02:23 -08:00
Mittani aba8e5dd81 + add validation server side 2024-12-31 13:06:43 -08:00
Evan 113518a96e use better structured logging 2024-12-17 20:34:15 -08:00
Evan 94992e1144 send all logs from client to server and log them 2024-12-17 19:53:17 -08:00
evanpelle 031f62c701 have clients send logs to server 2024-12-17 17:14:24 -08:00
evanpelle 1417808c14 store user's persistent id in bigquery 2024-12-17 14:30:16 -08:00
Evan 722165c401 adding persistent id 2024-12-17 14:30:16 -08:00
Evan 2fc81c7d17 store client ips in bigquery table 2024-12-14 10:03:05 -08:00
evanpelle 601f606a7f save game stats to bigquery, update enums 2024-12-10 20:28:39 -08:00
Evan 0a29a1fe90 attempt fix private game not connecting 2024-12-07 20:55:47 -08:00
Evan 60ccf2ba36 create singleplayer game record rest endpoints 2024-12-07 08:54:09 -08:00
Evan cd09c0a1d6 record game metadata to gcs 2024-12-07 08:54:09 -08:00
Evan b8db74247f add heartbeats, better websocket disconnection handling 2024-12-07 08:54:09 -08:00
Evan 18ac34ae45 Created hydrogen bomb 2024-11-20 19:55:42 -08:00
Evan 4236a580e3 working on port 2024-11-15 20:43:15 -08:00
evanpelle c7951d77c0 adding destroyer 2024-11-15 20:43:15 -08:00
Evan 2afecf0f39 create troop slider 2024-11-03 12:37:56 -08:00
Evan a31a35c038 remove setnameexecution because unused, create DisplayName on Player 2024-10-31 20:30:17 -07:00
Evan 56d4b924fa add difficulties 2024-10-23 21:08:24 -07:00
evanpelle 33a85d521a create nuke execution & schema 2024-10-19 08:46:41 -07:00
evanpelle 206f6d3333 Can select map on private lobbies 2024-10-16 20:34:57 -07:00
evanpelle 42a6a2fcef can creater & join lobby 2024-10-14 20:45:31 -07:00