PokemonGo-Bot: Bot Ignore given location - Bug

Expected Behavior

Jump to the location and not start from Last location flag.

If you push the location through ./pokecli.py -l “40.XXX,-73.XXXX” it should ignore location_cache.

Actual Behavior

Bot is not Jumping to the given location. It always start at Last location flag.

Not with CLI: ./pokecli.py -l “40.XXX,-73.XXXX” and also not over config.json

LOG

[17:34:22] PokemonGO Bot v1.0 [17:34:22] Configuration initialized [17:34:22] [x] Coordinates found in passed in location, not geocoding. [17:34:22] [17:34:22] Location Found: 40.765840,-73.973439 [17:34:22] GeoPosition: (40.76584, -73.973439, 0) [17:34:22] [17:34:22] [x] Parsing cached location… [17:34:22] [17:34:22] [x] Last location flag used. Overriding passed in location [17:34:22] [x] Last in-game location was set as: (40.764554398120005, -73.97592064488613, 0) [17:34:22] [17:34:22] Attempting login to Pokemon Go. [17:34:24] Login to Pokemon Go successful.

CONFIG.json

"max_steps": 5,
"catch_pokemon": true,
"forts": {
  "spin": true,
  "avoid_circles": true,
  "max_circle_size": 50
},
"websocket_server": false,
"walk": 12.28,
"action_wait_min": 1,
"action_wait_max": 3,
"debug": false,
"test": false,
"health_record": true,
"location_cache": true,
"distance_unit": "km",
"reconnecting_timeout": 15,
"item_filter": {
  "1": { "keep" : 20 },
  "2": { "keep" : 150 },
  "3": { "keep" : 200 },
  "101": { "keep" : 1 },
  "102": { "keep" : 100 },
  "103": { "keep" : 250 },
  "201": { "keep" : 30 },
  "701": { "keep" : 50 }
},
"evolve_all": "all",
"evolve_speed": 6.5,
"evolve_cp_min": 10,
"use_lucky_egg": false,
"hatch_eggs": true,
"longer_eggs_first": true,
"evolve_captured": false,
"release_pokemon": true,

Other Information

OS: OSx Git Commit: be9e7bb79de33a7d177014184c510b2c60513be8

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 16 (4 by maintainers)

Most upvoted comments

@xorinzor I get that for your specific case you dont need it. But lets think about which option is more flexible and better for the overall project instead of what you want?

Not passing CLI: works exactly as it does now

Passing CLI: clears cache, treats it as a temporary override

simple, flexible.