This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
AeonWars's profile picture

How to make Turtle Dome Builder ?

Started by AeonWars, 01 September 2016 - 05:00 PM
AeonWars #1
Posted 01 September 2016 - 07:00 PM
Hi , i'm a newbie on programing and i've find this pastebin : KBJ1wDz0 , to make a turtle build a dome for me ( Of 51x51x26 )


When i do pastebin run KBJ1wDz0 , It say
attempt to perform arithmetic __mul on nil and number


And i didnt understand what's this x) , Someone know why it dosent works ? Or have another version to build my ? ty for response ^^

I'm not english sorry for that bad english :c
TheRockettek #2
Posted 01 September 2016 - 11:28 PM
if you look in the code it says:

– usage: sdbuild <type> <radius> [-c]
– type should be either dome or sphere
– radius is distance from centre - total width is actually 2 * radius + 1
– the structure will be built with its lowest point on the level the turtle is at
– the block the turtle starts on will be the horizontal centre
– if -c is passed, will only calculate number of blocks required and not build

run:

sdbuild "dome" 25

25 radius

= 1 + r*2
(center block and 2 radi)
=51
AeonWars #3
Posted 02 September 2016 - 06:26 PM
if you look in the code it says:

– usage: sdbuild <type> <radius> [-c]
– type should be either dome or sphere
– radius is distance from centre - total width is actually 2 * radius + 1
– the structure will be built with its lowest point on the level the turtle is at
– the block the turtle starts on will be the horizontal centre
– if -c is passed, will only calculate number of blocks required and not build

run:

sdbuild "dome" 25

25 radius

= 1 + r*2
(center block and 2 radi)
=51

Yea but when i try to run the pastebin he say that :




EDIT: Ok i've find how to run it , now it say that , but there's nothing above:
Edited on 02 September 2016 - 04:48 PM
Lupus590 #4
Posted 02 September 2016 - 07:00 PM
does the turtle have fuel? put some coal/wood in there and type refuel
CCJJSax #5
Posted 02 September 2016 - 07:36 PM
Also that message is saying that there may be something blocking it's movement. Clear the area first. I'm not sure if that program can clear the area it needs.
TheRockettek #6
Posted 02 September 2016 - 07:38 PM
The area needs to be empty
Lupus590 #7
Posted 02 September 2016 - 07:52 PM
…but there's nothing above [the turtle]…
AeonWars #8
Posted 02 September 2016 - 08:19 PM
does the turtle have fuel? put some coal/wood in there and type refuel


Okk i'm stupid thank you , it work now ^^"
CCJJSax #9
Posted 02 September 2016 - 09:21 PM
…but there's nothing above [the turtle]…

ah. fair play. you were a worthy adversary sir Lupus590
AeonWars #10
Posted 03 September 2016 - 12:02 AM
Ty all ^^ ! :