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

Infinite Mining Turtle (on the server we have coal off)

Started by VinnySim79, 31 July 2015 - 12:08 PM
VinnySim79 #1
Posted 31 July 2015 - 02:08 PM
On my server, we had accidentally coded in an infinite mining turtle while setting up a farm. One of my friends has a lot of experience with computercraft and he couldn't see the problem… The Code –> http://pastebin.com/8iuP0Kve
metron80 #2
Posted 31 July 2015 - 04:04 PM
So I'm assuming that the selected slot when you first start this up is 1. That being said, while you mine, slot 1 is getting filled up first. it looks like that in order for your program to progress, you have to have 0 items in slot 1. That won't happen if that's the first slot to fill up. So you will never make it to slot 16, never breaking the loop.