Posted 01 May 2012 - 02:27 AM
Hello all,
Today was my first time coding, ever. From reading around I have seen that a good rule of thumb is trying to figure something out yourself. Well, I've tried that for a while and I still can't come up with a solution. (Also, I'm using Tekkit, and because of that, I am using an outdated version MC)
Basically I'm trying to make a light system that will turn on and off when I use the computer system, eventually to when I open the door using the computer. But baby steps. So I found a tutorial to help me get started coding (http://www.minecraft...l-updated-1112/). So I got the redstone to work, but this is where I can't get things to work. As I said, I am using Tekkit, but want to use the Red Alloy Wire for this system instead of Redstone. So first I try using
I also try different combinations of
When trying to do this I get the error of
lua>:1:Attempt to index ? (a nil value)
And when I have all three words have spaces between them I get
lua>:1:Attempt to call Nil
Obviously they are trying to draw from something that doesn't exist, but I really want to know how to do this. I'm completely clueless and all your help will be appreciated. Once I get a good footing, hopefully things will come a little easier.
Today was my first time coding, ever. From reading around I have seen that a good rule of thumb is trying to figure something out yourself. Well, I've tried that for a while and I still can't come up with a solution. (Also, I'm using Tekkit, and because of that, I am using an outdated version MC)
Basically I'm trying to make a light system that will turn on and off when I use the computer system, eventually to when I open the door using the computer. But baby steps. So I found a tutorial to help me get started coding (http://www.minecraft...l-updated-1112/). So I got the redstone to work, but this is where I can't get things to work. As I said, I am using Tekkit, but want to use the Red Alloy Wire for this system instead of Redstone. So first I try using
redalloywire.setOutput("back", true)
I also try different combinations of
Red Alloy Wire.setOutput("back", true)
Redalloywire.setOutput("back", true)
When trying to do this I get the error of
lua>:1:Attempt to index ? (a nil value)
And when I have all three words have spaces between them I get
lua>:1:Attempt to call Nil
Obviously they are trying to draw from something that doesn't exist, but I really want to know how to do this. I'm completely clueless and all your help will be appreciated. Once I get a good footing, hopefully things will come a little easier.