Opened 7 years ago
Closed 7 years ago
#4452 closed defect (fixed)
Unintended "Host is ready" chat message
Reported by: | elexis | Owned by: | Imarok |
---|---|---|---|
Priority: | Must Have | Milestone: | Alpha 22 |
Component: | UI & Simulation | Keywords: | |
Cc: | Imarok | Patch: |
Description
The host is always considered to be ready (as he/she decides to start the game and thus implied to be ready). The "player is ready!" chat message should be seen if and only if the player has clicked the ready button. Therefore there should be no "host is ready!" chat message. After r18322, but not before sometimes, clients observed it though.
Imarok could reproduce the issue by
- Start a host
- Enter the gamesetup with a second client and press ready
- Enter the gamesetup with a third client
The second client will see the "host is ready" message while the host doesn't see it.
If the a client clicks ready and another client joins, the message is seen again for all clients but not the host.
Furthermore the "ready" button of the client that clicked it still says "I'm not ready!", despite the fact of a ready reset and while the playername is not highlighted in green (which represents readiness).
Change History (4)
comment:3 by , 7 years ago
Component: | Network → UI & Simulation |
---|---|
Milestone: | Backlog → Alpha 22 |
Priority: | Should Have → Must Have |
Confirmed, sorry for the wrong assumption. There was a 1 day difference between the two commits, so not too far off.
Before r18299, resetReadyData
was called likewise for both clients and server, if and only if a player disconnected and if a client joined that was a player before (EDIT: but not if a client joined who became a player by being assigned to an unused slot).
With that commit, resetReadyData
is not called for the client anymore, nor called if a client joined that was a player before the rejoin.
Refs D50
Both bugs are present before r18322. (Tested with r18300)