SMUnlimited / AMAI

Advanced Melee Artificial Intelligence Mod For Warcraft 3
Other
206 stars 34 forks source link

town threats seem unable to detect TR #289

Open jzy-chitong56 opened 5 months ago

jzy-chitong56 commented 5 months ago

The army location records directly exclude peon and buildings,So town threat detection cannot target simple peon or ancient or tower for attacks

Indeed, these should not be recorded, but perhaps additional checks may be needed to detect the presence of enemy peon or buildings in friendly towns when detecting threats

When players discover this mechanism, it is easy to exploit it,No heroes or attacking units are needed

Of course, when the game starts, AI is also unable to defend against direct attacks from players

In addition, there is feedback that in the later stages of the game, AI prefers the attack mode of exchanging bases rather than defending back However, this needs to avoid situations where the player's birth point is very close

jzy-chitong56 commented 5 months ago

A complex When the system does not detect a threat, use Blizzard's official threat detection API. If there is a threat, do not adjust the mode, run it again every two seconds, confirm twice, and it is considered to have a threat

Or when running again, without any threat, additional testing should be conducted to query all construction workers near the base, compare thresholds, and ultimately determine without relying on official APIs