Jump to content




Remote-Controlled Turtle


58 replies to this topic

#1 Dirkus7

  • Members
  • 148 posts
  • Locationthe Netherlands

Posted 24 February 2012 - 05:24 PM

I made thist programs to remote-control the turtle:



Program:
Attached File  turtle.zip   1.15K   866 downloads (not updated yet, please use these: )
or direct code from pastebin,
Computer:
http://pastebin.com/CUrkWiYd
Turtle:
http://pastebin.com/2Bfex1E3

Wolvan's version (my program, edited by Wolvan, there are more options in it) :
Turtle
Computer/Terminal

Have fun :huh:/>


Usage: Both the computer and the turtle will ask for the ID, you can find them by typing id when no program is loaded.

The modem is configured to be on the right of the computer, right on it. You need a turtle with modem and pickaxe!

Controls for Dirkus7's version: W, A, S, D: move
space: dig/place
Left: select digmode
Right: select placemode
Left Ctrl: enable redstone output
Up/down move/dig in vertical directions

Controls for Wolvan's version are on the computer screen.


If you have issues, please check the following things:
-The computer must have a modem on the right side,
-Turtle needs a modem to control and a pickaxe to dig.
-You must have entered the right ID, the computer's in the turtle and the turtle's in the computer. You can find it by typing ID when no program is running.
-Rednet must be on, but the programs turns it on so you don't have to BUT please make sure the modem's sides are red, if not, please run the program, or in lua prompt, type in "rednet.open('right')"
-Use the right controls, or it won't work B)/>
-Computer must look like this: Posted Image

(also: sorry for bad English if i use it, i'm not english/american, just a hard working Dutchman)

#2 Jaan

  • New Members
  • 10 posts

Posted 24 February 2012 - 05:52 PM

Sry i just got the mod :P/>

and sry for bad english

anyways, if you can make there a little camera for checking that vhere you are

#3 VegBerg

  • New Members
  • 3 posts

Posted 24 February 2012 - 06:18 PM

Nice work!
How did you resize the console window, btw?

#4 Dirkus7

  • Members
  • 148 posts
  • Locationthe Netherlands

Posted 24 February 2012 - 06:24 PM

View PostVegBerg, on 24 February 2012 - 06:18 PM, said:

Nice work!
How did you resize the console window, btw?
In the .minecraftconfigmod_ComputerCraft.cfg file edit the terminal_width and the terminal_height

#5 Dirkus7

  • Members
  • 148 posts
  • Locationthe Netherlands

Posted 24 February 2012 - 06:27 PM

View PostJaanGamingChannel, on 24 February 2012 - 05:52 PM, said:

Sry i just got the mod :P/>

and sry for bad english

anyways, if you can make there a little camera for checking that vhere you are
Sorry, there are no cameras so I can't make that possible :(/>

#6 MooseWithAGun

  • New Members
  • 6 posts

Posted 24 February 2012 - 06:36 PM

How do I use it? I type the program name and it says the program doesn't exist

#7 Dirkus7

  • Members
  • 148 posts
  • Locationthe Netherlands

Posted 24 February 2012 - 06:40 PM

View PostMooseWithAGun, on 24 February 2012 - 06:36 PM, said:

How do I use it? I type the program name and it says the program doesn't exist
You put the programs in the right computer and rename it to 'startup', I'm sorry, I should've told that

#8 GigaToni

  • Members
  • 7 posts

Posted 24 February 2012 - 06:49 PM

My Problem:

The turtle doesn't do anything

#9 Dirkus7

  • Members
  • 148 posts
  • Locationthe Netherlands

Posted 24 February 2012 - 06:53 PM

View PostGigaToni, on 24 February 2012 - 06:49 PM, said:

My Problem:

Black window on the computer..
Yeah i know cause it doesn't write anything, press a button and you'll see the text

#10 GigaToni

  • Members
  • 7 posts

Posted 24 February 2012 - 07:02 PM

@Dirkus7

I've edited my post.. Please help me with this problem^^

#11 MooseWithAGun

  • New Members
  • 6 posts

Posted 24 February 2012 - 07:12 PM

View PostDirkus7, on 24 February 2012 - 06:40 PM, said:

View PostMooseWithAGun, on 24 February 2012 - 06:36 PM, said:

How do I use it? I type the program name and it says the program doesn't exist
You put the programs in the right computer and rename it to 'startup', I'm sorry, I should've told that
Thanks it works now but the turtle doesnt move. I setted the id to 10 the modem works on the turtle but not on the computer

#12 Dirkus7

  • Members
  • 148 posts
  • Locationthe Netherlands

Posted 24 February 2012 - 07:16 PM

View PostMooseWithAGun, on 24 February 2012 - 07:12 PM, said:

View PostDirkus7, on 24 February 2012 - 06:40 PM, said:

View PostMooseWithAGun, on 24 February 2012 - 06:36 PM, said:

How do I use it? I type the program name and it says the program doesn't exist
You put the programs in the right computer and rename it to 'startup', I'm sorry, I should've told that
Thanks it works now but the turtle doesnt move. I setted the id to 10 the modem works on the turtle but not on the computer
The program is configured that the modem must be on the right of the computer block, that should work. and it must have the right id inside the computer program, i will make the computer to ask for it.

#13 Dirkus7

  • Members
  • 148 posts
  • Locationthe Netherlands

Posted 24 February 2012 - 07:19 PM

View PostGigaToni, on 24 February 2012 - 07:02 PM, said:

@Dirkus7 I've edited my post.. Please help me with this problem^^
Hmm a few questions; Is the modem on the right of the computer? Did you change the computer id in the computer's programs? And does the turtle have a modem and pick? Try that :P/> Edit: try the new version

#14 MooseWithAGun

  • New Members
  • 6 posts

Posted 24 February 2012 - 07:28 PM

View PostDirkus7, on 24 February 2012 - 07:16 PM, said:

View PostMooseWithAGun, on 24 February 2012 - 07:12 PM, said:

View PostDirkus7, on 24 February 2012 - 06:40 PM, said:

View PostMooseWithAGun, on 24 February 2012 - 06:36 PM, said:

How do I use it? I type the program name and it says the program doesn't exist
You put the programs in the right computer and rename it to 'startup', I'm sorry, I should've told that
Thanks it works now but the turtle doesnt move. I setted the id to 10 the modem works on the turtle but not on the computer
The program is configured that the modem must be on the right of the computer block, that should work. and it must have the right id inside the computer program, i will make the computer to ask for it.
Ok ill try the program with the new code tommorow. As I saw in the video this program is indeed amazing!

#15 Metalhawk2012

  • Members
  • 24 posts

Posted 24 February 2012 - 07:30 PM

I set it up right and the programs run but...the turtle dosent work???

#16 Dirkus7

  • Members
  • 148 posts
  • Locationthe Netherlands

Posted 24 February 2012 - 07:48 PM

View PostMetalhawk2012, on 24 February 2012 - 07:30 PM, said:

I set it up right and the programs run but...the turtle dosent work???
Please try the new version (pastebin link), because i think this solves the problem, if not, please tell me.

#17 Metalhawk2012

  • Members
  • 24 posts

Posted 24 February 2012 - 08:01 PM

YES it is now working thank you very much
btw is there a program that allows me to send redstone signals to modems that arnt connected to a computer?

#18 Dirkus7

  • Members
  • 148 posts
  • Locationthe Netherlands

Posted 24 February 2012 - 08:03 PM

View PostMetalhawk2012, on 24 February 2012 - 08:01 PM, said:

YES it is now working thank you very much btw is there a program that allows me to send redstone signals to modems that arnt connected to a computer?
Modems are a part of the rednet API and they can only transfer rednet messages to other computers, not redstone or redpowder signals, sorry.

#19 Metalhawk2012

  • Members
  • 24 posts

Posted 24 February 2012 - 08:06 PM

Its ok it would be great if there was though.
Thanks for the code anyway

#20 LazerRay

  • New Members
  • 18 posts

Posted 24 February 2012 - 08:14 PM

You should add up/down controls to the system so you have full functionality to the bot, other wise this is a very intuitive system, you don't even need to make the programs a start up as long as you named them right.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users