Comments (7)
I think the problem is quite serious and should be solved somehow in the nearest releases.
2024-01-24.14-29-04.mp4
As you see this issue can stop AI development for some time, which can decrease the overall scenario experience.
from fheroes2.
Hi, @zenseii
The issue is valid for ~ equal armies. In the video above I gave each AI hero an army of 1 Titan. But I believe it could be 1 Titan vs appropriate amount of peasants (1000 or so. 😄 ) Difficulty does not matter. It's just happens in a certain conditions: when both two equal heroes are close enough to the object of interest (mine) and are not able to run away far enough each turn.
This is a very artificial example.
I'm not telling this happens every 5 minutes of game play. I just showing, that this is happening sometimes and either allows human player abuse such behaviour or slows down both AI players as their heroes just stuck in the same place until reinforcement arrives to one of them or other strong hero appear and eliminates both. It's just waste of time for these two players.
EDIT: Actually, there's option 3 which would be to teach the AI to end its turn on the gold mine to protect it seeing that there's a "threat" nearby. That would perhaps be the best option.
This could be at least some sort of camouflage for the problem, as AI heroes would have much wider range and can focus on doing other things, while mine is "taken".
from fheroes2.
I should note that while it's true that you are holding the enemy her near this mine, but at the same time, you also keeping your hero nearby in order to distract the enemy hero, that is, in some way, both of you cannot use your heroes for other purposes.
from fheroes2.
I should note that while it's true that you are holding the enemy her near this mine, but at the same time, you also keeping your hero nearby in order to distract the enemy hero, that is, in some way, both of you cannot use your heroes for other purposes.
You are absolutely right.
But still that AI hero is in disadvantage since I can enforce my hero with a castle weekly troop growth and some day defeat him.
from fheroes2.
Do these heroes have equal armies? What difficulty did you select? I believe we recently merged a change that makes the AI attack heroes which might appear slightly stronger than them. I'm not sure exactly at what point that kicks in, but in this case it could be a solution.
Either way, a human player would see two good options in the case of your video, in case they have the exact same troops:
- Keep on doing the same and denying your opponent of the gold mine.
- Attack the hero since you realize this could go on forever.
To teach the AI to do the second one would be very complex because it has to "remember" what it did the last couple of turns with that hero, and see if those are essentially the same moves, but the confounding factors there would be many, because in some cases you do want to do the same things again, like visiting wind mills, creature generators etc.
The simplest solution would be to somehow motivate the AI to attack that opponent, though that too is questionable since losing would give them the gold mine.
EDIT: Actually, there's option 3 which would be to teach the AI to end its turn on the gold mine to protect it seeing that there's a "threat" nearby. That would perhaps be the best option.
from fheroes2.
As you see this issue can stop AI development for some time
This is a very artificial example. In a real game, the rest of the heroes of both kingdoms would have continued to operate, and the castles would have continued to develop. Sooner or later, the balance would have been upset, because either a stronger hero would have come from one side, or a courier would have come and handed over additional troops to his hero. In this artificial case, these heroes have essentially nothing else to do and they can't get reinforcements from anywhere, so what do you want from them?
I think the problem is quite serious
I don't think so. This is an artificial example that is exaggerated. We can't come up with special logic for all corner cases like this.
from fheroes2.
@oleg-derevenetz
This case is not strictly artificial. I was inspired by the real case I've experienced yesterday and I just made a simple map to imitate that case, as I don't have the save file and it's just more representative. When playing yesterday I watched two AI heroes "fighting" for a mine for more than a week, when I came with my hero and eliminated both of them on a new week. :)
from fheroes2.
Related Issues (20)
- Adventure map, AI has too low priority on attacking heroes HOT 2
- Adventure map, right click info over garrison hero doesn't show the actual defending army HOT 5
- Okey button in the settings menu changes itself
- Ranged units attacked by a berserk ally in melee respond by shooting
- Campaign briefing screen, cursor delay after right click
- Wrong difficulty/starting resources for many Campaign Scenarios HOT 5
- Increase height of creatures right click window in castles/well HOT 1
- Adventure map, sound of the horse's hooves continues after the horse has reached its destination HOT 4
- Adventure map, there is a slowdown before the window opens in some places HOT 8
- Combat screen, creature animation freeze during movement at start of combat HOT 4
- Adventure map, hero's predefined path over several days changes after the hero has reached his destination HOT 1
- AI spell usage in "I take you with me" case HOT 6
- Ability to use a different font HOT 2
- Executable game file extractor, please HOT 1
- Double cursor while playing on MacBook HOT 1
- Passability bug with trees HOT 7
- Castle screen, upgraded and regular mausoleums have different alignment HOT 1
- AI heroes must be able to jump into uncovered fog while using Dimension Door HOT 2
- Battle screen, auto combat disabling dialog refers to "battle", not "combat HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fheroes2.