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

Cant get program to work...

Started by Balla21, 11 April 2016 - 02:57 AM
Balla21 #1
Posted 11 April 2016 - 04:57 AM
https://www.youtube.com/watch?v=KT-2hKjUpGA&index=3&list=PLVKSoibUFoa_BfhTzGywvyI99GJ_sSuKJ

been working with the creator

running CC 1.75

pastebin

http://pastebin.com/4XYCedMC

computer "advanced" butted up agianst Advanced monitor wired modem with red ring on computer and ME controller wtih modem and red ring

:358: attempt to call nil

really puzzled to what is going on.

even changed ISmain to false

monitor is 4Hx8L
Darth_Ben17 #2
Posted 11 April 2016 - 07:45 AM
Are you using the same code as displayed in the video? if so,
Are you sure the code is compatible with AE systems through the controller?
in the comments he says you must connect modems to me chests and drives, you may want to try that.
Bomb Bloke #3
Posted 11 April 2016 - 11:44 AM
358 reads:

wmod.open(mainChannel);

An "attempt to call nil" on that line indicates that "wmod" is set to something that can be indexed, but it doesn't contain an "open" key that can be called.

Now have a think about what line 185 is doing to "wmod" if you have any non-wireless modems connected to your computer.
moTechPlz #4
Posted 11 April 2016 - 11:56 AM
You can build one of more computers and set one of them as the main server by
setting isMain to true. This will let it receive information from other computers.
For the main server to receive info from other computers you need to attach a
wireless modem to each computer.


local isMain = false; --# <-- line 15

isMain should be false in your case. Change line 15 true into false.

even changed ISmain to false

The variable is 'isMain' not 'ISmain'. LUA variables are case sensitive.
Edited on 11 April 2016 - 10:17 AM