View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0027808 | Heart Of The Machine | Bug - Other | Apr 29, 2023 1:12 pm | May 1, 2023 1:19 pm | |
Reporter | The Gerbilest | Assigned To | Draco18s | ||
Status | resolved | Resolution | fixed | ||
Product Version | 0.302 Sweet Release From Death | ||||
Summary | 0027808: Credit calculation error on encounter | ||||
Description | Steps to reproduce - dispatch to encounter (mall in this case) - deploy units to complete encounter - add remove assistive nanoswarms from 0 to n, then from n to 0 Behavior Credits will jump randomly by small (rounding?) amounts. Screenshots exact same encounter with the exact same units taken without closing dispatch interface. In one SS credits are given and in the other SS they are not. Adding or removing nanoswarms changes whether credits are given or not at the same unit value (0 nanoswarms in SS examples but credits remain inconsistent rewards at the same unit values even at non-zero values). | ||||
Tags | No tags attached. | ||||
|
|
|
|
|
Those amounts jumping around are actually based on the total amount of credits in the faction changing, unless you have the game paused. They're constantly making and spending money, and you're skimming a percentage of what they have. We freeze it in time for a moment every time it is calculated, since it's a very small amount that you're skimming in the first place (like two thousandths of one percent of that faction's income). If the game is paused, then it's possible that is just normal variance in very small floating point calculations, but somehow I suspect it's not paused. |
|
Confirming the game was not paused. Very sorry for the false report, I didn't think of it working like that. |
|
No worries at all! When you see something strange, you should say something. I'm leaving the report open, because I'll need to adjust the tooltips here to be more clear, since other people will later be confused the same way. If you have to ask the developer why something is happening, then there's a problem, haha. |
|
May also be worth flooring/rounding/ceilinging to the nearest lump of 25 or something. |
|
I like your idea of rounding to the nearest 25 credits here. I think we should also make the tooltip include information that explains briefly what is happening ("this is calculated off of the current total credits held by the building owner, and may fluctuate.") |
|
Updated tooltip and rounded to nearest 25 credits to make the fluctuations happen less. |
Date Modified | Username | Field | Change |
---|---|---|---|
Apr 29, 2023 1:12 pm | The Gerbilest | New Issue | |
Apr 29, 2023 1:12 pm | The Gerbilest | File Added: MoneyCalculationScenario.jpg | |
Apr 29, 2023 1:12 pm | The Gerbilest | Note Added: 0067624 | |
Apr 29, 2023 1:12 pm | The Gerbilest | File Added: MoneyCalculationScenario2.jpg | |
Apr 29, 2023 1:16 pm | The Gerbilest | Description Updated | |
Apr 29, 2023 2:30 pm | Chris_McElligottPark | Note Added: 0067625 | |
Apr 29, 2023 2:48 pm | The Gerbilest | Note Added: 0067626 | |
Apr 29, 2023 2:58 pm | Chris_McElligottPark | Note Added: 0067627 | |
Apr 30, 2023 12:34 am | Draco18s | Note Added: 0067628 | |
May 1, 2023 11:59 am | Chris_McElligottPark | Assigned To | => Draco18s |
May 1, 2023 11:59 am | Chris_McElligottPark | Status | new => assigned |
May 1, 2023 12:01 pm | Chris_McElligottPark | Note Added: 0067635 | |
May 1, 2023 1:19 pm | Draco18s | Status | assigned => resolved |
May 1, 2023 1:19 pm | Draco18s | Resolution | open => fixed |
May 1, 2023 1:19 pm | Draco18s | Note Added: 0067642 |