Hi all,
I´m tryind to assemble a two way train with one fluid wagon, but its not working. I have two locomotives, and the train stations are in the right place.
I have two rules:
1: go to petrol repository when empty
2: go to base when petrol = 75000
And they both work, but only when i delete one of then.When i have both of then the train doenst move.
Regards
Heitor
Two way train Fluid wagon
- impetus maximus
- Smart Inserter
- Posts: 1299
- Joined: Sat Aug 20, 2016 10:07 pm
- Contact:
Re: Two way train Fluid wagon
welcome to the forums.
you want game play help, not bug reports.
you want game play help, not bug reports.
Re: Two way train Fluid wagon
A few things:
- -Are you using a loop, or do you have the engines facing opposite ways (both work, it'll just help with troubleshooting)?
-Does the train say "no path"?
-Is your train stuck at a red signal (perhaps blocking itself)?
-Have you completed the train tutorials?
-Can you please post some pictures or a save or something, and either get this moved to gameplay help [edit: done] (I'm not insulting your train skills, just chances are that you made a minor mistake somewhere, or else we'd've probably noticed a bug by now) or comply with this?
There are 10 types of people: those who get this joke and those who don't.
Re: Two way train Fluid wagon
This the fisrt station called 'base':
This is the second station called 'petro': This is my fisrt rule: The second:
And the train only moves when i delete one of then.
This is the second station called 'petro': This is my fisrt rule: The second:
And the train only moves when i delete one of then.
Re: Two way train Fluid wagon
if base is your unloading point, it looks like you need to switch the conditions, they are what determine the train leaving, not arriving.
Re: Two way train Fluid wagon
OWWWWW !!!
Yep, its all working now. I was thinking that teh rule was 'go there, when condition is satisfied' but, is the oposite: 'dont go there until condition is satisfied'.
Thats why i was so sure that this was a bug.
I still think that 'go when true' is more intuitive, but,
Anyways, thank you all for the help !!!
Regards
Heitor
Yep, its all working now. I was thinking that teh rule was 'go there, when condition is satisfied' but, is the oposite: 'dont go there until condition is satisfied'.
Thats why i was so sure that this was a bug.
I still think that 'go when true' is more intuitive, but,
Anyways, thank you all for the help !!!
Regards
Heitor
Re: Two way train Fluid wagon
Also be aware that checking the fluid level will round the level before comparison. Better to use the full/empty condition or combine the two.
Re: Two way train Fluid wagon
The condition on a station is a LEAVING condition. So the train will stay at selected station UNTIL the condition is satisfied. There is NO WAY CURRENTLY to set up condition for visiting selected stations (or bypass them in the list) and choose a station in the list based on condition.
Also regarding fluids - you should try to avoid using strict marginal conditions like "=0" or "=75000" if you are not mixing liquids and use single liquid per train. In some edge cases due to rounding problems they might fail so using "<1" and ">74999" instead would prevent that from happening.
Also regarding fluids - you should try to avoid using strict marginal conditions like "=0" or "=75000" if you are not mixing liquids and use single liquid per train. In some edge cases due to rounding problems they might fail so using "<1" and ">74999" instead would prevent that from happening.
-
- Filter Inserter
- Posts: 807
- Joined: Fri Apr 29, 2016 5:27 pm
- Contact:
Re: Two way train Fluid wagon
Had no problems with any floating point errors when using the Fluid wagon myself, so I'd say the OP probably doesn't have to worry about this unless they see it suddenly stop working with apparent explanation.PacifyerGrey wrote:The condition on a station is a LEAVING condition. So the train will stay at selected station UNTIL the condition is satisfied. There is NO WAY CURRENTLY to set up condition for visiting selected stations (or bypass them in the list) and choose a station in the list based on condition.
Also regarding fluids - you should try to avoid using strict marginal conditions like "=0" or "=75000" if you are not mixing liquids and use single liquid per train. In some edge cases due to rounding problems they might fail so using "<1" and ">74999" instead would prevent that from happening.
Edit: I should mention that I use the 'when empty' and 'when full' conditions instead of '='.
Re: Two way train Fluid wagon
And those do not round. to integer.Frightning wrote:Had no problems with any floating point errors when using the Fluid wagon myself, so I'd say the OP probably doesn't have to worry about this unless they see it suddenly stop working with apparent explanation.PacifyerGrey wrote:The condition on a station is a LEAVING condition. So the train will stay at selected station UNTIL the condition is satisfied. There is NO WAY CURRENTLY to set up condition for visiting selected stations (or bypass them in the list) and choose a station in the list based on condition.
Also regarding fluids - you should try to avoid using strict marginal conditions like "=0" or "=75000" if you are not mixing liquids and use single liquid per train. In some edge cases due to rounding problems they might fail so using "<1" and ">74999" instead would prevent that from happening.
Edit: I should mention that I use the 'when empty' and 'when full' conditions instead of '='.