Spoiler
its supposed to quarry out a 16 by 16 area, dumping all of its items when full
When i run the program i get "java.lang.ArrayIndexOutOfBoundsExeption"
HEEELP D:
Posted 04 March 2013 - 03:18 AM
Posted 04 March 2013 - 07:04 AM
Posted 04 March 2013 - 07:36 AM
Posted 04 March 2013 - 07:39 AM
function refuel()
while turtle.getFuelLevel() < 5000 do
turtle.refuel()
end
end
Posted 04 March 2013 - 07:41 AM
function refuel() while turtle.getFuelLevel() < 5000 do refuel() --You are calling the fuction in itself... Why? Did you mean to use the turtle.refuel() end end --[[ This just repeats the function 'refuel()' over and over if the fuel level isn't equal or more than 5000 Try to use 'turtle.refuel()' instead of 'refuel()' ]]--
Posted 04 March 2013 - 07:54 AM
Posted 04 March 2013 - 02:04 PM
Hellkid98, on 04 March 2013 - 07:41 AM, said:
function refuel() while turtle.getFuelLevel() < 5000 do refuel() --You are calling the fuction in itself... Why? Did you mean to use the turtle.refuel() end end --[[ This just repeats the function 'refuel()' over and over if the fuel level isn't equal or more than 5000 Try to use 'turtle.refuel()' instead of 'refuel()' ]]--
Posted 04 March 2013 - 02:06 PM
SuicidalSTDz, on 04 March 2013 - 02:04 PM, said:
Posted 04 March 2013 - 02:55 PM
TheOriginalBIT, on 04 March 2013 - 02:06 PM, said:
0 members, 1 guests, 0 anonymous users