Skip to content

Logistic train stop output signals are misscalculated #335

@Ataloumpak

Description

@Ataloumpak

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions