[Bug] LTN Output gives wrong signals on multiitem providers
Moderator: Optera
-
- Burner Inserter
- Posts: 6
- Joined: Tue May 05, 2020 2:49 pm
- Contact:
[Bug] LTN Output gives wrong signals on multiitem providers
Hello,
i have multiple Providers in my base which provide multiple itemtypes. I'm using filterstackinserters attached to the Output of the LTN Station to load the correct items. Since the last update i have the problem that the Output sends not only the ordered items to the logicnetwork. It seems like it's sending some leftovers from the last delivery as well.
In the Attachments you can find two screenshots:
-The Output which sends 31k Ironplates and 276 Cooperplates
-The Trainschedule only containing conditions for the 31k ironplates. Please note that i added the "Empty Cargo" condition to prevent the train from leaving.
I could not find any report for that bug but since it's breaking my base i hope its possible to fix it. If any further informations are needed I'm happy to provide them.
i have multiple Providers in my base which provide multiple itemtypes. I'm using filterstackinserters attached to the Output of the LTN Station to load the correct items. Since the last update i have the problem that the Output sends not only the ordered items to the logicnetwork. It seems like it's sending some leftovers from the last delivery as well.
In the Attachments you can find two screenshots:
-The Output which sends 31k Ironplates and 276 Cooperplates
-The Trainschedule only containing conditions for the 31k ironplates. Please note that i added the "Empty Cargo" condition to prevent the train from leaving.
I could not find any report for that bug but since it's breaking my base i hope its possible to fix it. If any further informations are needed I'm happy to provide them.
- Attachments
-
- rainschedule.png (180.65 KiB) Viewed 3159 times
-
- Output.png (150.87 KiB) Viewed 3159 times
Re: [Bug] LTN Output gives wrong signals on multiitem providers
Please adhere to these guidelines when requesting assistance.
viewtopic.php?f=214&t=60889
Without debug log there's only guesswork.
viewtopic.php?f=214&t=60889
Without debug log there's only guesswork.
My Mods: mods.factorio.com
-
- Burner Inserter
- Posts: 6
- Joined: Tue May 05, 2020 2:49 pm
- Contact:
Re: [Bug] LTN Output gives wrong signals on multiitem providers
Sadly i'm not able to find the log. Is a exception needed to create the log? I activated the logging as descripted in the link but cant find the log in the factorio folder. Is it somewhere else when using a steam installation? Im searching in Steam/steamapps/factorio
-
- Burner Inserter
- Posts: 6
- Joined: Tue May 05, 2020 2:49 pm
- Contact:
Re: [Bug] LTN Output gives wrong signals on multiitem providers
I found it.
Additonaly i created a savegame where you can reproduce the bug.
Additonaly i created a savegame where you can reproduce the bug.
- Attachments
-
- LTN-Output Bug Reproduce.zip
- (2.67 MiB) Downloaded 91 times
-
- factorio-current.log
- (128.18 KiB) Downloaded 111 times
Re: [Bug] LTN Output gives wrong signals on multiitem providers
Make sure to include the layout of your provider stop, my guess is that the filter on your output inserters is not being set correctly, but would need to see the layout and the signals going to it when a train pulls up.
-
- Burner Inserter
- Posts: 6
- Joined: Tue May 05, 2020 2:49 pm
- Contact:
Re: [Bug] LTN Output gives wrong signals on multiitem providers
@TokMor: The Screenshot of the Output clearly shows, that the signal comes from the LTN-Output. But i already posted a small savegame where you can reproduce the bug if you want
Re: [Bug] LTN Output gives wrong signals on multiitem providers
That's a timing issue from bad station design.
Your inserters put items into the train just before the event for reaching the station fires.
LTN considers items already loaded in a train when it enters a station as something the user wanted.
A possible fix would be to remove support of user inserted items in LTN controlled trains.
Regardless stops should never have inserters stuck with items. Your station can inserter 11*12 items per cycle so either set locked slots to 2 or reduce inserters or stack size.
Your inserters put items into the train just before the event for reaching the station fires.
LTN considers items already loaded in a train when it enters a station as something the user wanted.
A possible fix would be to remove support of user inserted items in LTN controlled trains.
Regardless stops should never have inserters stuck with items. Your station can inserter 11*12 items per cycle so either set locked slots to 2 or reduce inserters or stack size.
My Mods: mods.factorio.com
-
- Burner Inserter
- Posts: 6
- Joined: Tue May 05, 2020 2:49 pm
- Contact:
Re: [Bug] LTN Output gives wrong signals on multiitem providers
Thanks for your response.
That's unexcepted but makes sense.
I know about the problem with the inserters stuck with items. Thats why i have one inserter removing unwanted items.
I will optimize my stations.
That's unexcepted but makes sense.
I know about the problem with the inserters stuck with items. Thats why i have one inserter removing unwanted items.
I will optimize my stations.
Re: [Bug] LTN Output gives wrong signals on multiitem providers
The inserter to remove items is set up wrong, it will not work like that.
To remove unwanted items you need inventory - expected, just like a smart unloading station. Also it will very likely produce a hystersis and never complete loading.
To remove unwanted items you need inventory - expected, just like a smart unloading station. Also it will very likely produce a hystersis and never complete loading.
My Mods: mods.factorio.com
-
- Burner Inserter
- Posts: 6
- Joined: Tue May 05, 2020 2:49 pm
- Contact:
Re: [Bug] LTN Output gives wrong signals on multiitem providers
To avoid a hystersis i remove only items that i don't want at all. Having to many item's is not as critical as having the wrong items loaded