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

doesn't appear to move if out of pokeballs and detects pokemon #3697

Closed
ahammond opened this issue Aug 12, 2016 · 1 comment
Closed

doesn't appear to move if out of pokeballs and detects pokemon #3697

ahammond opened this issue Aug 12, 2016 · 1 comment

Comments

@ahammond
Copy link

Expected Behavior

When I'm out of regular pokeballs and greatballs, keep moving!

Actual Behavior

2016-08-12 07:01:32,605 [PokemonGoBot] [INFO] [bot_start] Starting bot...
2016-08-12 07:01:32,843 [CollectLevelUpReward] [INFO] [level_up_reward] Received level up reward: []
2016-08-12 07:01:32,844 [IncubateEggs] [INFO] [next_egg_incubates] Next egg incubates in 0.74 km
2016-08-12 07:08:45,744 [UpdateLiveStats] [INFO] [log_stats] Uptime : 0:00:17 | Earned 0 Stardust | +50 XP | 10,339 XP/h | Visited 1 stops
2016-08-12 07:08:47,519 [PokemonCatchWorker] [INFO] [pokemon_appeared] A wild Rattata appeared! [CP 106] [Potential 0.4] [A/D/S 8/10/0]
2016-08-12 07:08:50,444 [PokemonCatchWorker] [INFO] [no_pokeballs] No usable pokeballs found!
2016-08-12 07:08:55,990 [UpdateLiveStats] [INFO] [log_stats] Uptime : 0:00:28 | Earned 0 Stardust | +50 XP | 6,508 XP/h | Visited 1 stops
2016-08-12 07:08:57,686 [PokemonCatchWorker] [INFO] [pokemon_appeared] A wild Rattata appeared! [CP 106] [Potential 0.4] [A/D/S 8/10/0]
2016-08-12 07:09:00,026 [PokemonCatchWorker] [INFO] [no_pokeballs] No usable pokeballs found!
2016-08-12 07:09:05,368 [IncubateEggs] [INFO] [next_egg_incubates] Next egg incubates in 1.68 km
2016-08-12 07:09:06,151 [PokemonCatchWorker] [INFO] [pokemon_appeared] A wild Rattata appeared! [CP 106] [Potential 0.4] [A/D/S 8/10/0]
2016-08-12 07:09:09,009 [PokemonCatchWorker] [INFO] [no_pokeballs] No usable pokeballs found!
2016-08-12 07:09:14,579 [UpdateLiveStats] [INFO] [log_stats] Uptime : 0:00:46 | Earned 0 Stardust | +50 XP | 3,892 XP/h | Visited 1 stops
2016-08-12 07:09:16,497 [PokemonCatchWorker] [INFO] [pokemon_appeared] A wild Rattata appeared! [CP 106] [Potential 0.4] [A/D/S 8/10/0]
2016-08-12 07:09:19,392 [PokemonCatchWorker] [INFO] [no_pokeballs] No usable pokeballs found!

Your config.json (remove your credentials and any other private info)

{
    "auth_service": "google",
    "username": "xxxxxxxxxxxxxxxxxxx",
    "password": "xxxxxxxxxxxxxxxxxxx",
    "location": "37.808633, -122.412422",
    "gmapkey": "xxxxxxxxxxxxxxxxxxx",
    "libencrypt_location": "",
    "tasks": [
      {
        "type": "HandleSoftBan"
      },
      {
        "type": "SleepSchedule",
        "config": {
          "enabled": false,
          "time": "22:54",
          "duration":"7:46",
          "time_random_offset": "00:24",
          "duration_random_offset": "00:43"
        }
      },
      {
        "type": "CollectLevelUpReward"
      },
      {
        "type": "IncubateEggs",
        "config": {
          "longer_eggs_first": true
        }
      },
      {
        "type": "NicknamePokemon",
        "config": {
          "nickname_template": "{name:.9s}{iv_pct}"
        }
      },
      {
        "type": "UpdateLiveStats",
        "config": {
          "enabled": true,
          "min_interval": 10,
          "stats": ["uptime", "stardust_earned", "xp_earned", "xp_per_hour", "stops_visited"],
          "terminal_log": true,
          "terminal_title": true
        }
      },
      {
        "type": "TransferPokemon"
      },
      {
        "type": "EvolvePokemon",
        "config": {
            "evolve_all": "Pidgey, Rattata, Zubat, Sandshrew, Vulpix, Paras, Venonat, Diglett, Meowth, Mankey, Growlithe, Tentacool, Doduo, Seel, Grimer, Shellder, Drowzee, Krabby, Voltorb, Exeggcute, Cubone, Lickitung, Koffing, Tangela, Omanyte, Kabuto, Munchlax",
            "first_evolve_by": "iv",
            "evolve_above_cp": 1,
            "evolve_speed": 20,
            "use_lucky_egg": false
        }
      },
      {
        "type": "RecycleItems",
        "config": {
          "item_filter": {
            "Pokeball":       { "keep" : 100 },
            "Potion":         { "keep" : 5 },
            "Super Potion":   { "keep" : 5 },
            "Hyper Potion":   { "keep" : 100 },
            "Revive":         { "keep" : 40 },
            "Razz Berry":     { "keep" : 100 }
          }
        }
      },
      {
        "type": "SpinFort"
      },
      {
        "type": "CatchVisiblePokemon"
      },
      {
        "type": "CatchLuredPokemon"
      },
      {
        "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": 3.86,
    "action_wait_min": 1,
    "action_wait_max": 4,
    "debug": false,
    "test": false,
    "health_record": true,
    "location_cache": true,
    "distance_unit": "km",
    "reconnecting_timeout": 15,
    "logging_color": true,
    "catch": {
      "any": {"catch_above_cp": 0, "catch_above_iv": 0, "logic": "or"}
    },
    "catch_throw_parameters": {
      "excellent_rate": 0.1,
      "great_rate": 0.5,
      "nice_rate": 0.3,
      "normal_rate": 0.1,
      "spin_success_rate" : 0.6
    },

    "release": {
      "Dragonite": { "never_release" : true },
      "Blastoise": { "never_release" : true },
      "Alakazam": { "never_release" : true },
      "Aerodactyl": { "never_release" : true },
      "Articuno": { "never_release" : true },
      "Zapdos": { "never_release" : true },
      "Moltres": { "never_release" : true },
      "Dragonair": { "never_release" : true },
      "Mew": { "never_release" : true },
      "Kabuto": { "never_release" : true },
      "Mewtwo": { "never_release" : true },
      "any": {"keep_best_cp": 1, "keep_best_iv": 1 }
    },
    "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": "and" },
        "Lapras": {},
        "Moltres": {},
        "Zapdos": {},
        "Articuno": {},

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

Steps to Reproduce

Run out of pokeballs and start bot. I noticed that when I changed my spawn point and got lucky with a lured pokemon as well as the regular spawn, it unlocked the bot.

Other Information

OS: docker
Git Commit: dev f83e767
Python Version: docker

@imTigger
Copy link

Duplication of #3683
Will be fixed in PR #3421

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

3 participants