Commit Graph
1878 Commits
Author SHA1 Message Date
1brucben e2a25d53d7 calibration 2025-04-27 23:43:14 +02:00
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
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
1brucben 3773fef255 fast speed test 2025-04-27 19:42:25 +02:00
1brucben 7d7b19de3f further calibration 2025-04-26 23:55:42 +02:00
1brucben 69d036da39 dogpile time fix 2025-04-26 23:06:55 +02:00
1brucben b935045962 dogpile mode fix 2025-04-26 23:05:45 +02:00
1brucben 2f03059cd0 another pop adjustment test 2025-04-26 22:03:25 +02:00
1brucben dfa7a400a2 pop update 2 2025-04-26 22:00:35 +02:00
1brucben 415cc6bc9c pop update 2025-04-26 21:59:59 +02:00
1brucben 662282c676 update countries 2025-04-26 21:27:35 +02:00
1brucben e9bf55974b less gold 2025-04-26 20:37:54 +02:00
1brucben c14e2d9393 calibration 2025-04-26 20:37:25 +02:00
1brucben dea380337e more balance 2025-04-26 20:35:45 +02:00
1brucben 281abbecac merge with main again 2025-04-26 19:31:52 +02: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
1brucben 5bf012385b ai updates. more balance 2025-04-26 18:41:04 +02: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
1brucben be1d12ec54 dogpile mode update 2025-04-26 17:46:19 +02:00
1brucben b0cb066e36 bots will attack out of control crown 2025-04-26 17:05:42 +02:00
1brucben 252f97ba6a boost mountain speed slightly 2025-04-26 16:28:20 +02:00
1brucben a9f899a9de ai doesnt try to nuke sams 2025-04-26 15:07:27 +02:00
1brucben ffdd85d7af more changes 2025-04-26 14:20:10 +02:00
1brucben f6d828057e another change 2025-04-26 14:17:21 +02:00
1brucben 7cc3b889bc Merge branch 'main' of https://github.com/openfrontio/OpenFrontIO into meta3tiles 2025-04-26 14:13:46 +02:00
1brucben ac5784b9f0 more adjustments 2025-04-26 14:13:13 +02:00
1brucben ef6b912f1d further nations nerf 2025-04-26 13:40:31 +02:00
1brucben b74430da10 nerfed nations pop 2025-04-26 13:34:52 +02:00
1brucben fe48ab60d2 weaken attack size effect 2025-04-26 05:10:05 +02:00
1brucben 681d071167 bots build SAM 2025-04-26 05:09:25 +02:00
1brucben e0a53a3e45 speed adjust again. 2025-04-26 04:48:15 +02:00
1brucben 8aa6d232c3 potential sam fix 2025-04-26 04:00:23 +02:00
1brucben 18c74baf78 potential mirv sam fix 2025-04-26 03:58:33 +02:00
1brucben 5b3688f032 nerfed nations 2025-04-26 03:52:49 +02:00
1brucben af6f60bc2b more nerf to gold. speed improvements. 2025-04-26 03:52:03 +02:00
1brucben 86415dafe9 less gold in game 2025-04-26 03:10:17 +02:00
1brucben 5de9da3241 adjust target ratios for ports and cities in FakeHumanExecution 2025-04-26 03:08:58 +02:00
1brucben c02bca6434 another gold fix 2025-04-26 02:29:34 +02:00
1brucben a8a7a61c8b update gold formula 2025-04-26 02:13:45 +02:00
1brucben 7fb180e7dc bot initial pop nerf 2025-04-26 01:41:45 +02:00
1brucben 9271251d0c nerf gold for large countries 2025-04-26 01:38:57 +02:00
AotumuriandGitHub 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
1brucben 79651bd4b4 city cost back to normal 2025-04-26 00:39:21 +02:00
1brucben 0df4d1015a adjust city and tile gold calculations for improved resource distribution 2025-04-26 00:32:57 +02:00
1brucben 33ca569808 change min city cost 2025-04-26 00:31:46 +02:00
1brucben 7c7ad1281c evan's tile algorithm 2025-04-25 23:57:56 +02:00
1brucben 63f5a7858e defense posts builds by bots require 1 city 2025-04-25 23:31:21 +02:00
1brucben 41ec783aa4 Merge branch 'main' into meta3AI. remove underline at 90. 2025-04-25 21:33:51 +02:00