- Joined
- Jul 9, 2010
- Messages
- 396
Hey, here's a problem with AI on Reforged:
What I determined so far:
Any ideas? I'm pretty much stuck on this.
I'm enclosing an example AI with this problem (although AI seems pretty standard). As for the map - Alteraci Chapter from Exodus: The Violet Gate (the campaign file is not protected).
I have some modifications in common.ai, but mostly extra functions, constants and some sleep calls added to avoid infinite loops.
- AI script calls SuicideOnPlayer()
- It prepares an attack wave
- Debug shows the attack wave is sent and SuicideOnPlayer() is called - but no units from its base move
- After a few seconds the game crashes
What I determined so far:
- It occurs on Reforged only - but on maps created both on Reforged and 1.31. On 1.31 it doesn't occur.
- It seems to be map-related - so far it occured on two maps only, both are quite big, the same AI launched on a test map works. It looks like on some maps AI can't find the enemy buildings to attack
- it's not specific for a single AI - during testing I killed the AI base before it sent an attack, but then the first attack of a second base also caused the crash
- It happens with SuicideOnPlayer(), SuicideOnPoint() works
Any ideas? I'm pretty much stuck on this.
I'm enclosing an example AI with this problem (although AI seems pretty standard). As for the map - Alteraci Chapter from Exodus: The Violet Gate (the campaign file is not protected).

I have some modifications in common.ai, but mostly extra functions, constants and some sleep calls added to avoid infinite loops.