
Crafting tasks lock each other up, when having multiple crafting modules in a chassis pipe
bziemons opened this issue ยท 6 comments
Because multiple crafting modules in a chassis pipe can lock up when they craft at the same time, we could add a crafting lock on chassis pipes. That would only be for crafting modules and not interrupt anything, but is solely for pausing a crafting task on the adjacent machine as long as something else is being crafted.
This idea is opposed to removing the possibility to have more than one crafting module in a chassis pipe.
Consider implementing this so you can set up round robin crafting with a batch quantity
If multiple crafting requests are called on the same pipe all the orders will be divided into batches and collated. for example set the batch to 64 and if you call a 3 stacks or recipe 1 and 1 stack of recipe two the chassis will craft the first stack of recipe 1 the stack of recipe 2 than the rest of recipe 1
When crafting recipes from IndustrialCraft2 some items are reused in the same machine Tin ---> Tin plate ---> Tin Item Casing it would be nice to have these removed from the machines before injecting them back into the top of the machines. Ive noticed that the plates sit in the bottom of the metal former while the logistics network sits around waiting for the next item to come out of the same machine.
personally i think my idea is more than doable you can have modules communicate with each other but limit this to those occupying the same chassis to reduce overhead. Think about handling the I/O the way modern HDD Controllers balance the load of I/O operations Each crafting operation is a I/O request so the solution is just a matter of implementing a balanced queue within the chassis
Oh i think i misread the OP i didn't realise that this occured when one crafting module needed parts from the other i assumed it was a simple queue issue for multiple unrelated recipies on the same machine
@mikeloeven that to me sounds like a RAID controller, at least the way you described your chassis scenario. Also i don't think adding a function to remove the items and then re-injecting them would be to hard especially if you have already collated all of your stacks wait till operation 1 has finished then take mats for operation 2 from bottom of machine and move to the top of machine and then wait for that to finish.