Posted 22 February 2013 - 10:46 AM
I think I need some help with the new modem update.
What I am having trouble with is how to send/receive? I have tried this:
computer 2:
What am I doing wrong?
Does computer 1 have to do something else to receive it?
Does computer 2 have to do something else to send it?
Is it both?
And Yes, i started computer 2 after computer 1.
What I am having trouble with is how to send/receive? I have tried this:
Spoiler
computer 1:
modem.open(1)
local receiver = {os.pullEvent("modem_message")}
for k,v in pairs(receiver) do
print(v)
end
computer 2:
modem.open(1)
modem.transmit(1, 2, "hello world")
What am I doing wrong?
Does computer 1 have to do something else to receive it?
Does computer 2 have to do something else to send it?
Is it both?
And Yes, i started computer 2 after computer 1.