ilan schemoul
bd8f72421e
default 95% soldiers
2025-03-06 01:22:00 +01:00
ilan schemoul
264bfa0c2c
feat: rename embargo to start/stop trading
2025-03-06 01:04:25 +01:00
ilan schemoul
398d354702
feat: save stats to local storage
...
Victory lose, player stats, lobby config are stored to local storage
(for later use)
2025-03-06 01:00:19 +01:00
Evan
2b26cfbbc9
update aws deployment, have client get env from server
2025-03-05 12:37:37 -08:00
Evan
2ff7cdb5e7
update version
2025-03-05 07:30:30 -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
evanpelle
87d5172adb
Merge pull request #139 from BeGj/fix/click-outside-map-for-findWarshipsNearCell
...
handle findWarshipsNearCell (unhandled exception) when clicking outside the map
2025-03-04 06:33:37 -08:00
BeGj
2685891e7a
checks if valid coord before referencing the tile.
2025-03-04 14:30:31 +00:00
Evan
62c4887fbb
Merge branch 'main' of github.com:openfrontio/OpenFrontIO
2025-03-04 05:35:02 -08:00
Evan
ab918e5a34
update version
2025-03-04 05:35:00 -08:00
evanpelle
718b572b59
Merge pull request #117 from ilan-schemoul/cance-attacks
...
feat: cancel attack
2025-03-04 05:20:01 -08:00
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
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
9fd1203d50
format HostLobbyModal
2025-03-03 14:46:29 -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
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
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
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
ilan schemoul
0372abe548
fix: crash if trying to view game without being a player
2025-03-02 22:52:42 +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
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
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
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
3b492df56b
set trust proxy to 3
2025-03-02 09:39:54 -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
38365fd9d0
configure nginx to run in container
2025-03-02 09:39:36 -08:00
Evan
a029b4277f
use node cluster to shard server
2025-03-02 09:39:09 -08:00
ilan schemoul
e2083b53df
feat: icon over player name to signal embargo
2025-03-02 18:34:22 +01: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
5d163a765c
Added CTRL+CLICK hotkey to instructions
2025-03-02 09:29:10 -08: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
Evan
d92a68e958
update version
2025-03-02 09:29:10 -08:00
NewHappyRabbit
d29438ae69
Added hotkey 'C' to center camera on player
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