View Issue Details

IDProjectCategoryLast Update
0021435AI War 2Gameplay IdeaDec 14, 2020 4:10 pm
ReporterChris_McElligottPark Assigned ToChris_McElligottPark  
Status closedResolutionno change required 
Summary0021435: Multiplayer: Revise/reset scopes of RNG contiguousness.
DescriptionI honestly don't know how this is set up at the moment, in terms of when we reset the RNG with a new seed. We do it every sim step, sure -- but are we doing it whenever we spawn a new thread? Does each thread get the RNG seed plus some small constant for that thread in question? That would be ideal, frankly.

The idea here is that, every time the RNG is invoked, it's increment it and thus further calls to it will cause cascading desyncs if someone does something wrong. So we want to limit the modder-facing things in particular to their own thread. That way a modder could mess up sync in their own thread for their own faction, but not in the general game as a whole. The tractor beam code might have a desync that we want to fix, but it wouldn't cascade into the decloaking thread, for instance.

I have a feeling we're already doing a lot of this, but I need to review everything and make sure that we're doing it ENOUGH.
TagsNo tags attached.

Relationships

related to 0021440 resolvedChris_McElligottPark Multiplayer: ship desync detection code. 
child of 0021432 resolvedChris_McElligottPark Multiplayer todo - parent issue. 

Activities

Chris_McElligottPark

Dec 14, 2020 4:10 pm

administrator   ~0059970

Yay, not needed anymore!

Issue History

Date Modified Username Field Change
Jul 31, 2019 3:59 pm Chris_McElligottPark New Issue
Jul 31, 2019 3:59 pm Chris_McElligottPark Status new => assigned
Jul 31, 2019 3:59 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Jul 31, 2019 3:59 pm Chris_McElligottPark Relationship added child of 0021432
Jul 31, 2019 4:32 pm Chris_McElligottPark Relationship added related to 0021440
Dec 14, 2020 4:10 pm Chris_McElligottPark Status assigned => closed
Dec 14, 2020 4:10 pm Chris_McElligottPark Resolution open => no change required
Dec 14, 2020 4:10 pm Chris_McElligottPark Note Added: 0059970