Thanks for reporting this issue. Could you tell me if this is happening in all the scenarios of the campaign or one in particular? Also, do you have this error message once you start the campaign or when you access the campaign menu?
I’m not sure about which scenarios of the campaign trigger this bug myself, I’ve only got access to the first scenario for each of the RoR campaigns, only Sargon 1 triggers this issue. It happens when you load into the map, and the linked AI does nothing, produces no units and does not attack, which obviously breaks some of the game.
I can confirm this bug also appears on the following AoE1 (in AoE2) missions:
Egypt (Tutorial) 6
Egypt 10
Egypt 11
Egypt 12
Punic 2
Greece 1
Greece 2
Greece 4
Greece 5
All of these are ERR2005 on the .per2 files. Should be a fairly easy fix I imagine, but with this many broken it makes the whole experience a little broken
I think with the number of AI scripting errors in these campaigns, it’s easily possible there’s something wrong in the other missions of the 3 RoR campaigns too.
This issue was fixed already, I just did a test on my end and the campaign is working. Could you tell me which issue you are still facing in the campaign?
It is happening on Age Of Empires II Definitive Edition Return Of Rome Version 101.102.62906.0 (#128442)
Sargon of Akkad campaign, 5. Subartu AI Difficulty: Standard, Data Mod: Default
I am getting the following error:
AI Script Error
Player 5
File: Sargon-scn5 player 5.per2
Line 522: ERR2005: Invalid identifier
This is causing the captured ruins not to be counted, unable to win the game.
What do you mean by Data mod: “Default”? If you have any mod activated, that could be the issue. I tested this campaign on different computers and all of them are working, so most likely it could be an issue with the installed files or related to a mod you are using.
Please, follow these steps:
Deleting your user files. For deleting your user files, you should:
a. Make sure that your Steam Cloud is disabled in Steam, AoE2 game, Properties, General.
b. Go to C:\Users\YOUR_USER\Games\Age of Empires 2 DE.
c. Copy your user folder to a safe place, it has lots of numbers.
d. Delete the original folder
e. Verify your files in Steam, AoE2 game, Properties, Local Files.
f. Open the game again. A new user folder will be created.
g. Try opening the campaign
If this works, we can assume the issue is with mods or save files you have in your previous player folder. You can always copy back the files of your older user to the new one.
If this doesn´t work, please uninstall and install the game. Don´t install any mods and try to play the campaign again.
I think there is some confusion here. This bug is only fixed in the Steam version of the game NOT the Microsoft Store version of AOE2 DE: Build Number (#128442)
I have the same script errors mentioned by the OP and have purchased the Microsoft Store version of the game. Im on the latest build (#128442)
Similar script errors also occur in the other RoR campaigns in the Microsoft Store version of the game. (AI Script Error in Greek Campaign)
Hope this helps! I’ve been waiting over 6 months for this bug to finally be fixed.
Thanks for clarifying that the issue is with the Microsoft version. I just tested the Microsoft version 128442 and it is working on my end. I don´t get any AI message error and the objective is working correctly. Did you try to uninstall and reinstall the game?
I believe it could be an issue from the previous build that is not being overwritten with the new patch. That is the reason I am asking you to reinstall the game and also delete the player´s folder located in “C:\Users\YOURUSER\Games\Age of Empires 2 DE” (regardless if you use Steam or Microsoft you should have this folder).
@IvanHCastro can you try specifically Scenario 5 in the Sargon campaign? This one is the one that is completely broken (0/0 Ruins Objective glitch). I have tried reinstalling the game and clearing this user folders (which also resets my game preferences) and this AI error still occur on Scenario 5,
I checked the reports you tagged me, and there were two issues.
AI script error
8/0 ruins, not being counted
We were able to reproduce them and they are fixed in the latest version. I installed the game from Microsoft from scratch and I am able to play the scenarios (including the 5th Subartu). Even the new version of the mission doesn’t include 8 ruins anymore.
I am a bit lost as to why you still have this error though. Do you have it only in the 5th scenario? Do the other works correctly?
Also, I would like to know if the other players who reported the issue are still having it. @UnhappyWeevil98, @oliver2307, and @Antitoxin01 would you be able to let me know if you still face the issue?
Please let me know:
Operative system: Windows 10 or 11
From where are you installing the game: Steam, Microsoft, etc
The issue is only with the 5th scenario or in all of the Sargon of Akkad campaign?
@IvanHCastro - this is very strange indeed. Could it be a similar bug to that was just now fixed where the updated V&V campaign missions were not updating correctly? Maybe the same bug is present for RoR Campaigns for sure I still have 8 Ruins in Scenario 5 of the Sargon campaign so it seems like it wasn’t updated somehow in the Microsoft Store. (this is a fresh install)
I’m not at home right now to test the other Sargon Scenarios but I did last night also check Glory to Greece campaign and I still have the script errors as well in 1, 2, 4 & 5th scenarios.
@IvanHCastro I tested all the scenarios of the Sargon campaign on the latest build from Microsoft store: 101.102.65210.0 (#130746). 3 of them start with script errors:
The Chosen One:
AI Script Error
Player 4
File: Sargon-scn1 player 4.per2
Line 273: ERR2005: Invalid identifier
Divine Will:
AI Script Error
Player 3
File: Sargon-scn2 player 3.per2
Line 301: ERR2005: Invalid identifier
Subartu
AI Script Error
Player 5
File: Sargon-scn5 player 5.per2
Line 522: ERR2005: Invalid identifier
I’m getting the same error as reported, I also followed the instructions in reinstalling from the windows store and clearing user data before hand. The errors are exactly the same as @aoe2fan125182, plus on the missions I reported earlier.
I’m on Windows 11 on the Microsoft Store (Xbox app/gamepass) version of the game.