Engine.replayedTo carries each player's final faction variant over so the
replayed faction selection loads the boards the game was played with. When
the replay stops before the selection ends, the variant was left on the
player and the end of the selection loaded it on whatever faction was
picked next: undoing back into the faction selection and picking another
faction gave it the previous faction's board.
Reset the variant of players whose board isn't loaded at that point.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Engine.replayedTo rebuilds the game from the move history and only
carried each player's name, dropped flag and variant over, so
wrapper.replay reset players' auto-charge/income/brainstone settings to
the defaults, and automove ran with those defaults. BGS saves the
result of replay when a player undoes a move against bots and for admin
replays, so the settings were silently lost for good.
Carry the settings over with the other per-player data. Saved analyses
still start every player with default settings.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Players holding the instant Gaiaforming booster (or T F Mars's Power
action) tend to start a normal Gaia Project first and expect the action
to finish it. The action places the Gaia Former itself, needs no power
tokens in the Gaia area, and can no longer target a planet that already
has a Gaia Former.
- The Place a Gaia Former menu now lists Instant Gaiaforming first for
each available source (booster: g, T F Mars: i), as the same move the
special/ship action menus make. Opening the menu no longer asks for
confirmation when every hex warns, since the instant choices don't.
- Booster, special action and T F Mars tooltips explain that the planet
becomes Gaia right away and no power tokens move to the Gaia area
(AI challenge manifest regenerated for the new ship-board text).
- New dev scenario: lost-fleet-instant-gaiaforming-booster.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Improve premoves and fix random auctions and Ivits exploration
* Fix blocked legacy random-faction sealed auctions
* Allow premoves for initial building and booster choices
* Compact setup actions and show ship explorers
* Restore auto-charge controls in Gaia game UI
* Use published player-settings protocol 0.3.4
* Allow verified protocol 0.3.4 during release-age quarantine
* Keep planning and auto-charge in the action bar outside your turn
* Bump viewer to 5.20.6 for action bar release
Player.toJSON serializes federationCache.federations[].hexes as coordinate strings, but a state
can be persisted with the raw hex objects (the engine's Object.assign({}, this) serialization
copies the cache by reference, bypassing the player's own toJSON). fromData then called
map.getS(object) -> 'coords.includes is not a function' during load, the viewer swallowed it, and
the board rendered blank with no console error (game Electric-plaza-5793, a Nevlas player with 4
federations). Accept both forms: string parses via getS, object is looked up by {q, r}.