Jump to content




rednet.send() is broadcasting


  • You cannot reply to this topic
1 reply to this topic

#1 libraryaddict

  • New Members
  • 195 posts

Posted 10 May 2012 - 07:41 AM

I'm working on my own custom chat program atm.
Its going very well atm!

But when I loaded up another computer to check if there was anything broadcasted..
I found out there was..
This is the offending line.
rednet.send(Server, tag(os.clock()..os.getComputerID())..tag("LibChatServer")..Person..": "..ChatInput)

Server is 11
I checked and the server that should only receive is 11.
The computer that received it is ID 1 and ID 2.
I do not know why its being broadcasted.
There is no "rednet.broadcast" in my script but for the start up.
And that can not be the offending line.

I havn't touched the rednet API file.


Edit!
I think I was trying to use my table as a variable..
Wondered why I said Host when I said "Server" was the one.

#2 BigSHinyToys

  • Members
  • 1,001 posts

Posted 10 May 2012 - 05:04 PM

rednet.send will broadcast if no ID is specified make shore the ID is correct and that the var that holds it is not nil
I have no idea why it does this thought.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users