Commit Graph

1828 Commits

Author SHA1 Message Date
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
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
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 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
Evan e25db18795 update version 2025-03-01 21:15:43 -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
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
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
Evan f540d0302c configure nginx to run in container 2025-02-27 19:21:18 -08: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 3494c54906 use node cluster to shard server 2025-02-27 10:45:30 -08:00
evanpelle 82c040c16a Merge pull request #4 from openfrontio/hotkeys
Added CTRL+CLICK hotkey to instructions
2025-02-26 19:26:52 -08:00
NewHappyRabbit c7c38dabfc Added CTRL+CLICK hotkey to instructions 2025-02-27 00:19:31 +02:00
NewHappyRabbit 8e9757e1ae UI fixes 2025-02-26 21:26:42 +02:00
Evan 45aba4b310 have server check hashes, crash game if out of sync 2025-02-25 16:24:22 -08:00
Evan 500bf26ba3 update version 2025-02-25 13:46:46 -08:00
evanpelle 76802e55ea Merge pull request #2 from openfrontio/center-camera
Added hotkey 'C' to center camera on player
2025-02-25 13:44:45 -08:00
evanpelle 9e4b1f625c Merge pull request #1 from openfrontio/alliance-request-focus
Button to focus the player that sent an alliance request.
2025-02-25 13:43:46 -08:00
NewHappyRabbit c724d4af58 Added hotkey 'C' to center camera on player 2025-02-25 22:53:48 +02:00
NewHappyRabbit f908e14708 Added a button to focus the player that sent an alliance request. Increased bots name color brightness 2025-02-25 22:08:41 +02:00
Evan 3fa97ed686 send game hash to server each second 2025-02-25 11:49:07 -08:00
Evan 393ed64ab5 don't log zod validation errors 2025-02-24 13:28:14 -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
NewHappyRabbit aa24d317c8 Added PWA and mobile improvements to the UI 2025-02-24 11:49:58 +02:00
evanpelle b711ea4975 Merge pull request #71 from NewHappyRabbit/fix-1/2-hotkeys
Added preventDefault to 1/2 hotkeys
2025-02-22 19:16:20 -08:00
evanpelle 27f3ed6939 Merge pull request #69 from NewHappyRabbit/fix-flags-css
Changed flag search input text to black when in light mode
2025-02-22 19:13:45 -08:00
evanpelle d010577fad Merge pull request #68 from seanlowe/main
allow closing the radial or build menu with the esc key
2025-02-22 19:13:30 -08:00
evanpelle 2442c50e1f Merge pull request #67 from SunnyBoyWTF/patch-1
change disable npcs to disable nations
2025-02-22 19:13:11 -08:00
evanpelle 7be24b898a Merge pull request #66 from NewHappyRabbit/leaderboard-padding
Leaderboards CSS fixes
2025-02-22 19:12:40 -08:00
SunnyBoyWTF 240882f14b Update SinglePlayerModal.ts 2025-02-22 10:36:56 -05:00
NewHappyRabbit c47fe8cc5e Added event.preventDefault() to hotkeys 1/2 2025-02-22 04:13:29 +02:00
NewHappyRabbit ec2ba4eece Changed flag search input text to black when in light mode 2025-02-22 01:54:23 +02:00
Sean Lowe 13a0593689 allow closing the radial or build menu with the esc key 2025-02-21 14:56:19 -07:00
NewHappyRabbit 7138b694f9 Trimmed player names to avoid overflow and scrollbar 2025-02-21 15:32:33 +02:00