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

Finding and using vectors?

Started by jaffacakesareamazing, 28 April 2014 - 05:21 PM
jaffacakesareamazing #1
Posted 28 April 2014 - 07:21 PM
I am creating a system that uses the code from the inbuilt 'Chat' program to create a large wireless IM (Instant Messaging) system.

I have set a vector point for where the chat host computer is and it measures the distance fine. However the Rednet system is limited in distance. I can use the repeat program to overcome this problem, however, the GPS:
1) Does not reach as far
2) Does not measure from the repeater computer and instead the original chat computer.

Is there any way to get past this problem? What I am hoping to make is something like an IM system that works over a network like a phone one, that has repeaters every now and again (I don't really know how phone networks work) and then relays this info back to the main chat computer.

Is there anyway to do this? Thanks :)/>

PS: I hope this makes sense to anyone who reads it and I have made myself look like a total idiot.
MKlegoman357 #2
Posted 28 April 2014 - 09:54 PM
I don't see why would you want to get the distance or position of a device for an IM app. Just use repeaters to send long distant messages.