How to force the bot to use a specified location and not the last used location
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)
did you pull recent code? this is sorted. checks if config location changed and if yes it overrides last in-game
Turn off use cached location in config file
it works fine with cached loc. on (and i would keep cached on..)
note: I mean if you are on dev.
if he keeps cached on it will not use the location he sets. So why should he keep it on?
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
just rm data/location..xxx... when you want it to not use last location
Yes, you have to remove the file data/last-location-username.json so you have no previous location stored.
Thanks :D its working now