0ptera / Logistic-Train-Network

Factorio mod adding logistic network for trains.
Other
155 stars 55 forks source link

Logistic train stop output signals are misscalculated #335

Open Ataloumpak opened 6 months ago

Ataloumpak commented 6 months ago

Make sure the bug is caused by LTN and not an interface recipient Bug may be caused by misscompatibility with "Merging chest"

Error message or bug description When a train stops on a station with multiple items types provided, and a logistic train stop serves as train stop, signals outputted by the "Logistic train stop output" has more than requested.

For example, if a station request iron ore, and providing station provides Iron and Copper ores, then the "Logistic train stop output" will provide iron ore signal AND copper ore signal, with a very small amount (like 7950 iron and 50 copper)

To Reproduce Disable timeout on trains in station. Get a providing station with multiple items types. Get a requesting station asking for 1 item type Setup white arms with set filter to signal Provide signal with "what the train wants" minus "what the train has" Sometimes, a train will leave station with a little bit of the second type of item.

Images Problematic signal from providing station's stop output: 2024-03-09_10h21_36 Requesting station combinator settings: 2024-03-09_10h23_15 Providing station layout : 2024-03-09_10h23_56

LTN version 1.18.6

Log file factorio-current.log

0ptera commented 6 months ago

Sounds like the known issue of Inserters stuck holding items inserting before LTN calculates output desired load.