Page 1 of 1

[0.15.31] Pump glitch

Posted: Fri Jul 28, 2017 9:05 pm
by Murzik
Hi guys, here is a strange behaviour of a pump, which doesn't work for unknown reason:
pump-glitch.jpg
pump-glitch.jpg (250.8 KiB) Viewed 2305 times
The condition is true, the destination is not overfilled, but it doesn't pump at all. I tried to restart the game and it didn't solve the problem. I have no mods installed.

As far as I remenber, I placed pump, set the condition, and then connected it with the green wire to the rest of the circuit network - just in case if this information helps.

Steps to reproduce:
1. Load save
New Ribbon 058.zip
(3.52 MiB) Downloaded 107 times
2. Observe pump from the screenshot.

Re: [0.15.31] Pump glitch

Posted: Sat Jul 29, 2017 12:31 am
by rorror
the 19k shown is19.999, your condition is, that the pump is only active when less then 20k.

because of the rouding error in factorio, 19.999 is shown as 19k

you can fix the visual apperiance for your self, to put the less condition on 20.001
and then you see the 20k

edit': corrected my text

Re: [0.15.31] Pump glitch

Posted: Sat Jul 29, 2017 8:42 am
by Murzik
It's not 19.999K, I changed condition to 40K and the pump hasn't moved at all. Here is this save:
New Ribbon 058.1.zip
(3.56 MiB) Downloaded 116 times
And a screenshot:
pump-glitch2.jpg
pump-glitch2.jpg (437.59 KiB) Viewed 2275 times

Re: [0.15.31] Pump glitch

Posted: Sat Jul 29, 2017 8:44 am
by posila
Hi, the pump has logistic (wireless) connection enabled without any condition set, that is blocking the pump from pumping.
Screenshot 2017-07-29 10.30.50.png
Screenshot 2017-07-29 10.30.50.png (147.75 KiB) Viewed 2275 times
rorror wrote:because of the rouding error in factorio, 19.999 is shown as 19k
We intentionally round down, that is no error. If we rounded to the nearest we would get reports as "my pump is supposed to be enabled when oil < 20k, the signal is 20k and it is still pumping" or "Light oil cracking doesn't work, my chemical plant has 60 water and 30 light oil in it and it does nothing" while there would be actually just 29.95 light oil in the plant.

Re: [0.15.31] Pump glitch

Posted: Sat Jul 29, 2017 8:53 am
by Murzik
posila wrote:Hi, the pump has logistic (wireless) connection enabled without any condition set, that is blocking the pump from pumping.
Ah I see, I accidentally connected it in the wrong place and forgot about it. So it's not a bug but my mistake. Although it is still quite confusing not to be able to identify the problem. I saw the blinking of the pump, but had no idea what it means. Perhaps it would be better to explicitly show all connections machine has to avoid confusion. And maybe add "Logistic connection (wireless)" and "Circuit connection (wired)" as icons are tiny and not very informative.