5 posts
Posted 28 October 2012 - 11:01 PM
I'm having trouble with my first big turtle project, I have no code written, but my main problem is that I can't get the turtle to pick up tnt out of a chest, I've tried the listed API but turtle.suck doesn't seem to be working, any and all help would be much appreciated, thanks.
214 posts
Posted 28 October 2012 - 11:10 PM
make sure the front of the turtle is facing the chest, and its a normal vanilla chest. not something in tekkit. also make sure that the turtle uses turtle.select(1) or something to select an EMPTY slot for the tnt to get sucked into. try this, hope it helps :D/>/>
thanks -Cheeky
5 posts
Posted 28 October 2012 - 11:16 PM
So when I edit a program to start the turtle function I have
turtle.select(1)
turtle.suck() — do I have to specify something in between the brackets?
…and it gives me an error like "attempt to call nil"
Don't quite know what I'm doing wrong, haha.
Thank you for the help Cheeky, didn't know an inventory space had to be selected.
8543 posts
Posted 28 October 2012 - 11:34 PM
What version of ComputerCraft are you on?
5 posts
Posted 28 October 2012 - 11:36 PM
Whatever the default version for tekkit is. I haven't updated since our server switched over.
8543 posts
Posted 28 October 2012 - 11:40 PM
Your version is too old to have turtle.suck() or any of the newer functions.
5 posts
Posted 28 October 2012 - 11:58 PM
Is there a way to update without switching the entire server over?
8543 posts
Posted 29 October 2012 - 12:00 AM
No. All of the code runs on the server itself. I believe everyone needs to have the same version of the mod.
5 posts
Posted 29 October 2012 - 12:09 AM
I see, well thank you very much for the help.
248 posts
Posted 29 October 2012 - 06:02 AM
Well, you can try making a huge tnt storage where the turtle can mine the tnt, but if a troll appears he could blow your entire storage
2005 posts
Posted 29 October 2012 - 11:25 AM
You can have an even bigger storage facility that is underwater and has all the TNT separated by water blocks. Or you can just use pipes and stuff.
214 posts
Posted 29 October 2012 - 11:32 AM
So when I edit a program to start the turtle function I have
turtle.select(1)
turtle.suck() — do I have to specify something in between the brackets?
…and it gives me an error like "attempt to call nil"
Don't quite know what I'm doing wrong, haha.
Thank you for the help Cheeky, didn't know an inventory space had to be selected.
because turtle.suck() is not supported in tekkit, you may just have to have tnt in a certain slot in the turtle to begin with. do this then carry on with your project and see what you come up with. as soon as tekkit updates you should then be able to use turtle.suck()
pm me on the forums if you need any help with your project, il be glad to help
thanks -Cheeky
2088 posts
Location
South Africa
Posted 29 October 2012 - 05:59 PM
Tekkit will be updating to 1.3.2 soon apparently .. so write to code anyway because you will be able to use it soon enough :P/>/>