Reuse last location option
After 20-30 minutes, I need to restart this bot, and change the lat&long manually. It would be great if there was an option to automatically use the latest location
EDIT by @jabbink: add as config flag with default true, please.
While I do agree that it would be neat, why not just wait 1 or 2 minutes and restart the bot from the original location?
If you login via PTC instead of Google, you should not need to restart the bot. It's a problem with the current API release
@lxath in order to have good farm you need to walk and find pokemon. Spawns take approx 7-8 minute to refresh. Also 5 minutes is the time for pokestop refresh. 1-2 mins would be short, but i'm restarting bot every 8 minutes. Never got softbanned.
The problem of the token expiration is goong to be fixed in https://github.com/Grover-c13/PokeGOAPI-Java/pull/165. We'll still going to add a way to save last coordinates.
If we get Sqlite integration this is trivial.
I think this might not be as necessary as you think - when I use the bot in the middle of my town, it finds 218 pokestops. Assuming it takes 15 seconds to walk from one to the other, it will never run out of pokestops in the area.
@apottere it would not run out of poke stops, but let's say it walks a few miles/km further, and you restart it immediately, and it jumps back those few miles/km because the coordinates are still the same as last time you ran it. At this point it wouldn't be a big problem, but if they would improve their gps spoof security there could be a lot of soft bans
I've already been soft banned for jumping too far with this.
I agree with this enhancement. Perhaps the bot could just write to the properties-file, the same way it writes the token. Just have it update the location settings in the properties-file if some setting has been enabled. This would allow more automation in running/restarting the bot as service, etc.
+1 It would be great to save the latest position of the bot! (Or add an extra option :) )
anyone know the status on this?
Taking ownership
Taking ownership
I already have most of this done, but my InteliJ merging screwed stuff up
I'll leave it to you then ^^
Implemented in #1129