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

npaintpro 3d printing not working

Started by unclenorton, 01 May 2017 - 05:18 AM
unclenorton #1
Posted 01 May 2017 - 07:18 AM
Whenever i start 3d printing and the turtle tries to place a block it gives me this error:

http://i.imgur.com/cKD8JqH.png

And the turtle shows this:

http://i.imgur.com/jcldFth.png

it gives me an error at every line that looks like this: material = math.log10(frames[py][pz][px])/math.log10(2) + 1

EDIT: I got it to start building by changing "material = math.log10(frames[py][pz][px])/math.log10(2) + 1" to "material = 1", but obviously it only uses the material in slot 1, i need to make it work like intended
Edited on 01 May 2017 - 04:22 PM
KingofGamesYami #2
Posted 02 May 2017 - 12:34 AM
math.log10 doesn't normally exist IIRC. Try using math.log in it's place.
unclenorton #3
Posted 02 May 2017 - 11:10 AM
math.log10 doesn't normally exist IIRC. Try using math.log in it's place.
Nevermind, it actually worked, THANK YOU!!