Evan
021b40207e
update version 0.20.0
2025-03-19 10:50:13 -07:00
Evan
8e05268863
add region to worker metrics
2025-03-19 10:49:41 -07:00
Evan
9d2ca6cc89
fix prometheus metric labels
2025-03-19 10:17:48 -07:00
Evan
52fd056328
Merge branch 'main' of github.com:openfrontio/OpenFrontIO
2025-03-19 10:06:59 -07:00
Evan
0169b29de1
prefix metrics with openfront
2025-03-19 10:06:56 -07:00
PilkeySEK
ebc2b74049
Add instructions for SAM Launcher ( #293 )
...
In need of a SAM icon 🙏
2025-03-19 09:03:40 -07:00
Evan
d3ea3bfeed
Merge branch 'main' of github.com:openfrontio/OpenFrontIO
2025-03-19 08:24:33 -07:00
Evan
350ff217b6
better metrics aggregation logic
2025-03-19 08:24:28 -07:00
Ilan Schemoul
3c17e09fee
faster attack ( #260 )
2025-03-18 20:38:26 -07:00
Ilan Schemoul
26bfb84b7b
SAM rebalance (circle radius, faster speed, smaller range) ( #266 )
...
see commit
2025-03-18 20:37:49 -07:00
Ilan Schemoul
af0177baa1
feat: add a lot more info in player overlay ( #279 )
2025-03-18 20:37:09 -07:00
Ilan Schemoul
40b7fe9833
feat: add warship tests ( #291 )
2025-03-18 20:35:31 -07:00
evanpelle
6499569240
add winston logger ( #289 )
2025-03-18 14:36:30 -07:00
evanpelle
bd2c270ba3
fixed inverted check for game start ( #288 )
2025-03-18 14:18:18 -07:00
Ilan Schemoul
24f25d677a
sam is red when reloading ( #268 )
2025-03-18 14:16:02 -07:00
APuddle210
6b41cc9b75
Inversion of how water color was being set as it moved away from land… ( #269 )
...
Inversion of the way water values on the light palette get set as the
tile is further from land. Was previously resulting in the darkest water
being the closest to land.


2025-03-18 12:25:28 -07:00
Hristiyan Simeonov
65dd485646
FIX: Removed duplicate hotkey instruction ( #277 )
2025-03-18 12:17:38 -07:00
Ilan Schemoul
6ad4ac86f4
feat: when player has no port warship do not capture trade or heal anymore ( #280 )
2025-03-18 12:07:51 -07:00
APuddle210
48d111bf0d
Add new map, iberia, france, north africa ( #285 )
...
Addition of new map, 'Gateway to the Atlantic' covering Iberia, France,
and North Africa.
Tested via loading to local build, ensuring the game launched
succesfully, and ran a full game through to completion. Confirmed
thumbnail is displayed in the UI.
Discovered possibly undocumented bug: minimap binary generation fails if
either the width or height of the provided map image is an odd number.
Not sure what proper tests for a new map would look like, hope this is
sufficient testing.






2025-03-18 12:05:11 -07:00
Evan
5188792cf4
delete public lobby when greater than or equal. this was causing the lobby to overfill when 2 clients joined within 250ms
2025-03-18 12:04:09 -07:00
Evan
b20b6a6ba7
Merge branch 'main' of github.com:openfrontio/OpenFrontIO
2025-03-18 09:57:31 -07:00
Evan
388aafbbf5
add more aggressive headers to prevent caching the root.
2025-03-18 09:57:28 -07:00
evanpelle
70e348c94b
Export prometheus metrics ( #286 )
2025-03-18 09:00:05 -07:00
evanpelle
cd1f8b9586
add testing infrastructure and example test ( #276 )
2025-03-17 12:20:23 -07:00
Peter
bd91d7c00b
Game server ticks too much. Removed duplicate call to .tick ( #271 )
...
removes gameManager.tick as it is already ticking inside the
gameManagers contructor
2025-03-17 08:58:45 -07:00
Ilan Schemoul
0b2b042dae
faster lobby ( #274 )
2025-03-17 08:56:47 -07:00
Evan
321cf5e110
update gatekeeper
2025-03-16 20:53:51 -07:00
Evan
9a297308db
don't use manhattanDistWrapped to prevent boat from starting on opposite side of world
2025-03-16 20:51:44 -07:00
Evan
c4381a9ad3
encirclement bug: ensure player is inscribed before losing territory
2025-03-16 20:39:20 -07:00
Ilan Schemoul
46889077f0
sam can't touch mirv (only mirv warhead) ( #259 )
2025-03-15 19:32:45 -07:00
Evan
8cd8d5bf60
add Britannia, reduce world & europe frequency
2025-03-15 18:24:26 -07:00
Evan
c7259bc0d9
update version 0.19.1
2025-03-15 18:22:44 -07:00
Ilan Schemoul
b2d9bb670a
nerf SAM ( #258 )
...
More costly (start at 1.5M), increase cost cap (4.5M), biggest timeout
(5s->10s), much lower chance to stop hydrogen (70%->10%), triple
construction time (10s->30s) otherwise it's trivial to build a SAM right
before a nuke hits
2025-03-15 18:22:14 -07:00
Evan
364387578b
fix lobby duration at 60s now that we limit lobby size. remove "high traffic time"
2025-03-15 17:22:15 -07:00
evanpelle
0b9a75bb0c
Remove path cache ( #257 )
2025-03-15 13:41:56 -07:00
evanpelle
4fdc570921
pad turns at the end on replay ( #256 )
2025-03-15 13:38:01 -07:00
Ilan Schemoul
275de50fcd
feat: move warship ( #196 )
2025-03-14 16:30:30 -07:00
Ilan Schemoul
baf91db288
tweak numbers of attack ( #253 )
...
Slightly decrease flat land advantage (in certain cases it feels almost
instataneous otherwise)
To calculate speed bonus use 4*attackTroops instead of 5 (people keep
complaining than small numbers of troops take crazy amount of lands
veryn quick)
Slightly increase minimum multiplier for attacker loss, to make
snowballing a little bit slower.
I only slightly modified numbers because the meta is fun it's just too
quick on certain cases.
2025-03-14 16:03:04 -07:00
Evan
67c1ff2158
store game hashes on singleplayer
2025-03-14 15:48:25 -07:00
Ilan Schemoul
2dd0c56583
fix: lobby were twice as long because of dynamic timer ( #252 )
...
We previously had a system where lobbyLifetime = gameCreationRate * 2
It was to always have one lobby ready.
With dynamic timer (start if enough player or timer's over) we cannot
rely on this system (which used setInterval) so we have one lobby and
check every 100ms if we need to create another lobby.
Might add 100ms+time of creating a lobby ms latency. Which is fine I
guess.
2025-03-14 14:30:05 -07:00
evanpelle
4a6ce12988
archive full game on crash ( #251 )
2025-03-14 14:08:16 -07:00
Evan
d82191308e
add back large attack modifier, make it 100k
2025-03-14 10:54:56 -07:00
Evan
462e1734b1
remove large territory attack bonus, will hopefully prevent too much snowballing
2025-03-14 10:22:45 -07:00
Ilan Schemoul
da50aa28d2
feat: more trade when there are few ports worldwide ( #242 )
2025-03-14 09:45:40 -07:00
Ilan Schemoul
c4f612eb98
easier to take nuclear land if most of the land are nuclear ( #241 )
...
- **Revert "Change BorderTiles from Array to Set (#230 )"**
- **easier to take nuclear land if most of the land are nuclear**
2025-03-13 17:05:22 -07:00
Ilan Schemoul
b9dad022fc
fix timer ( #239 )
...
- **improve and fix dynamic lobby**
- **Revert "Change BorderTiles from Array to Set (#230 )"**
I'm obviously forced to include the revert patch otherwise I can't
compile. but you should first merge PR dedicated to revert before tthis
2025-03-13 17:03:38 -07:00
Ilan Schemoul
70c3c43a5f
feat: handle embargo fake human ( #240 )
2025-03-13 14:53:27 -07:00
Ilan Schemoul
7ec3f0c81f
Revert "Change BorderTiles from Array to Set ( #230 )" ( #238 )
...
This reverts commit 8124651382 which
breaks compilation, has wrong indentation and uses flatMap without
Array.from which is also wrong.
2025-03-13 14:51:35 -07:00
Ilan Schemoul
cb3f36a74f
fix: update dst port when ship captured ( #217 )
2025-03-13 06:31:41 -07:00
ByGoalZ
8124651382
Change BorderTiles from Array to Set ( #230 )
...
Changed border constant from Array to Set, to avoid potential
duplicates.
2025-03-13 06:05:10 -07:00