7 posts
Posted 06 May 2012 - 03:46 PM
How can I make my turtle select another slot of Items to place?
2447 posts
Posted 06 May 2012 - 04:29 PM
Type "help turtle" in the console. That will give you your answer.
7 posts
Posted 06 May 2012 - 06: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?)
1604 posts
Posted 06 May 2012 - 07: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.
7 posts
Posted 07 May 2012 - 01:04 PM
thanks, worked fine^^ also good to know where the computerprograms are located, now I'll never lose a file again