View Issue Details

IDProjectCategoryLast Update
0021438AI War 2Gameplay IdeaSep 25, 2020 9:59 pm
ReporterChris_McElligottPark Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Summary0021438: Multiplayer: faction desync repair.
DescriptionFor the main faction data (how much metal do I have, and other things like that), it doesn't really seem worth it for us to even do diffs to see if a desync is detected. We don't care, and the data is small enough not to matter.

Some of the data, like the really faction-specific stuff for instance, is already host-only in terms of actually being used (that's the long term planning thread stuff). So that stuff we can just plain ignore.

There's not much data to really sync at a faction level, aka not talking about ships, but the host should just periodically update all the clients with its versions of the data to keep everyone on the same page. If the host things that player A has X metal, and a client thinks that player A has Y metal instead, then that should get automatically corrected on the client within 1 second at most, and potentially just every "turn" (I think that's 400ms, IIRC).

This is by far the easiest of the desync repair stuff.
TagsNo tags attached.

Relationships

related to 0021439 resolvedChris_McElligottPark Multiplayer: remove old desync detection code. 
child of 0021432 resolvedChris_McElligottPark Multiplayer todo - parent issue. 

Activities

Chris_McElligottPark

Sep 25, 2020 9:59 pm

administrator   ~0058694

Done along with planets and other things.

Issue History

Date Modified Username Field Change
Jul 31, 2019 4:12 pm Chris_McElligottPark New Issue
Jul 31, 2019 4:12 pm Chris_McElligottPark Status new => assigned
Jul 31, 2019 4:12 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Jul 31, 2019 4:12 pm Chris_McElligottPark Relationship added child of 0021432
Jul 31, 2019 4:15 pm Chris_McElligottPark Relationship added related to 0021439
Sep 25, 2020 9:59 pm Chris_McElligottPark Status assigned => resolved
Sep 25, 2020 9:59 pm Chris_McElligottPark Resolution open => fixed
Sep 25, 2020 9:59 pm Chris_McElligottPark Note Added: 0058694