Inputting too many items into an input bus breaks multiblock machines.
NovaEnby opened this issue ยท 3 comments
Checked for existing issues
- I have checked for existing issues, and have found none.
Tested latest version
- I have checked that this occurs on the latest version.
GregTech CEu Version
1.3.0
Recipe Viewer Installed
JEI
Environment
Singleplayer
Cross-Mod Interaction
Yes
Other Installed Mods
ATM9
Expected Behavior
Expected multiblock machines to craft using all items placed into the input bus.
Actual Behavior
Multiblock machines craft with most of the inputs, but will leave some items behind in the input buses, even if those items can be used for a craft.
Example: In this craft, Niobium Titanium and HSS-G ingots were left behind in the input bus despite the fact that they can be turned into fine wire in the Large Wire Factory.
Steps to Reproduce
The bug appears to happen when too many items (probably somewhere in the thousands) are inserted into an input bus. This only seems to happen with extremely large autocrafts, because my Refined Storage crafters input all of the items into the bus at once.
Additional Information
The bug is not caused by programmed circuit conflicts (you can see that distinct buses are on in the attached screenshot). It's not exclusive to the Wire Factory--I've also had it occur in the ALCR, Large Mixing Vessel, Large Circuit Assembling Facility, and Large Assembling Factory.
ok after further testing parallelization seems to have something to do with it, when i turn off my parallel control hatch the wiremill starts working again. gonna test if this will help with other machines with multiple input items in their recipes
I've noticed this before too, although on an older version: Sky-Greg pack, GT 1.1.4.a
What I've had experimentally found, is that if "recipe cost per tick (probably after overclocking calculation)" multiplied by the "maximum parallelization" is greater than the multiblock's EU rating - then the recipe will not work.
Edit:
Checked now in game - both those recipes use 30 EU/t, which is almost a full amper in any overclocking.
If the formula I've stated above is the actual design, then I see 2 options to better parallelize them:
- Multi-amper hatches (more EU without raising a tier)
- Alternative recipe - extrude ingot into "1x wire" (180 EU/t, but 35% of amper) and then process in wiremill (7 EU/t, 22% of amper)
Edit2:
The math doesn't makes sence.
My 30 EU/t observation fails on Rubber Sheets in the extractor...
fixed in #1850