It is currently 19 Apr 2024, 13:24
   
Text Size

Syncing problem on rejoin

Moderators: Jorbes, CCGHQ Admins

Syncing problem on rejoin

Postby Tegome » 25 Feb 2010, 00:05

Evil little bug here.

Player A declares end of turn.
Player B has a flaky connection and disconnects before receiving the end of turn signal.
Player B reconnects and uses /rejoin to sync back to the table.
Player A can't declare end of turn again; OPT says "The turn has already been ended, please wait for this to be processed by all players." Player B can't end the turn either, since it's not his turn to end.

Makes things a bit tougher to play, is all. ;P
Tegome
 
Posts: 3
Joined: 18 Jan 2010, 08:06
Has thanked: 0 time
Been thanked: 0 time

Re: Syncing problem on rejoin

Postby Jorbes » 25 Feb 2010, 09:06

Yeah, it's not 100% working.
I was going to change the way syncing works for 1.0, having the server send a single game state, but I need the game state to move to the server first, for that to work.

Does either player have priority they can pass?
Because all players passing prio in the end step should also change the turn, might be a workaround.

I'll look into this though :)
Jorbes
DEVELOPER
 
Posts: 333
Joined: 10 Oct 2008, 10:46
Has thanked: 0 time
Been thanked: 2 times

Re: Syncing problem on rejoin

Postby Incantus » 26 Feb 2010, 04:06

Both players pass priority after the end of turn step is declared, and then the turn is officially over.
Incantus
DEVELOPER
 
Posts: 267
Joined: 29 May 2008, 15:53
Has thanked: 0 time
Been thanked: 3 times

Re: Syncing problem on rejoin

Postby Jorbes » 26 Feb 2010, 09:25

Incantus wrote:Both players pass priority after the end of turn step is declared, and then the turn is officially over.
That's what I said no? :)
Jorbes
DEVELOPER
 
Posts: 333
Joined: 10 Oct 2008, 10:46
Has thanked: 0 time
Been thanked: 2 times

Re: Syncing problem on rejoin

Postby Incantus » 27 Feb 2010, 00:10

Sorry, I thought you were posing it as a question?
Incantus
DEVELOPER
 
Posts: 267
Joined: 29 May 2008, 15:53
Has thanked: 0 time
Been thanked: 3 times

Re: Syncing problem on rejoin

Postby Jorbes » 03 Mar 2010, 15:44

Looked into this. The way syncing works, the issue is hard to solve without moving game state data to the server (post 1.0 version). The syncing player does not send any automatic responses to the game. But, the workaround is either changing the step or having someone pass priority (per 0.99p).
The turn-end-prevention that was created to prevent double turn endings by accident, will stay in.
Jorbes
DEVELOPER
 
Posts: 333
Joined: 10 Oct 2008, 10:46
Has thanked: 0 time
Been thanked: 2 times


Return to Online PlayTable

Who is online

Users browsing this forum: No registered users and 12 guests

cron

Who is online

In total there are 12 users online :: 0 registered, 0 hidden and 12 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 12 guests

Login Form