PokemonGo-Bot icon indicating copy to clipboard operation
PokemonGo-Bot copied to clipboard

How to force the bot to use a specified location and not the last used location

Open Parth6182 opened this issue 10 years ago • 8 comments

Use specified location

Uses location where it left off

[01:01:05] [x] Coordinates found in passed in location, not geocoding. [01:01:05] [01:01:05] Location Found: 37.787994,-122.407440 [01:01:05] GeoPosition: (37.787994, -122.40744, 0) [01:01:05] [01:01:05] [x] Parsing cached location... [01:01:05] [01:01:05] [x] Last location flag used. Overriding passed in location [01:01:05] [x] Last in-game location was set as: (37.7963525004378, -122.39431257768616, 0)

Parth6182 avatar Jul 31 '16 19:07 Parth6182

did you pull recent code? this is sorted. checks if config location changed and if yes it overrides last in-game

jayhostan avatar Jul 31 '16 19:07 jayhostan

Turn off use cached location in config file

nburn42 avatar Jul 31 '16 19:07 nburn42

it works fine with cached loc. on (and i would keep cached on..)

note: I mean if you are on dev.

jayhostan avatar Jul 31 '16 20:07 jayhostan

if he keeps cached on it will not use the location he sets. So why should he keep it on?

Nathanian avatar Jul 31 '16 20:07 Nathanian

starting location is stored in the same file as last in-game. so if he changes the starting loc. the bot realises that and overrides cached one.. so new loc. works and avoiding teleports is in place as well. (guys writing this bot are smart..) thats why

jayhostan avatar Jul 31 '16 20:07 jayhostan

just rm data/location..xxx... when you want it to not use last location

sgitkene avatar Jul 31 '16 20:07 sgitkene

Yes, you have to remove the file data/last-location-username.json so you have no previous location stored.

antoineneff avatar Jul 31 '16 20:07 antoineneff

Thanks :D its working now

Parth6182 avatar Aug 01 '16 10:08 Parth6182