Skip to content

Added Star Generals automation to auto adventures - #56

Open
rdevries wants to merge 1 commit into
adly98:mainfrom
rdevries:feature/star_generals
Open

Added Star Generals automation to auto adventures#56
rdevries wants to merge 1 commit into
adly98:mainfrom
rdevries:feature/star_generals

Conversation

@rdevries

@rdevries rdevries commented Jun 22, 2026

Copy link
Copy Markdown

Added the ability to recall/redeploy generals via the star during auto adventures, so troops get redistributed across generals on restore.

Added:

  • StarGenerals adventure step that recalls generals to the star
  • StarGenerals entry in the template builder (default step + "Add Step" menu)
  • Draggable Auto Adventure / monitor modal

Fixed:

  • Restore generals from star on load-only waves: AdventureTemplate move/load now falls back to the full general state when a wave has no attackers, so zero-target waves can pull generals back out of the star
  • Treat GetGarrisonGridIdx() <= 0 (including -1) as in-star everywhere; star generals were previously misdetected as on-island
  • console proxy no longer crashes when the Introspector is closed and attaches live without a client restart
  • Correct SPECIALIST_TYPE typo GENNERAL -> GENERAL

@rdevries
rdevries force-pushed the feature/star_generals branch 7 times, most recently from de0d9c9 to a6a6da8 Compare June 28, 2026 20:08
Added the ability to recall/redeploy generals via the star during auto adventures, so troops get redistributed across generals on restore.

Added:
- StarGenerals adventure step that recalls generals to the star
- StarGenerals entry in the template builder (default step + "Add Step" menu)
- Draggable Auto Adventure / monitor modal

Fixed:
- Restore generals from star on load-only waves: AdventureTemplate move/load now falls back to the full general state when a wave has no attackers, so zero-target waves can pull generals back out of the star
- Treat GetGarrisonGridIdx() <= 0 (including -1) as in-star everywhere; star generals were previously misdetected as on-island
- console proxy no longer crashes when the Introspector is closed and attaches live without a client restart
- Correct SPECIALIST_TYPE typo GENNERAL -> GENERAL
@rdevries
rdevries force-pushed the feature/star_generals branch from a6a6da8 to 30de968 Compare June 28, 2026 20:11
@rdevries
rdevries marked this pull request as ready for review June 28, 2026 20:12
@rdevries rdevries changed the title Feature/star generals Added Star Generals automation to auto adventures Jun 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants