I'm playing Mindcrack pack v.8.1.1 on my crappy Laptop. I use Optfine, fast graphics, short render distance, with most of the video performance settings on "max FPS." With all those settings, the game runs fine most of the time, except there's a decent amount of lag in my main base (where I have a pretty complex sorting system that uses several timers, relays, and other lag-inducing things). It's still tolerable though.
I recently built a wither skeleton spawner with a soul shard. I have the mobs flow into a 1x1 hole and then drop down so a single melee turtle can take care of them. The only problem is... the turtle doesn't attack like it's supposed to. Usually it doesn't attack at all. Once in a while, when I start up the game, it will work fine and kill a bunch of skeletons, but then it stops attacking. The program I am using (named startup so it should be running all the time) is:
I don't think I made any coding mistakes, but let me know if that's the case.
I tried putting a chunk loader next to the turtle, which seemed to work for a minute or two the next time I quit and relogged, but again the turtle stopped attacking.
I've tried going into the turtle's GUI and holding CTRL+T to terminate the program, then CTRL+R to restart it. I'm getting the messages in the GUI, which shows the turtle is responding my commands. But it doesn't attack.
The only thing I can think of is that the lag is messing with the turtle. Has anyone else had this issue, or had success at solving/mitigating it? Would it help to add a sleep(1) line to the end of the code? Any other suggestions?
I recently built a wither skeleton spawner with a soul shard. I have the mobs flow into a 1x1 hole and then drop down so a single melee turtle can take care of them. The only problem is... the turtle doesn't attack like it's supposed to. Usually it doesn't attack at all. Once in a while, when I start up the game, it will work fine and kill a bunch of skeletons, but then it stops attacking. The program I am using (named startup so it should be running all the time) is:
Code:
while true do
turtle.attack()
end
I don't think I made any coding mistakes, but let me know if that's the case.
I tried putting a chunk loader next to the turtle, which seemed to work for a minute or two the next time I quit and relogged, but again the turtle stopped attacking.
I've tried going into the turtle's GUI and holding CTRL+T to terminate the program, then CTRL+R to restart it. I'm getting the messages in the GUI, which shows the turtle is responding my commands. But it doesn't attack.
The only thing I can think of is that the lag is messing with the turtle. Has anyone else had this issue, or had success at solving/mitigating it? Would it help to add a sleep(1) line to the end of the code? Any other suggestions?