evanpelle
ea628570b2
have nginx cache index for 1s. ( #224 )
...
This is required for A B deployments, the browser wasn't updating due to
conditional caches
2025-03-12 11:03:28 -07:00
evanpelle
b1035a8e77
update to hetzner deployment ( #220 )
2025-03-12 09:17:27 -07:00
Ilan Schemoul
3ce5785d1e
nuke icon ( #207 )
...
- **feat: white nuke icon next to name if player nukes you**

- **feat: red nuke icon if player sends nuke towards you**
-

2025-03-11 15:44:45 -07:00
Ilan Schemoul
5cf75c71a7
feat: closable modal when desynced ( #214 )
...

2025-03-11 14:34:55 -07:00
Ilan Schemoul
c4b8d6b92e
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:33:45 -07:00
evanpelle
4c372b3877
fix build error importing image from extra, rename Extra=>extra ( #212 )
2025-03-11 08:33:58 -07:00
Evan
0597622a4a
don't show ads on winlose menu
2025-03-10 19:46:51 -07:00
Ilan Schemoul
87d1a8d69d
feat: retreat stops attack + show when ennemy retreats ( #209 )
2025-03-10 17:25:21 -07:00
Ilan Schemoul
04833caf4d
fix: crash because wrong path ( #210 )
2025-03-10 17:24:56 -07:00
Ilan Schemoul
837d59d929
fix: translation broke numbers ( #211 )
2025-03-10 17:24:36 -07:00
evanpelle
9b71c8e78f
use ticks instead of Date when retreating for determinism ( #208 )
2025-03-10 14:38:41 -07:00
Ilan Schemoul
4375797d92
feat: show a message when attack is canceled (with number of deaths) ( #193 )
2025-03-10 13:30:07 -07:00
PilkeySEK
9389005e39
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 13:29:36 -07:00
evanpelle
5aae1468c2
fix player glow during spawn phase ( #206 )
2025-03-10 13:27:45 -07:00
evanpelle
5dc00bc3ab
use git commit hash verification when replaying archived games ( #204 )
2025-03-10 12:40:36 -07:00
evanpelle
6a24bce213
fix decompress game record function, start at -1 ( #203 )
2025-03-10 07:21:24 -07:00
evanpelle
e2f18df426
use center eucl dist on spawn tiles, looks nicer ( #202 )
2025-03-10 06:37:43 -07:00
evanpelle
c23c332ccb
only compare archived hash if not null/undefined ( #198 )
2025-03-09 19:30:32 -07:00
evanpelle
61cfe7102c
update error modal to show game id ( #197 )
2025-03-09 19:16:57 -07:00
evanpelle
33292aec5c
feat: replay archived games, gamestate hash verification ( #195 )
...
create endpoint to load archived game. when joining game client first
checks if the game is active, if not it requests the game archive from
the server. the archive is sent to LocalServer to replay the game
locally. Every 10 ticks a hash is stored on the archive, and during
replay the LocalServer verifies this hash.
2025-03-09 14:24:39 -07:00
Readixyee
84951fed9f
Sam anti nuke missile launcher ( #176 )
...
now with better name
---------
Co-authored-by: evanpelle <evanpelle@gmail.com >
2025-03-09 13:25:51 -07:00
PilkeySEK
fe9a73c967
Update wiki link to Miraheze ( #190 )
2025-03-09 13:25:36 -07:00
Tiger McSwane
219d732f84
Added Britannia map with 23 NPC as well as their flags ( #186 )
...
Let me know if you have any questions or concerns. This is my first time
near coding, so it would not hurt to double check my work. Thanks!
2025-03-08 16:58:04 -08:00
evanpelle
4281095666
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:45:23 -08:00
evanpelle
de584329b8
remove ad background ( #185 )
2025-03-08 12:38:19 -08:00
evanpelle
c99cec8f0b
add South America map ( #184 )
2025-03-08 12:11:34 -08:00
evanpelle
b77bc46a80
store lobby start time on first fetch for smoother countdown ( #183 )
2025-03-08 11:28:23 -08:00
evanpelle
bfbb2ac011
update version to 0.19.0 ( #182 )
2025-03-08 11:05:20 -08:00
evanpelle
09132495c0
Revert "have MIRV target all non allied players, increase price to 25… ( #181 )
...
… million"
This reverts commit 226112beb5 .
2025-03-08 10:58:46 -08:00
Maeght Loan
e1ed8dbe36
Boat attack event ( #177 )
...
Allow user to focus on outgoing boats
Partial #133
https://github.com/user-attachments/assets/0e287bf5-71bb-4def-a3ca-f0b652ed6d69
2025-03-08 10:44:27 -08:00
Ilan Schemoul
afe4f85919
fix: warship icon ( #178 )
2025-03-08 10:27:16 -08:00
PilkeySEK
8fca3f6c3d
Fix minor typo in MIRVExecution
2025-03-08 18:21:49 +01:00
evanpelle
37043ab479
Merge pull request #173 from ilan-schemoul/stats-records
...
feat: remove LocalPersistantStats so we locally save GameRecords
2025-03-08 09:19:57 -08:00
ilan schemoul
c5151b4594
nerf trade (1/500 => 1/700)
...
Now everyone trade with everyone trade is OP we nerf it
2025-03-08 17:47:21 +01:00
ilan schemoul
1b76c46bc5
feat: remove LocalPersistantStats so we locally save GameRecords
...
GameRecords also now include PlayerStats
2025-03-08 17:39:41 +01:00
Evan
2b8cc2cf28
add mars map to rotation
2025-03-07 21:43:32 -08:00
Evan
444e1dfbb5
add google ads to homepage
2025-03-07 21:27:49 -08:00
evanpelle
7215c218d4
Merge pull request #170 from Readixyee/tradeship-caching
...
Trade ship path caching
2025-03-07 19:08:13 -08:00
Maeght Loan
a3b5652cf2
remove duplicated instruction
2025-03-07 22:05:23 +00:00
Readixyee
7b0770649f
cache system
2025-03-07 21:36:19 +01:00
Evan
3dd02ec4df
remove max boat distance
2025-03-07 10:38:26 -08:00
Evan
25224ed749
null check on warship target unit
2025-03-07 10:25:31 -08:00
Evan
673a7a400c
largest attacker gets cluster
2025-03-07 10:22:46 -08:00
BeGj
619891741f
linting
2025-03-07 16:53:10 +00:00
evanpelle
db3a5e9d6a
Merge pull request #163 from PilkeySEK/handledeaddefender-guard
...
Add guard clause instead of nesting the if statement in handleDeadDefender()
2025-03-07 08:50:26 -08:00
evanpelle
8462c04e65
Merge pull request #164 from koffielyder/eventsdisplay-focusnames
...
Feature: Player Focus on events in EventsDisplay
2025-03-07 08:48:38 -08:00
Evan
a56ea5f786
don't check if public when starting game
2025-03-07 07:24:18 -08:00
koffielyder
a62b37313f
refactor
2025-03-07 15:57:10 +01:00
koffielyder
e4cea653c6
Added focusID to event to focus on player on click
2025-03-07 15:34:24 +01:00
PilkeySEK
e979e1184c
Add guard clause instead of nesting
2025-03-07 14:16:18 +01:00