This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Ricechrisp's profile picture

I need help programming.

Started by Ricechrisp, 30 June 2012 - 05:42 PM
Ricechrisp #1
Posted 30 June 2012 - 07:42 PM
I had an idea for a mining turtle program that would be extremely useful. I am not very good at programming but have a very basic understanding. I was wondering if anyone would be able to help me out. I was hoping I could get a program so that a turtle would mine a specific area such as 9x9 and mine until it was full. I would like it to then return to its original position, drop it's contents, then continue mining. The next part would be nice but might be hard to do. If possible, after it reaches bedrock and returns I would like it if it could move over in a line and then start another quarry. The hard part of this would be for after it fills up for it to return to the original starting position again and drop its stuff. I want it to return to to this original position so that I can combine it with Buildcraft and have an obsidian pipe to collect everything. If anyone out there is willing to help me program this I would greatly appreciate it. Thanks.
kenth56 #2
Posted 01 July 2012 - 06:45 AM
Im pretty new but I have a few ideas for how you could do the continue to another quarry thing, make all the move coordinates a variable and add 9 after every finished cycle, like mine in a 9x9 down 64 blocks return to x=y*9 empty contents y+1 go to z=y*9 and so on just an idea to add to it :P/>/>
kazagistar #3
Posted 03 July 2012 - 01:55 AM
Your idea is not only old, it is incredibly complex. Think of it as a holy grail in this community. Many people have already made attempts to do something similar, to varying degrees of success.

Don't take this too hard, but ideas are meaningless. The ability to execute them is everything. Good luck learning to code!
Pinkishu #4
Posted 04 July 2012 - 03:14 PM
Uhm just how is it complex to have the turtle move over 9 blocks and mine another quarry? Oo
Wolvan #5
Posted 04 July 2012 - 03:36 PM
Couldn't you use the GPS API for this? I never used it but it's and idea if someone can use it right
Pinkishu #6
Posted 04 July 2012 - 08:39 PM
You can use GPS, yes.
You don't need to, however