PokemonGo-Bot: MoveToMapPokemon is not working with latest commit. Help.

===============ISSUE SECTION===============

Expected Behaviour

The bot walk or snipe to Pokemon with MoveToMapPokemon.

Actual Behaviour

The Pokemon Map is working. I can see that it finds pokemon the bot should walk to via localhost. The bot is not walking or sniping to any pokemon. I have updated to the latest version.

Your FULL config.json (remove your username, password, gmapkey and any other private info)

"libencrypt_location": "",
"enable_social": false,
"websocket_server": true,
"heartbeat_threshold": 13,

"tasks": [
  {
    "//NOTE: This task MUST be placed on the top of task list": {},
    "type": "RandomAlivePause",
    "config": {
      "enabled": true,
      "min_duration": "00:01:10",
      "max_duration": "00:5:00",
      "min_interval": "00:5:00",
      "max_interval": "00:25:00"
    }
  },
  {
    "type": "RandomPause",
    "config": {
      "enabled": true,
      "min_duration": "00:5:10",
      "max_duration": "00:15:00",
      "min_interval": "00:18:00",
      "max_interval": "00:48:00"
    }
  },
  {
    "type": "CompleteTutorial",
    "config": {
      "enabled": false,
      "// set a name": "",
      "nickname": ""
    }
  },
  {
    "type": "MoveToMapPokemon",
    "config": {
      "address": "http://localhost:5000",
      "max_walking_distance": 500,
      "max_sniping_distance": 6000000,
      "min_time": 10,
      "min_ball": 20,
      "prioritize_vips": true,
      "snipe": true,
      "snipe_high_prio_only": true,
      "snipe_high_prio_threshold": 1150,
      "update_map": false,
      "map_path": "raw_data",
      "walker": "StepWalker",
      "mode": "priority",
      "catch": {
        "Poliwag": 10,
        "Nidoran F": 10,
        "Nidoran M": 10,
        "Clefairy": 15,
        "Bellsprout": 10,
        "Slowpoke": 10,
        "Eevee": 20,
        "Oddish": 20,
        "Geodude": 50,
        "Abra": 50,
        "Diglett": 100,
        "Vulpix": 100,
        "Kabuto": 100,
        "Muk": 300,
        "Poliwrath": 200,
        "Golem": 200,
        "Weezing": 300,
        "Electrode": 300,
        "Primeape": 300,
        "Mr-mimi": 1000,
        "Chansey": 1000,
        "Alakazam": 600,
        "Omastar": 500,
        "Kabutops": 500,
        "Raichu": 600,
        "Tauros": 500,
        "Dugtrio": 500,
        "Bulbasaur": 400,
        "Charmander": 500,
        "Charmeleon": 600,
        "Squirtle": 300,
        "Pikachu": 600,
        "Growlithe": 400,
        "Machop": 300,
        "Grimer": 200,
        "Exeggcute": 500,
        "Omanyte": 100,
        "Koffing": 200,
        "Dratini": 600,
        "Lapras": 1000,
        "Electabuzz": 1000,
        "Magmar": 600,
        "Ditto": 900,
        "Arcanine": 980,
        "Machamp": 700,
        "Blastoise": 980,
        "Venusaur": 1100,
        "Charizard": 1100,
        "Slowbro": 300,
        "Nidoqueen": 150,
        "Nidoking": 150,
        "Clefable": 100,
        "Victreebel": 200,
        "Jolteon": 200,
        "Magneton": 100,
        "Gengar": 100,
        "Machoke": 80,
        "Vileplume": 400,
        "Exeggutor": 1200,
        "Aerodactyl": 600,
        "Snorlax": 1150,
        "Articuno": 1200,
        "Zapdos": 1300,
        "Moltres": 1300,
        "Dragonair": 800,
        "Dragonite": 1200,
        "Mewtwo": 1300,
        "Mew": 1300
      }
    }
  },
  {
    "type": "HandleSoftBan"
  },
  {
    "type": "CollectLevelUpReward"
  },
  {
    "type": "IncubateEggs",
    "config": {
      "longer_eggs_first": true
    }
  },
  {
    "type": "UpdateLiveInventory",
    "config": {
      "enabled": true,
      "min_interval": 1200,
      "show_all_multiple_lines": false,
      "items": ["pokemon_bag", "space_info", "pokeballs", "greatballs", "ultraballs", "razzberries"]
    }
  },
  {
   "type": "TransferPokemon",
   "config": {
   "min_free_slot": 5,
   "transfer_wait_min": 1,
   "transfer_wait_max": 4
  }
  },
  {
    "type": "EvolvePokemon",
    "config": {
      "enabled": true,

        "// evolve only pidgey and drowzee": "",
        "// evolve_list": "pidgey, drowzee",
        "// donot_evolve_list": "none",

        "// evolve all but pidgey and drowzee": "",
        "// evolve_list": "all",
        "// donot_evolve_list": "pidgey, drowzee",

        "evolve_list": "Magikarp, Psyduck, Poliwag, Poliwhirl, Drowzee, Slowpoke, Staryu, Eevee, Krabby, Goldeen, Pidgeotto, Bellsprout, Gastly, Oddish, Horsea",
        "donot_evolve_list": "none",

      "first_evolve_by": "cp",
      "evolve_above_cp": 120,
      "evolve_above_iv": 0.9,
      "logic": "and",
      "min_evolve_speed": 30,
      "max_evolve_speed": 40,
      "use_lucky_egg": false
    }
  },
  {
    "type": "RecycleItems",
    "config": {
      "enabled": true,
      "min_empty_space": 10,
      "max_balls_keep": 130,
      "max_potions_keep": 160,
      "max_berries_keep": 30,
      "max_revives_keep": 50,
      "item_filter": {
        "Pokeball":       { "keep" : 5 },
        "Potion":         { "keep" : 5 },
        "Super Potion":   { "keep" : 5 },
        "Hyper Potion":   { "keep" : 60 },
        "Max Potion":     { "keep" : 100 },
        "Revive":         { "keep" : 30 },
        "Max Revive":     { "keep" : 40},
    "Greatball":      { "keep" : 70 },
        "Ultraball":      { "keep" : 100 },
        "Razz Berry":     { "keep" : 30 }
      }
    }
  },
    {
      "type": "CatchPokemon",
      "config": {
        "catch_visible_pokemon": true,
        "catch_lured_pokemon": true,
            "daily_catch_limit": 500,
        "min_ultraball_to_keep": 2,
        "catch_throw_parameters": {
          "excellent_rate": 0.1,
          "great_rate": 0.1,
          "nice_rate": 0.4,
          "normal_rate": 0.4,
          "spin_success_rate" : 0.3
        },
              "catch_simulation": {
                "flee_count": 2,
                "flee_duration": 2,
                "catch_wait_min": 1,
                "catch_wait_max": 3,
                "berry_wait_min": 2,
                "berry_wait_max": 3,
                "changeball_wait_min": 2,
                "changeball_wait_max": 3
              }
      }
    },
  {
    "type": "SpinFort",
    "config": {
      "spin_wait_min": 2,
      "spin_wait_max": 8
       }
  },
  {
    "type": "MoveToFort",
    "config": {
        "lure_attraction": true,
        "lure_max_distance": 1000
    }
  },
  {
    "type": "FollowSpiral",
    "config": {
      "diameter": 1,
      "step_size": 5
    }
  }
],
"map_object_cache_time": 5,
"forts": {
  "avoid_circles": true,
  "max_circle_size": 10
},
"walk_max": 3,
"walk_min": 1,
"sleep_schedule": [
  {
    "time": "22:30",
    "duration": "03:00",
    "time_random_offset": "00:10",
    "duration_random_offset": "00:20",
    "wake_up_at_location": ""
  },
  {
    "time": "13:30",
    "duration": "5:00",
    "time_random_offset": "00:20",
    "duration_random_offset": "00:40",
    "wake_up_at_location": ""
  }
],
"alt_min": 30,
"alt_max": 40,
"gps_default_altitude": 278.0,
"replicate_gps_xy_noise": true,
"replicate_gps_z_noise": true,
"gps_xy_noise_range": 0.000025,
"gps_z_noise_range": 4.5,
"action_wait_min": 1,
"action_wait_max": 10,
"debug": false,
"test": false,
"health_record": true,
"location_cache": false,
"distance_unit": "km",
"reconnecting_timeout": 30,
"evolve_captured": "NONE",
"catch_randomize_reticle_factor": 1.0,
"catch_randomize_spin_factor": 1.0,
"catch": {
  "any": {"catch_above_cp": 0, "catch_above_iv": 0, "logic": "or"},
  "Rattata": {"never_catch": true},
  "Caterpie": {"never_catch": true},
  "Weedle": {"never_catch": true},
  "Pidgey": {"never_catch": true},
  "Staryu": {"never_catch": true},
  "Horsea": {"never_catch": true},
  "Venonat": {"never_catch": true},
  "Tentacool": {"never_catch": true},
  "//Shellder": {"never_catch": true},
  "Doduo": {"never_catch": true},
  "//Starmie": {"never_catch": true},
  "Goldeen": {"never_catch": true},
  "Drowzee": {"never_catch": true},
  "Spearow": {"never_catch": true},
  "Zubat": {"never_catch": true},
  "Krabby": {"never_catch": true},
  "//Paras": {"never_catch": true},
  "Psyduck": {"never_catch": true},
  "//Pidgeotto": {"never_catch": true}
},
"release": {
  "any": {"release_below_cp": 800, "release_below_iv": 0.80, "logic": "and"},
  "Bulbasaur": {"keep_best_cp": 1, "keep_best_iv": 2},
  "Squirtle": {"keep_best_cp": 1, "keep_best_iv": 2},
  "Nidoran M": {"keep_best_cp": 1, "keep_best_iv": 1},
  "Clefairy": {"keep_best_cp": 1, "keep_best_iv": 2},
  "Rattata": {"keep_best_cp": 1},
  "Pidgey": {"keep_best_cp": 2, "keep_best_iv": 1},
  "Starmie": {"release_below_cp": 900, "release_below_iv": 0.80, "logic": "and"},
  "Raticate": {"release_below_cp": 900, "release_below_iv": 0.85, "logic": "and"},
  "Pidgeotto": {"release_below_cp": 900, "release_below_iv": 0.85, "logic": "and"},
  "Metapod": {"release_below_cp": 350, "release_below_iv": 0.85, "logic": "and"},
  "Kakuna": {"release_below_cp": 400, "release_below_iv": 0.85, "logic": "and"},
  "Zubat": {"keep_best_cp": 1, "keep_best_iv": 1},
  "Caterpie": {"keep_best_cp": 1},
  "Weedle": {"keep_best_cp": 1},
  "Spearow": {"keep_best_cp": 1, "keep_best_iv": 1},
  "Sandshrew": {"keep_best_cp": 1, "keep_best_iv": 1},
  "Nidoran F": {"keep_best_cp": 1, "keep_best_iv": 1},
  "Jigglypuff": {"keep_best_cp": 1, "keep_best_iv": 1},
  "Oddish": {"keep_best_cp": 1, "keep_best_iv": 2},
  "Paras": {"keep_best_cp": 1, "keep_best_iv": 1},
  "Venonat": {"keep_best_cp": 1, "keep_best_iv": 1},
  "Vulpix": {"keep_best_cp": 1, "keep_best_iv": 1},
  "Mankey": {"keep_best_cp": 1, "keep_best_iv": 1},
  "Diglett": {"keep_best_cp": 1, "keep_best_iv": 1},
  "Abra": {"keep_best_cp": 1, "keep_best_iv": 1},
  "Meowth": {"keep_best_cp": 1, "keep_best_iv": 1},
  "Psyduck": {"keep_best_cp": 2, "keep_best_iv": 2},
  "Poliwag": {"keep_best_cp": 1, "keep_best_iv": 3},
  "Poliwhirl": {"keep_best_cp": 1, "keep_best_iv": 2},
  "Geodude": {"keep_best_cp": 1, "keep_best_iv": 1},
  "Ponyta": {"keep_best_cp": 1, "keep_best_iv": 1},
  "Tentacool": {"keep_best_cp": 1, "keep_best_iv": 1},
  "Bellsprout": {"keep_best_cp": 1, "keep_best_iv": 2},
  "Slowpoke": {"keep_best_cp": 1, "keep_best_iv": 3},
  "Seel": {"release_below_cp": 650, "release_below_iv": 0.85, "logic": "and"},
  "Exeggcute": {"keep_best_cp": 1, "keep_best_iv": 2},
  "Magnemite": {"keep_best_cp": 1, "keep_best_iv": 2},
  "Shellder": {"keep_best_cp": 1, "keep_best_iv": 2},
  "Doduo": {"keep_best_cp": 1, "keep_best_iv": 1},
  "Dodrio": {"release_below_cp": 900, "release_below_iv": 0.7, "logic": "and"},
  "Tangela": {"release_below_cp": 800, "release_below_iv": 0.8, "logic": "and"},
  "Scyther": {"release_below_cp": 800, "release_below_iv": 0.8, "logic": "and"},
  "Pinsir": {"release_below_cp": 1600, "release_below_iv": 0.8, "logic": "and"},
  "Gastly": {"keep_best_cp": 1, "keep_best_iv": 1},
  "Drowzee": {"keep_best_cp": 1, "keep_best_iv": 3},
  "Rhyhorn": {"keep_best_cp": 1, "keep_best_iv": 1},
  "Krabby": {"keep_best_cp": 1, "keep_best_iv": 1},
  "Cubone": {"keep_best_cp": 1, "keep_best_iv": 1},
  "Koffing": {"keep_best_cp": 1, "keep_best_iv": 1},
  "Horsea": {"keep_best_cp": 1, "keep_best_iv": 2},
  "Goldeen": {"keep_best_cp": 1, "keep_best_iv": 2},
  "Staryu": {"keep_best_cp": 1, "keep_best_iv": 2},
  "Magikarp": {"keep_best_cp": 1, "keep_best_iv": 2},
  "Dratini": {"keep_best_cp": 1, "keep_best_iv": 2},
  "Eevee": {"keep_best_cp": 2, "keep_best_iv": 3},
  "Ekans": {"keep_best_cp": 1, "keep_best_iv": 1},
  "Growlithe": {"keep_best_cp": 2, "keep_best_iv": 2},
  "Jynx": {"keep_best_cp": 2},
  "Dodrio": {"keep_best_cp": 2}
},
"vips" : {
     "//Any pokemon put here directly force to use Berry & Best Ball to capture, to secure the capture rate!": {},
    "any": {"catch_above_cp": 1200, "catch_above_iv": 0.9, "logic": "or" },
    "Lapras": {},
    "Moltres": {},
    "Zapdos": {},
    "Articuno": {},

    "// S-Tier pokemons (if pokemon can be evolved into tier, list the representative)": {},
    "Mewtwo": {},
    "Dragonite": {},
    "Snorlax": {},
    "// Mew evolves to Mewtwo": {},
    "Mew": {},
    "Arcanine": {},
    "Vaporeon": {},
    "Gyarados": {},
    "Exeggutor": {},
    "Muk": {},
    "Weezing": {},
    "Flareon": {}

}

}

Output when issue occurred

The log does not show any messages related to MoveToMapPokemon But it is not a log problem, the bot is just not responding to MoveToMapPokemon

Steps to Reproduce

Other Information

OS: Mac Branch:

Git Commit: 2016-09-02 11:49:25,539 [ cli] [INFO] commit: e83c7e6b

About this issue

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

Most upvoted comments

It will compare calculated dist with max_sniping_distance, and also check snipe_high_prio_threshold and other options from MoveToMapPokemon task.