-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Realistic geolocation altitudes #4106
Comments
I didn't see a conf entry for altitude. |
It could use elevation information from a GPX file. A rout created from http://www.gpsies.com/ has elevation data in the export:
|
https://developers.google.com/maps/documentation/elevation/intro The bot already require a google maps API key, then let's use the already available functions... |
I may suggest something like that in: PokemonGo-Bot\pokemongo_bot__init__.py
I didn't take a close look at everything in the code but it was looking like a central place to retrieve current bot position to be used as input for most of the call. But I guess there are some place in the code where the returned alt value was ignored and or overwritten eventually... |
Short Description
Currently the bot only sends coordinates with consant altitude to Niantic servers, this could be a way of detecting bot users. Geospacial shapes are not flat and a simple SQL query on stored locations could tell a system wether someone has been walking too much on constant elevation.
Possible solution
Randomizing the value might help but I guess that irrealistic altitude is not a good idea either. There are APIs that tells us realistic heights on latitude/longitude that consist in simple queries to return our desired data.
One candidate I've found is Mapzen Elevation API.
How it would help others
It's one less way to detect botting based on data sent to server.
The text was updated successfully, but these errors were encountered: