View Issue Details

IDProjectCategoryLast Update
0022704AI War 2Bug - OtherJan 25, 2020 12:35 pm
ReporterDominus Arbitrationis Assigned ToChris_McElligottPark  
Status assignedResolutionopen 
Summary0022704: Various FInts used in Hacking code don't import correct number
DescriptionI 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.
TagsNo tags attached.

Relationships

related to 0022445 new Displays -1 Hacking after using all hacking points on SuperTerminal 

Activities

BadgerBadger

Jan 25, 2020 1:23 am

manager   ~0055761

As far as I know, this is just an artifact of printing an FInt.

Chris_McElligottPark

Jan 25, 2020 12:31 pm

administrator   ~0055763

Yes, an FInt can't store anything with more precision than 0.001, so anything less than that would be an artifact for sure.

BadgerBadger

Jan 25, 2020 12:34 pm

manager   ~0055764

Last edited: Jan 25, 2020 12:35 pm

FInt's have some "Print me like this" mechanisms, so you should probably use one of those, or just ignore this.

Issue History

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