# AI Script Error since the Lords of the West DLC

**URL:** <https://forums.ageofempires.com/t/ai-script-error-since-the-lords-of-the-west-dlc/116721>\
**Category:** II - Ask for Help\
**Created:** [February 4, 2021, 9:27pm UTC](https://forums.ageofempires.com/t/ai-script-error-since-the-lords-of-the-west-dlc/116721 "2021-02-04T21:27:08Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dafidius](https://forums.ageofempires.com/user_avatar/forums.ageofempires.com/dafidius/32/30102_2.png) [@Dafidius](https://forums.ageofempires.com/u/Dafidius)\
**Post date:** [February 4, 2021, 9:27pm UTC](https://forums.ageofempires.com/t/ai-script-error-since-the-lords-of-the-west-dlc/116721/1 "2021-02-04T21:27:08Z")

</div>

Since the new Lords of the West DLC, I get this error whenever I start any game:  
AI Script Error  
File: Promisory\init.per2  
Line 180: ERR2005:Invalid identifier:  
ERR2004: Missing identifier: tc

The AI basically does nothing in any such game. And I also get an error looking at recorded multiplayer games.

I have tried:

- reinstalling the game
- unsubscribing from all mods
- deleting all local files and reinstalling
- deleting all game files and reinstalling
- deleting specifically this file and reinstalling

All have had no effect. Any ideas what to do?

---

<div class="post-metadata">

**Author:** ![PlumCase7465685](https://forums.ageofempires.com/user_avatar/forums.ageofempires.com/plumcase7465685/32/29498_2.png) [@PlumCase7465685](https://forums.ageofempires.com/u/PlumCase7465685)\
**Post date:** [March 13, 2021, 3:57pm UTC](https://forums.ageofempires.com/t/ai-script-error-since-the-lords-of-the-west-dlc/116721/2 "2021-03-13T15:57:04Z")

</div>

I have the same error, did you find a way to fix it?

---

<div class="post-metadata">

**Author:** ![Dafidius](https://forums.ageofempires.com/user_avatar/forums.ageofempires.com/dafidius/32/30102_2.png) [@Dafidius](https://forums.ageofempires.com/u/Dafidius)\
**Post date:** [March 13, 2021, 4:32pm UTC](https://forums.ageofempires.com/t/ai-script-error-since-the-lords-of-the-west-dlc/116721/3 "2021-03-13T16:32:35Z")

</div>

No, I haven’t found any fix that works yet

---

<div class="post-metadata">

**Author:** ![Drossssssss](https://forums.ageofempires.com/user_avatar/forums.ageofempires.com/drossssssss/32/73830_2.png) [@Drossssssss](https://forums.ageofempires.com/u/Drossssssss)\
**Post date:** [March 13, 2021, 6:34pm UTC](https://forums.ageofempires.com/t/ai-script-error-since-the-lords-of-the-west-dlc/116721/4 "2021-03-13T18:34:11Z")

</div>

Try deactivating the mod for The Forgotten HD Campaigns

---

<div class="post-metadata">

**Author:** ![Siegelad4112](https://forums.ageofempires.com/user_avatar/forums.ageofempires.com/siegelad4112/32/217608_2.png) [@Siegelad4112](https://forums.ageofempires.com/u/Siegelad4112)\
**Post date:** [March 13, 2021, 7:18pm UTC](https://forums.ageofempires.com/t/ai-script-error-since-the-lords-of-the-west-dlc/116721/5 "2021-03-13T19:18:31Z")

</div>

Exactly what I did and it worked.

---

<div class="post-metadata">

**Author:** ![Dafidius](https://forums.ageofempires.com/user_avatar/forums.ageofempires.com/dafidius/32/30102_2.png) [@Dafidius](https://forums.ageofempires.com/u/Dafidius)\
**Post date:** [March 13, 2021, 7:22pm UTC](https://forums.ageofempires.com/t/ai-script-error-since-the-lords-of-the-west-dlc/116721/6 "2021-03-13T19:22:50Z")

</div>

I don’t have any mods

---

<div class="post-metadata">

**Author:** ![Chesqin](https://forums.ageofempires.com/user_avatar/forums.ageofempires.com/chesqin/32/39006_2.png) [@Chesqin](https://forums.ageofempires.com/u/Chesqin)\
**Post date:** [March 21, 2021, 3:19am UTC](https://forums.ageofempires.com/t/ai-script-error-since-the-lords-of-the-west-dlc/116721/7 "2021-03-21T03:19:27Z")

</div>

Hey Dafidius, this should be related to a mod as previous posters mentioned (especially the The Forgotten HD Campaigns mod seems to modify AI files).

If you don’t have any mods and all the steps you mentioned above didn’t work for you, could you then try the following:  
Go to C:\Users[username]\AppData\Local\Temp and delete any folder (and all of its contents) with the name “Promisory”, additionally you can also delete any .per file in that file structure.
