View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0019568 | AI War 2 | Gameplay Issue | Apr 6, 2018 12:09 pm | Apr 6, 2018 12:55 pm | |
Reporter | BadgerBadger | Assigned To | Chris_McElligottPark | ||
Status | resolved | Resolution | fixed | ||
Product Version | 0.718 | ||||
Summary | 0019568: Threat number flickers rapidly | ||||
Description | Here is a save game. When I load it I see the threat changing very rapidly between 1860, 230, 150 and a variety of other numbers with the game paused. I haven't actually left my start planet, so I have no idea why I might have 1860 threat. | ||||
Tags | No tags attached. | ||||
|
|
|
I had noticed that, too, and just had not gotten around to it. Thanks! * Under the hood, threat numbers fluctuate wildly for some reason (likely multithreading race conditions). **We've added two new classes for tracking data over time: MaxFloatValueOverTimeList and MaxIntValueOverTimeList to deal with that. ** The latter is used in order to keep track of the max value that was seen in fifth-second intervals, and thus expire high values only after a full second has passed. ** Since the data can go upwards instantly, it's nice and responsive, and the little sub-second dips to lower values due to multithreaded calculations are not ever showing up anymore. |
Date Modified | Username | Field | Change |
---|---|---|---|
Apr 6, 2018 12:09 pm | BadgerBadger | New Issue | |
Apr 6, 2018 12:09 pm | BadgerBadger | Status | new => assigned |
Apr 6, 2018 12:09 pm | BadgerBadger | Assigned To | => keith.lamothe |
Apr 6, 2018 12:09 pm | BadgerBadger | File Added: flickeringThreat.savemet | |
Apr 6, 2018 12:09 pm | BadgerBadger | File Added: flickeringThreat.save | |
Apr 6, 2018 12:55 pm | Chris_McElligottPark | Assigned To | keith.lamothe => Chris_McElligottPark |
Apr 6, 2018 12:55 pm | Chris_McElligottPark | Status | assigned => resolved |
Apr 6, 2018 12:55 pm | Chris_McElligottPark | Resolution | open => fixed |
Apr 6, 2018 12:55 pm | Chris_McElligottPark | Note Added: 0047372 |