Files
my-botty/test
alexpolo1andClaude Opus 5 f11034869b fix(start_game): leave a game the bot did not create instead of running in it
2026-09-15 16:33: a game appeared while start_game was still waiting for PLAY.
It ran on D2R's remembered difficulty - NORMAL, left there by the baal_xp
leech - so the Hell A3 Travincal character spawned in Act 1. start_game
returned False, on_create_game ignored the result, and every A1 NPC/WP step
failed; two games hit the maintenance timeout and D2R went down.

- _wait_for_play_btn returns IN_GAME (not None) for that case; start_game
  save+exits it and creates a game with the configured difficulty key.
  Being in town on ENTRY is still accepted (baal_xp re-entry relies on it).
- on_create_game no longer continues after a failed start_game.

Co-Authored-By: Claude Opus 5 <[email protected]>
2026-09-15 17:49:15 +02:00
..
2026-08-26 10:52:37 +02:00
2026-06-07 18:17:44 +02:00
2026-08-26 10:52:37 +02:00