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

Big Reactors Reactor not connecting to computer

Started by manboy777, 13 May 2015 - 04:43 PM
manboy777 #1
Posted 13 May 2015 - 06:43 PM
For some reason my computer isn't being connected to my reactor, I've worked on this problem for a solid hour and it still wont work, please help.

Pictures are here:http://imgur.com/5AP...xISvbc6,LKV8RkY

The first image is the output of my startup.

The 2nd is of the setup I have.

And the last picture is my startup code.

Note that I am pretty new to LUA so if you could talk to me like I'm 5 that would be awesome.
Lyqyd #2
Posted 13 May 2015 - 06:54 PM
You have to actually call the peripheral method. `getConnected` is nil, since you haven't defined a value for it. `reactor.getConnected`, on the other hand, will be a function if you have successfully wrapped a reactor peripheral. You would need to call it with `reactor.getConnected()` to actually get the connected/disconnected value.

The other problem is that you're wrapping the modem on the back of the computer rather than the reactor computer port hooked up to the other modem. You'd need to change the "back" side you're using with peripheral.wrap to whatever peripheral name the modem announced in chat when you right-clicked to activate it (you can right-click it twice to disconnect and reconnect it, which will announce the name again). It will probably look something like "BigReactors_Reactor_0".
manboy777 #3
Posted 13 May 2015 - 07:01 PM
That worked, thank you so much!