Skip to content

Modded AI using 'MUST_BE_STOPPED' commandButtons causes unhandled exception crash #1181

Open
@DayV-git

Description

@DayV-git

Prerequisites

  • I have searched for similar issues and confirmed this is not a duplicate

Game Version

  • Command & Conquer Generals
  • Command & Conquer Generals: Zero Hour
  • Other (please specify below)

Bug Description

This map causes a crash when an AI unit uses a certain commandButton. Works fine when regular players use it. I suspect that the command button option MUST_BE_STOPPED is causing issues, but unsure how. The only vanilla commandButton with MUST_BE_STOPPED option is Command_ScuttleCombatBike, but the AI does not do this command when scripted.

The VC6 debug exe gives uncaught exception in GameEngine::update and I suspect there is an uninitialised variable somewhere causing the debugCrash to not work properly.

Requires The End Of Days mod.

Alpine Assault disturber crash.zip

Reproduction Steps

  1. Install latest version of TEOD
  2. Load map with Russia AI, any difficulty

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething is not working right, typically is user facingCrashThis is a crash, very badMajorSeverity: Minor < Major < Critical < BlockerModRelates to Mods or modding

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions