Jump to content




turtle slot selection


4 replies to this topic

#1 Abstract

  • New Members
  • 7 posts

Posted 06 May 2012 - 02:46 PM

How can I make my turtle select another slot of Items to place?

#2 Cloudy

    Ex-Developer

  • Members
  • 2,543 posts

Posted 06 May 2012 - 03:29 PM

Type "help turtle" in the console. That will give you your answer.

#3 Abstract

  • New Members
  • 7 posts

Posted 06 May 2012 - 05:48 PM

sry for that, I'm stupid as hell^^ anyways, i've got another problem now, I always get an "too long without yielding error" how can I fix this (and are there any ways to copy+paste the code on my local machines onto the forums?)

#4 MysticT

    Lua Wizard

  • Members
  • 1,597 posts

Posted 06 May 2012 - 06:33 PM

You have to make your program yield for events sometime, you can't have it in an infinite loop. There's a couple of ways to do it, one would be to use sleep(0), another one is adding this:
os.queueEvent("fake")
os.pullEvent("fake")
that would solve the error.
For the copy-paste, you can open the files in .minecraft/saves/<YourWorld>/computer/<ID> where ID is the id of the computer wich you want to access the files.

#5 Abstract

  • New Members
  • 7 posts

Posted 07 May 2012 - 12:04 PM

thanks, worked fine^^ also good to know where the computerprograms are located, now I'll never lose a file again





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users