View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0022445 | AI War 2 | Bug - Gameplay | Dec 28, 2019 2:56 pm | Jan 27, 2020 12:32 am | |
Reporter | Admiral | Assigned To | |||
Status | new | Resolution | open | ||
Product Version | 1.025 Hotfix | ||||
Summary | 0022445: Displays -1 Hacking after using all hacking points on SuperTerminal | ||||
Description | I had 80 Hacking Points, and used them on a Super Terminal until I ran out. When over, it displayed me as having -1 Hacking Points in the top bar. I am guessing either this is a rounding error (floating point math using 0.2 on integral values won't go to exactly 0 usually), or actually let me us 0.2 extra and gave me a -0.2 hacking points. Either which way, it's either a display bug (slightly less than 0 hacking points) or a game bug letting me use a little more hacking points than I had. Additionally, the AIP log shows that there are -81 to AIP from my hack, but the Hacking log shows -80 AIP and 80 hacking points used. So it seems there are display/rounding errors in several places. Save game attached, plus Screenshots. | ||||
Tags | No tags attached. | ||||
related to | 0022454 | new | Changing what to build in "Direct Build" menu requires two clicks | |
related to | 0022704 | assigned | Chris_McElligottPark | Various FInts used in Hacking code don't import correct number |
|
|
|
A later save game attached. The "off by one" persists; I have 59 hacking points when I should have 60. |
|
It is caused by artifact from the way we measure the hacking code. Rather than wanting to cost 0.2 a second, it costs 0.199951171875 or so a second. Over time, this can build up, and cause the issue you noticed here. |
|
The long decimal you see there is just an artifact of the display code. That's not actually the problem. |
Date Modified | Username | Field | Change |
---|---|---|---|
Dec 28, 2019 2:56 pm | Admiral | New Issue | |
Dec 28, 2019 2:56 pm | Admiral | File Added: Screenshot (381).png | |
Dec 28, 2019 2:56 pm | Admiral | File Added: Screenshot (380).png | |
Dec 28, 2019 2:56 pm | Admiral | File Added: Debug Negative 1 Hacking.save | |
Dec 28, 2019 2:56 pm | Admiral | File Added: Debug Negative 1 Hacking.savemet | |
Dec 28, 2019 8:03 pm | Admiral | File Added: Debug N1 Hacking Later.save | |
Dec 28, 2019 8:03 pm | Admiral | File Added: Debug N1 Hacking Later.savemet | |
Dec 28, 2019 8:03 pm | Admiral | Note Added: 0055207 | |
Dec 28, 2019 8:18 pm | Admiral | Relationship added | related to 0022454 |
Jan 25, 2020 12:48 am | Dominus Arbitrationis | Relationship added | related to 0022704 |
Jan 26, 2020 10:50 pm | Dominus Arbitrationis | Note Added: 0055778 | |
Jan 27, 2020 12:32 am | BadgerBadger | Note Added: 0055780 |