Posted 29 September 2014 - 02:57 PM
Hello,
I wrote a fairly simple script to help build wall sections of a building. The script contains a refueling function, various wall section functions, and the actual script part which splits and parses a command string.
usage: buildWall 3n,e,c,2n,d,2n
This would be interpreted as, build three normal sections, edge, corner, two normals, divider, two normals. It builds a 1x11 vertical section of wall, then moves to the right and down to start the next section.
The turtle seems to build fine the first time, but if I destroy the wall, and have it do the section over again, it will skip commands. Usually after laying 4 blocks or so, it starts to miss move or place orders at random. I'm not 100% sure it only happens when re-building a wall, but that seems to be the case. The wall is being built in a level area, in a mystcraft world.
Do I need to wait for a true/false from a move command before performing a place? Do I need to add sleeps somewhere? I'm not really sure. I haven't been able to find this happening to anyone else.
http://pastebin.com/UZ5pKcLb
I will post some pictures later when I'm back at home of what happens.
Thanks!
I wrote a fairly simple script to help build wall sections of a building. The script contains a refueling function, various wall section functions, and the actual script part which splits and parses a command string.
usage: buildWall 3n,e,c,2n,d,2n
This would be interpreted as, build three normal sections, edge, corner, two normals, divider, two normals. It builds a 1x11 vertical section of wall, then moves to the right and down to start the next section.
The turtle seems to build fine the first time, but if I destroy the wall, and have it do the section over again, it will skip commands. Usually after laying 4 blocks or so, it starts to miss move or place orders at random. I'm not 100% sure it only happens when re-building a wall, but that seems to be the case. The wall is being built in a level area, in a mystcraft world.
Do I need to wait for a true/false from a move command before performing a place? Do I need to add sleeps somewhere? I'm not really sure. I haven't been able to find this happening to anyone else.
http://pastebin.com/UZ5pKcLb
I will post some pictures later when I'm back at home of what happens.
Thanks!