AI Script Error after 3/14/2024 Update

Launching a Single Player Skirmish game against two bots displays this error:

AI Script Error
Player 2
File: elite wonder rush.per2
Line 2486: ERR2005: Invalid Identifier

The error message can be dismissed by clicking “OK”

The loads and starts, however, the bots are lobotomized. They do nothing but pick berries or walk the same aimless route. They do not build or reproduce and never progress past the Dark Age.

Game build: Version 101.102.42346.0 (#107882) 13720908
Platform: Steam Version 1709846872
Operating System: Windows 10

1 Like

Hi @CplPunishment
The team is aware of this issue, thank you :slight_smile:

3 Likes

Same Issue with me and by two of my friends. “AI Script error” AI is broken and does not advance. Multiplayer in unplayable. :cry:It happened after the last AoEIIDE update 448MB. Thank you for fixing this ASAP Microsoft.

1 Like

to quote my post on steam:

edit: I did a quick check/test with all AI files. Only HD and CD break.

According to the HD AI, it’s this line:

(set-strategic-number sn-preferred-trade-distance trade-distance)

According to the CD AI, it’s this:

(building-type-count-total mining-camp < mining-count)

Just thought I’d mention it.

edit: I think I see the issue. If you use the new map sizes, it does not get defined.

Temp Solution: So for now, if you use the new map sizes, stick with the normal map sizes for those AI files.

3 Likes