RocketBot
RocketBot copied to clipboard
Suggestion: Randomize Query Location
Probably not good if positions are exact pokestops and others...
private void SetCoordinates(double lat, double lng)
{
Random rnd = new Random();
const double rndRange = 0.00002;
_currentLat = lat + Math.Round((rnd.NextDouble() - 0.5) * rndRange, 6);
_currentLng = lng + Math.Round((rnd.NextDouble() - 0.5) * rndRange, 6);
// _settings.DefaultLatitude = lat;
// _settings.DefaultLongitude = lng;
}
I like it!