Age of Empires II (2013)

Age of Empires II (2013)

New Custom AI - ResonanceBot 5-1c
The treaty length breaks the AI
So today i've discovered a humongous bug where the treaty length (which makes any civ unable to attack another) breaks the ResonanceBot. Basically i've set it to about 90 minutes, and even after it ended, I told my allies to attack (to which they agreed), and then their army was just standing there doing nothing, the enemies do fight back if I get very close to them though, which might be the only way to get them unstuck (yes this bug seems to apply on all AI's on the map, friendly or not). Another strange phenomenon with this bug is the fact that a big portion of my ally's soldiers gathered around a bombard tower in a circle, no idea what could have caused that. I'm not 100% sure that the treaty length breaks all of this, but I can't think of anything else.

Note: The relationships between each civ was not locked, so I could become allies with everyone.
< >
Showing 1-2 of 2 comments
Resonance22  [developer] 6 Sep, 2018 @ 2:57pm 
Hi Hλlf Way Lambda, thank you for the detailed and polite report! I will look into that issue. That might be a bug with the Aoe2 HD AI Engine as all AIs seem to get stuck attacking on occasion. The likelihood seems to increase as the game goes on but ResonanceBot has failsafes to help with that. This may also be related to the HD Engine bug where AIs cannot generally attack opponents at all who are far enough away (such as on LudaKRIS size). Part of it is also how Treaties are coded in HD, where essentially the actual game treats everyone as allies and the AI are none the wiser. It's a somewhat simplistic way of programming it with some side effects.

Could you also provide me with the exact settings in which you experienced this issue? Such as the map, map size, and difficulty? I love how detailed your report was by the way, that's super helpful.

I will add this bug to my to-do list and I will keep everyone posted on my progress. It's either an engine issue or possibly fixable with a few additional checks for alliances and attack commands in the late game. I think I can work around this one by being clever. ;)

Thank you as always for the support! I appreciate it.
-Resonance22 (dev log: @Resonance22)
Half Way Lambda 6 Sep, 2018 @ 3:43pm 
Hello Resonance, thank you for responding in such a kind way, I really appreciate it. :D

Here's the settings that I used when I was playing that game:
Map: Lombardia
Map Size: Ludikris (unsurprisingly xD)
Starting Age: Standard
Ending Age: Standard
Difficulty: Standard

Oh, and something else i've noticed (it doesn't have to do with your AI) is that sometimes if I play a standard game with the Ludikris map size, the game would just crash to desktop while loading without any error message. So it's safe to say that this map size is quite unstable and has also been known to cause a ton of lag as well.
Speaking of which, while I was playing that match I was also getting a ton of spike lags at some point, the game would just freeze for a couple of seconds before going back to "normal" again, or not really normal, because the average fps was a shocking 7, even though I always play with 60+. This was happening while both of my 2 allies were sending armies to....make a circle around a building? xD

And finally, I found yet another big AI related bug that I forgot to mention. Basically I played with a friend of mine that day, and since those spike lags were becoming very annoying, we decided to save the game and then load it. The problem with that is well...for some reason the game thought it was a good idea to merge our 2 civilizations together into 1. Yes, i'm not joking! It's obvious that there's 1 civilization for each player, but in this case it's not. Also all of the other AI players were changed to the Aztec civ for some reason, even though each and every one was completely different from one another. And obviously, all that instability led to a game crash just seconds after the save got loaded, again without an error message. None of this happens with the normal AI, or the original AI.

Sorry for the huge text spam, but that was a lot of bug-finding, and if I never report em they're never going to get fixed just by hoping for it without speaking up. :)
< >
Showing 1-2 of 2 comments
Per page: 1530 50