It work's great, but sometimes it doesn't realise it's out of blocks i guess and keeps moving forward without placing anything. Other than that, Great script!
6
Sphere and Dome Builder
Started by pruby, Apr 08 2012 11:41 AM
90 replies to this topic
#81
Posted 04 September 2013 - 09:38 AM
#82
Posted 12 September 2013 - 09:29 PM
i've noticed mine also doesn't realize it is out of blocks
#83
Posted 13 September 2013 - 02:37 AM
I replaced the placeBlock function with this:
I have not tetsted it yet, but if you put an enderchest in slot 16 (with building material in it) then it should stay full forever. You WILL need a mining turtle now though.
EDIT: Fixed typo, cheers Kreezxil
local slot = 1 function placeBlock() -- Cost calculation mode - don't move blocks = blocks + 1 if cost_only then return end repeat if turtle.getItemCount(slot) < 1 then slot = slot + 1 if slot == 16 then turtle.select(16) turtle.placeUp() turtle.select(1) repeat turtle.suckUp() sleep(0) until turtle.getItemCount(15) > 0 turtle.select(16) repeat turtle.dropUp() sleep(0) until turtle.getItemCount(16) == 0 turtle.digUp() turtle.select(1) slot = 1 end turtle.select(slot) end until turtle.getItemCount(slot) > 0 turtle.placeDown() end
I have not tetsted it yet, but if you put an enderchest in slot 16 (with building material in it) then it should stay full forever. You WILL need a mining turtle now though.
EDIT: Fixed typo, cheers Kreezxil
#84
Posted 14 September 2013 - 08:24 AM
campicus, on 13 September 2013 - 02:37 AM, said:
I replaced the placeBlock function with this:
I have not tetsted it yet, but if you put an enderchest in slot 16 (with building material in it) then it should stay full forever. You WILL need a mining turtle now though.
Spoiler
I have not tetsted it yet, but if you put an enderchest in slot 16 (with building material in it) then it should stay full forever. You WILL need a mining turtle now though.
Dude! You have a typo, perhaps you should test before posting. Btw did you know you can use the pastebin command to push your code to the internet, it'll respond with a link that you can put into here. An even better way would be to use any of the pastebin replacements, my favorite is "market" from turtlescripts.com because it is better on the management side of things.
#85
Posted 14 September 2013 - 10:47 AM
Thanks for finding that typo mate, I didn't have access to minecraft at the time and I just wanted to quickly help those who were having issues. Should definitely test before posting, my bad.
Had not heard of "market", I just use pastebin in conjunction with Smart Paste (which I changed so it replaces previously existing files). Quick and painless
Still have not tested that code... it's been a long few days lol
Had not heard of "market", I just use pastebin in conjunction with Smart Paste (which I changed so it replaces previously existing files). Quick and painless
Still have not tested that code... it's been a long few days lol
#86
Posted 15 March 2014 - 12:59 PM
The problem I'm having with this program is that a radius 4 dome does not make a 9 diameter dome as http://www.plotz.co.uk/ would make it. I'm concerned it does not make domes and spheres correctly.
Thanks,
IMarv
Thanks,
IMarv
#87
Posted 16 March 2014 - 01:37 AM
Btw: prubys code is merged into the shape builder here: http://www.computerc...st-refill-mode/
it even supports resuming and enderchest refilling and can build a variety of other shapes aswell. You might want to check that out...
it even supports resuming and enderchest refilling and can build a variety of other shapes aswell. You might want to check that out...
#88
Posted 31 March 2014 - 11:44 AM
When I run the program, it gives me the message "Blocked attempting to move up. Please clear and press enter to continue." I get this even when the turtle is floating in midair with nothing blocking it. Help?
#89
Posted 31 March 2014 - 01:23 PM
FastPoke82, on 31 March 2014 - 11:44 AM, said:
When I run the program, it gives me the message "Blocked attempting to move up. Please clear and press enter to continue." I get this even when the turtle is floating in midair with nothing blocking it. Help?
#90
Posted 31 March 2014 - 02:20 PM
Cranium, on 31 March 2014 - 01:23 PM, said:
FastPoke82, on 31 March 2014 - 11:44 AM, said:
When I run the program, it gives me the message "Blocked attempting to move up. Please clear and press enter to continue." I get this even when the turtle is floating in midair with nothing blocking it. Help?
I think it is a problem in the program because I tested it with the new ComputerCraft version 1.6 and the last version before 1.6 and both did not work. I took a look at the source code but even if I remove the part that stops the program, it won't work.
#91
Posted 01 April 2014 - 11:00 PM
Hmm... can anyone recommend another sphere builder that will work? Or do we just have to wait for this to update?
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users