Posted 06 April 2013 - 11:27 AM
I seem to have this problem with my Turtles, for whatever reason whenever I load my game in some of my melee turtles refuse to swing, sometimes all of them, sometimes just a few of them.
They are using a very simple code:
while true do
turtle.attack()
end
I have tried adding a sleep(1) line in after the attack to stop the loop from running too fast and possibly causing the program to crash, however this does not work.
It currently does it with my Blaze, Skeleton, Wither Skeleton, Zombie, Cow, and Pig grinders, all of them are built into seperate 9x9 rooms, 7 high with 3 Turtles:
The mobs DEFO reach the Turtles, after I reboot each Turtle it works just fine until I reload my game.
They are using a very simple code:
while true do
turtle.attack()
end
I have tried adding a sleep(1) line in after the attack to stop the loop from running too fast and possibly causing the program to crash, however this does not work.
It currently does it with my Blaze, Skeleton, Wither Skeleton, Zombie, Cow, and Pig grinders, all of them are built into seperate 9x9 rooms, 7 high with 3 Turtles:
The mobs DEFO reach the Turtles, after I reboot each Turtle it works just fine until I reload my game.