How can I make my turtle select another slot of Items to place?
0
turtle slot selection
Started by Abstract, May 06 2012 02:46 PM
4 replies to this topic
#1
Posted 06 May 2012 - 02:46 PM
#2
Posted 06 May 2012 - 03:29 PM
Type "help turtle" in the console. That will give you your answer.
#3
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
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:
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.
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
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