Auto-Crafting System

  • Please make sure you are posting in the correct place. Server ads go here and modpack bugs go here
  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

ShneekeyTheLost

Too Much Free Time
Dec 8, 2012
3,728
3,004
333
Lost as always
Okay, I have a cute idea for an auto-crafting system which requires only a couple of blocks, rather than the kludgy craftpacket system. It also uses ComputerCraft, but NOT turtles.

However, there's a kind of a hitch that I'd like to get through simply to make it vastly superior to any other autocrafting system out there, short of actual Logistics pipes.

The basic concept uses the Computer Controlled Crafter. You can easily program it to make any recipe. You can even program a recipe to include all sub-combines. Thus, you only need a Computer and the CCCrafter to produce any combine, including any sub-combines. The programming knowledge required is... minimal. In fact, it requires less programming knowledge than the craftpacket method.

Now there's only one more thing that would make this perfect...

If there is a way to automatically pull materials from your inventory room to make the crafting happen, it would pretty much be ideal. Is there a way to be able to set this up?

An idea I had was a series of managers on your chests set to priority 0 that basically act as filters on your chests for your sorting system, then a sortron hooked up to your 'input' chest set to pull all of the required materials from the various Managers into it. The only problem with this is the Sortron responds to FP2 FORTH rather than CC LUA. That would mean I would have to have two computers, each one independently running commands in order to get it done. I'd have to tell the RP computer to run the program for pulling all the materials into the chest, then run the program on the CC Computer to autocraft.

Is there a way to get this kind of functionality or cross-compatibility another way? Sucking items remotely isn't generally an easy thing to do, Mangers are about the only way I can think of to remotely pull specific items from various inventories. If a Manager can be ran via a RP computer, but an RP computer can't run the CCCrafter.
 

Saice

New Member
Jul 29, 2019
4,020
0
1
I think your on the right path. I am sure managers can talk to he Sortron. So 1 Sortron as your requester and 1 Manger on every storage thing (chest/barrel).

But I might be wrong I have not touched the sortron at all.
 

Abdiel

New Member
Jul 29, 2019
1,062
0
0
Assuming MiscPeripherals ever works properly (which it doesn't now), the Interactive Sorter can look into chests and pull the items you need. You'll need one sorter and one computer per chest if you have them neatly arranged in rows, or you could pile up to 5 chests on to one sorter if you don't need to access them manually.

Two issues:
1) MiscPeripherals is broken (both the Sorter and the Crafter can spontaneously either dupe your items or make your items vanish into the void. RichardG seems not to care.)
2) Rednet is broken, any use of rednet may freeze the entire server. It "will be fixed in the next version", whenever that happens. And coordinating multiple computers like this without rednet is a nightmare even I wouldn't want to think about - and I made a Sortron talk to CC to some degree through a bundled cable.

In my crafting system (before CC broke rednet), I had a separate storage room, where I had a barrel for each material. Each barrel had a turtle which could pull out of the barrel and into an enderchest. The crafting computer would ask the storage turtles for materials through rednet and retrieve them from the enderchest to craft.
 

Saice

New Member
Jul 29, 2019
4,020
0
1
I just thought of this after I posted.

It is a bit of a funky way around it but if you have 1 double chest you can have 8 managers on it set to requst 1 of every possable mat you will need. and still have 1 space open to output your crafter. As soon as the crafter pulls anythign the managers will request a refill.

Its clungy but no programing needed.
 

Abdiel

New Member
Jul 29, 2019
1,062
0
0
I doubt one double chest has enough space to store even one stack of everything you need. I had 60+ barrels of basic resources, and that's not counting separate storage for crafted items that you craft in bulk, but not use all of them. Think about making a battery: you have to store the 5 leftover copper cables somewhere.
 

jumpfight5

New Member
Jul 29, 2019
1,750
0
1
I'm sorry, but are there no MKII Crafting Tables?? D:
What about the buildcraft MKI? With the 4 wooden gears around the crafting table? I haven't gotten into either quite yet, but I'm going to want my sorting system crafting things, such as buckets and tin cells. Do I have to use Factorizations paper method?
 

Saice

New Member
Jul 29, 2019
4,020
0
1
I doubt one double chest has enough space to store even one stack of everything you need. I had 60+ barrels of basic resources, and that's not counting separate storage for crafted items that you craft in bulk, but not use all of them. Think about making a battery: you have to store the 5 leftover copper cables somewhere.

Ture but you could use multiple chests if the CC crafter can pull from touching chests like a Autocrafting table just put duouble chests on five sides leaving the front open you to access.

Mind you I have not knoweldge of how the CC crafter works and im mostly just tossing out ideas.
 

Abdiel

New Member
Jul 29, 2019
1,062
0
0
I'm sorry, but are there no MKII Crafting Tables?? D:
What about the buildcraft MKI? With the 4 wooden gears around the crafting table? I haven't gotten into either quite yet, but I'm going to want my sorting system crafting things, such as buckets and tin cells. Do I have to use Factorizations paper method?
The problem with this is you would need a crafting table for each item you want to craft. One of my first requirements when I started making mine is that I didn't want it to scale with the number of recipes. I have about 150-170 items coded in - that would need a ton of crafting tables and a lot of room.
 

KirinDave

New Member
Jul 29, 2019
3,086
0
0
Why is RP2 + Craftpackets "Kludgy" ? I've seen some pretty elegant setups involving this. Craftpackets are useful for automation of flexible systems. BuildCraft's stuff is useful for automation of repetitive single-task stuff.
 

jumpfight5

New Member
Jul 29, 2019
1,750
0
1
The problem with this is you would need a crafting table for each item you want to craft. One of my first requirements when I started making mine is that I didn't want it to scale with the number of recipes. I have about 150-170 items coded in - that would need a ton of crafting tables and a lot of room.

Oh, okay, good, my items aren't all that complex and there won't be too many, so I think *hope* I should be all good.
 

Abdiel

New Member
Jul 29, 2019
1,062
0
0
Yup, for the basic "how many more times do I need to lay out a piston" kinda uses, ACTs are perfect.
 

Saice

New Member
Jul 29, 2019
4,020
0
1
Yup, for the basic "how many more times do I need to lay out a piston" kinda uses, ACTs are perfect.

I agree I have ACTs in my ender loot sorter resuply system. I always have 1 Pickax, Shovel, and Axe in my ender bag and I get a new one everytime I pull one out. Saves so much time and space when I go caving.
 

ShneekeyTheLost

Too Much Free Time
Dec 8, 2012
3,728
3,004
333
Lost as always
Project Table Plans have mostly replaced ACTs in my experience. They're just so handy for "Hey, I need a dozen pistons" type situations.

You'd need one ACT per recipe, what I'm doing is one CCCrafter for the whole system, regardless of how many recpies there are.

Sorters are *expensive* Like... four diamonds, I believe. That's too expensive on the scale I'm talking about. Managers are far cheaper.
 

Abdiel

New Member
Jul 29, 2019
1,062
0
0
I always found the inventory of a Project Table too small to use for many things. And it interacts really weird with InvTweaks shortcuts, from doing nothing all the way to crashing the game. I mostly use it just as a crafting table that I can leave items in in case I forget to pick something up.
 

ShneekeyTheLost

Too Much Free Time
Dec 8, 2012
3,728
3,004
333
Lost as always
I always found the inventory of a Project Table too small to use for many things. And it interacts really weird with InvTweaks shortcuts, from doing nothing all the way to crashing the game. I mostly use it just as a crafting table that I can leave items in in case I forget to pick something up.
I keep a chest next to my project table specifically for my plans. This is about as close to a fully dynamic crafting system as I have found so far.
 

WayofTime

New Member
Jul 29, 2019
573
0
0
Sure, my RP autocrafting system could be considered not the most space-efficient design, but at the thime it was more of a proof of concept rather than a "be all, end all" sort of system. That said, it can easily be tuned to be faster, and my ideal system is one where you can tweak both the physical build limitations, as well as the code. CC is only really code based.

Making a system to pull out ANY item from a bank of chests is easy enough to do with sortrons. I'm not sure how CC changes this (probably in a method where you don't need to deal with time constraints), but just having a loop that checks if an item matches via I'd is easy enough. To have the RP computer interact? Just have it read in two cables from the CC computer and have a loop that calls the item corresponding to that set of IDs.

The calling of items I already did with my recursive crafter - if anyone wants it, just check my video of the "kludgy" system!
 

bob marley

New Member
Jul 29, 2019
64
0
0
how bout he redpower/enderchest remote system you side feed and item into the side of filter then pulse it so it pulls from the inventory system then drops in in the enderchest there is a video by Enigmius1
im thinking this might help