Skip to content

Fix(Multiplayer): resolve time out waiting for step name to change#14406

Open
DanVanAtta wants to merge 2 commits into
mainfrom
fix-game-step
Open

Fix(Multiplayer): resolve time out waiting for step name to change#14406
DanVanAtta wants to merge 2 commits into
mainfrom
fix-game-step

Conversation

@DanVanAtta

Copy link
Copy Markdown
Member

Currently the server will notify game clients of game step changes.
This is very brittle, the notification can be lost, the client
has a race condition where it might not start listening to this message
in time.

The crux though, the client already knows what the next step should
be, it does not need the server to tell it. This fix updates that,
so the client sets the step name, removing this whole flow where
the server is sending the updated step name to client.

Fixes #12005

Currently the server will notify game clients of game step changes.
This is very brittle, the notification can be lost, the client
has a race condition where it might not start listening to this message
in time.

The crux though, the client already knows what the next step should
be, it does not need the server to tell it. This fix updates that,
so the client sets the step name, removing this whole flow where
the server is sending the updated step name to client.

Fixes #12005
@frigoref

frigoref commented Jun 5, 2026

Copy link
Copy Markdown
Member

@DanVanAtta Are you going to fix this?

Remove unused lombok @Slf4j annotations
./.build/code-convention-checks/../.././game-app/game-core/src/main/java/games/strategy/triplea/player/AbstractBasePlayer.java
[FIX]
``

@DanVanAtta DanVanAtta removed their assignment Jun 6, 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.

AbstractBasePlayer - Start step: americansPurchase still does not match player bridge step: null even after waiting more t...

2 participants