[Bug]: In combat method not found
Author: HetIsIkRalphCreated Jul 27, 2026Updated Jul 27, 2026
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
Source: HKUDS/CLI-Anything