Commit Graph

612 Commits

Author SHA1 Message Date
Evan 4c8eeb0cc1 merge branch v0.17.3 2025-03-06 15:46:57 -08:00
Evan 1dc7864617 make lobbies more frequent 2025-03-06 10:57:06 -08:00
evanpelle 447e6238d8 Merge pull request #148 from ilan-schemoul/main
default 95% soldiers
2025-03-06 09:03:44 -08:00
ilan schemoul bd8f72421e default 95% soldiers 2025-03-06 01:22:00 +01:00
Evan 303180f51f update config, fix s3 region 2025-03-05 13:50:32 -08:00
Evan 2b26cfbbc9 update aws deployment, have client get env from server 2025-03-05 12:37:37 -08:00
Evan 1becff9fd1 Merge branch 'main' of github.com:openfrontio/OpenFrontIO 2025-03-04 16:32:32 -08:00
evanpelle 7d79c299f4 Merge pull request #143 from ilan-schemoul/warship-target
feat: WarShips red color outside if target current player
2025-03-04 15:53:47 -08:00
ilan schemoul d2208755c4 feat: WarShips red color outside if target current player
Hard to know when warship captures your trade so if they target one of
your trade or war ship they are highlighted in red.
Known limitation: doesn't work well if the WarShip is already in red
(player's color)
2025-03-05 00:45:35 +01:00
Evan 6a22d58281 use admin key token for admin auth 2025-03-04 08:43:17 -08:00
evanpelle fe0e0f0dca Merge pull request #140 from BeGj/fix/missile-silo-wrong-log-text
corrects port to missile silo
2025-03-04 06:08:45 -08:00
BeGj 8bd1d84dae corrects port to missile silo 2025-03-04 14:06:35 +00:00
evanpelle 718b572b59 Merge pull request #117 from ilan-schemoul/cance-attacks
feat: cancel attack
2025-03-04 05:20:01 -08: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
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 399cf4aab0 optimize trade ships 2025-03-03 14:37:24 -08:00
ilan schemoul 9a1f916f4d feat: cancel attack
Canceling attack takes time and incurs a malus (loose some troops).
Also prettier fixed a file HostLobbyModal.
2025-03-03 22:06:35 +01: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
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
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
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 5e09c0db47 fix build errors from cherry-pick 2025-03-02 09:51:25 -08:00
Evan bad74a0488 schedule game duration based on time of day 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 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 a029b4277f use node cluster to shard server 2025-03-02 09:39:09 -08: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 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
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
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 a3ae44ddb1 schedule game duration based on time of day 2025-03-01 21:03:21 -08: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
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
Evan 4c03f762e8 make games every 30s 2025-02-28 09:02:50 -08:00
Evan c5d3eba90f update num workers to 2 2025-02-28 07:33:55 -08:00
Evan 3494c54906 use node cluster to shard server 2025-02-27 10:45:30 -08: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
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