This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
KillaMaaki's profile picture

Floppy Disk Factory

Started by KillaMaaki, 16 July 2014 - 08:10 PM
KillaMaaki #1
Posted 16 July 2014 - 10:10 PM
Factory I put together with Buildcraft and Computercraft.
Takes raw materials (paper and redstone) and produces fully functional labeled floppy disks which contain a program installer.

https://www.youtube....h?v=7e-9K2MSy_Q
Edited on 16 July 2014 - 08:11 PM
Saldor010 #2
Posted 16 July 2014 - 10:39 PM
Very nice! I could see people on computercraft servers mass producing install disks just like this.
hilburn #3
Posted 16 July 2014 - 11:17 PM
I like the dancing turtles

However I gotta ask.. why do you need so many install disks?
KillaMaaki #4
Posted 17 July 2014 - 12:34 AM
Hell if I know, but it was fun to design and program.
Also a little, erm, exciting at times… "aaaagh shit there's a leakage of disks, stop the assembly line!!!!"

I might go back and redesign the factory, actually. Maybe make each piece more modular in nature, more autonomous, and perhaps also network-controlled so you could start/stop the whole assembly line from a single terminal, and perhaps even perform diagnostics or something (like check how many disks per second are being produced, how much materials are left, etc)

I should also make the turtles involved in programming the disks be able to refuel themselves. So perhaps after each iteration, a turtle checks if it needs fuel and if so there might be chests located nearby where it can get fuel and deposit byproducts of refueling (so for instance, one chest for buckets of lava, and another chest for empty buckets to go in).
The turtle which crafts the disks already does this, but I was too lazy to extend this to the rest of the turtles >.>

EDIT: I could also perhaps make it so that the computers involved in reprogramming the disks check in with some kind of master factory controller, maybe as a sort of "hey, how do I program these disks?", master factory controller responds with a text dump of some program. computer receives and saves program, then runs that.

Maybe like:
Computer -> "what program?" -> Factory Controller
Factory Controller -> [program contents] -> Computer
Computer -> [saves and runs received program]

And the program might do something like download programs from pastebin, and then in a while loop copies those to whatever disk is in the drive, ready for a turtle to retrieve and label.
That way if you wanted to change what you were programming onto the disk, you could change it at a single terminal.
Edited on 16 July 2014 - 10:47 PM
hilburn #5
Posted 17 July 2014 - 12:58 AM
That's a really nice idea, maybe have a menu on the control terminal which has a list of pastes (with labels so you don't see the silly code) and you can create directories and whatnot, then say you want 10 of them and send it to the production line to produce

You might want to use Advanced Filing Cabinets if you have Extra Utilities installed on your server, they can hold 540 floppy disks each
Danny #6
Posted 22 July 2014 - 09:44 AM
It's interesting, I did something like this a long time ago on what is now Tekkit Classic. I would think if you also had Buildcraft you'd just use auto crafting tables, but this is cool anyway. Good work. :)/>
KatanaKid #7
Posted 24 July 2014 - 12:29 AM
I like it. But what if the turtle that is running from chest to chest runs out of energy?
Geforce Fan #8
Posted 03 August 2014 - 04:54 AM
maybe if it also got recourses but otherwise I don't see why this is necessary.
Neat concept though.
KillaMaaki #9
Posted 03 August 2014 - 05:03 AM
It's interesting, I did something like this a long time ago on what is now Tekkit Classic. I would think if you also had Buildcraft you'd just use auto crafting tables, but this is cool anyway. Good work. :)/>
Yeah, the point of this wasn't necessarily to have the end result of an automated factory, the point was the process of designing and programming the factory. I'm a budding indie game developer, so functional design is basically what I do for fun.

I like it. But what if the turtle that is running from chest to chest runs out of energy?
The turtles outside currently don't have a way of refueling, which I've thought about making a revised design to address (it wouldn't be terribly difficult)
The turtle inside actually does have a source of energy. Those two chests embedded in the wall are specifically for refueling - one contains lava buckets, the other chest is for empty bucket byproduct.
Basically, during the program loop the turtle checks if it has energy. If it does not, it will retrieve a bucket of lava, refuel, place the now-empty bucket in the other chest, and continue on with the program.

maybe if it also got recourses but otherwise I don't see why this is necessary.
Neat concept though.
Again, the point was not to have the end result, but the process of designing it. ;)/>
Edited on 03 August 2014 - 03:04 AM
manu_03 #10
Posted 10 January 2015 - 09:58 AM
You can make it better by:
  • Making more than 1 pogram.
  • Dying each program's disks with different colors.
  • Making a "shop" with a moitor GUI that lets you select the prgram you want
  • Leave some disks blank
  • Doing all in one room
CreeperWiz #11
Posted 26 January 2015 - 11:57 PM
Funny but at the same time I love it!

It's interesting, I did something like this a long time ago on what is now Tekkit Classic. I would think if you also had Buildcraft you'd just use auto crafting tables, but this is cool anyway. Good work. :)/>
I like your icon