1. Please make sure you are posting in the correct place. Server ads go here and modpack bugs go here

Turtle Programs

Discussion in 'General FTB chat' started by Beleriond01, Dec 11, 2012.

  1. Beleriond01

    Beleriond01 Well-Known Member

    Hi FTB'ers,

    I wasn't quite sure where I should post this request so I figured the general chat would probably be the best place.

    Anyways, I was hoping for someone to perhaps make available such turtle programs as DW20 used in his season 3 SMP series to make his 9x9 houses, collect stuff from bees and collect oil and such.

    I honestly cannot code at all though I may just be able to make small adjustments to existing code. If anyone has these programs and is willing to share them, I'd be very grateful.

  2. b0bst3r

    b0bst3r Popular Member

  3. Ember Quill

    Ember Quill Well-Known Member


    This is a quick little program I wrote to dig out underground rooms. The size of the room is customizable. Basically, you place the mining turtle in the front-left corner of where you want your room to be. Type the name of the program, followed by the dimensions of the room, and it'll dig forward, right, and up to make the room. It doesn't place flooring or walls or anything, so it's only good for digging out underground rooms. So, for example, let's say you wanted to build a room that was 9 blocks deep, 20 blocks wide, and 5 blocks tall. I saved the program with the name buildroom, so I'd type "buildroom 9 20 5" and run it. It'll dig the room, then return to the starting position.

    It'll check if it has enough fuel as well. If not, it will try to refuel from the first inventory slot, so put some coal or coal coke or whatever you use for fuel right there.

    I'm also a bit of a beginner with Lua programming, so my code probably isn't the cleanest it could be, but it works.

    Oh, and if you didn't know, you can download programs directly from pastebin with a computercraft command. Just type "pastebin get" followed by the pastebin id (It's in the URL. bmW5UFWB for my program) and then the name you want to give to the program. So with the name I used before, it would be "pastebin get bmW5UFWB buildroom" although you can name it whatever you want.
  4. Beleriond01

    Beleriond01 Well-Known Member

    Thanks very much indeed folks. Will try tomorrow if time allows.
  5. Xerek86

    Xerek86 New Member

    You must all so change the HTTP API in computercraft.cfg to true to download i directly
  6. Rakankrad

    Rakankrad Well-Known Member

    Well, I'd post the place I get my programs from, but I dunno if the boards censor.. I'll just say it's the page made by Guude for turtles.. Type " a place for guude's computer code" in google and it should be the 1st one (ejectd**ks.com .. if you know Guude, you should know what the ** are supposed to be)
  7. Abdiel

    Abdiel Well-Known Member

  8. Exedra

    Exedra Over-Achiever

    Neat. Would this work with tekkit? Despite my demands my bro insists on playing tekkit instead of FTB
  9. slay_mithos

    slay_mithos Well-Known Member

    Well, he can play what he wants.

    As far as turtle as concerned, if he is playing MC 1.3.2 or higher, these programs should work.
    But if he is on the 1.2.5, he has potential errors all over the place, as it had less apis and only 9 inventory slots (16 now).
  10. Ember Quill

    Ember Quill Well-Known Member

    That depends on the differences between the version of ComputerCraft included with Tekkit and the one in the FTB packs. I never really used CC back in 1.2.5, so I don't know what's been changed.

    If you're playing Tekkit Lite, there shouldn't be any issues since it uses a more recent version of CC.

Share This Page