Commit Graph
100 Commits
Author SHA1 Message Date
Andrii Danylchenko 894c88defc Merge pull request #4612 from vcmi/nkai-treat-pandora-as-blocker
NKAI: pandora as blocker object
2024-09-22 15:30:17 +03:00
Andrii Danylchenko ce0f51672a NKAI: replace hardcoded pandora with more flexible solution 2024-09-20 16:05:57 +03:00
Andrii Danylchenko ec6c84b0e0 NKAI: pandora as blocker object 2024-09-17 15:25:13 +03:00
Andrii Danylchenko 07ae33b8f4 BattleAI: missing lock 2024-09-03 13:02:58 +03:00
Andrii Danylchenko f9442208da BattleAI: avoid standing in moat 2024-09-03 13:02:58 +03:00
Andrii Danylchenko 3f916ab543 BattleAI: avoid standing in moat 2024-09-02 15:31:36 +03:00
Andrii Danylchenko ed36b1a882 Battle AI: fix casting Implosion when it kills target stack, fix casting summon elementals 2024-08-26 16:58:27 +03:00
Andrii Danylchenko d55996cc46 Battle AI: fix firewall, fix haste spellcast evaluation for waits and movements, allow location spells 2024-08-26 11:31:00 +03:00
Andrii Danylchenko 5de5ac5eb5 Merge pull request #4492 from vcmi/fix-battle-ai
BattleAI: fix init env
2024-08-22 21:59:15 +03:00
Andrii Danylchenko 01b6828df6 BattleAI: fix init env 2024-08-22 21:20:22 +03:00
Andrii Danylchenko 9d18a2269c Merge pull request #4306 from vcmi/battle-ai-bait-archers
BattleAI: fix bait for archers when need to go long way
2024-08-22 19:57:57 +03:00
Andrii Danylchenko ff8a745a50 BattleAI: optional simulation depth 2024-08-21 23:27:42 +03:00
Andrii Danylchenko 22de88ad68 BattleAI: count wait correctly for fast creatures 2024-08-21 22:18:41 +03:00
Andrii Danylchenko 337f99942b BattleAI: remove boost for archers while moving as actual stack may be small 2024-08-21 22:18:41 +03:00
Andrii Danylchenko bc80532f29 BattleAI: improve movement towards unreachable 2024-08-21 22:18:40 +03:00
Andrii Danylchenko 26609d7a4f BattleAI refactoring 2024-08-21 22:18:40 +03:00
Andrii Danylchenko 8cdfa26fb5 BattleAI: fix bait for archers when need to go long way 2024-08-21 22:18:40 +03:00
Andrii Danylchenko b3fc6743d9 BattleAI: better retaliation calculation 2024-08-21 22:18:40 +03:00
Andrii Danylchenko 9b914bb4db Merge pull request #4407 from vcmi/visual-logger
Visual logger
2024-08-10 21:28:01 +03:00
Andrii Danylchenko 78dea24017 Visual logger colored text 2024-08-10 19:13:09 +03:00
Andrii Danylchenko 47c77826c3 Visual logger map texts 2024-08-10 13:04:35 +03:00
Andrii Danylchenko 9ffd6368d4 Add visual logger for battle interface 2024-08-10 10:54:20 +03:00
Andrii Danylchenko 8e79263b21 Merge pull request #4323 from vcmi/battle-ai-fixes
Battle ai fixes
2024-08-10 10:48:35 +03:00
Andrii Danylchenko d751c3e1a3 Merge pull request #4362 from Alexander-Wilms/googletest-update
Update googletest submodule
2024-08-06 18:05:54 +03:00
Andrii Danylchenko f34ffcc727 Merge pull request #4388 from kaja47/fix-crash-defense
fix crash when my city without hero is attacked
2024-08-06 17:50:04 +03:00
Andrii Danylchenko 51b8bc9fc3 BattleAI: fix shhoters waiting and reduce strength of our loss affecting decissions 2024-08-04 17:50:19 +03:00
Andrii Danylchenko 801e919e7e BattleAI: fix ap calculation in exchange variant 2024-08-03 20:35:20 +03:00
Andrii Danylchenko 3d856bfa9d Merge remote-tracking branch 'origin/develop' into battle-ai-fixes 2024-08-03 12:54:25 +03:00
Andrii Danylchenko 9edb0afff8 BattleAI: fix dragonbreath retaliation 2024-07-28 14:41:32 +03:00
Andrii Danylchenko dbcd7677ac Merge pull request #4313 from vcmi/nkai-whirlpool
NKAI: whirlpool
2024-07-24 00:03:11 +03:00
Andrii Danylchenko da46d5d01b BattleAI: take into account defender dragon breath and other mutitarget attacks 2024-07-22 20:39:33 +03:00
Andrii Danylchenko 4e83deca92 BattleAI: fix waited attack calculation 2024-07-22 20:39:33 +03:00
Andrii Danylchenko 33e0eeaa8a BattleAI: fix dragon breath 2024-07-22 20:39:32 +03:00
Andrii Danylchenko 683c363946 NKAI: whirlpool 2024-07-21 17:20:54 +03:00
Andrii Danylchenko 3502e30fe5 Merge pull request #4296 from vcmi/build-take-into-account-7lvl-creatures
NKAI: take into account 7lvl creature cost when we consider what reso…
2024-07-19 21:34:25 +03:00
Andrii Danylchenko e9e5948d61 NKAI: take into account 7lvl creature cost when we consider what resources we need 2024-07-18 20:24:24 +03:00
Andrii Danylchenko e227fa1691 Merge pull request #4292 from vcmi/nkai-reduce-double-army-losses
NKAI: reduce double army loss cases
2024-07-18 18:50:14 +03:00
Andrii Danylchenko 37dc2a38e8 NKAI: reduce double army loss cases 2024-07-18 13:38:25 +03:00
Andrii Danylchenko 73ea0ce7bc Merge pull request #4289 from vcmi/fix-gosolo-for-multiplayer
NKAI: fix gosolo when human is lead by gosolo AI + multiplayer
2024-07-18 08:02:16 +03:00
Andrii Danylchenko 7571fb7046 NKAI: fix gosolo when human is lead by gosolo AI + multiplayer 2024-07-17 17:09:04 +03:00
Andrii Danylchenko d243a2fc12 Merge pull request #4259 from vcmi/fix-4203
BattleAI: fix moving to unreachable in case of back-to-back 2-hex
2024-07-16 16:41:50 +03:00
Andrii Danylchenko 58add0e182 Add docs for Nullkiller AI 2024-07-14 17:45:41 +03:00
Andrii Danylchenko a4b6fc75dd BattleAI: fix moving to unreachable in case of back-to-back 2-hex 2024-07-14 11:46:45 +03:00
Andrii Danylchenko 6f5710e809 Merge pull request #4110 from vcmi/rewardables
NKAI: rewardables
2024-07-14 09:02:37 +03:00
Andrii Danylchenko 1be36e1ad4 NKAI: rewardables 2024-07-07 21:58:39 +03:00
Andrii Danylchenko fc32078a3a #4142 - sometimes Battle AI wants to attack unit which is behind a lot of obstackles and other units 2024-06-18 20:03:07 +03:00
Andrii Danylchenko cd4aaf93ee #4139 - attempt to fix crash on portal probbing 2024-06-16 11:58:15 +03:00
Andrii Danylchenko 7bf047ff18 #4066 - fix exploration 2024-06-01 13:13:51 +03:00
Andrii Danylchenko 9728413742 NKAI: fix dead end cancellation 2024-06-01 12:25:23 +03:00
Andrii Danylchenko 02ea497951 NKAI: speedup exploration a bit 2024-05-22 22:49:11 +03:00
Andrii Danylchenko 7a6540ec2f Merge pull request #4024 from vcmi/nkai-exploration
NKAI: port exploration from VCAI
2024-05-21 19:48:41 +03:00
Andrii Danylchenko 820f0e0c1a NKAI: port exploration from VCAI 2024-05-20 23:50:13 +03:00
Andrii Danylchenko 5b7e355953 Merge pull request #4009 from vcmi/nkai-exploration
NKAI: port exploration from VCAI
2024-05-20 23:44:12 +03:00
Andrii Danylchenko 1388fb1493 NKAI: port exploration from VCAI 2024-05-20 22:43:23 +03:00
Andrii Danylchenko 4634aa7169 Merge pull request #3953 from vcmi/fix-3930
#3930 - fix usage of wrong variable
2024-05-13 12:26:42 +03:00
Andrii Danylchenko 98afd43969 #3941 - recruit hero when no heroes 2024-05-12 21:10:31 +03:00
Andrii Danylchenko 98a78b3386 #3930 - fix usage of wrong variable 2024-05-12 18:04:23 +03:00
Andrii Danylchenko 5ea720cd8e Merge pull request #3892 from vcmi/fix-3876
#3876 - allow to embark after battle for AI pathfinder
2024-05-06 10:52:41 +03:00
Andrii Danylchenko 157443c1df #3876 - allow to embark after battle for AI pathfinder 2024-05-05 13:52:57 +03:00
Andrii Danylchenko f1d7151a93 #3842 - fix negative link cost because of bonuses 2024-04-28 09:11:15 +03:00
Andrii Danylchenko 39e19f79f4 Fix #3754, #2316 2024-04-27 13:57:50 +03:00
Andrii Danylchenko 2ead852f09 Merge pull request #3839 from vcmi/fix-clusters-unlock
#3824 - fix cluster unlock
2024-04-27 13:54:20 +03:00
Andrii Danylchenko afa766c763 #3824 - fix cluster unlock 2024-04-27 10:57:30 +03:00
Andrii Danylchenko a0375d4e89 Merge pull request #3837 from vcmi/commander-issues
Commander issues
2024-04-27 10:10:45 +03:00
Andrii Danylchenko 6e641dbdea #3824 - fix empty army with only commander issues 2024-04-26 23:18:20 +03:00
Andrii Danylchenko b4abb3a56c Merge pull request #3814 from vcmi/fixes
NKAI: fix patrolling heroes never retreat and town danger evaluation
2024-04-23 18:52:47 +03:00
Andrii Danylchenko 390136e536 NKAI: fix patrolling heroes never retreat and town danger evaluation 2024-04-21 14:23:58 +03:00
Andrii Danylchenko 23fd47ae63 Merge pull request #3801 from vcmi/fixes
Fixes
2024-04-21 14:00:46 +03:00
Andrii Danylchenko 7aff0e63fc NKAI: fix parallel access to object graph 2024-04-21 12:27:58 +03:00
Andrii Danylchenko 0935f931fa BattleAI: fix bypassing 2-hex moat 2024-04-20 15:28:57 +03:00
Andrii Danylchenko ae69311023 #3788 - fix passing wirlpool with only commander alive 2024-04-20 15:28:57 +03:00
Andrii Danylchenko 70fad45316 Merge pull request #3770 from vcmi/nkai-multitask
NKAI: allow multiple tasks to be executed from one calculation
2024-04-20 15:21:11 +03:00
Andrii Danylchenko 3939c4b9d3 NKAI: stability fixes and regression 2024-04-20 14:32:58 +03:00
Andrii Danylchenko 50432b9614 Merge pull request #3782 from Alexander-Wilms/typo
Fix typo: preasure -> pressure
2024-04-18 13:19:12 +03:00
Andrii Danylchenko ed76d8a652 NKAI: allow multiple tasks to be executed from one calculation 2024-04-14 16:46:05 +03:00
Andrii Danylchenko 1d453a0c9d Merge pull request #3719 from vcmi/fix-castle-int-closing-by-turntimer
Fix castel interface closing by turn timer
2024-04-06 15:58:54 +03:00
Andrii Danylchenko 59b756b10c Merge pull request #3720 from vcmi/fix-3691
#3691 - boat attached to hero should not block tiles on its own
2024-04-06 15:58:30 +03:00
Andrii Danylchenko 8efceb110b #3691 - boat attached to hero should not block tiles on its own 2024-04-06 12:30:19 +03:00
Andrii Danylchenko c7b5d254d7 Fix castel interface closing by turn timer 2024-04-06 11:42:39 +03:00
Andrii Danylchenko fd0dd7441a Merge pull request #3700 from vcmi/object-graph
NKAI: parallel capture objects
2024-04-01 12:59:08 +03:00
Andrii Danylchenko 728f673763 NKAI: remove static ai field 2024-03-31 21:11:25 +03:00
Andrii Danylchenko ca7c91e766 Merge pull request #3677 from vcmi/object-graph
Object graph
2024-03-29 20:39:56 +02:00
Andrii Danylchenko d6f1a5c2b3 NKAI: parallel capture objects 2024-03-29 20:39:03 +02:00
Andrii Danylchenko ff654c2148 NKAI: fix build 2024-03-28 17:47:08 +02:00
Andrii Danylchenko 30d9daf62c NKAI: improve boat handling by object graph, a set of fixes 2024-03-28 13:39:15 +02:00
Andrii Danylchenko adfcb650e2 NKAI: object graph fixes 2024-03-25 21:04:08 +02:00
Andrii Danylchenko 3820f6f78b NKAI: fix headless and compilation 2024-03-24 13:16:46 +02:00
Andrii Danylchenko 419d6a648b NKAI: optimize clusterization and pathfinding for object graph 2024-03-24 09:32:54 +02:00
Andrii Danylchenko 017fb204a1 NKAI: remove 5th dimension 2024-03-24 09:32:54 +02:00
Andrii Danylchenko 6381a6f601 Merge pull request #3664 from vcmi/object-graph
NKAI: object graph improved and optimized
2024-03-21 20:08:45 +02:00
Andrii Danylchenko e66ceff154 NKAI: object graph improved and optimized 2024-03-21 12:13:36 +02:00
Andrii Danylchenko c9c118cff2 Merge pull request #3595 from vcmi/object-graph
NKAI Object graph
2024-03-10 20:26:17 +02:00
Andrii Danylchenko bec2c0cac2 NKAI: fix sonar and refactoring 2024-03-10 15:14:15 +02:00
Andrii Danylchenko 6245adb9a4 NKAI: configurable object graph 2024-03-08 14:39:16 +02:00
Andrii Danylchenko 5f8a157c6d NKAI: rollback changes with removing scan depth 2024-03-03 10:21:17 +02:00
Andrii Danylchenko fb6fd63a58 NKAI: water paths in graph 2024-03-02 15:55:36 +02:00
Andrii Danylchenko b236384356 NKAI: graph add battle layer 2024-03-02 15:54:05 +02:00
Andrii Danylchenko 047e076d05 NKAI: visual logger 2024-03-02 15:54:05 +02:00
Andrii Danylchenko a090441672 NKAI: object graph second layer not operational yet 2024-03-02 15:54:03 +02:00
Andrii Danylchenko 376a17409f NKAI: initial implementation of object graph 2024-03-02 15:52:45 +02:00