Skip to content

[Crash] Saving the game after an AIscript start_town removed missing guards may crash #2

Description

@BoneHorror

start_town removes missing guards on first use for the given AI player; when combined with an AI that may train missing guard units quickly and a map where guards are bulk removed by triggers (like xZ6, Fury of the Swarm for the intro sequence) AND Zerg AIs being able to train units out of nonstandard buildings (for example Hydras from Nydus Canals) this may result in aise panic crash when the Player attempts to Save some time after the removal.
Doesn't seem to occur without AISE, didn't manage to reproduce it without Nydus Hydra training
Repro (seems to need uedaip exe unfortunately, or mod everything written above instead):

  1. Launch a modded exe with necessary changes (add dat reqs for training to something the AI already owns in the map)
  2. Start Fury of the Swarm from the BW Zerg campaign menu
  3. After the intro sequence plays out, wait a few seconds after the AI starts so that it starts training defenseuse etc. units
  4. Attempt to save
    Repro at least 5/10, might depend on whether a nydus/non-larva building is used to train?
    image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions