Commit Graph

1166 Commits

Author SHA1 Message Date
BeGj abf79f4c8d console.debug is unecessary, code comment instead. 2025-03-04 12:25:01 +00:00
BeGj de07fd0b4f removed isValidCoord in onMouseUp 2025-03-04 12:24:35 +00:00
BeGj 276eee1152 validates coordinates in onMouseUp 2025-03-04 12:12:20 +00:00
BeGj a60bef97f0 reverted organized imports 2025-03-04 12:06:42 +00:00
BeGj fe9eb8700c handle findWarshipsNearCell when clicking outside the map 2025-03-04 12:03:30 +00:00
Evan 226112beb5 have MIRV target all non allied players, increase price to 25 million 2025-03-03 20:46:28 -08:00
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
Evan ddd739b8b8 create aws depoyment script move scripts back to root dir because they need dockerfiles 2025-03-02 20:00:34 -08:00
Evan be05a5508a update update.sh 2025-03-02 19:19:25 -08:00
Evan 24d9d16683 create update script, move deployment scripts to deploy folder 2025-03-02 19:11:39 -08:00
Evan 3225430592 Remove prettierignore because it ignores unkown files now 2025-03-02 18:55:36 -08:00
Evan cc8adbac37 Merge branch 'main' of github.com:openfrontio/OpenFrontIO 2025-03-02 18:53:50 -08:00
Evan 44b6894b24 add AWS update and deployment scripts 2025-03-02 18:52:42 -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
evanpelle 8472e74b0b Merge pull request #87 from ilan-schemoul/nukes-stats
feat: stats system to see number of nukes sent by a player in PlayerPanel
2025-03-02 13:12:41 -08: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
Evan 3751a548e3 don't install submodules on github ci 2025-03-02 12:08:57 -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
evanpelle 1533b161ff Merge pull request #103 from openfrontio/cherry-pick-branch
Merge ClosedFront branch
2025-03-02 10:02:51 -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