Logistics Pipes

Logistics Pipes

13M Downloads

Fuzzy Crafting and Providing

matijas1 opened this issue ยท 18 comments

commented

So i wanted to setup automated fuzzy crafting for the Infinity Skyblock pack.I set up fuzzy crafting tables and pipes with fuzzy upgrades and imported the recipes needed to make a Logistics Crafting Table. (Chest, Crafting Table, Sticks, Wooden Gear,, Stone Gear)
I had 1 oak wood plank and a lot of jungle wood planks in a chest.
On first try to craft 4 of them it said missing 76 oak wood planks(OreDict, IgnDmg, IgnNBT)
So i tried moving the jungle planks to another chest and it missed less planks so i returned them back and removed the oak wood plank and the crafting worked.
So basically when it requests fuzzy crafting it looks trough a chest finds the first item that matches the description and stops looking for other matching items, in this case the jungle planks.
Is there any way you could make it look for all of the matching items because that is kinda annoying xD

commented

image
image
image
image

Some screenshots to make it easier

commented

I cant confirm this yet...
For me, it has worked all the time.
Ill test this further now

commented

A bit more clarification: as I see the problem is not about the item matching but about how recipes are handled. The crafting table checks the network for an item stack that contains the exactly same amount of the ingredient that is missing. It does not try to think out of the box and try to fullfill requirements based on two or more different (but still oredic compatible) stacks. I ran into this same issue on Infinity Evolved (not Skyblock). The solution workaround was tidy up the tree farm and employ only one wood for crafting.

commented

Quick Question: What build numbr of LP is FTB Infinity on?
Because I just assembled a quick setup of Drawers+Crafting, Crafted a Chest with Oredicted Wood Planks in my private Instance, had 3 Oak and 5 Birch Planks available and worked JUST FINE.

Sitting on latest build.

@matijas1, IS BOTH the Crafting Table AND the Pipe, wich i hope has a Fuzzy Upgrade, set to have OreDict sync Enabled on each ghost slot of the recipe that uses wood?

commented

FTB Infinity Expert Skyblock 1.0.4 is on build 112 according to bug 980. Skyblock 1.1.0 is uses 114.

commented

Its most likely this isnt a bug but rather a flaw in the users Configuration. I just confirmed it working with build 112 as well!

commented

Honestly though I feel the Crafting system really has to look for EVERYTHING available that matches before issuing the Request. Not just stop at the first vaiable Node in the Provider System it finds.

And YES I can now confirm this Bug! Even though its not really a Bug more like a Design Flaw.

commented

@davboecki It is not that easy on how that works now.
Having a crafting pipe on something with only one slot will horribly fail with the ore dictionary and the request can never complete.

commented

@theZorro266 Thats not the case for logistics crafting tables though. What the OP talks about is crafting tables.

Ive tested the setup with Chests, Barrels, TE Caches, Drawers, DSUs and Ironchests as backend structure.
Cannot confirm any issues with Standart crafting.

Machines and other single slot inventories to be tested tomorrow.

commented

I tested this on build 114 (crafting planks from logs using a fuzzy crafting table & fuzzy pipe) and the fuzzy crafting is not working for me either. I tried to just connect the fuzzy pipe to a chest, with a regular oak wood input & output configured, and I could not get it to put in other wood types (I tried all kinds of fuzzy modes).

commented

I'll confirm this on build 114 with two cases: planks and TE gears (iron ingot + 4 desired metal ingots).
In the second case the system tried to perform the crafting, but for i.e. Forestry copper (set as the default in the recipe, but OreDict'ed) it tried to use Forestry bronze, or, when I removed bronze from the system, it used gold nuggets [SIC!].

commented

@TST-R @DDzwiedziu I cant confirm this, Every time i do Fuzzy Crafting, it works fine. With every kind of Backend...Be it TE-Caches, Ironchest, Vanilla Chest, AE, Storage Drawers, Jabba, DSU...

Are you 100% SURE that your Crafting Pipe has a Fuzzy Upgrade, the Table is Fuzzy as well and both are 100% configured the same way?

A good way to ensure it working is: Place a Fuzzy Table -> Place a Crafting Pipe and Upgrade it to Fuzzy with a Fuzzy Upgrade -> Put the Recipe into the table and select OreDict ONLY on the wanted Items -> Hit the "Import" Button on the Crafting Pipes GUI

commented

Yes, I am pretty sure I have tested it exactly like that. Is it possible that there is some dependency/compatibility problem involved?

commented

I can confirm from memory for now. My world is stuck in a "crashloop".

A new thing is that grass blocks (new in the system) have started to be interpreted as OreDict'ed spruce wood.

Edit: my world is up and the problem persists.
Screenshots
The iron nuggets in the recepie are from Thaumcraft, avaiable (trough Storage Drawers' Compacting ones) are Tinkers' Construct's.
Last screenshot shows what happens if I change the nuggets to TC's.
Edit 2: "hardcoding" the nuggets to TC ones (or any other even) in a regular LP crafting table returns the message that those are missing.
Edit 3 (maybe the last one): Setting the same recepie trough NEI, with the TC nuggets, in a Logistic Request Table, and clicking "~" yields all the components correctly.

2016-05-03_21 20 42
2016-05-03_21 20 44
2016-05-03_21 20 48
2016-05-03_21 20 54
2016-05-03_21 26 01

commented

It probably still is relevant

commented

Alright, I don't know if this will be fixed in the milestone; or if this can be hotfixed. Because this severally breaks the auto-crafting if you dont use all the basic minecraft items like oak wood planks.

Note that I extremely like this work and you guys are doing this in your free time, i'm just happy this mod is still going. Played it as one of the first ones together with buildcraft!

commented

I can confirm while oredictionarying normal wood into wood planks. I get dirt delivered when it is available.
This is still on "Needs-validation" not sure if it is still relevant.

This happens with a crafting pipe + fuzzy upgrade + fuzzy crafting table.
When using a chassis pipe with a crafting module + fuzzy upgrade + fuzzy crafting table this does not happen. But still it does not craft the wood planks; unless I am wrong and I dont fully understand ore dictionarying.

commented

Because this severally breaks the auto-crafting if you dont use all the basic minecraft items like oak wood planks.

I don't plan to touch this part of the code in the near future. I'll review and accept any pull requests - as always.