Skip to content

Possible crashes when not enough gold mines on the map #591

@SMUnlimited

Description

@SMUnlimited

From powerer on the hive: The crash issue was also tested in 6v6 and 4v4, a total of 10 tests. Two of these crashes did not have any error windows, and the game recording was not saved, resulting in no cause being found. However, when I tested the same map with Blizzard AI, there were also 10 crashes that didn’t happen. Analyzing the behavior of two different AIs, I found that AMAI will maintain 3 gold mines, but if the number of gold mines on the map is not enough to maintain this state, the AI will freeze and the game will flash back to the table. The process will be completed in 2 seconds. I created a simple melee map in the map editor and added 24 gold mines to the AMAI for 4v4 combat. The game lasted more than two hours and didn’t crash, but when the AI thought it was impossible to develop, it would surrender. Therefore, I speculate that the extended code may have forced AI behavior. When there is no gold mine to collectible, the AI behaves abnormally, causing the address to an error and causing the game to crash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions