Commit Graph

1036 Commits

Author SHA1 Message Date
Evan ccebe86664 reduce alliance to 4 minutes 2025-03-03 20:32:09 -08:00
Evan 49a54cd879 traitors have .8 defense debuff 2025-03-03 20:31:39 -08:00
Evan 3aa375b210 have warships favor attacking transport ships 2025-03-03 20:23:27 -08:00
evanpelle 58ed84a63e Merge pull request #130 from ilan-schemoul/fix-touch-atk
fix: touch screen should always open menu when touch screen
2025-03-03 20:06:04 -08:00
Evan 84f067d66b remove small lakes, use largest body of water as ocean 2025-03-03 20:00:12 -08:00
Evan 0a482e2e6e infinity checks on bigint 2025-03-03 19:21:39 -08:00
Evan c1383d76f1 allow boating on lakes 2025-03-03 19:19:16 -08:00
Evan 9fd1203d50 format HostLobbyModal 2025-03-03 14:46:29 -08:00
Evan 399cf4aab0 optimize trade ships 2025-03-03 14:37:24 -08:00
ilan schemoul 0790c3d818 fix: touch screen should always open menu when touch screen
Previous patch (to choos left click actions) by mistake made touchscreen
by default attack with touch instead of open menu
2025-03-03 22:10:58 +01:00
Evan 8803cc89b6 Merge branch 'main' of github.com:openfrontio/OpenFrontIO 2025-03-03 11:53:31 -08:00
Evan 1132dc5ed9 use S3 & reshift to archive 2025-03-03 11:53:28 -08:00
evanpelle 10f730a0ca Merge pull request #125 from BrunoJurkovic/join-spamming
Simple debouncer preventing join spam
2025-03-03 10:39:39 -08:00
Bruno Jurković 8498c0d398 simple debouncer preventing join spam 2025-03-03 12:11:46 +01:00
evanpelle 9d992c29e3 Merge pull request #99 from groffta/randmap
Added random option to map selection for SinglePlayerModal and HostLobbyModal.
2025-03-02 20:13:14 -08:00
evanpelle af802c4ad0 Merge pull request #102 from BrunoJurkovic/warship-selection
Warship Selection System
2025-03-02 20:11:11 -08:00
evanpelle b43bfa1194 Merge pull request #118 from ilan-schemoul/fix-comment-nuke
refactor: remove comment outdated
2025-03-02 20:03:23 -08:00
evanpelle ef50ceffbc Merge pull request #119 from BrunoJurkovic/show-attack-boats-in-chat
Naval attack message added
2025-03-02 20:03:08 -08:00
evanpelle 6662b68ae5 Merge pull request #120 from ilan-schemoul/fix
fix: crash if trying to view game without being a player
2025-03-02 20:02:38 -08:00
Bruno Jurković f84a18aa95 prevent selecting other players' warships 2025-03-02 23:31:25 +01:00
Bruno Jurković 3d4ea515de refactor: move selection rendering to dedicated UILayer 2025-03-02 23:31:19 +01:00
Bruno Jurković 1d7b03dde7 Reusable clearSelectionBox method, modified terrain redraw 2025-03-02 23:30:50 +01:00
Bruno Jurković c3dfcc63a5 Added warship selection mechanic 2025-03-02 23:30:47 +01:00
evanpelle db55f4facc Merge pull request #101 from ilan-schemoul/remove-small-island
feat: remove small islands when loading a map
2025-03-02 13:57:33 -08:00
ilan schemoul 0372abe548 fix: crash if trying to view game without being a player 2025-03-02 22:52:42 +01:00
ilan schemoul 373a1aacf7 feat: remove small islands when loading a map
Also updated the map loader to now run on every single map (in the
`maps` array).
Also now maps are loaded concurrently (run every promise at the same
time and wait that they are all finished). As the functions are CPU
bound and not IO bound running concurrently doesn't change much right
now but it can if we use more promise in the function loadTerrainMap
then things will get faster.
2025-03-02 22:47:09 +01:00
Bruno Jurković b488bcea68 naval invasion alert added 2025-03-02 22:45:00 +01:00
evanpelle db3f62d0b1 Merge pull request #88 from ilan-schemoul/click
Left click now open menu (double click or shift+click to attack)
2025-03-02 13:38:09 -08:00
ilan schemoul e45c4b5ba4 refactor: remove comment outdated 2025-03-02 22:30:38 +01:00
Todd Groff c648da2277 Merge branch 'main' into randmap 2025-03-02 16:29:57 -05:00
ilan schemoul fc7b08402f feat: stats system to see number of nukes sent by a player in PlayerPanel 2025-03-02 21:41:00 +01:00
Evan bcf121788f fix gatekeeper name 2025-03-02 12:16:19 -08: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 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 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