-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GPS return nil value at some coordinate #1530
Comments
Thank you for the report! Just a couple of questions:
|
I was using it on a forge server, but when i log into the server today, gps works normally at that coordinate. But please don't close this issue for now, because this bug has showed up for a several times, I will follow up next time it shows up. |
Thank you, that's very helpful! The problem here is that you're very far away from your GPS array, which causes accuracy to suffer. In this particular case, we can't disambiguate on the y axis between Because the two distances are less than 0.01 away from each other, the GPS library decides that's not accurate enough to guarantee the correct position. The easiest fix here is just to move the GPS hosts further apart. Just shifting the top computer up a few more blocks should help here! If you're trying to serve a massive area, I normally put my GPS hosts in the corners of a chunk, with 14 blocks between them. So something like this: |
Hmm, maybe we should add this as a note on the GPS documentation as a long-range setup. I think we should mention the accuracy issue and its symptoms too. |
Yeah, that's probably not a bad idea. |
Minecraft Version
1.18.x
Version
1.101.2
Details
I was using the ender modem to get the gps coordinates, and as the screenshot shows, gps works normally at (1437,8,1148) but it returns nil after it went one step forward, which is at (1437,8,1149)
The text was updated successfully, but these errors were encountered: