6 posts
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
726 posts
Location
Rem is best girl
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
6 posts
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
2427 posts
Location
UK
Posted 02 September 2016 - 07:00 PM
does the turtle have fuel? put some coal/wood in there and type refuel
259 posts
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.
726 posts
Location
Rem is best girl
Posted 02 September 2016 - 07:38 PM
The area needs to be empty
2427 posts
Location
UK
Posted 02 September 2016 - 07:52 PM
…but there's nothing above [the turtle]…
6 posts
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 ^^"
259 posts
Posted 02 September 2016 - 09:21 PM
…but there's nothing above [the turtle]…
ah. fair play. you were a worthy adversary sir Lupus590
6 posts
Posted 03 September 2016 - 12:02 AM
Ty all ^^ ! :