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

tBase - a turtlebuilt base

Started by cardinal Lucius, 22 June 2014 - 10:38 PM
cardinal Lucius #1
Posted 23 June 2014 - 12:38 AM
tBase is a script that will make your turtles build a small base.
Well, at the moment this is only an extremely inefficient 52x50 to bedrock quarry whilch will also clean the area up to 20 blocks over the inertia point. This isto make some free space for the base and the turtles will also have enough cobblestone for the rest of their service time. I'm going to add some more jobs to do for the turtles in the folliwing versions.

In addition the script only will handle wireless mining turtles so it its maybe better to run this in creative.

TurtleScript: http://pastebin.com/QP8LveEk
PCScript: http://pastebin.com/4XMpXuwH
I'll use the 'new version' function of pastebin so it's possible that there's already a new version of the script - just have a look before downloading this one.

Tested on tekkit main 1.2.9e (a CC1.5x version)

in-game footage:
Spoiler[media]http://youtu.be/6NIq9tIwxgU[/media]

Setup:

SpoilerYou'll need:

- at least 2 wireless mining turtles (up to how many you want, more than 2 stacks could cause some communication errors between masterPC and the turtles)
- 1 Computer with wireless modem on top
- 1 floppy drive
- 1 floppy with the turtleScript named 'startup' in it
- 2 chests
- maybe a chunk loader (the one from chicken chunks) - i don't know if it works also without one
- 4 Item collectors(from MineFactory Reloaded) OR 4 chests e.g. iron chests (mustnt be normal chests, they must fit next to each other!) and a pipe system to get rid of these items (manually empty the chests is not a good idea, trust me :'D)
- as many stacks of coal as turtles you want to use (or any other fuel that leaves nothing behind like a lava bucket)

Now just place the things like this:







Fill the coal and the turtles in the marked chests.
Now place the floppy into the disk drive and a turtle on it. Download the turtleScript by using "pastebin get pdkrUE3N tscript" then copy it onto the floppy by typing "cp tscript disk/startup". Break the turtle.
The floppy is now set up and you can continue typing "pastebin get REPgpf7t master" on the computer.

Almost done!

To get the barrel rolling type "master" on the computer and follow his instruction.
Last thing to do is placing a turtle on the floppy drive and once right-click to boot it.

Done!

(maybe i should make a video later…)


Im open for suggestions but remember i'm still a newbie in this business ;)/>/>

Update 19.01.15:
- restarted working on it
- next versions will require CC1.65

Next todo:
- create navigation function for the turtles to enable them to travel between their working locations (wip)
- create logistic/storage management
- create api/documentation To enable easy adding of building schematics (unified sized areas, entrance/exit for turtles…)
- Clean the code :'D
- add sample schematics for buildings, e.g. Smeltery, storage, treefarm, …
Edited on 19 January 2015 - 09:01 PM
flaghacker #2
Posted 23 June 2014 - 03:24 PM
This is awesome! I got 2 questions:
Is this reboot-persistant?
Why do you need at least 2 turtles?
cardinal Lucius #3
Posted 23 June 2014 - 05:42 PM
Is this reboot-persistant?
Not yet, but i already planned to implement that feature due to the time this program will need to run when finished (already takes about half an hour if you use 2 stacks of turtles).

Why do you need at least 2 turtles?
This is because one turtle (the one you have to place manually) will perform the TurtlePlacerJob in an endless loop, so you can add some more turtles to the system after already started it. Maybe i will change that so you'll have to type a command on the computer to send the next avaliable turtle to perform the job once and then continue work…
Tommes #4
Posted 24 June 2014 - 07:13 AM
The pastebin link to the turtle program is broken. It seem, it leads to the another Master program
cardinal Lucius #5
Posted 24 June 2014 - 04:45 PM
The pastebin link to the turtle program is broken. It seem, it leads to the another Master program
i will upload a working one once there is one ^^
misson20000 #6
Posted 24 June 2014 - 06:50 PM
Screenshots of the finished base?
Edited on 24 June 2014 - 04:50 PM
rowas #7
Posted 10 July 2014 - 11:53 PM
This is pretty insane. But also kind of inefficient considering you have to have a lot of mining turtles, i.e. a ton of diamond. This would be harsh in survival. Really cool, though. I can't wait to see how you finalize this program. :D/>