Jump to content




Help with Rednet


  • You cannot reply to this topic
5 replies to this topic

#1 MarioBG

  • Members
  • 43 posts
  • LocationSpain (or Hisperia)

Posted 09 May 2012 - 05:50 AM

Hello, first of all, I'm in CC 1.21 because i don't want to update my MC. My question is, how long does a message take to be transmitted via rednet in bundled cables? Thanks!

#2 Cloudy

    Ex-Developer

  • Members
  • 2,543 posts

Posted 09 May 2012 - 10:22 AM

Depends how long the message is. Try it and find out?

#3 MarioBG

  • Members
  • 43 posts
  • LocationSpain (or Hisperia)

Posted 09 May 2012 - 01:09 PM

View PostCloudy, on 09 May 2012 - 10:22 AM, said:

Depends how long the message is. Try it and find out?
I have tried, but it takes ages. The point is, would anyone tell me what is the average time for transmitting a character, so I would calculate the time to transfer my programs? Thanks!

#4 OmegaVest

  • Members
  • 436 posts

Posted 09 May 2012 - 07:21 PM

You can look into the API to find out. I think (last I checked) the delay for cable updates was close to 0.13 seconds. But I don't have it in front of me, so I don't know specifically. And it would take me about an hour to find the correct line of code again.

#5 MarioBG

  • Members
  • 43 posts
  • LocationSpain (or Hisperia)

Posted 11 May 2012 - 05:32 PM

Thanks Omega! Do you remember what was the name of the variable? I could change it for my computer not to hyper-lag and making it work! Thanks in advance!

#6 OmegaVest

  • Members
  • 436 posts

Posted 11 May 2012 - 06:37 PM

Ah, actually I think it was just put in the middle of the function. Just. . . dig through til you find it. Or, open the rednet api in a text editor and crtl-f "sleep" You'll probably get close to or over a hundred results, but that will speed your process (I think).





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users