Skip to content

[CommonClient] Reset session state when connecting to a different room or slot#6231

Open
gerbiljames wants to merge 1 commit into
ArchipelagoMW:mainfrom
gerbiljames:reset-cc-session-state
Open

[CommonClient] Reset session state when connecting to a different room or slot#6231
gerbiljames wants to merge 1 commit into
ArchipelagoMW:mainfrom
gerbiljames:reset-cc-session-state

Conversation

@gerbiljames

@gerbiljames gerbiljames commented May 29, 2026

Copy link
Copy Markdown
Contributor

What is this fixing or adding?

This resets various pieces of CommonClient state when a change in session "identity" is detected. Session identity is defined as the combination of seed name, team and slot.

This also hoists server_seed_name out of BizhawkContext and into CommonContext.

How was this tested?

Tested by sending a location from Pokemon Blue then loading a Pokemon Emerald ROM for the same multiworld in the same emulator, then sending a location from that.

If this makes graphical changes, please attach screenshots.

Screenshot_20260529_112233

@github-actions github-actions Bot added the affects: core Issues/PRs that touch core and may need additional validation. label May 29, 2026
@gerbiljames gerbiljames marked this pull request as ready for review May 29, 2026 10:25
@github-actions github-actions Bot added the waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. label May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

affects: core Issues/PRs that touch core and may need additional validation. waiting-on: peer-review Issue/PR has not been reviewed by enough people yet.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant