Commit Graph

4036 Commits

Author SHA1 Message Date
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 2316a86669 update syria flag 2025-03-02 09:39:36 -08:00
Evan fb332bc827 make games every 30s 2025-03-02 09:39:36 -08:00
Evan b2dc564818 use save=dev when building 2025-03-02 09:39:36 -08:00
Evan c462fe74f4 move more plugins to from dev-deps to deps 2025-03-02 09:39:36 -08:00
Evan 5f55cd781e move copy webpack to prod 2025-03-02 09:39:36 -08:00
Evan b22ecef836 move webpack to prod dep 2025-03-02 09:39:36 -08:00
Evan 6ce412f51b update num workers to 2 2025-03-02 09:39:36 -08:00
NewHappyRabbit d9d919ac29 Fixed typos on some countries 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 a6ab4da694 update prettierignore 2025-03-02 09:39:34 -08:00
Evan a029b4277f use node cluster to shard server 2025-03-02 09:39:09 -08:00
ilan schemoul e2083b53df feat: icon over player name to signal embargo 2025-03-02 18:34:22 +01: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
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
ilan schemoul d6b29a655c feat: left click now opens menu (to avoid misclicks), shift+left click is attack
It happens very frequently that I misclick (meant to click on neighbor,
mean to click modal, sensitive touchpad and many others) and ruin my
game (and another player's). So by default left click opens the menu. As
the attack button is in the middle you can just double click to attack.
You can also shift+click to attack.
I have updated the Help modal to document all that + the existing (just
discovered in the code) ctrl+click to open build menu.
2025-03-02 17:56:14 +01:00
Evan 6fffa12982 Add gatekeeper security module as submodule 2025-03-02 07:59:50 -08:00
evanpelle bcf8ccac92 Merge pull request #100 from d3n0x8/scrollAttackRatio
add shift + scroll command in HelpModal hotkeys table
2025-03-02 07:46:00 -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
Todd db9a75a3d9 consistency and fixed typo 2025-03-02 03:00:05 -05:00
Todd 5763abd30f Added random map option to SinglePlayerModal and HostLobbyModal 2025-03-02 02:46:48 -05: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 4a959a228d Merge pull request #96 from BrunoJurkovic/expanded-readme
New README
2025-03-01 21:44:23 -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
evanpelle 44ca0d4daf Merge pull request #92 from d3n0x8/main
possibility to see the whole scoreboard or the top 5 only + show players troops in leaderboars
2025-03-01 21:42:43 -08:00
Evan e25db18795 update version 2025-03-01 21:15:43 -08:00
Evan a8014e4fb4 bugfix: use gameCreationRate to schedule games 2025-03-01 21:03:48 -08:00
Evan 2c1a148e23 fix lobby not found bug 2025-03-01 21:03:33 -08:00
Evan a3ae44ddb1 schedule game duration based on time of day 2025-03-01 21:03:21 -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
Bruno Jurković ae1ca1046f expanded and prettified readme 2025-03-01 21:25:31 +01:00
Evan 6496c2b5b7 set trust proxy to 3 2025-03-01 09:42:25 -08:00
PilkeySEK 1ffa06b5a8 dont send the non-flag to the server 2025-03-01 09:12:43 +01:00
Evan 36757160d9 don't log each hash 2025-02-28 19:06:17 -08: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