Skip to content

Releases: SMUnlimited/AMAI

3.3.5a

07 Jun 16:34
Compare
Choose a tag to compare

Changed

  • If AI is not strong enough to creep an expansion it won't save resources and instead use them to buy more units.

Fixed

  • Fixed an issue where the undead meat fiend strategy hero wasn't built first which blocked anything from building for the first minute.
  • Fixed an issue where AI would expand less consistently because it decided it wanted to expand to an existing expansion.
  • Disabled elf building farms on the front line as it too often causes blockages until we can work out a solution.

3.3.5

05 Jun 17:02
Compare
Choose a tag to compare

Added

  • AMAI now takes direct control of alliance targets instead of using the hardcoded logic. This will enable better control and allow us to ignore the alliance target in some situations.
  • (Installer) New UI improvements to select install options rather than using the toolbar menu. (jzy-chitong56)
  • (DevTools) The scripts folder will include a Blizzard.j of the last version compiled as well as just the versioned copied so its easier to manually include into maps.

Changed

  • Support tech tree changes for 1.36.2.
  • Better clarity on which versions of warcraft 3 to run AMAI on and whats optimal.
  • Retreat Control will now protect own towns first over allied towns.

Fixed

  • Fixed factory rate to build extra production buildings as was too low as didn't take account of building cost vs income correctly.
  • Fixed issue with boolean check of third mine timing.
  • Fixed issue where mine required for ancient or item expansions could be nulled mid use which would break the logic. (jzy-chitong56)
  • Fixed Mark of Talon upgrade only requires adept training from 1.36.1 war3 patch.
  • Tweak expansion relocation logic to calculate when its likely already building so don't change location.
  • Fixed issues with multiple mines at home base logic. (jzy-chitong56)
  • AMAI will not expand fast unless there is twice as many mines as players.
  • Quick fix where shop creeps were not being checked correctly to see if it was guarded or not.
  • Fixed an issue where when hero was at the home base it would cause AMAI to partly stop retreating.
  • Fixed some minor issues with build logic and calculating accurate resources available.
  • Fixed an issue where harassment units got stuck going backwards and forwards.
  • (Installer) Fix so installer can hopefully run again on windows 7/8 as per modern war3 supported stack.
  • (Classic) Goblin alchemist not learning abilities.

3.3.4

10 Mar 16:42
Compare
Choose a tag to compare

Added

  • If non-ai player constructs an expansion where the AI is, allied AI's will immediately give up the expansion location if his expansion is damaged.

Changed

  • Increase creep expansion radius slightly to 1250 from 1000 to better detect creeps that could cause issues.
  • Increased expansion taken radius to 1300 from 1000 to more accurately detect additional mines available.

Fixed

  • Some more double expansion minor fixes correcting claim counts being off in some edge cases.
  • Double expansion retry for humans, orcs and nightelfs should now be more successful.
  • Align expansion taken check with the double expansion check which should means AI's will expand when multiple empty mines available at one expansion.
  • Fixed a possible lag/crash cause in the heal army routines.
  • Fixed an issue where human players were building too many scout towers and not upgrading them.
  • Fix human players unable to train seige engines with the barrage upgrade. (jzy-chitong56)
  • Some debug cache fixes. (jzy-chitong56)
  • Fix exchange behaviour to only include players currently playing. (jzy-chitong56)
  • Some detect defeat optimizations during emergency actions. (jzy-chitong56)
  • Fixed issue with hidden and dead units being considered during detect defeat actions. (jzy-chitong56)
  • (DevTools) AMAI will correctly only make the vanilla AI files using AMAI VS AI. (jzy-chitong56)

3.3.3a

03 Mar 11:51
Compare
Choose a tag to compare

Fixed

  • Fixed more multiplayer desyncs in the chat system and zoom function.

3.3.3

25 Feb 17:53
Compare
Choose a tag to compare

Added

  • (DevTools) Added a perl power script to uninstall AMAI from a directory of maps.
  • (DevTools) Classic script compilation will sync settings from REFORGED that don't need to be different. Could be used manually by modders as a blueprint to inherit settings.

Changed

  • Require more than 1 zepplin before attempting water expansions which should help fix some transporting issues.
  • Optimized double expansion detection reducing total unit loops.
  • Optimized first expansion calculation (jzy-chitong56)
  • AMAI does a better job collecting any items after creeping.
  • Added build order so that Elf will now sometimes buy the moonstone and Humans will now buy lesser clarity potions.
  • Optimizations to return home after an attack only when nessecary instead of all the time.
  • Added a random element to upkeep saving times so some ai's save for longer or shorter before breaking the upkeep barrier.
  • (DevTools) Optimize.bat script is now called OptimizeAll.bat.

Fixed

  • Prevent desyncs with zoom function.
  • Fixed issues causing various strategy blocks to be ignored if units defined before the blocks are set.
  • Fixed issue where elf would not ever build ancient of war promptly.
  • Units sent home for healing from a water expansion can now be picked up by zeppelins.
  • Fixed issue where undead gold mines were never fully detected as mines correctly for various logic.
  • Hardened the town checks to ensure more likely to match the internal blizzard AI town.
  • Fixed picked healer was not alive. (jzy-chitong56)
  • Some mining irregularity fixes.
  • Fix water expansion distance not calculated correctly. (jzy-chitong56)
  • In certain languages if translated chat messages with variable placeholders cannot be parsed at least still return the message rather than complete nonsense.
  • Fixed an issue where only a specific creep needs to be killed for AMAI to think mines and neutral buildings were unguarded going forwards.
  • Fixed an issue where town threat was always 0 or negative so AMAI couldn't tell it was in danger correctly.
  • Fixed an issue where AMAI would share heroes with each other on defeat which is not intended behaviour and could break score screens.
  • Fixed a minor issue related related to forming assault groups.
  • Fixed issue where upkeep calculations were still being ignored.
  • (Classic) Fixed an issue where player 14 would share with the creeps.
  • (Classic) Fixed game start crash with AMAI vs AI. (jzy-chitong56)
  • (Classic) Fixed some TFT settings not in sync with REFORGED.
  • (DevTools) Fixed the optimize all script and the makeAll and optimizeAll scripts will pause between versions.

3.3.2

11 Jan 07:34
Compare
Choose a tag to compare

Added

  • When urgent healing is required but are missing prerequisites, the required item will now be added to the build queue so that those can be built.
  • Item equivalency check so merchant and racial items of the same item count as the same item to avoid buying the item twice.
  • (Classic) Dynamic unit counter system now active for original TFT AI (jzy-chitong56)
  • (DevTools) New HasExpanded function for strategies that can be used to detect when AI has expanded. Used as a condition in the global racial strategies.
  • (DevTools) New DefendTownsFrontDone function that will build at the home location in addition to expansions, but if it does it will build those at the Front of the base.

Changed

  • Minor Strategy Tweaks and fixes, notably global tower defense, item and upgrades. (Based on jzy-chitong56)
  • Night Elf Demon hunter has a minor chance to use immolation when picked as first hero (Miezhiko)
  • (DevTools) Zepplins are now built automatically like peons and shredders, no need to be in strategies explictly.

Removed

  • (DevTools) Moved custom_common_vars into the custom_common file the same way as the job system.

Fixed

  • Fixed some issues with recovery/infinite attacking in team games for the AI. Should now retreat and regroup correctly and improving ally coordination.
  • Fixed issue where double expansion was not cancelled when just 1 ally builds a mine.
  • Fixed some team game alliance targeting issues.
  • Fixed an issue where healers or heros within a zepplin were trying to be used for unit micro or following the hero resulting in zepplins getting stuck.
  • Units for healing will all be sent to the same town to avoid difficulties getting everyone healed.
  • Ghouls needing healing will only collect lumber while waiting if a town hall is nearby.
  • Prevent follow zepplin conflicting with various other jobs and controls.
  • Fixed an issue where ally attack messages did not align with where they actually attacked especially in team games. Should be more accurate, in real time and only from one of your allies that is coordinating the attacks for all allies.
  • AI Greetings are no longer rate limited but only a max of 6 enemy players will greet you to avoid polluting your chat dialog.
  • Fixed issue where global strategy block expiry was too low and effectively ignored.
  • Fixed an issue where needed prerequisites could be built in an unoptimal order.
  • Fixed an issue where bat script to install to a single map failed if path had spaces.
  • All install mechanisms will now warn of non-zero error codes and report it as an error.
  • (Classic) Fixed installer unable to install classic editions to folders.
  • (Classic) Fixed case where 24 player mode was active when shouldn't be.
  • (Classic) Fixed minor memory leak.
  • (DevTools) Fixed strategy manager unable to compile REFORGED scripts. Bat files renamed to match version name instead of shorthand RFG.
  • (DevTools) InstallToDir.pl power script will also detect UAC protection.

3.3.1a

21 Dec 12:31
Compare
Choose a tag to compare

Fixed

  • (Classic) Fixed another case where compatibility logic wasn't fully active for 24 player games.

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