[0.11.3] Health Bar Displaying Unnecessarily

This subforum contains all the issues which we already resolved.
Programmix
Burner Inserter
Burner Inserter
Posts: 5
Joined: Wed Nov 19, 2014 5:06 am
Contact:

[0.11.3] Health Bar Displaying Unnecessarily

Post by Programmix »

I was playing on a multiplayer server... After saving the game and reloading it, I noticed that one of my splitters was showing its health, even though it was not damaged and is at full health. I'm unsure how this happened.

Image
User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3717
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: [0.11.3] Health Bar Displaying Unnecessarily

Post by DaveMcW »

Did you try repairing it?
User avatar
Align
Fast Inserter
Fast Inserter
Posts: 217
Joined: Sun Aug 10, 2014 5:17 pm
Contact:

Re: [0.11.3] Health Bar Displaying Unnecessarily

Post by Align »

Happens all the time when I'm driving around and hit a tree - health bar shows up, but it's still at 200/200. Guess health is a floating point value?
Last edited by Align on Fri Nov 21, 2014 10:06 am, edited 1 time in total.
Programmix
Burner Inserter
Burner Inserter
Posts: 5
Joined: Wed Nov 19, 2014 5:06 am
Contact:

Re: [0.11.3] Health Bar Displaying Unnecessarily

Post by Programmix »

DaveMcW wrote:Did you try repairing it?
No, I didn't. I'm just reporting this bug to let the developers know. I'll repair it soon and see what the outcome is, perhaps it will be of interest.
Align wrote:Happens all the time when I'm driving around and hit a tree - health bar shows up, but it's still at 500/500. Guess health is a floating point value?
It seems potential. If it is a floating point value (though it doesn't make total sense to be a float), it seems that the display is rounded but the whether the health bar gets displayed depends on the exact value.
slpwnd
Factorio Staff
Factorio Staff
Posts: 1835
Joined: Sun Feb 03, 2013 2:51 pm
Contact:

Re: [0.11.3] Health Bar Displaying Unnecessarily

Post by slpwnd »

Health bars display below entities. I don't see it properly on the picture, but my guess is that the splitter has full health and the health bar belongs to the damaged transport belt above it. That would also explain why it is not centered (because it is centered to the transport belt). That would be not a bug.
User avatar
Align
Fast Inserter
Fast Inserter
Posts: 217
Joined: Sun Aug 10, 2014 5:17 pm
Contact:

Re: [0.11.3] Health Bar Displaying Unnecessarily

Post by Align »

It does look like that the case in OP's picture, but this definitely happens a ton while driving around in the car.

Image
User avatar
cube
Former Staff
Former Staff
Posts: 1111
Joined: Tue Mar 05, 2013 8:14 pm
Contact:

Re: [0.11.3] Health Bar Displaying Unnecessarily

Post by cube »

In the end we fixed the description, so now you would see 199 health for the car even though it is just slightly damaged. 0 and full health (200 in this case) now means "dead" and "not even scratched"
Post Reply

Return to “Resolved Problems and Bugs”