I'm a proficient programmer, but not in Lua, so it has been interesting seeing how this all pans out. I have been using the Never Stop Toasting 1.6.4 modpack, which uses ComputerCraft 1.57. It also generates few diamonds, or at least I haven't been able to get them. They already conceded that, but meanwhile I decided–since I am going automation-crazy now–to try the whole cobblestone-to-diamond pipeline. That involves a Minium stone and a lot of steps, eventually turning 8192 cobblestone into 1 diamond.
I started with a script from these very forums here. It needed a lot of rehabilitation and then I started throwing some aggressive logging on top of it. The logging prints to the turtle as well as to a file on disk, which I can read after-the-fact. It seems to crash in all variety of places inside the core loop. Sometimes it's in the middle of crafting and sometimes it's in the middle of working with a chest.
If I use a chest full of cobblestone without an itemducts feeding it, everything still dies dramatically. My first hunch had been a race condition of some kind, so I had tried it. Also, the fact that it dies during crafting and not chest interaction sealed the deal.
Here's a pastebin for the modified script: http://pastebin.com/pRJwER2v
If we can get it not to wreck the save I want to post it back into that thread because it looks like people had nothing but problems using the script. It could probably be a little more tolerant of where different chests are. I'm not going to knock it though since somebody did that in their free time.
Here's the logging.lua that I am using with it: http://pastebin.com/tAFh8dwV
I noticed that for some reason I can't import that script into the autocrafter immediately; it complains about calling something nil. I have to run logging.lua for whatever reason and then the autocrafter works too. I consider that its own problem that I'd like to address. Also, the crashes happened before I instituted logging. I started logging to try to track down the crash.
It crashes within just a few cycles. Like, it does a little bit of cobblestone, gets to flint, then to clay, and right around there it will die. If I'm a lucky man, I'll get an ingot.
Setup is very tedious with this. I recommend:
1. Dig a block out of the ground
2. Put a chest in the hole
3. Put a Minium Stone in the chest
4. Put a chest above and in front of that chest, close to you.
5. Go around the back of that chest and slap a crafting turtle behind it.
6. Place a chest on top of the turtle.
7. Get all the scripts on the turtle
8. Create a diacraft.config, which the original script needed, with the direction in which you placed the turtle. Like "north," "east," that kind of thing. This is from the original incarnation and I'd like to improve it, when it stops completely corrupting saves. If you start running and it complains about not finding a chest, try the opposite direction.
7. Save your game right here in case it gets all screwed up
8. Load the top chest with cobblestone
9. Running logging.lua – for whatever reason as I mentioned above.
10. Run the autocrafting script
Rough side view of this all:
C <---- Cobblestone
TC
C <---- Minium
C = Chest
T = Turtle
Place turtle from left