What i did:
Build a Fluid train with 4 tanks and set it to empty on station
What i expected:
All tanks are empty after pump disconnect and the train leave the station
What wrong:
Fluid train with 4 tanks should empty on station but 0.8 left in 1 tank and the pumps are disconnected will prevent to leave station
Comment:
Here the save: http://www.clanweb.org/FluidUnloadBug.zip I stand next to the train who it happend
It was on a community Multiplayer Server and it happend on some of that very rarely (all few hours).
But i test it local and it happend too.
Quick fix was to set fluid < 1 to leave station
Thanks for the hard work on my favorite game!
[0.17.60] Fluid train should empty on station but 0.8 left and prevent to leave station
-
- Filter Inserter
- Posts: 587
- Joined: Sun Jun 09, 2019 10:40 pm
- Contact:
Re: [0.17.60] Fluid train should empty on station but 0.8 left and prevent to leave station
To save looking at the, haha, save: are you using the "train is empty" condition, or a "fluid <whatever> <= 0" condition?
The later is (was? far as I know, still is) subject to an annoyance that the fluid level is rounded down from the actual floating point value to an integer, so 0.8 == 0 as far as the circuit network is concerned.
The later is (was? far as I know, still is) subject to an annoyance that the fluid level is rounded down from the actual floating point value to an integer, so 0.8 == 0 as far as the circuit network is concerned.
Re: [0.17.60] Fluid train should empty on station but 0.8 left and prevent to leave station
But the train wont start and the pumps are not connected anymore.
So when i use empty on train thats happend sometime ... but with < 1 it wont happend.
So when i use empty on train thats happend sometime ... but with < 1 it wont happend.
Re: [0.17.60] Fluid train should empty on station but 0.8 left and prevent to leave station
This is a classic case of using the circuit network with the fluid conditions,
The circuit network says it has 0, but the fluid wagon actually has 0.8
Moving to minor issues
Also you don't really need to have a circuit condition on the pump, just let it pump out all the time
The circuit network says it has 0, but the fluid wagon actually has 0.8
Moving to minor issues
Also you don't really need to have a circuit condition on the pump, just let it pump out all the time