Commit Graph

1659 Commits

Author SHA1 Message Date
1brucben 353a7e7453 Merge branch 'meta3' into defenseposture 2025-04-20 19:56:51 +02:00
1brucben 2d53938c08 removed remnants of defensive posture (to place in another branch) 2025-04-20 19:37:22 +02:00
1brucben df9329f0f7 fixed broken retreat 2025-04-20 19:29:45 +02:00
1brucben b93e84c5ba Gold Adjustment 2025-04-20 19:22:38 +02:00
1brucben d415d41e15 Remove defenseposture after merge for clean copy. 2025-04-20 16:52:48 +02:00
1brucben 3f2eec8c3e further optimization 2025-04-20 16:46:49 +02:00
1brucben 1e3bb69c4a Merge remote-tracking branch 'origin/main' into defenseposture 2025-04-20 16:42:24 +02:00
michaelabilliot a4329d42ee Add category to singleplayer (#449)
## Description:
Just simply adds categories to the single player menu
![Screenshot 2025-04-11 at 05 40
49](https://github.com/user-attachments/assets/e6811b69-5abf-427f-9989-55f4538b034f)

Fixes #453 

## 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:

lunhuiyan1718
2025-04-19 12:09:41 -07:00
1brucben 04ff24cca5 another calibration of speed 2025-04-19 20:23:41 +02:00
1brucben f21d692494 further speed parameter adjustment 2025-04-19 19:00:02 +02:00
1brucben 83c9f5a81a Minor attacklogic optimizations 2025-04-19 18:08:33 +02:00
1brucben efb93d03c2 improved search efficiency 2025-04-19 14:03:45 +02:00
1brucben 89ae7bc7ef Optimize attack logic by reducing redundant neighbors() and owner() calls 2025-04-19 11:27:31 +02:00
1brucben ce50336b8e Reduced tile weight recalc 2025-04-19 11:02:56 +02:00
APuddle210 f713254081 Address-River-Criticisms (#536)
## Description:

Please see description on: #535 

fixes #535 

## 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

---------

Co-authored-by: Scott Anderson <662325+scottanderson@users.noreply.github.com>
2025-04-18 18:05:27 -07:00
1brucben 5be058d9f1 Merge remote-tracking branch 'origin/main' into defenseposture 2025-04-19 02:12:28 +02:00
1brucben f574d98bb2 Merge branch 'main' into defenseposture 2025-04-19 01:54:00 +02:00
1brucben c804fb11ae merged with meta revisions and adjusted posture parameters 2025-04-19 01:31:44 +02:00
1brucben 436b56ae43 Merge branch '1brucbentest' into defenseposture 2025-04-19 01:27:05 +02:00
1brucben 9988b83b54 fix for empty tile set 2025-04-19 00:32:27 +02:00
1brucben aeec377bef Revised tile targeting 2025-04-19 00:00:43 +02:00
1brucben 0bc7c51fb3 Revised attack parameters 2025-04-19 00:00:14 +02:00
Evan 9edc82b354 husky: run tests on commit 2025-04-18 14:45:18 -07:00
Evan 9de072c0c6 fix failing SAM test 2025-04-18 14:26:19 -07:00
Evan d66dcedcc2 move menu up to remove top gap 2025-04-18 13:53:12 -07:00
Evan 11a9b9e5b0 move "join discord button" to footer, this makes space for the login button 2025-04-18 13:46:50 -07:00
Evan 582ebf3151 rebalance multiplayer maps:
1. reduce number of players per map
2. Modify map frequencies
2025-04-18 13:31:50 -07:00
Evan 38b1845ed1 don't allow structures to spawn too close to each other. When choosing a spawn, canBuild() finds a suitable nearby tile if chosen tile is too close to an existing structure. 2025-04-18 11:51:54 -07:00
1brucben 6f5d4e970e renaming and further adjustments 2025-04-18 20:07:25 +02:00
1brucben c7bd36c7d0 parameters adjusted 2025-04-18 18:31:57 +02:00
1brucben 76a1f1487c added defensive posture options with experimental effect on defense 2025-04-18 18:18:38 +02:00
Evan ae4f4d3ed6 traitor only lasts 30 seconds, 50% defense debuff 2025-04-17 20:30:52 -07:00
Duwibi 7342caaafd Fix Australia and Iceland chance (#550)
## Description:
This PR fixes the chances of the Iceland and Australia maps being
picked.
fixes #551

## 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:

Nikola123
2025-04-17 19:39:28 -07:00
Brandon Yi 0995b0a5e3 Increase SAM search radius and cap cost at 3mil (#529)
Fixes https://github.com/openfrontio/OpenFrontIO/issues/515

## Description:

Bumping SAM launcher search range from 75 to 100. Also, decreasing the
max cost of the SAM to 3 mil (down from 4.5mil)

## 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:

bypie5

---------

Co-authored-by: APuddle210 <david.eskin@gmail.com>
2025-04-17 19:38:37 -07:00
Scott Anderson 1b672420b3 Combine Bot and Nation behaviors in to a shared class (#434)
This is the first move in the effort to combine the redundant logic that
exists between BotExecution and FakeHumonExecution.

This commit:
1. Combines the alliance request handler, moving bots to use the same
logic as nations for acceptance.
2. Combines the sendAttack() functions, which may later be reworked.
3. Introduces selectEnemy() function to wrap enemy selection logic that
nations use.
4. Blocks nations from nuking bots.
5. Alters enemy selection to prefer neighboring bots if there are any.

## Description:

Fixes #467 

## 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-17 19:37:16 -07:00
1brucben 97fa91769a another adjustment 2025-04-18 04:34:55 +02:00
Scott Anderson ccadd7f6a8 Nations target structures with nukes (#393)
## Description:

Nations will prefer to target their nukes at structures. This updates
the existing logic, which attempts ten times to randomly select a
coordinate 15 tiles inside the border, to instead generate a list of ten
random tiles in addition to a list of all of the tiles of relevant
structures. The two lists are concatenated to create a set of tile
candidates. These candidates are scored, and the tile with the highest
score, if one is found, is nuked.

The scoring function considers three factors:
1. Damage potential: values of structures with 25 tiles of the target
tile.
2. Distance from silo to target (hang time).
3. Recently nuked locations.


![image](https://github.com/user-attachments/assets/10c7bd96-ad51-404c-84c9-c0840dc8250c)

Fixes #471 

## 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-17 19:22:35 -07:00
Ilan Schemoul 8925f48ba7 sam protects againt mirv warhead (#376)
Fixes #483 

## 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
![Capture d'écran 2025-03-30
174759](https://github.com/user-attachments/assets/8245723d-68de-4b96-ab19-5d85be18e4d9)


## Please put your Discord username so you can be contacted if a bug or
regression is found:
respectful pinguin
2025-04-17 19:02:50 -07:00
1brucben 3ccc2dba3f adjusted attack formula balance further 2025-04-18 03:45:49 +02:00
Max Dohme 9aa933b676 Add live update for player menu (#511)
## Description:

UX Improvement - Make the player menu options update live, like
donations and re-offering alliance if it was rejected previously. Now
player doesn't have to keep re-opening the menu to see the options
updated.

Fixes #521 

## 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:

eyeseeem

---------

Co-authored-by: Max Dohme <max.dohme@gmail.com>
Co-authored-by: Scott Anderson <scottanderson@users.noreply.github.com>
Co-authored-by: APuddle210 <david.eskin@gmail.com>
2025-04-17 14:21:16 -07:00
Evan a0edae88f2 deploy using openfront user instead of root 2025-04-17 14:00:25 -07:00
Evan 79a19dd666 update ads.txt 2025-04-17 11:13:14 -07:00
Scott Anderson 5a8f724563 Auto transport (#540)
## Description:

fixes #541 

## 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 & fake.neo

---------

Co-authored-by: APuddle210 <david.eskin@gmail.com>
Co-authored-by: Scott Anderson <662325+scottanderson@users.noreply.github.com>
2025-04-17 10:41:08 -07:00
Mubelotix d50931a724 Fix spelling (#448)
## Description:

Fixes #454 

## 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:

`@mubelotix`
2025-04-17 10:28:07 -07:00
Duwibi 027f9ac9ac Add Faroe Islands map (#441)
## Description:
This PR adds the new "Faroe Islands" map that is based on the real
islands. It has 6 nations - the 6 regions of the Feroe Islands.

Fixes #460

## 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:

Nikola123
2025-04-17 08:51:48 -07:00
Evan e841954771 don't allow donation in FFA 2025-04-16 21:43:20 -07:00
Evan 13e3b4588d update r2endpoint to use ACCOUNT_ID env variable 2025-04-16 21:10:27 -07:00
Evan fba96d9e5a update meta 2025-04-16 20:07:15 -07:00
Evan 771fb4b67e update ads.txt 2025-04-16 15:31:04 -07:00
Evan 13fe8b9e39 detect and punish multi-tabbing 2025-04-16 14:33:54 -07:00