Page 1 of 1

looked slots per wagon doesnt work. items left in inserter

Posted: Sat Nov 18, 2017 1:50 pm
by Jesus8000
any ideas?
the problem is, that i have a station with multiple item pick up.
and the inserter always hold last stack in hand. so the next train will get a wrong item

Image


my goal is to use only 1 row of requester chest again.

i sadly have to put down 2 rows:( but it doesnt fix my problem, that the inserter keeping items in there hand:?

Re: looked slots per wagon doesnt work. items left in inserter

Posted: Sat Nov 18, 2017 6:14 pm
by Shia
Got the same problem... either put a complex circuit network to limit count of inserters (or stack-sizes) or use one filter inserter for outputting items.
Requested amount (arithmetic)

Code: Select all

each * -10000 = each
. Put this output and the train-contents to a filter inserter (for output) with

Code: Select all

set filter
.

Now the next train will get the wrong items (but they will be outputted directly after input).

Still the best way is to have separate stops for each output...

Re: looked slots per wagon doesnt work. items left in inserter

Posted: Sat Nov 18, 2017 6:36 pm
by Optera
Jesus8000 wrote:any ideas?
the problem is, that i have a station with multiple item pick up.
and the inserter always hold last stack in hand. so the next train will get a wrong item

Image


my goal is to use only 1 row of requester chest again.

i sadly have to put down 2 rows:( but it doesnt fix my problem, that the inserter keeping items in there hand:?
Going by your picture your problem is not with locked slots, but with your inserter control logic.
For loading you have to subtract Train inventory from LTN stop output and feed that to filter (stack) inserters. See the design thread or the demo for details on the circuit logic.

Re: looked slots per wagon doesnt work. items left in inserter

Posted: Sat Nov 18, 2017 7:01 pm
by Jesus8000
i read now the request from the LTN station and comparte the amount of request (from Station) with the amount in the train (already loaded).
and if Request is bigger then In train>> set filter from inserter.

but with this , the train didnt get full loaded:(

i also turned the full loading option in the option menu off.

to conclude: the locked slot on waggon doesnt work with these full load option.

because if i turn this off>>> the station request the full train minus the locked slots.

I hope the dev of these mod will fix this for the future

Image

Re: looked slots per wagon doesnt work. items left in inserter

Posted: Tue Nov 21, 2017 6:02 am
by Shia
Just looking at your setup, all your need is 1 arithmetic

"Stop" to "arithmetic input"
The "LTN stop output" to "arithmetic output" to the "filter inserters"

Set the arithmetic to "each" "*" "-1" "each"
Filter inserters set to "Set Filter"
(Negative values do not count for "Set Filter")

Still, this may lead to overloaded trains / stuck inserters.

But that isn't the fault of Optera. This is a behavior from the game itself.
Either find a workaround for this or find a different mod which prevents that behavior/ pushes items back / clears the inserter.....

Re: looked slots per wagon doesnt work. items left in inserter

Posted: Tue Nov 21, 2017 5:05 pm
by Optera
Shia wrote:Still, this may lead to overloaded trains / stuck inserters.

But that isn't the fault of Optera. This is a behavior from the game itself.
Either find a workaround for this or find a different mod which prevents that behavior/ pushes items back / clears the inserter.....
Overload protection is built into LTN.
Use locked slots per wagon to reserve space in wagons and a loading setup counting already loaded against requested as described before.

Re: looked slots per wagon doesnt work. items left in inserter

Posted: Tue Nov 21, 2017 5:37 pm
by Shia
I really need to look deeper into that "locked slots" thingy... I just don't get how you prevent 6 stack inserter all picking up max stack if just 1 item is missing...

Also "sorry" for not understanding (^o^);

Re: looked slots per wagon doesnt work. items left in inserter

Posted: Tue Nov 21, 2017 10:59 pm
by Jesus8000
Optera wrote:
Shia wrote:Still, this may lead to overloaded trains / stuck inserters.

But that isn't the fault of Optera. This is a behavior from the game itself.
Either find a workaround for this or find a different mod which prevents that behavior/ pushes items back / clears the inserter.....
Overload protection is built into LTN.
Use locked slots per wagon to reserve space in wagons and a loading setup counting already loaded against requested as described before.
does not work koreektly

Re: looked slots per wagon doesnt work. items left in inserter

Posted: Tue Nov 21, 2017 11:00 pm
by Jesus8000
Shia wrote:Just looking at your setup, all your need is 1 arithmetic

"Stop" to "arithmetic input"
The "LTN stop output" to "arithmetic output" to the "filter inserters"

Set the arithmetic to "each" "*" "-1" "each"
Filter inserters set to "Set Filter"
(Negative values do not count for "Set Filter")

Still, this may lead to overloaded trains / stuck inserters.

But that isn't the fault of Optera. This is a behavior from the game itself.
Either find a workaround for this or find a different mod which prevents that behavior/ pushes items back / clears the inserter.....
for what is the negativ count then?
i alsow saw that with the negativ count in the mods demo.
but i dont understand it:P
because it worked for me without multiply it with -1

Re: looked slots per wagon doesnt work. items left in inserter

Posted: Wed Nov 22, 2017 5:03 pm
by Optera
Jesus8000 wrote:for what is the negativ count then?
i alsow saw that with the negativ count in the mods demo.
but i dont understand it:P
because it worked for me without multiply it with -1
Optera wrote:Overload protection is built into LTN.
Use locked slots per wagon to reserve space in wagons and a loading setup counting already loaded against requested as described before.
does not work koreektly
If you use the combinator you didn't understand to subtract items already loaded, overload protection works correctly.

Re: looked slots per wagon doesnt work. items left in inserter

Posted: Wed Nov 22, 2017 6:55 pm
by Jesus8000
i subtracte the item in train form the requested one
and sometime the inserter have stuff in there hand
so it dont work