Commit Graph

1328 Commits

Author SHA1 Message Date
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 3ca4bb4dad switch to multistage docker build to fix docker build (#199) 2025-03-09 20:46:46 -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
evanpelle 9037872298 Merge pull request #175 from PilkeySEK/mirv-typo
Fix minor typo in MIRVExecution
2025-03-08 09:39:03 -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
evanpelle 4c0e066a1b Merge pull request #174 from ilan-schemoul/trade-decrease
nerf trade (1/500 => 1/700)
2025-03-08 08:48:37 -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
evanpelle 7400782d25 Merge pull request #171 from loan-mgt/duplicate-instruction
remove duplicated instruction
2025-03-07 19:01:49 -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
evanpelle 3ce71b61cd Merge pull request #167 from BeGj/feature/eslint
eslint and linted fixable errors
2025-03-07 09:04:32 -08:00
BeGj 619891741f linting 2025-03-07 16:53:10 +00:00
BeGj 0ddfc942a4 Merge branch 'main' of github.com:openfrontio/OpenFrontIO into feature/eslint 2025-03-07 16:52:42 +00:00
BeGj e5501d0bd8 configures eslint 2025-03-07 16:51:15 +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
evanpelle b7257ce7b8 Merge pull request #166 from BeGj/feature/bun
Use bun as runtime
2025-03-07 08:46:20 -08:00
BeGj 5d01780ba4 for running the docker locally 2025-03-07 16:37:54 +00:00
BeGj f0ecb72ff4 faster docker builds 2025-03-07 16:37:39 +00:00
BeGj c06abe261b bun in readme 2025-03-07 15:54:01 +00:00
BeGj 4d0fc345c0 nginx use bun 2025-03-07 15:53:23 +00:00
BeGj 331a400168 use bun extension instead 2025-03-07 15:53:10 +00:00
BeGj 5236f7a212 initial bun setup 2025-03-07 15:45:29 +00: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