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

Better co-ords?

Started by Kenzo, 08 August 2017 - 07:02 PM
Kenzo #1
Posted 08 August 2017 - 09:02 PM
is there anyway to get co-ords without having gps? is there a mod or something that can get the co-ords of a pocket computer? or can anyone make it
Anavrins #2
Posted 08 August 2017 - 09:57 PM
It would be possible to make an API that, after initially telling its coordinates manually or by GPS, every step it takes is taken into account and updates its coordinates and save them to a file, without using any GPS signals.
Lupus590 #3
Posted 08 August 2017 - 10:07 PM
It would be possible to make an API that, after initially telling its coordinates manually or by GPS, every step it takes is taken into account and updates its coordinates and save them to a file, without using any GPS signals.

Pocket computers have no way to detect motion which is what the OP wants.

What you have said would work with a turtle though, and it's been done several times.
Edited on 08 August 2017 - 09:47 PM
Anavrins #4
Posted 08 August 2017 - 10:35 PM
Completely missed that for some reason.
For pocket computer there isn't really a way currently other than measuring the distance a message has traveled to get to your pocket comp, which is essentially what GPS uses.
I don't know of any mods that implements something like this, considering that modded peripheral for pockets is a thing that's only available in the beta version of CC, I think.
Edited on 08 August 2017 - 08:36 PM