View Issue Details

IDProjectCategoryLast Update
0025923AI War 2Gameplay IssueDec 18, 2021 10:10 pm
ReporterChris_McElligottPark Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Fixed in VersionBeta 3.768 Ironman And Doomsday 
Summary0025923: Influence needs to be double-buffered in some fashion.
DescriptionTons of factions call RemoveInfluenceFromAllPlanets and then rebuild their influence, which is really problematic. This certainly works, but it does mean that other LRP threads will have decidedly wrong data from time to time. I have no idea how many algorithm errors in judgement this causes.

I'll need to figure out the exact dimensions for fixing this, because it's a bit awkward of a data pattern right now.
TagsNo tags attached.

Relationships

child of 0025884 resolvedChris_McElligottPark Parent: Todo prior to beta exit 

Activities

Chris_McElligottPark

Dec 18, 2021 10:10 pm

administrator   ~0063517

* Added a new AddIfNotAlreadyIn to List, which does the equivalent of "if not contains, then add" in one quick call.

* The way that faction influence on planets is set has been updated so that it now does it all in one batch and thus does not introduce a flicker.
** Previously, it was not flickering on the UI or on the main simulation because it was setting this as part of the main thread, but LRP threads and other worker threads could have experienced flicker that would cause them to behave inappropriately.

Issue History

Date Modified Username Field Change
Dec 14, 2021 5:10 pm Chris_McElligottPark New Issue
Dec 14, 2021 5:11 pm Chris_McElligottPark Relationship added child of 0025884
Dec 18, 2021 10:10 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Dec 18, 2021 10:10 pm Chris_McElligottPark Status new => resolved
Dec 18, 2021 10:10 pm Chris_McElligottPark Resolution open => fixed
Dec 18, 2021 10:10 pm Chris_McElligottPark Fixed in Version => Beta 3.768 Ironman And Doomsday
Dec 18, 2021 10:10 pm Chris_McElligottPark Note Added: 0063517