Posted 13 November 2016 - 02:09 PM
(Before starting I wanna say sorry if my english isn't very good to understand…)
Hi, I was trying to create a program in a simple computer to modify the radius of the Digital Miner from mekanism. I tried to understand how does it work, so I wrote :
edit radiusDM
then in the program i wrote :
p = peripheral.wrap("bottom")
p.setRadius(128)
I saved then exit, and when i try to launch the program (writing radiusDM), it says me :
radiusDM:2: attempt to index ? (a nil value)
I tried to watch how to fix it in forums, but as i dont know the program code at all, I wanna ask from myself.
Thanks :)/>
Hi, I was trying to create a program in a simple computer to modify the radius of the Digital Miner from mekanism. I tried to understand how does it work, so I wrote :
edit radiusDM
then in the program i wrote :
p = peripheral.wrap("bottom")
p.setRadius(128)
I saved then exit, and when i try to launch the program (writing radiusDM), it says me :
radiusDM:2: attempt to index ? (a nil value)
I tried to watch how to fix it in forums, but as i dont know the program code at all, I wanna ask from myself.
Thanks :)/>