View Issue Details

IDProjectCategoryLast Update
0019256AI War 2Gameplay IssueAug 29, 2018 7:52 pm
ReporterBadgerBadger Assigned Tokeith.lamothe  
Status closedResolutionsuspended 
Product Version0.527 
Summary0019256: Multiplayer: clocks get out of sync
DescriptionOriginally reported here https://forums.arcengames.com/ai-war-ii/ai-war-2-v0-527-released!-'factious-ai'/msg216644/#msg216644

I ran some multiplayer experiments.

Good news! Multiplayer now lets the extra player actually capture planets. This makes the game actually playable.

Bad news: performance is terrible. It takes 8-10 seconds for a button press on the client to be reflected on the client. Machines are: OSX laptop as host, linux desktop as client.

Also, there should be some mechanism for the player who doesn't capture a planet to get science from it.

I repeated my experiment again, and now I note something interesting. The time delay I see seems to be matched by the "Time" counter in the top left. My host thinks the game is at 1:30 and my client thinks the game is at 1:21. Commands issues on the client (make your ark move) are immediately visible on the host at (say) 1:45, but the client then has to wait for its in-game clock to be 1:45 before the command is visible.

This starts from the very beginning of the game. When I hit "Start Game" on the host it immediately starts, but the client seems to have an 8 or 9 second delay before it gets the "game has started" message.

After some time I also saw messages like
10/20/2017 12:46:22 PM Waiting On Server, at frame 142
10/20/2017 12:46:22 PM Waiting On Server, at frame 142
10/20/2017 12:46:22 PM Waiting On Server, at frame 142 <=== this is the start of the game.
10/20/2017 12:50:31 PM Waiting On Server, at frame 2631
10/20/2017 12:50:31 PM Waiting On Server, at frame 2631
10/20/2017 12:50:32 PM Waiting On Server, at frame 2631
10/20/2017 12:50:32 PM Waiting On Server, at frame 2631 <=== this one now repeats and the game seems to be desync'ed, since the client clock has stopped advancing.
TagsNo tags attached.

Activities

Chris_McElligottPark

Jan 31, 2018 11:03 pm

administrator   ~0046800

Fixed in 0.703? We shall see...

Chris_McElligottPark

Aug 29, 2018 7:52 pm

administrator   ~0048550

Multiplayer is out of scope for now, and this is a super old report and a lot has changed, so I figure we'll open new reports and deal with them fresh when we get back to the multiplayer bits.

Issue History

Date Modified Username Field Change
Oct 20, 2017 3:31 pm BadgerBadger New Issue
Jan 26, 2018 12:58 pm Chris_McElligottPark Assigned To => keith.lamothe
Jan 26, 2018 12:58 pm Chris_McElligottPark Status new => assigned
Jan 31, 2018 11:03 pm Chris_McElligottPark Status assigned => feedback
Jan 31, 2018 11:03 pm Chris_McElligottPark Note Added: 0046800
Aug 29, 2018 7:52 pm Chris_McElligottPark Status feedback => closed
Aug 29, 2018 7:52 pm Chris_McElligottPark Resolution open => suspended
Aug 29, 2018 7:52 pm Chris_McElligottPark Note Added: 0048550