Skip to content

Releases: SMUnlimited/AMAI

3.3.1

17 Dec 17:32
Compare
Choose a tag to compare

Added

  • More installer validation checks for map write access and MPQEditor presence.
  • Installer and command line will detect when MPQEditor fails to add files to a map usually due to UAC protection.

Changed

  • Balance tweaks to harvesting logic. (jzy-chitong56)
  • (Classic) Balance tweaks to hero ability picks. (jzy-chitong56)

Fixed

  • Fixed performance issue caused by a critical infinite loop crash with undead players.
  • More performance optimisations especially for large maps.
  • Fixed issue with the pathing checks where night elf would spend an extremely long time checking gold mines so was delayed in using neutral buildings.
  • Fixed issue with the pathing check that meant some pathable locations were deemed to be impassable.
  • Optimised pathing check for neutral buildings so its faster, what would take over 10 mins on larger maps takes ~1 minute now.
  • Fixed missing dependencies for various units and upgrades. (jzy-chitong56)
    • Mark of the talon only needs tier 2 not tier 3.
    • Gyphon Ryder needs Castle.
    • Dragonhawk needs Arcane Vault.
    • Temple of the damned needs a Graveyard.
    • Spellbreaker needs Keep if base is destroyed.
    • Mountain giant needs Tree of Ages if base is destroyed.
  • Fix handling if front location is not calculated. (jzy-chitong56)
  • (Classic) Fix heroes not learning any skills in 1.29-1.31 war3 versions. (jzy-chitong56)
  • (Classic) Corrected upkeep handling.
  • (Classic) Brought classic edition settings in line with recent settings. (jzy-chitong56)
  • (Classic) Fixed some issues where neutral players were not set to the correct player in 24 player formats.
  • (Classic) Fixed issue where map team assignment would not auto increment above 13.
  • (Classic) Missing ritual dagger use and moonstone time of day fixes.
  • (DevTools) Fixed debugging mode to work with classic editions on old war3. (jzy-chitong56)
  • (DevTools) CmdLine Tool Fixes (IceSandslash)
    • Install AMAI into maps in folders even with spaces, such as "Warcraft III".
    • Call AMAI install scripts from any folder, which means that you can put the AMAI folder in your Windows PATH environment variable.
    • Call AMAI batch scripts from external scripts without dealing with so many pauses. Also fixes a recent regression that causes AMAI to close the console window.
    • Report on program exit code when AMAI compiles files for both local running and for CI environments.

3.3.0

14 Dec 14:22
Compare
Choose a tag to compare

Added

  • Older versions of war3 are still popular so now you can install scripts to the older editions of warcraft.
    • New features and fixes can be automatically available for older versions.
    • AMAI version REFORGED/RFG is now for the latest warcraft version while ROC and TFT are for the classic versions of warcraft.
    • (DevTools) AI Versions now maintain there own copy of warcraft API's and generated blizzard.j files. This allows a single copy of AMAI to build previous versions of AMAI.
  • Installer will now check to make sure AMAI scripts are in the correct location instead of just continuing to appear to work.
  • New English taunts and messages created from generated AI.
  • Ability to expand using the tiny great hall (jzy-chitong56)
  • Heroes will attempt to avoid/swap specific items from their inventory or when they already have a specific skill (jzy-chitong56)
    • (DevTools) Can be modified via the ItemCheck.txt
  • New commander mode "Joint Control" which allows the human players to control their AI allies units at the same time as AMAI.
    • This is like the "Computers Only" option where all human players units and buildings are removed at the start of the game but you have direct control.
  • Commander Change strategy dialog now displays the strategy name you can pick for the AI where applicable instead of just a number.
  • Zepplins can now make use of fountains of power (jzy-chitong56)
  • New Gargoyle and Ghouls Strategy for undead (jzy-chitong56)
  • Added ability to commander to control the zoom level when you type into the chat window '-zoom3000' without the quotes. (jzy-chitong56)
  • (Classic editions) Zoom level can be controlled by the UP and DOWN keys and observers start zoomed out due to no built in controls in classic versions.
  • Added emergency actions where AI is struggling to try and recover e.g Do a militia expansion or ancient expansion (jzy-chitong56)
  • Use the cloak of shadows ability in micro actions (jzy-chitong56)
  • Maps with multiple mines at the starting location can now be handled. (jzy-chitong56)
  • Some expansions when far away or impossible to get to will be attempted with a zeppelin, but only if there are no creeps (jzy-chitong56)
  • (DevTools) Debug mode will give observers more visibility into the AI's units and hero abilities. (jzy-chitong56)

Changed

  • Installer now includes the latest scripts so you do not have to build or copy the scripts in yourself.
  • Bat scripts to install to a single map have more power to control install of commander by passing argument 1 or 0 to the script. No argument provided will install commander by default.
    • No Commander ./InstallROCToMap.bat "E:\Files\Documents\Warcraft III\Maps\AMAI\frozenthrone\community\(24)BrokenCity.w3x" 0
  • Install to directory power script must now be passed the version to install InstallToDir.pl REFORGED dir true
  • Chinese Translation improvements. (jzy-chitong56)
  • Language dialog will be available on game start even when the commander is disabled (jzy-chitong56)
  • Updates for latest war3 1.36 version (jzy-chitong56)
  • Hero Skill Adjustments
    • FAR SEER adjustments to favor wolves.
    • TFT BLADE MASTER can sometimes learn mirror image.
    • ROC BLADE MASTER will no longer use mirror image.
    • DEMON HUNTERS will can now sometimes learn Immolation.
  • Shredders now replace 10 peons (instead of 8)
  • Improvements to worker logic at game start. (jzy-chitong56)
  • To reduce chat spam for players, chat messages from the AI are now rate limited to reduce screen spam especially in large player maps.
  • Team games ai's that are defeated will no longer destroy its base or do a desperation attack and instead will share control with its human allies.
    • When there is no human allies and two AI shares the same race it will give its units to that AI.
  • (DevTools) Updated MPQEditor to 4.0.0.894 (jzy-chitong56)

Removed

  • (DevTools) Old non-working installer has now been removed now we have new version in place.

Fixed

  • Spirit Walkers key building should be the Tauren Totem (Slayer95)
  • Fix Goblin Tinker not learning abilities after picking the engineering skill. (jzy-chitong56)
  • Fix VSAI more than 12 players support (jzy-chitong56)
  • Various memory leak and optimization fixes to reduce lag on large maps (jzy-chitong56)
  • Various protection against division by 0 (jzy-chitong56)
  • Changing language more than once may not apply the english backup correctly. (jzy-chitong56)
  • More unicode fixes to languages (jzy-chitong56)
  • If creep cannot be found but expects one, will temporarily widen scan range just to be sure. (jzy-chitong56)
  • Fixed an issue where hero flee rules could reference an invalid array address possibly killing the thread. (jzy-chitong56)
  • Combat response has been given a boost and if it takes too long it will force attack to be re-evaluated.
  • Small map strategy boost takes account of the actual map size and not just player count.
  • Fix for the optimizer not quite working with latest common.j file.
  • Fix for optimizer not handling multiple ability ids on a single line correctly.
  • GetHeroToBuyItem would try to buy an item regardless of free slots.
  • Fixed issue where count for neutral units in dynamic building code was incorrect.
  • Fix focus fire control not using the angle of the target unit (jzy-chitong56)
  • Fix ziggurat selling job never selling lost farms (jzy-chitong56)
  • Ensure zepplin control is not being overriden by default AI (jzy-chitong56)
  • Fixed food available being calculated incorrectly (jzy-chitong56)
  • Fixed issue where merc camps and dragon roosts were not detected.
  • Fixed various language encoding issues by ensuring all language files are now set to utf8.
  • Spanish translation corrections (Slayer95)
  • Fixed an issue where lumber mills could be spammed. (jzy-chitong56)
  • Fixed night time detection not quite correct sometimes (jzy-chitong56)
  • Zepplin control fixes (jzy-chitong56)
  • Ancient Expansion fixes (jzy-chitong56)
  • Fixed harass groups to use a more reasonable number of entries to prevent high processing and memory usage.
  • Fixed lead ally being determined to the incorrect player in some cases.
  • Fixed night elf worpal blades upgrade had the wrong code (jzy-chitong56)
  • Fixed an issue where the AMAI cache was not saving any data (jzy-chitong56)
  • Fixed handling of shredder priority to not overtake priority of standard peons.
  • Multiple harass groups with different units within each group can now run instead of limited to just 1.
  • Fixed an issue where upkeep save money effects were not working correctly.
  • Fixed correct detection of double expansions and handling multiple mine cases.

AMAI Installer 1.0

05 Oct 16:22
Compare
Choose a tag to compare

Released with 3.2.2

3.2.2

05 Oct 16:19
Compare
Choose a tag to compare

Added

  • New AMAI installer (powered by Electron) for a user friendly way to install to maps or directories (Thanks paulo101977)
  • Commander is no longer installed by default if you use the bat scripts. You must use the new `InstallCommanderToMap.bat' file.
  • Added a script DisableCommander.bat if you want to disable the commander post install.
  • Counter strengths are now translated.

Changed

  • The install AMAI to a directory perl script supports passing an additional argument "false" to not install the commander.

Removed

  • (DevTools) Stopped AMAI.mpq being generated, it is an old leftover from the old ways to run AMAI.
  • (DevTools) Removed ancient AddToMPQ.exe and use MPQEditor for all operations under the hood.

Fixed

  • Re-installing AMAI should no longer increase map file size. Also maps file size after install appear to be about 40% smaller.
  • Fixed some memory leaks mainly with the commander, this was more of an issue now that dialogs are being regenerated.
  • Fixed Norwegian Commander caused by translating text to empty strings. Such behavior so should no longer break commander logic.
  • Fixed an issue where air creep strength was assumed to be 0 which could cause AI to attack air creeps without a way to attack them.
  • Fixed an issue where invisible pathing units were not moving on very large maps with lots of mines and neutral buildings and players.
  • Reduced lag impact that invisible pathing units have on game start for large amounts of players.
  • Fixed an issue where an ai could surrender and give all there buildings to Player 13.
  • Invalid strategy commander message is now translated.

3.2.1

07 Sep 16:33
Compare
Choose a tag to compare

Fix

  • Port fix such that commander menu titles don't go missing in some cases (from 2.6.x by jzy-chitong56)
  • Fix translation issues with the commander and by using the commander language selection, also ensure english is the default for missing translations.
  • (DevTools) Language selection dialog message is now exposed for translation.

3.2.0

04 Sep 15:38
Compare
Choose a tag to compare

Added

  • Min Support of Warcraft 3 increased to 1.33.
  • A small chance for AMAI to pick the profile name of Legendary players. (from 2.6.x by jzy-chitong56)
    • (DevTools) Also added ability to configure your own legendary profiles via new profile setting option "rare profile".
  • AMAI now can use power fountains if available on the map. (from 2.6.x by jzy-chitong56)
  • New Random Profile which is completely random on all personality traits. (from 2.6.x by jzy-chitong56)
  • Just typing -cmd without any options will now open the commander as well as the ESC key.
  • Commander player selection and strategy selections now have multiple pages with next and previous buttons. (from 2.6.x by jzy-chitong56)
  • Added ability to change the language of the commander interface and actions independently from other players.
  • Added a map pack that contains a few official maps with AMAI already installed for those that struggle to install or use an OS that cannot install AMAI.

Changed

  • Disabled a flee rule for heroes which means when stranded on there own they are more likely to use a town portal to save themselves.
  • Reworked the strategy timer to fix various issues with changing strategies and to fix issues with counters changing way to frequently.
  • Tier and insane difficulty has less of an effect on the strategy timer than before.
  • Make sure AI leaves at least one ghoul to continue harvesting wood in any case. (Pixxy)
  • (DevTools) Refactoring of the TFT bat files to re-use scripts instead of duplicating script lines.
  • Colour Balance on messages improved to be aligned with the players actual colour. (from 2.6.x by jzy-chitong56)
  • Changed keyboard shortcut for commander to "-cmd:" instead of cmd and you don't have to leave a space after the first ':' anymore.
  • Language dialog can now be set for first human observer if there is not any playing humans. (from 2.6.x by jzy-chitong56)
  • Commander only shows valid allies on the initial menu rather than include enemies that cannot be interacted with.
  • Commander enemy targeting will now highlight which players are allies so you don't confuse friend from foe.

Removed

  • (DevTools) The numbered blizzard.j files are now removed and instead generated from the full original blizzard.j. Saves time when updating for new versions.
  • Outdated links from the commander intro message.

Fixed

  • Fixed a bug in 2 strategies regarding priority of hero and frost wryms for undead.
  • AMAI VS AI mode now makes use of the latest blizzard.j instead of a much older version.
  • Fixed issue where profiles were being re-used all the time instead of when running out of applicable profiles.
  • Fixed various unresolved issues on maps with more than 12 players. (from 2.6.x by jzy-chitong56)
  • Should be a little smoother performance wise when running with more than 12 players. (from 2.6.x by jzy-chitong56)

2.6.2

04 Sep 16:09
Compare
Choose a tag to compare

Jzy-chitong has provided various updates and ported features back to this older version of AMAI if you play on the older editions of warcraft 3.

Added

  • Improved chinese language translations [jzy-chitong56]
  • Commander resource tributes are now translated (translated by google)
  • Commander player selection and strategy selections now have multiple pages with next and previous buttons. (from 2.6.x by jzy-chitong56)
  • Automatic support for more than 12 Players based on version you playing on.
    • All 24 player colours are now supported by AMAI.(from [3.0.0])
    • Various messaging and attack targeting will now work with more than 12 players.(from [3.0.0])
    • Increased script delay on higher number of players to reduce performance impact.
  • Commander now includes Zoom feature based from wc3champions. [jzy-chitong56]
    • Input "-zoomxxxx" to adjust the sight distance, and XXXX is a number, such as "-zoom1000",max zoom is 5000
    • Observers start at an increased zoom level.
  • A small chance for AMAI to pick the profile name of Legendary players. (from 2.6.x by jzy-chitong56)
    • (DevTools) Also added ability to configure your own legendary profiles via new profile setting option "rare profile".
  • AMAI now can use power fountains if available on the map. (from 2.6.x by jzy-chitong56)
  • New Random Profile which is completely random on all personality traits. (from 2.6.x by jzy-chitong56)
  • Added ability to change the language of the commander interface and actions independently from other players (Using the All option in 2.6.x)

Changed

  • Language dialog can now be set for first human observer if there is not any playing humans. (from 2.6.x by jzy-chitong56)
  • Computer skill level is now shown by default on AMAI players. (from [3.0.0])
  • Tweaked english grammatical errors for various strategy messages. (from [3.0.0])
  • Tweaks to Brewmaster and Alchemist skill picks. (Pixyy) (from [3.1.0])
  • Creep building detection range slightly increased(Pixyy) (from [3.1.0])
  • Front base distance range increased(Pixyy) (from [3.1.0])
  • Reduced number of mines needed before going into high upkeep(Pixyy) (from [3.1.0])
  • Tweaks to town portal so more likely to be used for lower threats(Pixyy) (from [3.1.0])
  • At the beginning of the game, HUMAN and ORC have two peons Harvesting Wood.
  • Mechanical armies will not enter emergency healing state because the only non-mechnical unit/hero is damaged. (from [3.0.0])
  • When the debug player is killed we will now switch to a new player to debug. (from [3.0.0])
  • Adjust HUMAN, ORC and Night Elf number of peons for gold mines.
  • Original AI scripts have corrected form ID's (no playable impact) (Including ROC)
  • Colour Balance on messages improved to be aligned with the players actual colour. (from 2.6.x by jzy-chitong56)
  • Make sure AI leaves at least one ghoul to continue harvesting wood in any case. (from [master])
  • Reworked the strategy timer to fix various issues with changing strategies and to fix issues with counters changing way to frequently. (from [master])

Fixed

  • Add missing requirement for UPG_SKEL_MASTERY.
  • Add missing UPG_SUN_BLADE UPGRADE.
  • Tweaked ranged units to avoid melee units only if damaged to 70% instead of 90% and reduced distance to trigger slightly. (Pixyy) (from [3.1.0])
  • Fixed an issue where healing totems are not cast correctly. (Pixyy) (from [3.1.0])
  • Front base distance range slightly increased again to help fix night elf troops getting stuck in base(now is 1100). (Pixyy) (from [3.1.0])
  • Heroes a little more likely to teleport to rescue a town regardless of the profiles aggression and smaller threat levels. (Pixyy) (from [3.1.0])
  • Fixed an issue where human upgrades magic sentry and flare could not be researched by the AI. (Pixyy) (from [3.1.0])
  • Fix Night Elf initial mining logic such that they build the starting buildings first before completely filling the gold mine. (Pixyy) (from [3.1.1])
  • Fix Night Elf and Undead 's race_tower_id(Settings.txt) (Including ROC Human, Elf and Undead)

3.1.1

10 Jan 17:24
Compare
Choose a tag to compare

Changed

  • Very minor balance tweak so less expensive units food wise are needed before AI starts to consider armor or weapon upgrades for them.

Fixed

  • Fixed an issue where dynamic counter calculations for team games made allied strength negate enemy strengths too much often resulting in an inappropriate counter choice.
  • Enemy and allied strength calculations for dynamic counters no longer watered down by the number of players in the game.
  • Strategy persistence profile setting now has an effect on the dynamic counters as it was supposed to.
  • If an AI re-evaluates counter type to the same existing counter while on the same strategy it will no longer spam the chat to allies with this fact.
  • Fix Night Elf initial mining logic such that they build the starting buildings first before completely filling the gold mine. (Pixyy)

3.1

05 Jan 15:07
Compare
Choose a tag to compare
3.1

Added

  • Support for warcraft 3 1.32.10 patch changes. (Pixyy)

Changed

  • To reduce spam from your allied AIs they now only sometimes report what they are countering instead of every single time its re-evaluated, unless debug mode is on.
  • At game start as there is nothing to counter yet the message to allies about what to counter will not be included.
  • Improved Chinese language translations and various issues fixed. (Pixyy)
  • Removed some explicit Chinese chat translations.
  • Goblin Shredders now count as more wood cutting workers. (Pixyy)
  • Creep building detection range slightly increased. (Pixyy)
  • Tweaks to Brewmaster and Alchemist skill picks. (Pixyy)
  • More resources (just over double) are now needed before the multi peasant fast builds can be used to avoid resource starvation. (Pixyy)
  • Balance pass to all racial hero selection, skill selection and strategy selection. Mostly minor but most noticeable changes include (Pixyy)
    • Night Elf increased use of warden and keeper.
    • Reduced use of mirror image skill.
    • Reduced the appearance rate of Goblin Tinker
  • Strategy tweaks and optimizations (Pixyy)
    • Improvements to human, orc, undead and night elf strategy compositions to make the pre-built strategies more effective when used.
    • Removed non-useful units from harass attacks and fixed undead harassment group numbering.
    • Hero priorities for building and resurrecting increased to ensure there are being built first.
    • Tweaks to item buying priorities, town portals are more important, other items less so or no longer built.
    • Improvements to base defense logic with more towers being built when spare funds available.
    • Tweaks to the dynamic strategies to balance the counter units and correct some cases of invalid counter units being built.

Fixed

  • Tweaked ranged units to avoid melee units only if damaged to 70% instead of 90% and reduced distance to trigger slightly. (Pixyy)
  • Fixed an issue where healing totems are not cast correctly. (Pixyy)
  • Reduced number of mines needed before heading into high upkeep to help prevent dead time where AMAI doesn't appear to build anything. (Pixyy)
  • Front base distance range slightly increased again to help fix night elf troops getting stuck in base. (Pixyy)
  • Improved handling of the bug that the AI ​​hero will get stuck healing at home. They will now return to the battle when mostly healthy. (Pixyy)
  • Heroes a little more likely to teleport to rescue a town regardless of the profiles aggression and smaller threat levels. (Pixyy)
  • Militia max expansion range has been reduced as militia did not always last long enough to be useful. (Pixyy)
  • Ambush no longer used for hero units as its too easy to abuse and pick them off. (Pixyy)
  • Fixed an issue where no tier bonus was applying to the dynamic upgrade system.
  • Fixed an issue where human upgrades magic sentry and flare could not be researched by the AI. (Pixyy)

3.0.1

30 Jan 16:07
Compare
Choose a tag to compare