Logistic belt


Allow belts to carry only requested items. If your bus is not wide enough, you can easily multiplex items on a single belt line.

Content
1 year, 10 months ago
1.1
570
Logistics

b Crash on placement (SE+K2)

2 years ago

Hey, I would love this mod, but when placing it in SE+K2 I get this error:

Error while running event logistic_belt::on_built_entity (ID 6)
Passed index is out of range
stack traceback:
[C]: in function 'set_filter'
logistic_belt/scripts/device.lua:486: in function 'copy_request_to_filter'
logistic_belt/scripts/device.lua:1130: in function 'initialize_device'
logistic_belt/scripts/device.lua:1196: in function 'on_build'
logistic_belt/scripts/device.lua:1250: in function <logistic_belt/scripts/device.lua:1247>

2 years ago

I have no setup with SE + K2. Can you give me a saved game to reproduce it ?
Thanks for the report

2 years ago
2 years ago

There is a malicious mod that change the filter_count of my inserters (dont know which one). I restore it in the last version, it seems to work now.

2 years ago

I'm afraid mod is not loading for me anymore:

https://imgur.com/a/vUVNIkV

2 years ago

Sorry, i forgot to test in normal resolution. Should be better now.
Thanks for reporting

2 years ago

Thank you, this is working now! I'm testing it further.

I really like the idea of your mod. What do you think, how big can be belt network with chained chest? If that could serve multiple belts in large scale this could be way to replace trains... ?

2 years ago
(updated 2 years ago)

Currently, i am using a logistic belt system to manage the 2 first tiers of all science in a SE game (energy, spatial, material, biological). It is working fine and it is fun to play. There is no theorical limit to the distance between two belt device as there is a single hidden wire that connects the two.

2 years ago

Great! So far so good.

A question, would it be possible to implement wire control for sushi combinator? And if it could also calculate ratio, that would be so awesome!

2 years ago

What kind of control do you think of ? . Just enable/disable or changing the items in the flow ?

2 years ago

Great! So far so good.

I said it to early... I've some troubles, when there are many request propagated some controllers do not export items from chest. https://imgur.com/a/HjJIuH8

I've prepare also world save file, if you would like to look on it. https://www.dropbox.com/s/ntpu3lnoa2dtbpw/SEK2%20-%202210%202.zip?dl=1
Good example is coper wire ( top line, 2nd from left). Even there are plenty request for it further on right, it is released from chest occasionally only. I'm using crafting and recipe combinator to determine how many items are needed - it is changing often request amount. Is that the issue here? Or my approach is just too wild? ;)

What kind of control do you think of ? . Just enable/disable or changing the items in the flow ?

When using mentioned recipe combinator, it would be great to set sushi based on total amount of all items needed (in proper ratio, obviously). But if it is too complicated, on/off will be also fine.

2 years ago

Your network is satured with request that cannot be fullfilled. I advice you to activate the option "Filter on input" on the logistic controller (on output from a chest). It adds a filter to keep only items that are available. I don't activate by default because it adds more combinator and decrease slightly performance.

New response