[2.0.10] "Read train contents" for interrupt stops does not give a stable signal of train contents to circuit network

Bugs that are actually features.
donuts
Manual Inserter
Manual Inserter
Posts: 4
Joined: Mon Jan 07, 2019 12:01 pm
Contact:

[2.0.10] "Read train contents" for interrupt stops does not give a stable signal of train contents to circuit network

Post by donuts »

Hello! I'm coming from my first Space Age playthrough, with no mods.

Absolutely loving the DLC so far!

What did you do?

I created an interrupt, that directs a train with some cargo to a station to sit there indefinitely.
The station is connected to the circuit network, with "Read train contents" checked.

What happened?

The train contents signal is cycling very rapidly, making downstream calculations with the signal difficult.

What did you expect to happen instead? It might be obvious to you, but do it anyway!

I expect that a train stopped at a station (for whatever reason) will provide a continuous, stable signal of its contents when "Read train contents" is checked for that station.

In the attached save file I've created three scenarios:

* Left: A train with a regularly scheduled stop - This works as expected: a stable signal of the train contents
* Center: A train with an interrupt stop - This is the unstable signal
* Right: A train with a temporary stop (created with ctrl+click) - No signal appears at all. This also is unexpected? This is not a bug for me, as I do not need to read train contents for trains sent to stops this way

Does it happen always, once, or sometimes?

Always.

However, in 2.0.9 the signal was not even present with this same scenario (whereas in 2.0.10 it is flickering as above).

=======

Some more context: In my real save, I am trying to determine how many of my generic train fleet have been sent to my depot because they're waiting for an open station, and what their contents are. This was one attempt at limiting trains from filling up on a low-demand items from outposts.
Attachments
Bug Report - no reading train contents on interrupt.zip
(8.67 MiB) Downloaded 26 times
donuts
Manual Inserter
Manual Inserter
Posts: 4
Joined: Mon Jan 07, 2019 12:01 pm
Contact:

Re: [2.0.10] "Read train contents" for interrupt stops does not give a stable signal of train contents to circuit networ

Post by donuts »

Disregard.

Turns out I've been playing for four hours already and needed a break.

The save file wasn't a good reproduction of what I observed, and I also found a way to get what I want:

Add a wait condition for the depot ("[station] is not full"), so that the train doesn't try to immediately depart from the interrupt station. This allows the train contents to be read, and I can grow the factory a bit more.
robot256
Smart Inserter
Smart Inserter
Posts: 1262
Joined: Sun Mar 17, 2019 1:52 am
Contact:

Re: [2.0.10] "Read train contents" for interrupt stops does not give a stable signal of train contents to circuit networ

Post by robot256 »

A simple "AND Wait 1 second" condition can also help with registering circuit signals!
My mods: Multiple Unit Train Control, RGB Pipes, Shipping Containers, Rocket Log, Smart Artillery Wagons.
Maintainer of Auto Deconstruct, Cargo Ships, Vehicle Wagon, Honk, Shortwave.
Necandum
Inserter
Inserter
Posts: 40
Joined: Sat Jan 06, 2024 2:05 am
Contact:

Re: [2.0.10] "Read train contents" for interrupt stops does not give a stable signal of train contents to circuit networ

Post by Necandum »

You may wish to change the title to indicate its resolved.
Post Reply

Return to “Not a bug”