Posted 01 February 2013 - 03:12 AM
I took it upon myself to fix it, but left their original credits in the code.
I now also added the sphere dome builder that posted here: http://www.computerc...d-dome-builder/
- Rectangles (or squares, as a convenience method)
- Floors (or roofs)
- Rooms (combines walls, floors and roof)
- Pyramids (hollow or filled)
It is extremely basic, though it does try to take into account fuel levels and the amount of blocks left available to built with (that is, if it runs out of either, it will stop, and patiently wait until you come to refuel or refill it, then continue).
If I write it builds a line, it probably does exactly what you imagine it does but for those whom want to see what it does, here are some screenshots: http://min.us/mmS6gwT0ydSRf
One thing to note is that it always takes the block UNDER it as the starting point, and always builds from left to right, and from front to back. So if you tell it to build a room 6 wide and 6 deep, the left wall will be at the starting point, and the right wall 6 blocks to the right of that.
I try to make everything consistent, please let me know if it does something weird.
You can use it with both normal and mining turtles. Mining turtles have the added benefit that they smash whatever is in the way of what they are building, normal turtles may just give up if something is in the way.
Do not expect it to restart gracefully if the chunk unloads, or if your server reboots. I do not generally expect people to build while they are not around so I didn't bother for now.
Posted 01 February 2013 - 03:46 AM
Posted 01 February 2013 - 03:47 AM
Good job so far though!
Posted 01 February 2013 - 07:00 AM
perhaps a Pyramid (either hollow or not) would be good to add too!
i also like that you defined where it starts and which direction it builds. in my experience it takes a few tries to get the turtle to build right where you want it so this helps!
Posted 02 February 2013 - 02:21 PM
Good job though. More shapes would be good
Posted 02 February 2013 - 09:10 PM
I've used the spherebuilder script posted by xInDiGo. No sense in making it myself if it already exists and works perfectly.
Posted 02 February 2013 - 09:13 PM
Posted 08 February 2013 - 10:27 PM
Posted 09 February 2013 - 05:32 AM
This is what I have used it so far and it worked great.
Cylinder = Worked great..
Pyramids = Worked great.
Walls = Worked great.
Walls = Bugged. The floor and the celling go one way and the room goes the other.
I am going to go test all the others right now.
Again. Thanks for this! I think it is great. Ill get back after I test all the rest of the shapes.
Posted 09 February 2013 - 06:36 AM
But if you build a 12 x 8 x 7 it puts the roof and floor in the wrong way.
back to testing.
Posted 09 February 2013 - 07:09 AM
When it runs out of blocks in slot 1 it uses the blocks it picks up.
Posted 11 February 2013 - 08:08 AM
it doesn't handle sand or gravel very well, and when it starts picking up junk blocks in its first slot it will place those blocks as part of the shape
Posted 22 February 2013 - 06:34 AM
It really just becomes hard for us more creative types, I assume there's math involved.
My request is that you change it or add the option to start building from the center block so that turtle placement is a snap.
Posted 25 February 2013 - 08:04 AM
Posted 28 February 2013 - 10:50 AM
Posted 04 March 2013 - 05:06 AM
Nice work, please update and add sphere and hexagon. Loving this already.
/edit: The room wall calculation is wrong, it starts the first wall correct but then continues to build the to the left side instead of to the right side. So one of the walls is right, the other three are not in their correct positions.
Posted 07 March 2013 - 12:19 PM
The other code is unchanged.
/edit: Updated the paste again, now should be able to build spheres. (updated now, pastebin finally up)
Another idea: It may make sense to make this project communitydriven, so hosting it on Github might be a good idea. Makes modifying and managing it far easier. So fixes like mine could be merged into the project without changing the Opening Post too much. And of course a versatile shape builder could be more useful than like 5 small ones.
Edited by Keridos, 07 March 2013 - 04:34 PM.
Posted 12 March 2013 - 06:03 AM
This is probably because you have fuel disabled. I'm getting the same error for any program that checks fuel, and my server's admins are 2 to 1 against turning fuel back on for compatibility I am not happy with them.
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users