View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0025917 | AI War 2 | Gameplay Issue | Dec 14, 2021 4:54 pm | Dec 16, 2021 4:37 pm | |
Reporter | Chris_McElligottPark | Assigned To | Chris_McElligottPark | ||
Status | resolved | Resolution | fixed | ||
Fixed in Version | Beta 3.767 Elderling Sanity | ||||
Summary | 0025917: Implement self-checking for central unit dictionary. | ||||
Description | I have a strong suspicion that units are not always in the central dictionary. This is borne out by the ghosts in multiplayer (those are not in the central dictionary, but still appear), and also by the FRD target "not in death registry" bug. This is kind of a concerning bug, because it means I can't wholly trust the accuracy of the concurrent dictionary, but what I need to do is set up a background thread that just iterates over all the planetfactions and their units and makes sure all of them are in the central dictionary. If they're not, then add them in. This should be something that I can run like the audio-processing-checks code in the modern codebase, and it should solve a ton of bugs going into multiplayer in particular. | ||||
Tags | No tags attached. | ||||
child of | 0025884 | resolved | Chris_McElligottPark | Parent: Todo prior to beta exit |
|
* Added in a new PerSecondSimRepair thread that does checking for seeing if there are squads, shots, or wormholes missing in the main dictionary lookup that are in the entity collections of planet factions, which would be the normal genesis of the "ghosts" problem in multiplayer. As well as the "such and such missing from death registry" bug, too. ** So far nothing has happened, but it should self-correct any cases like that, if they still happen. |
Date Modified | Username | Field | Change |
---|---|---|---|
Dec 14, 2021 4:54 pm | Chris_McElligottPark | New Issue | |
Dec 14, 2021 4:55 pm | Chris_McElligottPark | Relationship added | child of 0025884 |
Dec 16, 2021 4:37 pm | Chris_McElligottPark | Assigned To | => Chris_McElligottPark |
Dec 16, 2021 4:37 pm | Chris_McElligottPark | Status | new => resolved |
Dec 16, 2021 4:37 pm | Chris_McElligottPark | Resolution | open => fixed |
Dec 16, 2021 4:37 pm | Chris_McElligottPark | Fixed in Version | => Beta 3.767 Elderling Sanity |
Dec 16, 2021 4:37 pm | Chris_McElligottPark | Note Added: 0063476 |