Commit Graph

990 Commits

Author SHA1 Message Date
Evan 0b34e2b5e6 Add SecurityMiddleware 2025-03-02 09:39:54 -08:00
Evan c6b16aba74 remove lobbies logging 2025-03-02 09:39:54 -08:00
Evan 77fa605c0c update it to win modal ad 2025-03-02 09:39:54 -08:00
Evan 0d5dcf1313 don't use shadow dom on winmodal which prevents ads from displaying 2025-03-02 09:39:54 -08:00
Evan cc89d157d6 add google ad to home page 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 d726fd66b5 store values as bigints to prevent floating point drift 2025-03-02 09:39:51 -08:00
NewHappyRabbit 9b85651ad8 Fixed dark mode class being added in different places (body and html elements).
Fixed flag "None" (xx.svg) being able to be set and used ingame.

All menu modals will now close if you click outside of them.

Fixed info icon in instructions.

Added an icon to show the number of new events that happened while the events panel is hidden.

Removed opacity from the svg icons files and added it to the player-icons div, making them have the same opacity and being more visible.
2025-03-02 09:39:36 -08:00
Evan ccc2140f2d don't log each hash 2025-03-02 09:39:36 -08:00
Evan fb332bc827 make games every 30s 2025-03-02 09:39:36 -08:00
Evan 6ce412f51b update num workers to 2 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
NewHappyRabbit 5d163a765c Added CTRL+CLICK hotkey to instructions 2025-03-02 09:29:10 -08:00
NewHappyRabbit c057f70c45 UI fixes 2025-03-02 09:29:10 -08:00
Evan ff33c2db50 have server check hashes, crash game if out of sync 2025-03-02 09:29:10 -08:00
Evan d92a68e958 update version 2025-03-02 09:29:10 -08:00
Evan cd5e2dfbb5 only limit ips in public games 2025-03-02 09:29:10 -08:00
NewHappyRabbit d29438ae69 Added hotkey 'C' to center camera on player 2025-03-02 09:29:10 -08:00
NewHappyRabbit a21181c059 Added a button to focus the player that sent an alliance request. Increased bots name color brightness 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 db4e520886 fix africa map: add straight of gibraltar 2025-03-02 09:29:10 -08:00
andreasRM ce94f4496c Merge branch 'openfrontio:main' into scrollAttackRatio 2025-03-02 13:12:37 +01:00
Andreas Rey Malissein b1eb375c52 add shift + scroll command in HelpModal hotkeys table 2025-03-02 13:12:18 +01:00
evanpelle 32f3739570 Merge pull request #98 from d3n0x8/scrollAttackRatio
choose attack ratio with shift + scrolling down or up
2025-03-01 21:45:31 -08:00
evanpelle 0ac3a92742 Merge pull request #97 from ilan-schemoul/request-alliance-icon
feat: add icon when player request alliance
2025-03-01 21:45:00 -08:00
evanpelle 1d9fb7bab8 Merge pull request #93 from PilkeySEK/none-flag-fix
Fix the "None" flag displaying in-game
2025-03-01 21:42:55 -08:00
Andreas Rey Malissein b992166488 choose attack ratio with shift + scrolling down or up 2025-03-02 02:33:35 +01:00
ilan schemoul c2b90a52a3 feat: add icon when player request alliance
To spot who asked alliance on the map add an email icon next to them
2025-03-02 00:13:05 +01:00
PilkeySEK 1ffa06b5a8 dont send the non-flag to the server 2025-03-01 09:12:43 +01:00
Andreas Rey Malissein 1efc95001d possibility to see the whole scoreboard or the top 5 only + show players troops in leaderboards 2025-03-01 02:29:05 +01:00
evanpelle 0b5d526dbe Merge pull request #89 from ilan-schemoul/join
update the button to "Join next game" so it's clear it's a button
2025-02-28 13:26:27 -08:00
ilan schemoul 40b9613f67 feat: 60% health for units when they spawn so 2 warships vs 1 always win 2025-02-28 19:23:50 +01:00
ilan schemoul 5243d6a3e1 update the button to "Join next game" so it's clear it's a button 2025-02-27 23:01:25 +01: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
evanpelle 3c163140c2 Merge pull request #79 from NewHappyRabbit/creative-mode
Customizable creative mode
2025-02-24 13:27:14 -08:00
evanpelle 96243175ce Merge pull request #80 from NewHappyRabbit/build-menu
Increased build buttons height
2025-02-24 13:26:21 -08:00
evanpelle 55858b3149 Merge pull request #78 from NewHappyRabbit/emojis
Added 5 new emojis
2025-02-24 13:26:09 -08:00
evanpelle dd78fd70de Merge pull request #77 from NewHappyRabbit/fix-modals-mobile
Reduced modals height on mobile, fixed public lobby button bug
2025-02-24 13:25:46 -08:00
NewHappyRabbit 2ef0ca0c23 Increased build buttons height 2025-02-24 23:18:25 +02:00
NewHappyRabbit 02d5060352 Customizable creative mode 2025-02-24 23:06:50 +02:00
NewHappyRabbit ea2b67d601 Added 5 new emojis 2025-02-24 21:21:34 +02:00
NewHappyRabbit d9beeb8c60 Reduced modals height on mobile, fixed public lobby button bug 2025-02-24 20:52:06 +02:00
PilkeySEK 43c2c502be fix radial menu image dimensions 2025-02-24 19:01:01 +01:00
Evan f995fc4ec6 remove test error 2025-02-24 09:10:43 -08:00