Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

Computer Craft programs


  • Please log in to reply
4 replies to this topic

Poll: What will my next topic be? (29 member(s) have cast votes)

What will my next topic be?

  1. A custom Map (6 votes [20.69%])

    Percentage of vote: 20.69%

  2. a team of robots that can write down letters (23 votes [79.31%])

    Percentage of vote: 79.31%

Vote Guests cannot vote

#1

jlllloyd
    jlllloyd

    Out of the Water

  • Members
  • 9 posts

Posted 25 February 2012 - 10:49 PM

Hello im sure you all know how great the new turtles in computercraft are right?
well im here to make them better
heres the original thread:Computer craft


How do you use these programs i here you ask just go to your minecraft directory, then mods then ccomputer craft,lua the rom here u have all your programs.To install these you need to copy them to notepad or notepad++ and save it with a file extension so instead of genesis.txt rename iot to genesis. once these are saved simply type the name into the turtle and away it will go.

here is my first one its called genesis simply place torches or glowstone into the top left slot in its inventory and type genesis and it will light its predecessors tunnel make sure the robot making the tunnel has finished otherwise it will mess it up
print ("Let there be light")

while turtle.forward() do
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.select(1)
turtle.digDown()
turtle.placeDown()
end

so here is my next one it builds that classic stairway mine genesis does not work with this sorry
while turtle.detectDown() do
print("Digging down!")
turtle.digDown()
turtle.digUp()
print("Going down!")
turtle.down()
print("Digging forward!")
turtle.dig()
print("Going forward!")
turtle.forward()
end

ok so here is my rudementry fix on the above it replaces the bottom block of the staircase with glowstone simply put glowstone in the top left 64 to be axact and let it go

while turtle.detectDown() do
print("Digging down!")
turtle.digDown()
turtle.digUp()
turtle.down()
turtle.digDown()
turtle.select(1)
turtle.placeDown()
print("Going down!")
turtle.down()
print("Digging forward!")
turtle.dig()
print("Going forward!")
turtle.forward()
end

ok so we are nearly done know for the simplest but quite honestly adorable program LOVE YES THATS RIGHT

print ("activating affection")

while turtle.turnLeft() do
turtle.up()
sleep(1)
turtle.down()
print ("I love you")
end


i craeted this program today its still in alpha but it essentially moves in a straight line over most terrain
print("---Welcome---")
sleep (1)
print("---to rover---")
sleep(1)
print("---aplha 1.0---")
sleep(1)
print("---made by jlllloyd---")
sleep(1)
print ("preparing to roam")
sleep(1)
	
	while turtle.forward() do
		if turtle.detectDown() == false then
			turtle.down()
		end
			if turtle.detect() == true then
				turtle.up()
			end
		
	end
Rover is still in aplha and so it still has a couple of glitches it cant go straight up or straight down or you remedy this please PM me.

i have plans for this:
  • To allow them to climb straight up
  • to have them comeback when a wireless signal is sent to them (I currently have no idea how to do this so please feel free top help
  • to set them programmable distances
  • and to have them take a sample every 40 blocks to tell you what enviroment they have been in
Also plans for other programs are a more advanced miner that sends the amount of locks mined to your computer or another robot and then using statistics work out roughly what it ha spicked up and to be able to tell you at what depth it is. (again this involvees wireless modems which i dont quite know how to use yet.
working through the dark thenn ssssssss shit run away. creepers they were placed on minecraftia to scare the living shit out of u.

Posted Image

Register or log in to remove.

#2

BFHfun
    BFHfun

    Tree Puncher

  • Members
  • 20 posts
  • Minecraft: BFHfun

Posted 28 February 2012 - 08:43 PM

I already got a basic miner.
And maby i can help a little with the wireless conections, but it has a limit of 50 blocks per signal, so its not going to work for the rover

#3

BouncyWolf
  • Location: Outside your window
  • Minecraft: BouncyWolf102

Posted 03 March 2012 - 11:31 AM

i made adjustments to the rover to make it more movable and all tho its a little slower... it does stop it form stopping when it hits a 2 block height like a mountain climber??? well if u want the code just say so
Posted Image

#4

Xyro_Hearts
  • Location: The floating islands of E.N.D
  • Minecraft: creepersahoy

Posted 12 September 2012 - 07:28 AM

there is a secret program that comes with computercraft
is called alongtimeago, it's an episode from starwars

Posted Image


#5

LWS05
    LWS05

    Out of the Water

  • Members
  • 3 posts
  • Minecraft: LWS05

Posted 24 November 2013 - 02:53 PM

TURTLE