Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bots suddenly get stuck #3514

Closed
jane0815 opened this issue Aug 10, 2016 · 17 comments
Closed

Bots suddenly get stuck #3514

jane0815 opened this issue Aug 10, 2016 · 17 comments

Comments

@jane0815
Copy link

I noticed that some of my bots always go (or try) to the same stop. Other accounts work fine with the same config?

21:20:06] Moving towards pokestop Lorien - 0.06km
[21:20:07] Arrived at fort.
[21:20:07] {'distance_unit': '', 'distance': '', 'current_position': (39.57209423848631, 2.6495566328026112), 'last_position': (39.571942, 2.648734)}
[21:20:11] Moving towards pokestop Lorien - 0.07km
[21:20:11] Arrived at fort.
[21:20:11] {'distance_unit': '', 'distance': '', 'current_position': (39.57209873306014, 2.6495685771673694), 'last_position': (39.571942, 2.648734)}
[21:20:14] Moving towards pokestop Lorien - 0.07km
[21:20:15] Arrived at fort.
[21:20:15] {'distance_unit': '', 'distance': '', 'current_position': (39.57208902742793, 2.6495619021499186), 'last_position': (39.571942, 2.648734)}
[21:20:18] Moving towards pokestop Lorien - 0.07km
[21:20:19] Arrived at fort.
[21:20:19] {'distance_unit': '', 'distance': '', 'current_position': (39.57208027896053, 2.6495603706071087), 'last_position': (39.571942, 2.648734)}
[21:20:21] Moving towards pokestop Lorien - 0.07km
[21:20:22] Arrived at fort.
[21:20:22] {'distance_unit': '', 'distance': '', 'current_position': (39.57208365033616, 2.649589048684413), 'last_position': (39.571942, 2.648734)}
[21:20:26] Moving towards pokestop Lorien - 0.07km
[21:20:27] Arrived at fort.
[21:20:27] {'distance_unit': '', 'distance': '', 'current_position': (39.5720721321085, 2.6495692015520467), 'last_position': (39.571942, 2.648734)}
[21:20:28] Next egg incubates in 3.52 km
[21:20:29] Moving towards pokestop Lorien - 0.07km
[21:20:30] Arrived at fort.
[21:20:30] {'distance_unit': '', 'distance': '', 'current_position': (39.57208435081569, 2.6495470438643474), 'last_position': (39.571942, 2.648734)}
[21:20:33] Moving towards pokestop Lorien - 0.07km
[21:20:34] Arrived at fort.
[21:20:34] {'distance_unit': '', 'distance': '', 'current_position': (39.572070947210996, 2.6495539886125528), 'last_position': (39.571942, 2.648734)}
[21:20:36] Moving towards pokestop Lorien - 0.07km
[21:20:37] Arrived at fort.
[21:20:37] {'distance_unit': '', 'distance': '', 'current_position': (39.57206969372457, 2.649545058796876), 'last_position': (39.571942, 2.648734)}
[21:20:41] Moving towards pokestop Lorien - 0.07km
[21:20:42] Arrived at fort.
.....
..
....
..

[21:32:16] Moving towards pokestop Lorien - 0.08km
[21:32:16] Arrived at fort.
[21:32:16] {'distance_unit': '', 'distance': '', 'current_position': (39.572089023628266, 2.6495838961306655), 'last_position': (39.571942, 2.648734)}
[21:32:19] Moving towards pokestop Lorien - 0.07km
[21:32:20] Arrived at fort.
[21:32:20] {'distance_unit': '', 'distance': '', 'current_position': (39.572066824780386, 2.649582312591723), 'last_position': (39.571942, 2.648734)}
[21:32:23] Moving towards pokestop Lorien - 0.07km
[21:32:23] Arrived at fort.
[21:32:23] {'distance_unit': '', 'distance': '', 'current_position': (39.572074476960694, 2.6495851769823684), 'last_position': (39.571942, 2.648734)}
[21:32:26] Moving towards pokestop Lorien - 0.07km
[21:32:26] Arrived at fort.
[21:32:26] {'distance_unit': '', 'distance': '', 'current_position': (39.57208683015504, 2.6495569948874658), 'last_position': (39.571942, 2.648734)}
[21:32:30] Moving towards pokestop Lorien - 0.07km
[21:32:30] Arrived at fort.
[21:32:30] {'distance_unit': '', 'distance': '', 'current_position': (39.57207868656094, 2.649588125271001), 'last_position': (39.571942, 2.648734)}
[21:32:32] Next egg incubates in 3.49 km
[21:32:33] Moving towards pokestop Lorien - 0.07km
[21:32:34] Arrived at fort.
[21:32:34] {'distance_unit': '', 'distance': '', 'current_position': (39.57209860058467, 2.6495618641551726), 'last_position': (39.571942, 2.648734)}
[21:32:37] Moving towards pokestop Lorien - 0.07km
[21:32:37] Arrived at fort.
[21:32:37] {'distance_unit': '', 'distance': '', 'current_position': (39.572081838138196, 2.6495690529208056), 'last_position': (39.571942, 2.648734)}
[21:32:40] Moving towards pokestop Lorien - 0.07km
[21:32:40] Arrived at fort.
[21:32:40] {'distance_unit': '', 'distance': '', 'current_position': (39.57208906842419, 2.6495696182796697), 'last_position': (39.571942, 2.648734)}
[21:32:43] Moving towards pokestop Lorien - 0.07km
[21:32:44] Arrived at fort.

@jane0815
Copy link
Author

Strange i was using that start position and that speed for some time already. I will try a different spot. It is strange that 3 bots all get stuck at a different location that is not near their start?

I am using the the pogomap mode and my bots are usually only moving to pokemons spotted on the map.

My speed is: "walk": 70.01,

@jane0815
Copy link
Author

jane0815 commented Aug 10, 2016

I have 6 bots running fine with that speed. 3 of them now always get stuck at the same location after they ran into and IP block. After i got a new IP these 3 get stuck all the time. 3 others are working fine with the same config file.

Hatching eggs is not important for me. And even that still worked for me. The speed is measured by distance - so if it goes from one pokemon to the next pokemon and the distance is not to hight it can still hatch eggs.

@jane0815
Copy link
Author

But it is working for 3 account, only the 3 that got into ip ban get stuck. All use the same config file.

@jane0815
Copy link
Author

jane0815 commented Aug 10, 2016

I changed starting postion and still the same problem, only get stuck at a different stop this time.

The bot starts, catches 1 or 2 pokemons and then it gets stuck.

Now will try to lower speed.

@zviper13579
Copy link

Same thing happening to me and the lowering the speed doesn't work. I have also used this location before and it was working just fine.

@alextj
Copy link

alextj commented Aug 11, 2016

I have the same issue, but instead of one fort, the bot can't seen to decide which of two different forts to take, so it switches between one and another forever.

[08:12:21] Moving towards pokestop Santa Monica Harbor And Breakwater - 0.05km (attraction of lure 0.05km)
[08:12:21] {'distance_unit': '', 'distance': '', 'current_position': (34.00836260919537, -118.49866279313936), 'last_position': (34.00837980367736, -118.49862697473641)}
[08:12:23] Skipping Recycling of Items. 64 space left in bag.
[08:12:23] Moving towards pokestop Santa Monica Pier - 0.05km
[08:12:23] {'distance_unit': '', 'distance': '', 'current_position': (34.00836320354718, -118.49860402118864), 'last_position': (34.00836260919537, -118.49866279313936)}
[08:12:26] Skipping Recycling of Items. 64 space left in bag.
[08:12:26] Moving towards pokestop Santa Monica Harbor And Breakwater - 0.05km (attraction of lure 0.05km)
[08:12:26] {'distance_unit': '', 'distance': '', 'current_position': (34.00835178337744, -118.49866057984138), 'last_position': (34.00836320354718, -118.49860402118864)}
[08:12:28] Skipping Recycling of Items. 64 space left in bag.
[08:12:28] Moving towards pokestop Santa Monica Pier - 0.06km
[08:12:28] {'distance_unit': '', 'distance': '', 'current_position': (34.008356991797974, -118.49861972045335), 'last_position': (34.00835178337744, -118.49866057984138)}
[08:12:30] Skipping Recycling of Items. 64 space left in bag.
[08:12:30] Moving towards pokestop Santa Monica Pier - 0.05km
[08:12:30] {'distance_unit': '', 'distance': '', 'current_position': (34.00837095716676, -118.49857585760398), 'last_position': (34.008356991797974, -118.49861972045335)}
[08:12:32] Skipping Recycling of Items. 64 space left in bag.
[08:12:32] Moving towards pokestop Santa Monica Harbor And Breakwater - 0.06km (attraction of lure 0.06km)
[08:12:32] {'distance_unit': '', 'distance': '', 'current_position': (34.00834178258039, -118.49861476638037), 'last_position': (34.00837095716676, -118.49857585760398)}
[08:12:34] Skipping Recycling of Items. 64 space left in bag.
[08:12:34] Moving towards pokestop Santa Monica Pier - 0.05km
[08:12:34] {'distance_unit': '', 'distance': '', 'current_position': (34.00836027436235, -118.49858258502812), 'last_position': (34.00834178258039, -118.49861476638037)}
[08:12:36] Skipping Recycling of Items. 64 space left in bag.

I tried with different walking speed (4.16, 8.0, 13,0) with the same result.

@douglascamata
Copy link
Member

Show task configurations. It's probably misconfiguration.

@nikhil-pandey
Copy link
Contributor

nikhil-pandey commented Aug 11, 2016

[16:11:18] Moving towards pokestop B.R.G. Rock - 0.10km
[16:11:19] Arrived at fort.
[16:11:19] {'distance_unit': '', 'distance': '', 'current_position': (40.77028959667267, -73.97447746621758), 'last_position': (40.770089, -73.975602)}
[16:11:27] Skipping Recycling of Items. 131 space left in bag.
[16:11:28] Moving towards pokestop B.R.G. Rock - 0.10km
[16:11:29] Arrived at fort.
[16:11:29] {'distance_unit': '', 'distance': '', 'current_position': (40.770281370050434, -73.97448104537621), 'last_position': (40.770089, -73.975602)}
[16:11:32] Skipping Recycling of Items. 131 space left in bag.
[16:11:32] Moving towards pokestop B.R.G. Rock - 0.10km
[16:11:33] Arrived at fort.
[16:11:33] {'distance_unit': '', 'distance': '', 'current_position': (40.770288119095945, -73.97449281146021), 'last_position': (40.770089, -73.975602)}
[16:11:40] Skipping Recycling of Items. 131 space left in bag.
[16:11:40] Moving towards pokestop B.R.G. Rock - 0.10km
[16:11:41] Arrived at fort.
[16:11:41] {'distance_unit': '', 'distance': '', 'current_position': (40.770287490726915, -73.97450009572579), 'last_position': (40.770089, -73.975602)}
[16:11:44] Skipping Recycling of Items. 131 space left in bag.
[16:11:44] Moving towards pokestop B.R.G. Rock - 0.10km
[16:11:45] Arrived at fort.
[16:11:45] {'distance_unit': '', 'distance': '', 'current_position': (40.77031746888311, -73.97448474817735), 'last_position': (40.770089, -73.975602)}
[16:11:55] Uptime : 0:07:20 | 0.40km walked | Level 29 (322,255 / 650,000, 49%) | +50 XP | 409 XP/h | Visited 1 stops | Caught 0 pokemon | Evolved 0 pokemon
[16:11:55] Skipping Recycling of Items. 131 space left in bag.
[16:11:56] Moving towards pokestop B.R.G. Rock - 0.10km
[16:11:57] Arrived at fort.
[16:11:57] {'distance_unit': '', 'distance': '', 'current_position': (40.770301734581345, -73.97447063152786), 'last_position': (40.770089, -73.975602)}
[16:12:04] Skipping Recycling of Items. 131 space left in bag.
[16:12:04] Moving towards pokestop B.R.G. Rock - 0.10km
[16:12:05] Arrived at fort.
[16:12:05] {'distance_unit': '', 'distance': '', 'current_position': (40.77028533747871, -73.97447279177676), 'last_position': (40.770089, -73.975602)}
[16:12:07] Skipping Recycling of Items. 131 space left in bag.
[16:12:08] Moving towards pokestop B.R.G. Rock - 0.10km
[16:12:09] Arrived at fort.
[16:12:09] {'distance_unit': '', 'distance': '', 'current_position': (40.770302169640324, -73.97447963450934), 'last_position': (40.770089, -73.975602)}
[16:12:17] Skipping Recycling of Items. 131 space left in bag.
[16:12:17] Moving towards pokestop B.R.G. Rock - 0.10km
[16:12:18] Arrived at fort.
[16:12:18] {'distance_unit': '', 'distance': '', 'current_position': (40.77032033493501, -73.97446809756983), 'last_position': (40.770089, -73.975602)}
[16:12:21] Skipping Recycling of Items. 131 space left in bag.
[16:12:21] Moving towards pokestop B.R.G. Rock - 0.10km
[16:12:22] Arrived at fort.
[16:12:22] {'distance_unit': '', 'distance': '', 'current_position': (40.77031870960669, -73.97450049936477), 'last_position': (40.770089, -73.975602)}
[16:12:29] Skipping Recycling of Items. 131 space left in bag.
[16:12:29] Moving towards pokestop B.R.G. Rock - 0.10km
[16:12:30] Arrived at fort.
[16:12:30] {'distance_unit': '', 'distance': '', 'current_position': (40.77028650530877, -73.97448582567517), 'last_position': (40.770089, -73.975602)}
[16:12:33] Skipping Recycling of Items. 131 space left in bag.
[16:12:33] Moving towards pokestop B.R.G. Rock - 0.10km
[16:12:34] Arrived at fort.

Whats causing this?

Configuration looks like:

{
    ...
    "tasks":[
        {
            "type":"UpdateTitleStats",
            "config":{
                "min_interval":60,
                "stats":[
                    "uptime",
                    "km_walked",
                    "level_stats",
                    "xp_earned",
                    "xp_per_hour",
                    "stops_visited",
                    "pokemon_caught",
                    "pokemon_evolved"
                ]
            }
        },
        {
            "type":"IncubateEggs",
            "config":{
                "longer_eggs_first":true
            }
        },
        {
            "type":"RecycleItems",
            "config":{
                "min_empty_space":8,
                "item_filter":{
                    "Pokeball":{
                        "keep":150
                    },
                    "Greatball":{
                        "keep":100
                    },
                    "Ultraball":{
                        "keep":100
                    },
                    "Masterball":{
                        "keep":100
                    },
                    "Potion":{
                        "keep":0
                    },
                    "Super Potion":{
                        "keep":0
                    },
                    "Hyper Potion":{
                        "keep":0
                    },
                    "Max Potion":{
                        "keep":75
                    },
                    "Revive":{
                        "keep":10
                    },
                    "Max Revive":{
                        "keep":20
                    },
                    "Razz Berry":{
                        "keep":100
                    }
                }
            }
        },
        {
            "type":"SpinFort"
        },
        {
            "type":"MoveToFort",
            "config":{
                "lure_attraction":false,
                "lure_max_distance":2000
            }
        },
        {
            "type":"FollowSpiral",
            "config":{
                "diameter":1000,
                "step_size":70
            }
        }
    ],
    ...
}

Duplicate of #3273 #3553

@BriceSD
Copy link
Contributor

BriceSD commented Aug 11, 2016

Config from someone who had this issue and seeked help on #help

{
    "auth_service": "google",
    "username": "",
    "password": "",
    "location": "40.640800,-8.743100",
    "gmapkey": "",
    "libencrypt_location": "",
    "tasks": [
      {
        "type": "HandleSoftBan"
      },
      {
        "type": "UpdateTitleStats",
        "config": {
          "min_interval": 30,
          "stats": ["login", "uptime", "km_walked", "level_stats", "xp_earned", "xp_per_hour"]
        }
      },
      {
        "type": "CollectLevelUpReward"
      },
      {
        "type": "IncubateEggs",
        "config": {
          "longer_eggs_first": true
        }
      },
      {
        "type": "TransferPokemon"
      },
      {
        "type": "EvolvePokemon",
        "config": {
            "evolve_all": "all",
            "first_evolve_by": "cp",
            "evolve_above_cp": 500,
            "evolve_above_iv": 0.8,
            "logic": "or",
            "evolve_speed": 20,
            "use_lucky_egg": false
        }
      },
      {
        "type": "RecycleItems",
        "config": {
          "min_empty_space": 15,
          "item_filter": {
            "Pokeball":       { "keep" : 50 },
            "Greatball":      { "keep" : 80 },
            "Ultraball":      { "keep" : 100 },
            "Potion":         { "keep" : 0 },
            "Super Potion":   { "keep" : 0 },
            "Hyper Potion":   { "keep" : 25 },
            "Revive":         { "keep" : 5 },
            "Max Revive":     { "keep" : 10 },
            "Razz Berry":     { "keep" : 50 }
          }
        }
      },
      {
        "type": "CatchVisiblePokemon"
      },
      {
        "type": "CatchLuredPokemon"
      },
      {
        "type": "SpinFort"
      },
      {
        "type": "MoveToFort",
        "config": {
            "lure_attraction": true,
            "lure_max_distance": 2000
        }
      },
      {
        "type": "FollowSpiral",
        "config": {
          "diameter": 4,
          "step_size": 70
        }
      }
    ],
    "map_object_cache_time": 5,
    "forts": {
      "avoid_circles": true,
      "max_circle_size": 50
    },
    "websocket_server": false,
    "walk": 9.42,
    "action_wait_min": 1,
    "action_wait_max": 4,
    "debug": false,
    "test": false,
    "health_record": false,
    "location_cache": false,
    "distance_unit": "km",
    "reconnecting_timeout": 15,
    "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"},
      "// Example of always catching Rattata:": {},
      "// Rattata": { "always_catch" : true }
    },
    "release": {
      "//any": {"release_below_cp": 0, "release_below_iv": 0, "logic": "or"},
      "any": {"keep_best_cp":2, "keep_best_iv": 2, "logic": "or"},
      "any": {"release_below_cp": 150, "release_below_iv": 0.9, "logic": "and"}
    },
    "vips" : {
         "Any pokemon put here directly force to use Berry & Best Ball to capture, to secure the capture rate!": {},
        "any": {"catch_above_cp": 1000, "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": {},
        "Venusaur": {},
        "Charizard": {},
        "Golduck": {},
        "Blastoise": {},
        "Omastar":  {},
        "Aerodactyl": {},
        "Magmar": {},
        "Kabutops": {},
        "Electabuzz": {},
        "Jolteon": {},
        "Raichu": {}
    }
}

My config on which I had the issue to

{
  "auth_service": "ptc",
  "username": "xxxxxxxxxxxxx",
  "password": "xxxxxxxxxxxxx",
  "location": "40.764871, -73.9734972 ",
  "gmapkey": "xxxxxxxxxxxxxxxxxxxxxxxx",
  "walk": 70,
  "action_wait_min": 0.1,
  "action_wait_max": 0.4,
  "show_events": false,
  "health_record": false,
  "debug": false,
  "test": false,
  "location_cache": true,
  "map_object_cache_time": 2.5,
  "distance_unit": "m",
  "reconnecting_timeout": 0.5,
  "forts": {
    "avoid_circles": true
  },
  "websocket_server": false,
  "tasks": [
    {
      "type": "HandleSoftBan"
    },
    {
      "type": "RecycleItems",
      "config": {
        "min_empty_space": 6,
        "item_filter": {
          "Pokeball": {
            "keep": 20
          },
          "Greatball": {
            "keep": 10
          },
          "Ultraball": {"keep": 120},
          "Potion": {
            "keep": 0
          },
          "Super Potion": {
            "keep": 0
          },
          "Hyper Potion": {
            "keep": 20
          },
          "Max Potion": {
            "keep": 50
          },
          "Revive": {
            "keep": 0
          },
          "Max Revive": {
            "keep": 20
          },
          "Razz Berry": {
            "keep": 20
          }
        }
      }
    },
    {
      "type": "MoveToFort",
      "config": {
        "lure_attraction": true,
        "lure_max_distance": 2000
      }
    },
    {
      "type": "CatchLuredPokemon"
    },
    {
      "type": "SpinFort"
    },
    {
      "type": "CatchVisiblePokemon"
    },

    {
      "type": "TransferPokemon"
    },
    {
      "type": "IncubateEggs",
      "config": {
        "longer_eggs_first": true
      }
    },
    {
      "type": "UpdateTitleStats",
      "config": {
          "min_interval": 30,
          "stats": ["uptime","xp_per_hour", "stops_visited", "pokemon_caught", "pokemon_evolved"]
      }
    }
  ],
  "evolve_captured": "Caterpie,Weedle,Pidgey,Rattata,Spearow,Nidoran M,Nidoran F,Sandshrew,Ekans,Clefairy,Vulpix,Jigglypuff,Zubat,Oddish,Paras,Poliwag,Mankey,Psyduck,Meowth,Diglett,Venonat,Abra,Machop,Bellsprout,Doduo,Magnemite,Slowpoke,Ponyta,Geodude,Tentacool,Seel,Grimer,Shellder,Gastly,Drowzee,Krabby,Horsea,Rhyhorn,Koffing,Cubone,Voltorb,Goldeen,Staryu,Kabuto,Omanyte",
  "release": {
    "any": {
      "keep_best_iv": 2
    },
    "Kakuna": {
      "always_release": true
    },
    "Pidgeotto": {
      "always_release": true
    },
    "Metapod": {
      "always_release": true
    },
    "Golbat": {
      "always_release": true
    },
    "Raticate": {
      "always_release": true
    },
    "Magikarp": {
      "release_below_iv": 0.95,
      "release_below_cp": 0,
      "logic": "or"
    },
    "Gyarados": {
      "release_below_iv": 0,
      "release_below_cp": 0,
      "logic": "and"
    },
    "Dragonite": {
      "release_below_iv": 0,
      "release_below_cp": 0,
      "logic": "and"
    },
    "Snorlax": {
      "release_below_iv": 0,
      "release_below_cp": 0,
      "logic": "and"
    },
    "Vaporeon": {
      "release_below_iv": 0,
      "release_below_cp": 0,
      "logic": "and"
    }
  },
  "catch": {
    "any": {
      "catch_above_cp": 0,
      "catch_above_iv": 0,
      "logic": "or",
      "always_catch": true
    }
  }
}

@robertpro
Copy link

same issue, 30 min ago, it was running OK, but now is not working :(

@douglascamata
Copy link
Member

@BriceSD with your config are you sure you didnt have a full pokemon bag?

@douglascamata
Copy link
Member

Guys, pay attention! You cannot MoveToFort and then FollowSpiral without SpinFort before. Otherwise you will arrive in a fort and move away from it repeatedly.

@BriceSD
Copy link
Contributor

BriceSD commented Aug 11, 2016

I don’t use FollowSpiral

I told to the other guy that I helped to remove it, he saw no change

@k4n30
Copy link
Contributor

k4n30 commented Aug 13, 2016

#3308

@k4n30 k4n30 closed this as completed Aug 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants