View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0022704 | AI War 2 | Bug - Other | Jan 25, 2020 12:48 am | Jan 25, 2020 12:35 pm | |
Reporter | Dominus Arbitrationis | Assigned To | Chris_McElligottPark | ||
Status | assigned | Resolution | open | ||
Summary | 0022704: Various FInts used in Hacking code don't import correct number | ||||
Description | I was looking at the report for why stored hacking shows -1 after a SuperTerminal hack that drains hacking to 0, and noticed that it doesn't cost 0.2 a second like it should. Instead, it is costing 0.199951171875 a second. This issue also shows with EffectPerSecond. Both appear to be importing from XML, with no other changes from that value that I can see. The XML shows it should be exactly 0.2. | ||||
Tags | No tags attached. | ||||
related to | 0022445 | new | Displays -1 Hacking after using all hacking points on SuperTerminal |
|
As far as I know, this is just an artifact of printing an FInt. |
|
Yes, an FInt can't store anything with more precision than 0.001, so anything less than that would be an artifact for sure. |
|
FInt's have some "Print me like this" mechanisms, so you should probably use one of those, or just ignore this. |
Date Modified | Username | Field | Change |
---|---|---|---|
Jan 25, 2020 12:48 am | Dominus Arbitrationis | New Issue | |
Jan 25, 2020 12:48 am | Dominus Arbitrationis | Status | new => assigned |
Jan 25, 2020 12:48 am | Dominus Arbitrationis | Assigned To | => Chris_McElligottPark |
Jan 25, 2020 12:48 am | Dominus Arbitrationis | Relationship added | related to 0022445 |
Jan 25, 2020 1:23 am | BadgerBadger | Note Added: 0055761 | |
Jan 25, 2020 12:31 pm | Chris_McElligottPark | Note Added: 0055763 | |
Jan 25, 2020 12:34 pm | BadgerBadger | Note Added: 0055764 | |
Jan 25, 2020 12:35 pm | BadgerBadger | Note Edited: 0055764 |