Skip to content

[Bug]: In combat method not found #411

Description

@HetIsIkRalph

Affected Software/Harness

Slay the spire 2

Version / Commit

99f92f0

Operating System

Windows

Python Version

3.13.7

Steps to Reproduce

Run the game
Check if localhost gives correct output and the bridge is enabled
Use the CLI to go to the first combat
Once combat starts, bug happens

Expected Behavior

cli-anything-sts2 state
display the state

cli-anything-sts2 play-card 1
play the card

Actual Behavior

Nothing happens, an error is displayed:

cli-anything-sts2 play-card 1
Error: HTTP 500: {
"error": "Action failed: Method not found: 'Boolean MegaCrit.Sts2.Core.Combat.CombatManager.get_IsPlayPhase()'."
}
cli-anything-sts2 state
Error: HTTP 500: {
"error": "Failed to read game state: Method not found: 'Boolean MegaCrit.Sts2.Core.Combat.CombatManager.get_IsPlayPhase()'."
}

Relevant Logs / Tracebacks

Additional Context

Restarting the game does not fix it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions