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

Redtest.net - Tests The Rednet Link Ping And Speed!

Started by TableCraft0R, 12 October 2013 - 04:19 AM
TableCraft0R #1
Posted 12 October 2013 - 06:19 AM
RedTest



Want to know why your rednet is slow?
Then Try This program now!

The aim of this program is to test the latency and get the bit rate of your network.


Screenshots
SpoilerGraphical Version


Text Version


Server


make sure that the wireless modem is on back.

Graphical Speedtest link
http://pastebin.com/enqXAuEd

Server Link
http://pastebin.com/ZiKu7W9R

Text Version
http://pastebin.com/iM1GGfJZ

Also, Create a file named SpeedFile in the location of program with a size of 1MB.
amtra5 #2
Posted 12 October 2013 - 07:42 AM
I don't see how this could be of use…
M4sh3dP0t4t03 #3
Posted 12 October 2013 - 08:43 AM
I can't see any use of this and the server side will crash after 256 rednet messages because there will be a stackoverflow.
Edit: fixed typo that was made by the autocorrection on my iPad(it changed rednet to redneck)
Yevano #4
Posted 12 October 2013 - 10:09 AM
the server side will crash after 256 redneck messages because there will be a stackoverflow.

Correct me if I'm wrong, but it looks like it would get compiled to use tail recursion, since the gs call always happens at the end of control flow in the function.

Edit: Nevermind, the calls would have to be changed to return gs() instead of just gs().
ElvishJerricco #5
Posted 12 October 2013 - 01:16 PM
It may be useless but it's an interesting performance benchmark.
Xenthera #6
Posted 12 October 2013 - 05:09 PM
I can't see any use of this and the server side will crash after 256 redneck messages because there will be a stackoverflow.

lol'd. Those dang redneck messages.
MudkipTheEpic #7
Posted 13 October 2013 - 10:36 AM
I can't see any use of this and the server side will crash after 256 redneck messages because there will be a stackoverflow.


Tell me MORE!!!

Also, I see how this could have SOME use on a laggy server.
_VoiceActorMan_ #8
Posted 14 December 2013 - 04:39 PM
I can't see any use of this and the server side will crash after 256 rednet messages because there will be a stackoverflow.
Edit: fixed typo that was made by the autocorrection on my iPad(it changed rednet to redneck)

It only allows up to 256 modems? I thought cc max number was set bit java architecture not locked by 16 bits.
Lyqyd #9
Posted 15 December 2013 - 03:07 AM
No. It would crash because they're trying to use recursion instead of an actual infinite loop, so they blow out the call stack after 256 messages (since that's what causes it to recurse).
apemanzilla #10
Posted 15 December 2013 - 11:21 PM
Hmmm… I'm interested to see how this would work with ApeNet if I run

rednet = apenet
first. We may have an actual use! :P/>/>/>
Edited on 15 December 2013 - 10:22 PM