I'm using the AI editor and have it to the point of expanding. I've only set the AI to build 4 burrows in any base, and 1 burrow in the expansion (along with the other buildings).
Eventually, at some point (I think when the first gold mine dies, but not sure) the peons start building an infinite number of burrows - and I mean it gets beyond 40 of them, at the expansion. Sometimes at the main base as well.
Any idea why this might be happening?
After testing a bit more it seems there is no transparent factor as to the cause of this. It doesn't matter what map the AI is tested on, they eventually start making an infinite number of orc burrows.
I've attached the WAI file if someone could have a look and see what might be causing this.
Has no one run into this issue before? :s
Well, I guess my next question is... has anyone managed to get the AI editor to work correctly (or watched long enough to see if they start building infinite burrows)? If so, could you please post your WAI file?
Because I tested the GruntMaster.wai that comes with WC along with the maps that come with WC and the results are the same. Any AI created with the AI editor simply causes the AI to create infinite burrows at some point in the game. I've exported the AI file and see nothing out of place so something appears to be going on elsewhere.
I've reinstalled and made sure there were no ai or other file remnants within the WC folders and I"m at a loss as to why this would be happening other than a serious bug in the AI when the game is set to Melee.
Edit: I've since discovered that this only happens if the computer is instructed to build an expansion. The "bug" does not occur otherwise. Why, I have no idea.
I apologize to the mods for adding yet another post to this thread but I feel it may be important to post my observations so that it acts as a resource for others.
After repeated testing, I believe I have found the cause of the issue (and I'd certainly classify it as a "bug").
If you instruct the AI to build a building at a non-existent town/expansion (including a town/exp with a town hall not yet completed), it will build an infinite amount of them, one after the other.
To resolve this, if you want to build a burrow at an expansion, you can still put it right after the Expansion Town entry but use "(Total number of Great Hall units in Town #n(completed only: True) equal to 1" as the build condition. This way when it builds the burrow, you can be sure the town/expansion has been determined and you are referencing a valid "town".
Additionally, if you instruct the AI to build a fighting unit at a town that does not yet exist (or completed), it will build it at any other currently available location, but will erroneously keep building them until it reaches the available food cap. In addition, the next build order in the list will not be processed.
Eventually, at some point (I think when the first gold mine dies, but not sure) the peons start building an infinite number of burrows - and I mean it gets beyond 40 of them, at the expansion. Sometimes at the main base as well.
Any idea why this might be happening?
After testing a bit more it seems there is no transparent factor as to the cause of this. It doesn't matter what map the AI is tested on, they eventually start making an infinite number of orc burrows.
I've attached the WAI file if someone could have a look and see what might be causing this.
Has no one run into this issue before? :s
Well, I guess my next question is... has anyone managed to get the AI editor to work correctly (or watched long enough to see if they start building infinite burrows)? If so, could you please post your WAI file?
Because I tested the GruntMaster.wai that comes with WC along with the maps that come with WC and the results are the same. Any AI created with the AI editor simply causes the AI to create infinite burrows at some point in the game. I've exported the AI file and see nothing out of place so something appears to be going on elsewhere.
I've reinstalled and made sure there were no ai or other file remnants within the WC folders and I"m at a loss as to why this would be happening other than a serious bug in the AI when the game is set to Melee.
Edit: I've since discovered that this only happens if the computer is instructed to build an expansion. The "bug" does not occur otherwise. Why, I have no idea.
I apologize to the mods for adding yet another post to this thread but I feel it may be important to post my observations so that it acts as a resource for others.
After repeated testing, I believe I have found the cause of the issue (and I'd certainly classify it as a "bug").
If you instruct the AI to build a building at a non-existent town/expansion (including a town/exp with a town hall not yet completed), it will build an infinite amount of them, one after the other.
To resolve this, if you want to build a burrow at an expansion, you can still put it right after the Expansion Town entry but use "(Total number of Great Hall units in Town #n(completed only: True) equal to 1" as the build condition. This way when it builds the burrow, you can be sure the town/expansion has been determined and you are referencing a valid "town".
Additionally, if you instruct the AI to build a fighting unit at a town that does not yet exist (or completed), it will build it at any other currently available location, but will erroneously keep building them until it reaches the available food cap. In addition, the next build order in the list will not be processed.
Attachments
Last edited by a moderator: