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

[1.42]Rednet upgrades

Started by wilcomega, 05 August 2012 - 11:52 AM
wilcomega #1
Posted 05 August 2012 - 01:52 PM
i would like to have a way to send tables over rednet and of cource tables in tables in tables in tables, you know what i mean.
second of all i would like a antenna block that has a much further range.
it also would be nice to have a sattelite block that reflects light signals, and a signal to light and light to signal converter
and you would have to aim the converters correctry at the sattelite. this sattelite system would be great to connect great distance city's with each other, the antenna would be in the middle of a city to transmit over the whole region

tell me what you think in the poll :P/>/>
Xfel #2
Posted 05 August 2012 - 02:52 PM
look at textutils.serialize/textutils.unserialize for table transmission.
BigSHinyToys #3
Posted 05 August 2012 - 05:51 PM
just about all of this can be done in 1.41 .As mentioned above textutils.serialize() and textutils.unserialize() can be used to send tables Over rednet. Computers or turtles that are Up hight have a greater broadcast range. up to something like a 300 meters in radius. Using code skills it is possible to use both table sending and long range broadcasting to send messages long distances.

So to your fist Question the answers it is already there
and to the second it too is already added. I personal would like to see a special type of Extreme range wifi that requires power to run but can broadcast over 9,000. ok so maybe 10,000
Pharap #4
Posted 06 August 2012 - 06:25 AM
I have to second that, these features do already exist for more experienced programmers if you think about it in the right way.
A range upgrade in item form would be a good idea though (eg modem2.0, double the range of a modem), and to make it fair in survival, have the upgraded modem require more expensive material like gold or diamond. It would make sense since you can then control a turtle from a further distance and go out to make it get materials from further afield.
Sariaz #5
Posted 23 September 2012 - 06:57 AM
A. as has been said sending tables can be done u could also send strings and build a way to reconvert them to tables easily even without the API.
B. besides making transmuting computers be higher, u could relay signals as far as u want (a bit of a pain but do able), or u could just change the config and increase modem range
Sebra #6
Posted 23 September 2012 - 09:55 AM
Sending tables should cost you little effort. Just learn to do it.
Wireless range already high enough using right technique. And can be configured.
If ChickenBones Wireless would be added as modem alternative range would not be limited.
KaoS #7
Posted 25 September 2012 - 07:45 AM
I have wanted to be able to send tables over rednet for a while now, I know you can serialize and unserialize but then you are making a text copy, this is not the actual table. Unfortunately it would be difficult to implement due to the object then synchronising on both PCs
Cloudy #8
Posted 25 September 2012 - 11:14 AM
I have wanted to be able to send tables over rednet for a while now, I know you can serialize and unserialize but then you are making a text copy, this is not the actual table. Unfortunately it would be difficult to implement due to the object then synchronising on both PCs

Why does it matter if it isn't the same table?
immibis #9
Posted 25 September 2012 - 12:27 PM
I have wanted to be able to send tables over rednet for a while now, I know you can serialize and unserialize but then you are making a text copy, this is not the actual table. Unfortunately it would be difficult to implement due to the object then synchronising on both PCs

Why does it matter if it isn't the same table?

You can't change it on one computer and have it magically change on the others, maybe.
KaoS #10
Posted 25 September 2012 - 01:21 PM
well what you could do then is when a PC starts up it requests authentication from a main host, that host sends it a table, there is not way of creating a table with a specified reference so it is not possible to duplicate that table, you can then use it to authenticate messages to be sure they come from the server PC, even if routed through a forwarding system, this still has issues as if you have a PC listening you can get a copy but it woud be another way to protect your system in addition to others

EDIT:
I have wanted to be able to send tables over rednet for a while now, I know you can serialize and unserialize but then you are making a text copy, this is not the actual table. Unfortunately it would be difficult to implement due to the object then synchronising on both PCs

Why does it matter if it isn't the same table?

You can't change it on one computer and have it magically change on the others, maybe.

That is why I said it would be hard to implement, you would have to prevent this
Edited on 25 September 2012 - 11:22 AM
Sebra #11
Posted 25 September 2012 - 04:16 PM
For such security you have two ways:
Bad with heavy encryption.
Good with trusted routers.
KaoS #12
Posted 26 September 2012 - 07:06 AM
either way I doubt it will be implemented, it just isn't worth the trouble. Leave Dev to add the awesome stuff :P/>/>