View Issue Details

IDProjectCategoryLast Update
0022445AI War 2Bug - GameplayJan 27, 2020 12:32 am
ReporterAdmiral Assigned To 
Severityminor 
Status newResolutionopen 
Product Version1.025 Hotfix 
Summary0022445: Displays -1 Hacking after using all hacking points on SuperTerminal
DescriptionI 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.
TagsNo tags attached.

Relationships

related to 0022454 new Changing what to build in "Direct Build" menu requires two clicks 
related to 0022704 assignedChris_McElligottPark Various FInts used in Hacking code don't import correct number 

Activities

Admiral

Dec 28, 2019 2:56 pm

reporter  

Screenshot (381).png (378,969 bytes)
Screenshot (380).png (474,587 bytes)

Admiral

Dec 28, 2019 8:03 pm

reporter   ~0055207

A later save game attached. The "off by one" persists; I have 59 hacking points when I should have 60.

Dominus Arbitrationis

Jan 26, 2020 10:50 pm

administrator   ~0055778

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.

BadgerBadger

Jan 27, 2020 12:32 am

manager   ~0055780

The long decimal you see there is just an artifact of the display code. That's not actually the problem.

Issue History

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