Commit Graph

1301 Commits

Author SHA1 Message Date
Ilan Schemoul 5f0df80f57 nuke icon (#207)
- **feat: white nuke icon next to name if player nukes you**
![Capture d'écran 2025-03-10
220439](https://github.com/user-attachments/assets/1b717b2d-bffb-45fc-96ea-2feb57d25de0)
- **feat: red nuke icon if player sends nuke towards you**
-
![Capture d'écran 2025-03-10
220358](https://github.com/user-attachments/assets/b755fa06-9510-4bd1-8312-7180dc681d85)
2025-03-11 15:47:48 -07:00
Ilan Schemoul 48e70ff0e8 feat: closable modal when desynced (#214)
![Capture d'écran 2025-03-11
215857](https://github.com/user-attachments/assets/9aec98d9-dd3c-4a00-a257-aa0acb67633c)
2025-03-11 15:47:13 -07:00
Evan 93378a0bee updateto hetzner 2025-03-11 15:01:38 -07:00
Ilan Schemoul 43870503a0 enable desync msg (#215) 2025-03-11 14:35:06 -07:00
Ilan Schemoul b9399f576c fix: translation broke numbers (#211) 2025-03-11 13:30:47 -07:00
Evan 59cfbca473 don't show ads on winlose menu 2025-03-11 12:36:53 -07:00
Ilan Schemoul 99e8c03870 cancel trade if port is captured (no trade inside same country) (#194)
If the port of destination and of source have same owner it means a
player captures port of another player, we cease all trade that happens
inside same country.
Also added a check in the canTrade code to be more reliable and correct
even outside of the specific case of capturing a port.
2025-03-11 12:36:39 -07:00
Evan aef0b73c48 remove setup.sh 2025-03-10 19:47:48 -07:00
Evan bf0bbac00d don't show ads on winlose menu 2025-03-10 19:47:14 -07:00
evanpelle afa1caa373 use ticks instead of Date when retreating for determinism (#208) 2025-03-10 19:03:12 -07:00
PilkeySEK 1b466d9088 Possibly fix the NaN bug (#200)
There's a bug that when using translators in your browser it shows
troops/gold/... as `NaN`, I couldn't get a translator to work to
confirm, but this should work
2025-03-10 17:41:09 -07:00
Ilan Schemoul b40e8b1b65 feat: show a message when attack is canceled (with number of deaths) (#193) 2025-03-10 17:40:59 -07:00
evanpelle 64f1182631 update maps: remove small lakes as it breaks encirclement. More money… (#188)
… more frequent trade ships, lakes prevent encirclement, warships start
at full health
2025-03-08 16:56:30 -08:00
evanpelle 3945577592 remove ad background (#185) 2025-03-08 12:39:02 -08:00
evanpelle 7396281d3e store lobby start time on first fetch for smoother countdown (#183) 2025-03-08 11:28:47 -08:00
evanpelle be0798361d Revert "have MIRV target all non allied players, increase price to 25… (#181)
… million"

This reverts commit 226112beb5.
2025-03-08 11:02:32 -08:00
Ilan Schemoul e48f220c70 fix: warship icon (#178) 2025-03-08 10:46:32 -08:00
ilan schemoul 8f752204ec nerf trade (1/500 => 1/700)
Now everyone trade with everyone trade is OP we nerf it
2025-03-08 08:50:32 -08:00
Evan d732ac0464 add google ads to homepage 2025-03-07 21:27:19 -08:00
Evan 2e78c456dc remove max boat distance 2025-03-07 10:38:52 -08:00
Evan 01b1a19cd7 null check on warship target unit 2025-03-07 10:26:07 -08:00
Evan d1a54f84e0 largest attacker gets cluster 2025-03-07 10:25:58 -08:00
Evan a56ea5f786 don't check if public when starting game 2025-03-07 07:24:18 -08:00
Evan b97fc9e81f add example env 2025-03-06 20:52:40 -08:00
Evan 56e84c3679 copy .env file to instance 2025-03-06 20:49:59 -08:00
Evan edcfac2fe7 give public lobbies smoother countdown, use admin token in server. 2025-03-06 19:43:56 -08:00
Evan e97fe402ef update config back to 1 second shortest cache allowed 2025-03-06 19:10:04 -08:00
evanpelle d0359a2db4 Merge pull request #149 from UnBuiltTree/icon-remake
Icon Remake
2025-03-06 18:49:19 -08:00
Evan e27f889318 reduce public_lobbies cache to 500ms 2025-03-06 18:47:46 -08:00
UnBuiltTree 919e6ff9a4 Icon adjustments 3 2025-03-06 20:01:29 -06:00
Evan fc73ed46cb remove oceania from map rotation 2025-03-06 16:16:41 -08:00
Evan df2bb36aae cap warship cost at 1 million 2025-03-06 16:14:13 -08:00
Evan d7069b4143 Merge branch 'main' of github.com:openfrontio/OpenFrontIO 2025-03-06 16:09:47 -08:00
Evan 2ba98f047b fix archive game url 2025-03-06 16:09:44 -08:00
evanpelle 191a12a40d Merge pull request #155 from Readixyee/game-starting-modal
showing modal when the game is loading
2025-03-06 16:06:15 -08:00
evanpelle 02fd6d21ff Merge pull request #158 from loan-mgt/zoom
fix: laptop pinch-zoom
2025-03-06 16:04:50 -08:00
Evan b9ff2355d2 remove gcp update deploy 2025-03-06 15:59:10 -08:00
evanpelle aa19600a03 Merge pull request #161 from ilan-schemoul/focus-atk
focus atk
2025-03-06 15:58:03 -08:00
evanpelle aa96e98fb3 Merge pull request #160 from ilan-schemoul/fix-troo
fix: troop ratio different UI and code
2025-03-06 15:57:30 -08:00
evanpelle 974d606923 Merge pull request #159 from ilan-schemoul/save-stats
feat: save stats to local storage
2025-03-06 15:57:00 -08:00
Evan cf702bcbb4 update gatekeeper 2025-03-06 15:54:23 -08:00
Evan 90910e5037 uncomment husky 2025-03-06 15:50:29 -08:00
Evan 4c8eeb0cc1 merge branch v0.17.3 2025-03-06 15:46:57 -08:00
ilan schemoul 7670b77b6c feat: button to focus on attacker when under attack 2025-03-07 00:38:53 +01:00
ilan schemoul f989470cf4 fix: troop ratio different UI and code 2025-03-07 00:18:11 +01:00
Maeght Loan e926fb5cd5 handle edge case
no accessibilité
2025-03-06 22:06:33 +00:00
Maeght Loan 44de3516e8 fix: laptop pinch-zoom 2025-03-06 20:13:25 +00:00
Evan 1dc7864617 make lobbies more frequent v0.17.3 2025-03-06 10:57:06 -08:00
Evan 1a9176779f remove no cache from /api/env 2025-03-06 10:46:23 -08:00
Evan 152ffb8dc1 update to /api/public lobbies nginx config 2025-03-06 10:41:20 -08:00