Skip to content

fix: biomeCheckpoint added to match changes on main repo.#74

Open
afonsob05 wants to merge 1 commit into
pagefaultgames:masterfrom
afonsob05:feature-biome-retry
Open

fix: biomeCheckpoint added to match changes on main repo.#74
afonsob05 wants to merge 1 commit into
pagefaultgames:masterfrom
afonsob05:feature-biome-retry

Conversation

@afonsob05

@afonsob05 afonsob05 commented Jun 13, 2026

Copy link
Copy Markdown

Main PR that added the new field

The biome checkpoint wasn't persisting on server saves since rogueserver didn't know the new field, which caused unexpected behaviour (like a game crash) when attempting to reload the game after a biome reset.
This PR fixes that.

Additionally, a getter for the reset flag (sent by the game via POST to the database) was implemented, as well as some bypasses for playtime and waveIndex (based on the new flag's value) , to prevent unwanted rollbacks when performing a biomeCheckpoint save on the server.

@afonsob05
afonsob05 force-pushed the feature-biome-retry branch 2 times, most recently from ebe88f6 to 4877742 Compare June 19, 2026 09:57
Added a new BiomeCheckpoint field to SessionSaveData struct
to make saving and loading the state persistent on the server as well.

Added bypasses based on a reset flag sent by the
game upon loading the biomeCheckpoint

Co-authored-by: Lara Franco <lara.franco@tecnico.ulisboa.pt>
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.

1 participant