Commit Graph

1694 Commits

Author SHA1 Message Date
evan 3e5a1eacdb add ssh-keyscan to github deploy workflow 2025-04-29 14:10:51 -07:00
evanpelle cc9b1a305b add link to tournament (#621)
## Description:

## Please complete the following:

- [x] I have added screenshots for all UI updates
- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [x] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors

## Please put your Discord username so you can be contacted if a bug or
regression is found:

<DISCORD USERNAME>

Co-authored-by: evan <openfrontio@gmail.com>
2025-04-29 13:22:29 -07:00
evan 84b5545c5b remove DiscordBot.ts, since this will be handled in a seperate service 2025-04-29 09:58:59 -07:00
evan 03429d6d93 add privacy policy and terms of service 2025-04-29 09:48:05 -07:00
Scott Anderson cb9a97083a Discord login (#611)
## Description:

## Please complete the following:

- [ ] I have added screenshots for all UI updates
- [ ] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [ ] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors

## Please put your Discord username so you can be contacted if a bug or
regression is found:

<DISCORD USERNAME>

---------

Co-authored-by: Scott Anderson <662325+scottanderson@users.noreply.github.com>
2025-04-28 18:31:42 -07:00
evan a36fdcaaed re-enable stacking 2025-04-28 15:18:50 -07:00
evan 910480cc71 use HOSTNAME for job name to prevent conflict 2025-04-28 13:01:09 -07:00
Duwibi ccba7a5617 Add Antarctica Map (#544)
## Description:
This PR adds the new Deglaciated Antarctica map(suggested by Backn). It
has 9 nations - most of the country territorial claims on the continent
and the "Penguin Empire".

fixes #545 

## Please complete the following:

- [x] I have added screenshots for all UI updates
- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [x] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors

## Please put your Discord username so you can be contacted if a bug or
regression is found:

Nikola123

---------

Co-authored-by: Loymdayddaud <145969603+TheGiraffe3@users.noreply.github.com>
2025-04-28 12:58:10 -07:00
evan 09e95ebdf9 increase UDP buffer sizes to fix cloudflare tunnel issues 2025-04-28 10:48:39 -07:00
evan 94e828e408 use environment variable to store R2_BUCKET 2025-04-28 09:54:04 -07:00
evan 8e8df5c308 bugfix: make sure not to add TerraNullius as enemy in BotBehavior as the causes a crash when checking isFriendly 2025-04-28 09:53:07 -07:00
Scott Anderson 96c8429a16 Shuffle playlist order (#612)
## Description:

## Please complete the following:

- [x] I have added screenshots for all UI updates
- [ ] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [x] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors

## Please put your Discord username so you can be contacted if a bug or
regression is found:

fake.neo

Co-authored-by: Scott Anderson <662325+scottanderson@users.noreply.github.com>
2025-04-28 09:17:13 -07:00
evan eed489a551 bugfix: make sure to add teams before assigning players, this caused all team games to have only two teams 2025-04-27 20:39:24 -07:00
Scott Anderson ff4e1a4e4f Migrate subdomain deployments to their own GitHub environment (#590)
## Description:

Migrate subdomain deployments to their own GitHub environment, so that
subdomain deployments do not overwrite other subdomains.

| Before | After |
| --- | --- |
|
![image](https://github.com/user-attachments/assets/53be73ab-a01b-4c01-be4f-6f99d358361d)
|
![image](https://github.com/user-attachments/assets/a30d3673-859a-4dec-bea9-d77dd5fdc9ff)
|

## Please complete the following:

- [x] I have added screenshots for all UI updates
- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [x] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors

## Please put your Discord username so you can be contacted if a bug or
regression is found:

fake.neo

---------

Co-authored-by: Scott Anderson <662325+scottanderson@users.noreply.github.com>
2025-04-27 17:17:35 -07:00
Tom 42b6a649ce Use monospace font for private lobby code input (#566)
## Description:
Changes private lobby code input font to be monospace. Parity with lobby
creation screen (#438).

**Before:**

![image](https://github.com/user-attachments/assets/da25cf2c-a8df-4d62-86ae-1eb575ad7bac)

**After:**

![image](https://github.com/user-attachments/assets/a65a0ff8-d48e-4c38-a949-8cc0fc82d383)


## Please complete the following:

- [X] I have added screenshots for all UI updates
- [X] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [X] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors

## Please put your Discord username so you can be contacted if a bug or
regression is found:

imdarktom
2025-04-27 17:10:56 -07:00
Scott Anderson d9e8984df5 Refactor Nations AI (#427)
## Description:

Refactor AI troop management and strategic behavior based around two key
values: a trigger ratio and a reserve ratio.
- Reserve ratio: This determines the portion of the population the AI
will keep in reserve and will not send on attacks.
- Trigger ratio: This is the threshold at which the bot will initiate an
attack.

Additionally, when an incoming attack is detected, bots will now
prioritize retaliating by switching targets to the largest incoming
attacker.

Fixes #470 

## Please complete the following:

- [x] I have added screenshots for all UI updates
- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [x] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors

## Please put your Discord username so you can be contacted if a bug or
regression is found:

fake.neo

---------

Co-authored-by: Scott Anderson <662325+scottanderson@users.noreply.github.com>
2025-04-27 14:15:45 -07:00
evanpelle f12690808f Tile expansion (#606)
## Description:
Modify tile expansion logic, creates more consistent expansion.

## Please complete the following:

- [x] I have added screenshots for all UI updates
- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [x] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors

## Please put your Discord username so you can be contacted if a bug or
regression is found:

<DISCORD USERNAME>
evan

---------

Co-authored-by: evan <openfrontio@gmail.com>
2025-04-27 14:12:13 -07:00
evan 8e30227204 disable defense post shooting ships for now 2025-04-26 09:49:30 -07:00
evan a509bc3b82 reduce structureMinDist to 12, allow for some overlap 2025-04-26 09:43:42 -07:00
evan de70321c4b bugfix: remove unit before updating tile in UnitImpl.move(). This is because if a unit moves too fast or on border, UnitGrid will not find the existing unit, causing duplicate units 2025-04-26 09:35:47 -07:00
evan 8b37cccbc3 cleanup SAMLauncher execution, warheadTargers & target local variable instead of field 2025-04-26 09:31:17 -07:00
Aotumuri 3ac5405ce3 mls-fix (#607)
## Description:
added Europe classic key
## Please complete the following:

- [?] I have added screenshots for all UI updates
- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [x] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors

## Please put your Discord username so you can be contacted if a bug or
regression is found:

<DISCORD USERNAME>
2025-04-25 16:06:59 -07:00
APuddle210 ec4c4d67cb Big batch of flag updates from N0ur (#600)
## Description:

N0ur has been slaving over a hot keyboard to bring some vexillological
light to our blighted shores. He has charged me with preparing the PR
for these ~394 flag updates and 131 outright additions to the flags by
which we let our nukes fly.

I am merely the vessel, these contributions are entirely N0urs. 

## Please complete the following:

- [x] I have added screenshots for all UI updates
- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [x] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors

## Please put your Discord username so you can be contacted if a bug or
regression is found:

aPuddle
2025-04-24 17:58:37 -07:00
evan 386e1916a3 update discord link 2025-04-24 14:18:47 -07:00
evan bbe8ec4cde bfs bugfix: add the original tile to seen. this was causing single surrounded tiles to not get conquered 2025-04-24 13:47:51 -07:00
evan 3c586455a8 disable defense under name until new meta is live 2025-04-24 13:14:30 -07:00
evan 84b58b9929 revert meta back to v21 2025-04-24 13:11:33 -07:00
evan ea323f919e increase traitor duration 15s => 30s 2025-04-24 12:58:57 -07:00
evan 4899c3383f remove transport ship embark delay 2025-04-24 12:45:47 -07:00
evan ff535820c5 bugfix: don't show build icon in radial during spawn phase, bugfix: log warning and hide playerpanel if tile not owned by player 2025-04-24 12:40:51 -07:00
evan 7a944e670a disable multitab detector on DEV environment 2025-04-24 12:15:47 -07:00
icslucas 13abdc30ef Update MultiTabDetector.ts (#588)
## Description:
Replaced the original focus/visibility-based MultiTabDetector
implementation with a lock-based system using localStorage to reliably
prevent multitabbing in OpenFront. The new system enforces a single
active tab per browser instance by using a unique tabId and a shared
lock key with periodic heartbeats. This eliminates race conditions,
prevents event-hook tampering, and avoids fingerprinting while
maintaining compatibility with existing punishment callbacks and UI
warnings.

## Please complete the following:

- [X] I have added screenshots for all UI updates
- [X] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [X] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors

## Please put your Discord username so you can be contacted if a bug or
regression is found:

Lucas

---------

Co-authored-by: evan <openfrontio@gmail.com>
2025-04-24 11:51:17 -07:00
Aotumuri d5191838cd mls (#597)
## Description:
Multilingual Updates
## Please complete the following:

- [?] I have added screenshots for all UI updates

- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [x] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors

## Please put your Discord username so you can be contacted if a bug or
regression is found:

aotumuri
2025-04-24 10:55:26 -07:00
evan 9428ac1a28 add back old europe map as Europe Classic 2025-04-24 08:56:36 -07:00
evan 34333e306f bugfix: add null check on trade ship target in alternate view 2025-04-24 08:14:06 -07:00
evan e86e4d581c alternate view: make trade ships yellow when destined for ally port 2025-04-24 08:09:28 -07:00
evan 35805b2e4e remove random-name element from front page 2025-04-24 07:59:29 -07:00
Prajay Basu e67712e673 Fix Zimbabwe typo (#595)
## Description:

## Please complete the following:

- [ ] I have added screenshots for all UI updates
- [ ] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [ ] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors

## Please put your Discord username so you can be contacted if a bug or
regression is found:

prajaybasu
2025-04-24 07:48:41 -07:00
evan 94c499a5e5 fix teams mode on private multiplayer games 2025-04-24 07:47:08 -07:00
evan 1f890396ab update ShellExecution to use AirPathFinder 2025-04-23 17:22:37 -07:00
evan a2ba10bdbd show density under player name 2025-04-23 14:26:12 -07:00
evan fe4396ebcd show incoming tradeships as green in alternate view 2025-04-23 13:46:19 -07:00
evan b13029591d bugfix: Path.Mini was modified to only pathfinding on water, which broke nukes. Created AirPathfinder class to handle pathfinding for nukes 2025-04-23 13:04:33 -07:00
evan 13e2a02b2d fix private games not archiving because they haven't prestarted 2025-04-23 12:30:33 -07:00
evanpelle 84287b8dfa Multi src astar (#594)
## Description:
Samples border shore tiles and uses multi-a* for determining the
transport ship spawn cell.

## Please complete the following:

- [x] I have added screenshots for all UI updates
- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [x] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors

## Please put your Discord username so you can be contacted if a bug or
regression is found:

<DISCORD USERNAME>
evan

---------

Co-authored-by: evan <openfrontio@gmail.com>
2025-04-23 10:16:43 -07:00
evan b2c3a8add6 remove .io, since just OpenFront is trademarked 2025-04-23 10:15:38 -07:00
evan c6484752e5 add trademark to OpenFront.io in footer 2025-04-23 10:14:41 -07:00
evan a70f1f98dd remove unnecessary logging in SpriteLoader 2025-04-22 20:49:02 -07:00
Readixyee 72b4c68172 Sprite system optimizations (#564)
## Description:

fixes issue #563 and optimizes clearrect and the cachekeys for sprites

## Please complete the following:

- [x] I have added screenshots for all UI updates
- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [x] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors

## Please put your Discord username so you can be contacted if a bug or
regression is found:

Readix
2025-04-22 20:39:32 -07:00
Aotumuri 0402e609a4 replaces player names with randomized name (#340)
This PR replaces player names with randomized name
The goal is to reduce exposure to inappropriate or offensive names.
Additionally, content creators no longer need to worry about displaying
other players’ usernames.
<img width="1276" alt="スクリーンショット 2025-03-25 23 03 37"
src="https://github.com/user-attachments/assets/3d396bb0-336f-41a0-8d56-ff5229fe05f8"
/>
<img width="1048" alt="スクリーンショット 2025-03-25 23 03 48"
src="https://github.com/user-attachments/assets/a72711cf-9743-4879-8f2f-b8187b10a272"
/>
Use the upper left button (Ninja) to change settings.
<img width="1173" alt="スクリーンショット 2025-03-25 23 04 03"
src="https://github.com/user-attachments/assets/2d2fcbbd-7342-40b0-97c1-ecc184e5fbb6"
/>

Fixes #489

---------

Co-authored-by: evanpelle <evanpelle@gmail.com>
2025-04-22 20:26:45 -07:00