Giter VIP home page Giter VIP logo

pokemongo-bot-backup's People

Contributors

alexyaoyang avatar askovpen avatar brantje avatar breezero avatar bricesd avatar cmezh avatar cwild avatar dba2016 avatar dextrotip avatar dominicgunn avatar douglascamata avatar eggins avatar fredrik-hellmangroup avatar gobberwart avatar gofmaster avatar haykuro avatar jasperrr91 avatar jtdroste avatar luizperes avatar mjmadsen avatar necrozis avatar rawgni avatar shoh avatar sohje avatar solderzzc avatar supercourgette avatar tejado avatar th3w4y avatar thesavior avatar tstumm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pokemongo-bot-backup's Issues

Bot crashes (Sentry)

Expected Behavior

For the bot to actually work. . .

Actual Behavior

After the encrypt.dll file loads successfully, the bot crashes.

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

{
    "auth_service": "google",
    "username": "",
    "password": "",
    "location": "52.39037297896968,4.828920364379883",
    "gmapkey": "",
    "tasks": [{
        "type": "HandleSoftBan",
        "$$hashKey": "object:21"
    }, {
        "type": "CollectLevelUpReward",
        "$$hashKey": "object:22"
    }, {
        "type": "IncubateEggs",
        "config": {
            "longer_eggs_first": true
        },
        "$$hashKey": "object:23"
    }, {
        "type": "TransferPokemon",
        "$$hashKey": "object:24"
    }, {
        "type": "EvolveAll",
        "config": {
            "evolve_all": "all",
            "first_evolve_by": "iv",
            "evolve_above_cp": 100,
            "evolve_above_iv": 0.7,
            "logic": "and",
            "evolve_speed": 20,
            "use_lucky_egg": false
        },
        "$$hashKey": "object:25"
    }, {
        "type": "RecycleItems",
        "config": {
            "item_filter": {
                "Pokeball": {
                    "keep": 100
                },
                "Potion": {
                    "keep": 10
                },
                "Super Potion": {
                    "keep": 20
                },
                "Hyper Potion": {
                    "keep": 30
                },
                "Revive": {
                    "keep": 30
                },
                "Razz Berry": {
                    "keep": 100
                }
            }
        },
        "$$hashKey": "object:26"
    }, {
        "type": "CatchVisiblePokemon",
        "$$hashKey": "object:27"
    }, {
        "type": "CatchLuredPokemon",
        "$$hashKey": "object:28"
    }, {
        "type": "SpinFort",
        "$$hashKey": "object:29"
    }, {
        "type": "MoveToFort",
        "config": {
            "lure_attraction": true,
            "lure_max_distance": 2000
        },
        "$$hashKey": "object:30"

    }],
    "map_object_cache_time": 5,
    "forts": {
        "avoid_circles": true,
        "max_circle_size": 50
    },
    "websocket_server": false,
    "walk": "25",
    "action_wait_min": 1,
    "action_wait_max": 4,
    "debug": false,
    "test": false,
    "health_record": true,
    "location_cache": true,
    "distance_unit": "mi",
    "reconnecting_timeout": 15,
    "evolve_captured": "NONE",
    "catch_randomize_reticle_factor": 1,
    "catch_randomize_spin_factor": 1,
    "catch": {
        "any": {
            "catch_above_cp": 0,
            "catch_above_iv": 0,
            "logic": "or"
        }
    },
    "release": {
        "any": {
            "release_below_cp": 0,
            "release_below_iv": 0,
            "logic": "or"
        }
    },
    "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

2016-09-14 10:18:26,634 [PokemonGoBot] [INFO]
Traceback (most recent call last):
  File "pokecli.py", line 802, in <module>
    main()
  File "pokecli.py", line 238, in main
    report_summary(bot)
  File "pokecli.py", line 286, in report_summary
    metrics.capture_stats()
  File "C:\Test\PokemonGo-Bot\pokemongo_bot\metrics.py", line 105, in capture_stats
    self.dust['latest'] = self.bot.stardust
  File "C:\Test\PokemonGo-Bot\pokemongo_bot\__init__.py", line 72, in stardust
    return filter(lambda y: y['name'] == 'STARDUST', self._player['currencies'])[0]['amount']
AttributeError: 'PokemonGoBot' object has no attribute '_player'
2016-09-14 10:18:27,490 [sentry.errors] [ERROR] Sentry responded with an error: 'utf8' codec can't decode byte 0x9c in position 1: invalid start byte (url: https://app.getsentry.com/api/90254/store/)
Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\raven\transport\threaded.py", line 174, in send_sync
    super(ThreadedHTTPTransport, self).send(data, headers)
  File "C:\Python27\lib\site-packages\raven\transport\http.py", line 47, in send
    ca_certs=self.ca_certs,
  File "C:\Python27\lib\site-packages\raven\utils\http.py", line 66, in urlopen
    return opener.open(url, data, timeout)
  File "C:\Python27\lib\site-packages\future\backports\urllib\request.py", line 494, in open
    response = self._open(req, data)
  File "C:\Python27\lib\site-packages\future\backports\urllib\request.py", line 512, in _open
    '_open', req)
  File "C:\Python27\lib\site-packages\future\backports\urllib\request.py", line 466, in _call_chain
    result = func(*args)
  File "C:\Python27\lib\site-packages\raven\utils\http.py", line 46, in https_open
    return self.do_open(ValidHTTPSConnection, req)
  File "C:\Python27\lib\site-packages\future\backports\urllib\request.py", line 1284, in do_open
    h.request(req.get_method(), req.selector, req.data, headers)
  File "C:\Python27\lib\httplib.py", line 1057, in request
    self._send_request(method, url, body, headers)
  File "C:\Python27\lib\httplib.py", line 1097, in _send_request
    self.endheaders(body)
  File "C:\Python27\lib\httplib.py", line 1053, in endheaders
    self._send_output(message_body)
  File "C:\Python27\lib\httplib.py", line 895, in _send_output
    msg += message_body
  File "C:\Python27\lib\encodings\utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0x9c in position 1: invalid start byte
2016-09-14 10:18:27,831 [sentry.errors.uncaught] [ERROR] [u"AttributeError: 'PokemonGoBot' object has no attribute '_player'", u'  File "pokecli.py", line 802, in <module>', u'  File "pokecli.py", line 238, in main', u'  File "pokecli.py", line 286, in report_summary', u'  File "C:\\Test\\PokemonGo-Bot\\pokemongo_bot\\metrics.py", line 105, in capture_stats', u'  File "C:\\Test\\PokemonGo-Bot\\pokemongo_bot\\__init__.py", line 72, in stardust']
Sentry is attempting to send 1 pending error messages
Waiting up to 10 seconds

Steps to Reproduce

Just restarting the bot.

Other Information

OS: Windows 10

Branch:

Git Commit: unknown

Python Version: 3.5

encrypt_64 dll not found

Expected Behavior

To allow the file location of encrypt to pass on json

Actual Behavior

bot crashes because encrypt_64.dll is not found.

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

{
    "auth_service": "google",
    "username": "",
    "password": "",
    "location": "43.64028065169827,-79.37606647610664",
    "favorite_locations":[
    ],
    "gmapkey": "",
    "encrypt_location": "C:\Test\PokemonGo-Bot",
    "telegram_token": ""
}


Output when issue occurred


2016-09-13 22:02:38,780 [PokemonGoBot] [INFO] Login successful.
2016-09-13 22:02:38,796 [PokemonGoBot] [ERROR] encrypt_64.dll is not found! Please place it in the bots root directory or set encrypt_location in config.
2016-09-13 22:02:38,812 [PokemonGoBot] [INFO] Platform: win32 encrypt_64.dll directory: C:\Test\PokemonGo-Bot\encrypt_64.dll

 Something went wrong and the bot needed to be restarted. Please investigate the cause.

Steps to Reproduce

Bot restarting

Other Information

OS:

Windows 10

[ERROR] Sentry responded with an error: 'utf8' codec can't decode byte 0x9c in position 1: invalid start byte

Expected Behavior

for the bot to stay running and not crash.

Actual Behavior

The bot is crashing.

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

{

    "auth_service": "google",
    "username": "",
    "password": "",
    "location": "52.39037297896968,4.828920364379883",
    "gmapkey": "",
    "tasks": [{
        "type": "HandleSoftBan",
        "$$hashKey": "object:21"
    }, {
        "type": "CollectLevelUpReward",
        "$$hashKey": "object:22"
    }, {
        "type": "IncubateEggs",
        "config": {
            "longer_eggs_first": true
        },
        "$$hashKey": "object:23"
    }, {
        "type": "TransferPokemon",
        "$$hashKey": "object:24"
    }, {
        "type": "EvolveAll",
        "config": {
            "evolve_all": "all",
            "first_evolve_by": "iv",
            "evolve_above_cp": 100,
            "evolve_above_iv": 0.7,
            "logic": "and",
            "evolve_speed": 20,
            "use_lucky_egg": false
        },
        "$$hashKey": "object:25"
    }, {
        "type": "RecycleItems",
        "config": {
            "item_filter": {
                "Pokeball": {
                    "keep": 100
                },
                "Potion": {
                    "keep": 10
                },
                "Super Potion": {
                    "keep": 20
                },
                "Hyper Potion": {
                    "keep": 30
                },
                "Revive": {
                    "keep": 30
                },
                "Razz Berry": {
                    "keep": 100
                }
            }
        },
        "$$hashKey": "object:26"
    }, {
        "type": "CatchVisiblePokemon",
        "$$hashKey": "object:27"
    }, {
        "type": "CatchLuredPokemon",
        "$$hashKey": "object:28"
    }, {
        "type": "SpinFort",
        "$$hashKey": "object:29"
    }, {
        "type": "MoveToFort",
        "config": {
            "lure_attraction": true,
            "lure_max_distance": 2000
        },
        "$$hashKey": "object:30"

    }],
    "map_object_cache_time": 5,
    "forts": {
        "avoid_circles": true,
        "max_circle_size": 50
    },
    "websocket_server": false,
    "walk": "25",
    "action_wait_min": 1,
    "action_wait_max": 4,
    "debug": false,
    "test": false,
    "health_record": true,
    "location_cache": true,
    "distance_unit": "mi",
    "reconnecting_timeout": 15,
    "evolve_captured": "NONE",
    "catch_randomize_reticle_factor": 1,
    "catch_randomize_spin_factor": 1,
    "catch": {
        "any": {
            "catch_above_cp": 0,
            "catch_above_iv": 0,
            "logic": "or"
        }
    },
    "release": {
        "any": {
            "release_below_cp": 0,
            "release_below_iv": 0,
            "logic": "or"
        }
    },
    "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

Traceback (most recent call last):
  File "pokecli.py", line 802, in <module>
    main()
  File "pokecli.py", line 149, in main
    bot = start_bot(bot, config)
  File "pokecli.py", line 109, in start_bot
    initialize_task(bot, config)
  File "pokecli.py", line 93, in initialize_task
    tree = TreeConfigBuilder(bot, config.raw_tasks).build()
  File "C:\Test\PokemonGo-Bot\pokemongo_bot\tree_config_builder.py", line 37, in build
    raise ConfigException('The EvolveAll task has been renamed to EvolvePokemon')
pokemongo_bot.tree_config_builder.ConfigException: The EvolveAll task has been renamed to EvolvePokemon
2016-09-14 16:40:58,397 [sentry.errors] [ERROR] Sentry responded with an error: 'utf8' codec can't decode byte 0x9c in position 1: invalid start byte (url: https://app.getsentry.com/api/90254/store/)
Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\raven\transport\threaded.py", line 174, in send_sync
    super(ThreadedHTTPTransport, self).send(data, headers)
  File "C:\Python27\lib\site-packages\raven\transport\http.py", line 47, in send
    ca_certs=self.ca_certs,
  File "C:\Python27\lib\site-packages\raven\utils\http.py", line 66, in urlopen
    return opener.open(url, data, timeout)
  File "C:\Python27\lib\site-packages\future\backports\urllib\request.py", line 494, in open
    response = self._open(req, data)
  File "C:\Python27\lib\site-packages\future\backports\urllib\request.py", line 512, in _open
    '_open', req)
  File "C:\Python27\lib\site-packages\future\backports\urllib\request.py", line 466, in _call_chain
    result = func(*args)
  File "C:\Python27\lib\site-packages\raven\utils\http.py", line 46, in https_open
    return self.do_open(ValidHTTPSConnection, req)
  File "C:\Python27\lib\site-packages\future\backports\urllib\request.py", line 1284, in do_open
    h.request(req.get_method(), req.selector, req.data, headers)
  File "C:\Python27\lib\httplib.py", line 1057, in request
    self._send_request(method, url, body, headers)
  File "C:\Python27\lib\httplib.py", line 1097, in _send_request
    self.endheaders(body)
  File "C:\Python27\lib\httplib.py", line 1053, in endheaders
    self._send_output(message_body)
  File "C:\Python27\lib\httplib.py", line 895, in _send_output
    msg += message_body
  File "C:\Python27\lib\encodings\utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0x9c in position 1: invalid start byte
2016-09-14 16:40:58,431 [sentry.errors.uncaught] [ERROR] [u'ConfigException: The EvolveAll task has been renamed to EvolvePokemon', u'  File "pokecli.py", line 802, in <module>', u'  File "pokecli.py", line 149, in main', u'  File "pokecli.py", line 109, in start_bot', u'  File "pokecli.py", line 93, in initialize_task', u'  File "C:\\Test\\PokemonGo-Bot\\pokemongo_bot\\tree_config_builder.py", line 37, in build']

 Something went wrong and the bot needed to be restarted. Please investigate the cause.


Waiting for 19 seconds, press a key to continue ...




Steps to Reproduce

Restarting the bot.

Other Information

OS: Windows 10

Branch:

Git Commit:

Python Version:

Any other relevant files/configs (eg: path files)

dependency issue

Seems like protobuf-to-dict depends on six>=1.9.0 but in their repo's requirements it is only refered to six 1.8.0
An issue is already active at the developer's repo (#benhodgson/protobuf-to-dict#12) but the repo seems to be stale.
I recommend adding the six dependency to our requirements.txt (right before protobuf-to-dict) because it raised strange errors on debian8 having six 1.8.0 installed. updating six to 1.10.0 fixed the issue for me.

Pokemon Optimizer only running at bot start

Expected Behavior

the pokemon optimizer should be run periodically at least or better every time a pokemon is caught.

Actual Behavior

the pokemon optimizer is run only at bot start

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

  {
        "type": "PokemonOptimizer",
        "config": {
            "enabled": true,
            "min_slots_left": 999,
            "transfer": true,
            "transfer_wait_min": 3,
            "transfer_wait_max": 5,
            "evolve": true,
            "evolve_time": 25,
            "evolve_for_xp": true,
            "evolve_only_with_lucky_egg": false,
            "evolve_count_for_lucky_egg": 80,
            "may_use_lucky_egg": true,
            "upgrade": true,
            "upgrade_level": 60,
            "groups": {
                "gym": ["Dragonite", "Snorlax", "Lapras", "Arcanine"]
            },
            "rules": [
                {
                    "mode": "by_pokemon",
                    "top": 1,
                    "sort": ["cp", "iv"],
          "evolve": {"iv": 0.9}
                }
      ]
        }
    }

Output when issue occurred

none

Steps to Reproduce

Let a bot catch a pokemon.
the new pokemon should be evolved or transferred or replace another that should be transferred

Other Information

OS:
Mac OSX
Branch:
dev
Git Commit:
a630689
Python Version:
Python 2.7.12

Any other relevant files/configs (eg: path files)

error while instaling requirements.txt

hello, i searched all over the issues page and over the whole internet, and nothing seems to fix it for me.
when i try ti run requirements.txt i get the folowing output:
http://pastebin.com/izdXiCNP

im using the manual instalation method.
i tryed the automatic instalation with the ./setup.sh and same erro ocurred, im not very good with linux but im trying hard to learn.
tryed uinstall and instaling again requirements.txt
maeby is something on my sistem but i simply dont know what may cause this !?

raspberry pi2 =>PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
NAME="Raspbian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=raspbian
ID_LIKE=debian

dev branch of bot
git version 2.1.4
Python Version:
Python 2.7.9
Python 3.5.2

Bot not start when start_embedded_server: false

Expected Behavior

Bot should run

Actual Behavior

Bot not start

config.json

"websocket": {
    "start_embedded_server": false,
    "server_url": "127.0.0.1:4000"
}

full config http://pastebin.com/QpVLLGrq

Output when issue occurred

no error message displayed

image

Steps to Reproduce

just set "start_embedded_server": false,

Other Information

OS: Mac OS X El Capitan 10.11.6
Branch: dev
Git Commit: a443126
Python Version: 2.7.12

ban status

Does anybody get banned lately?

I am running it smoothly. No sign of ban. But I would like to know how you guys are doing?

Optimizer does not operate

Looks like the board was wiped completely clean but I'm still having an issue with this sooooo repost!

Expected Behavior

PokemonOptimizer transfers pokemon that do not meet the criteria given in "rules"

"rules": [
                    {
                        "mode": "by_family",
                        "top": 2,
                        "sort": ["ivcp"],
                        "evolve": true,
                        "upgrade": false
                    },
                    {
                        "mode": "by_pokemon",
                        "top": 2,
                        "sort": ["attack_perfection"],
                        "evolve": false,
                        "upgrade": {"ivcp": 0.8}
                    },
                    {
                        "mode": "by_pokemon",
                        "top": 2,
                        "sort": ["defense_perfection"],
                        "evolve": false,
                        "upgrade": {"ivcp": 0.8}
                    }
                ]

Actual Behavior

No pokemon are being transferred.

Config

http://pastebin.com/rW7vStGC

Output

http://pastebin.com/GeFgfaqG

Other Information

OS: Mint 18

Branch: Dev

Git Commit: fbe0507
Python Version: 2.7.12

Workaround

Replacing attack_perfection and defense_perfection with dps_attack and dps_defense, respectively, lets the task run.

                "rules": [
                    {
                        "mode": "by_family",
                        "top": 2,
                        "sort": ["ivcp"],
                        "evolve": true,
                        "upgrade": false
                    },
                    {
                        "mode": "by_family",
                        "top": 1,
                        "sort": ["dps_attack"],
                        "evolve": false,
                        "upgrade": true
                    },
                    {
                        "mode": "by_family",
                        "top": 1,
                        "sort": ["dps_defense"],
                        "evolve": false,
                        "upgrade": true
                    }
                ]

Something strange going on with Incense task

About 14 hours prior to this post's time, I added the UseIncense task to my config, set it to true and ran bot. It appeared that incense wasn't used properly- no log of incense usage, no mention of incensed pokemon, amount of incense in bag did not change.

I figured it didn't work properly so I removed the UseIncense task and restarted the bot.

I am just noticing now, 14 hours later, that I received 2 lines in my logger: [2016-09-14 13:24:33] Incensed Pokemon went out of range!

It only happened twice, is not causing any problems for me but I thought that was strange.

Also, when incense task was first available I tried it once. I had another strange instance there as well- I used the incense, this time I also did not see mention of anything in logger. When I opened account on app several hours later I could see incense swirling around my trainer BUT there was NO incense timer on screen! The incense swirled for ~30 minutes (normal incense time) and then went away. It did not trigger any pokemon either.

Just thought I'd mention these as I'm noticing odd behavior with UseIncense task.

Bot crashing with PokemonHunter enabled

Expected Behavior

Bot should run and hunt down Pokemon with PokemonHunter enabled

Actual Behavior

Bot crashes with Error after successful startup as soon as nearby Pokemon are found.

adding option verify=False to all requests.get() in polyline_generator.py solves this problem!

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

  {
        "type": "PokemonHunter",
        "config": {
            "enabled": true,
            "max_distance": 150000,
            "hunt_all": false,
            "hunt_vip": true,
            "hunt_pokedex": true
        }
    },

full config: (http://pastebin.com/vAH3Bqnf)

Output when issue occurred

Traceback (most recent call last): File "pokecli.py", line 841, in <module> main() File "pokecli.py", line 200, in main bot.tick() File "C:\Python27\PokemonGo-Bot\pokemongo_bot\__init__.py", line 708, in tick if worker.work() == WorkerResult.RUNNING: File "C:\Python27\PokemonGo-Bot\pokemongo_bot\cell_workers\pokemon_hunter.py", line 74, in work elif self.walker.step(): File "C:\Python27\PokemonGo-Bot\pokemongo_bot\walkers\step_walker.py", line 39, in step new_position = self.get_next_position(origin_lat, origin_lng, origin_alt, self.dest_lat, self.dest_lng, self.dest_alt, speed) File "C:\Python27\PokemonGo-Bot\pokemongo_bot\walkers\polyline_walker.py", line 10, in get_next_position polyline = PolylineObjectHandler.cached_polyline((self.bot.position[0], self.bot.position[1]), (dest_lat, dest_lng), google_map_api_key=self.bot.config.gmapkey) File "C:\Python27\PokemonGo-Bot\pokemongo_bot\walkers\polyline_generator.py", line 52, in cached_polyline PolylineObjectHandler._cache = Polyline(origin, destination, google_map_api_key) File "C:\Python27\PokemonGo-Bot\pokemongo_bot\walkers\polyline_generator.py", line 71, in __init__ self._directions_response = requests.get(self.DIRECTIONS_URL).json() File "C:\Python27\lib\site-packages\requests\api.py", line 71, in get return request('get', url, params=params, **kwargs) File "C:\Python27\lib\site-packages\requests\api.py", line 57, in request return session.request(method=method, url=url, **kwargs) File "C:\Python27\lib\site-packages\requests\sessions.py", line 475, in request resp = self.send(prep, **send_kwargs) File "C:\Python27\lib\site-packages\requests\sessions.py", line 585, in send r = adapter.send(request, **kwargs) File "C:\Python27\lib\site-packages\requests\adapters.py", line 477, in send raise SSLError(e, request=request) requests.exceptions.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_get_server_certificate', 'certificate verify failed')],)",)

Steps to Reproduce

use PokemonHunter

Other Information

OS: Win10

Branch: dev

Git Commit: 0e8a03a

Python Version: Python 2.7.10

Any other relevant files/configs (eg: path files)

follow_path: loitering option

repost of the lost issue PokemonGoF/PokemonGo-Bot#5416

brief summary:
There is a misunderstanding of the use of the loitering functionality.
@alexyaoyang, myself and the original author of the loitering option wanted to use it to let the bot handle other running tasks. current master has this functionality. It is also explained in the docs.

In dev the loitering was changed to really do nothing at all besides catching pokemon etc. so the running task was held further active.

The newly changed behaviour should also be the case if no running task at all is added after the loitering. Therfore I would like to revert the old loitering behaviour if @anakin5 agrees who's to blame.

Any thoughts maybe from @janpascal

Feature req: Buddy task

Short Description

A new task to select a buddy pokemon

Possible solution

a task named buddy where you could put in the name of the pokemon you would select as buddy.

How it would help others

it will give extra candy for the type of pokemon you chose as buddy for every km walked making it easier to evolve that type

Subscribe to Telegram event through config file

Short Description

At the moment Telegram task allows us to subscribe through command /sub.
It'd be better if we can pre-set the subscription through config file, say telegram.json.

Possible solution

Modify the task construction/initialization to parse the config, and perform necessary subscription.

How it would help others

People are interested in only a certain set of events, and that's unlikely to change. Hence having to re-sub one by one every time restart the bot would be very troublesome.

Config file would be the starting point, then we can still subscribe for more as per usual.

ConfigException("Pokemon Optimizer configuration has changed. See docs/pokemon_optimized.md or configs/config.json.optimizer.example")

Expected Behavior

Bot starting well.

Actual Behavior

Bot restarting after 20 seconds.

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

{
"websocket_server": false,
"heartbeat_threshold": 10,
"enable_social": true,
"live_config_update": {
"enabled": false,
"tasks_only": false
},
"tasks": [
{
"type": "TelegramTask",
"config": {
"enabled": false,
"master": null,
"// old syntax, still supported: alert_catch": ["all"],
"// new syntax:": {},
"alert_catch": {
"all": {"operator": "and", "cp": 1300, "iv": 0.95},
"Snorlax": {"operator": "or", "cp": 900, "iv": 0.9}
}
}
},
{
"//NOTE: This task MUST be placed on the top of task list": {},
"type": "RandomAlivePause",
"config": {
"enabled": false,
"min_duration": "00:00:10",
"max_duration": "00:10:00",
"min_interval": "00:05:00",
"max_interval": "01:30:00"
}
},
{
"type": "HandleSoftBan"
},
{
"type": "RandomPause",
"config": {
"enabled": false,
"min_duration": "00:00:10",
"max_duration": "00:10:00",
"min_interval": "00:10:00",
"max_interval": "02:00:00"
}
},
{
"type": "CompleteTutorial",
"config": {
"enabled": false,
"// set a name": "",
"nickname": ""
}
},
{
"type": "CollectLevelUpReward",
"config": {
"collect_reward": true,
"level_limit": -1
}
},
{
"type": "IncubateEggs",
"config": {
"enabled": true,
"infinite_longer_eggs_first": false,
"breakable_longer_eggs_first": true,
"min_interval": 120,
"infinite": [2,5,10],
"breakable": [2,5,10]
}
},
{
"type": "UpdateLiveStats",
"config": {
"enabled": false,
"min_interval": 10,
"stats": ["username", "uptime", "stardust_earned", "xp_earned", "xp_per_hour", "stops_visited"],
"terminal_log": true,
"terminal_title": true
}
},
{
"type": "UpdateLiveInventory",
"config": {
"enabled": false,
"min_interval": 120,
"show_all_multiple_lines": false,
"items": ["pokemon_bag", "space_info", "pokeballs", "greatballs", "ultraballs", "razzberries", "luckyegg"]
}
},
{
"type": "ShowBestPokemon",
"config": {
"enabled": true,
"min_interval": 60,
"amount": 5,
"order_by": "cp",
"info_to_show": ["cp", "ivcp", "dps", "hp"]
}
},
{
"type": "PokemonOptimizer",
"config": {
"enabled": true,
"// the 'transfer' parameter activate or deactivate the transfer of pokemons": {},
"// at false, no pokemon is going to be transfered, ever": {},
"// at false, you will still get the log information of what the optimizer": {},
"// would have transfered if the parameter was true": {},
"transfer": true,
"// 'transfer_wait_min' and 'transfer_wait_max' are the minimum and maximum": {},
"// time to wait when transferring a pokemon": {},
"transfer_wait_min": 3,
"transfer_wait_max": 5,
"// the 'evolve' parameter activate or deactivate the evolution of pokemons": {},
"// at false, no pokemon is going to be evolved, ever": {},
"// at false, you will still get the log information of what the": {},
"// optimizer would have evolved if the parameter was true": {},
"evolve": true,
"// Time in seconds to wait between two evolve": {},
"evolve_time": 20,
"// the 'evolve_for_xp' parameter let you choose if you want the optimizer": {},
"// to use your candies to evolve low quality pokemons in order to maximize your xp": {},
"// at false, the optimizer will still use candies to evolve your best Pokemons": {},
"evolve_for_xp": true,
"// the 'evolve_only_with_lucky_egg' parameter let you choose if you want the optimizer": {},
"// to only Evolve Pokemons when a lucky egg is available": {},
"evolve_only_with_lucky_egg": true,
"// the 'evolve_count_for_lucky_egg' parameter let you define the minimum": {},
"// number of Pokemons that must evolve before using a lucky egg": {},
"// If that number is not reached, and evolve_only_with_lucky_egg is true, evolution will be skipped": {},
"// If that number is not reached, and evolve_only_with_lucky_egg is false,": {},
"// evolution will be performed without using a lucky egg": {},
"evolve_count_for_lucky_egg": 1,
"// the 'may_use_lucky_egg' parameter let you choose if you want the optimizer": {},
"// to use a lucky egg right before evolving Pokemons. At false; the optimizer": {},
"// is free to evolve Pokemons even if you do not have any lucky egg.": {},
"may_use_lucky_egg": true,
"// the 'keep' parameter let you define what pokemons you consider are the 'best'. These Pokemons": {},
"// will be keep and evolved. Note that Pokemons are evaluated inside their whole family": {},
"// Multiple way of ranking can be defined. Following configuration let you keep the best iv,": {},
"// the best ncp and the best cp": {},
"keep": [
{
"// Following setting let you keep the best iv of the family": {},
"// the 'top' parameter allow you to define how many Pokemons you want to keep": {},
"// at the top of your ranking. If several Pokemons get the same score, they are": {},
"// considered equal. Thus, top=1 might result in keeping more than 1 Pokemon.": {},
"top": 1,
"// the 'evolve' parameter let you choose if you want to evolve the Pokemons you keep": {},
"evolve": false,
"// the 'sort' parameter define how you want to rank your pokemons": {},
"// Critera are sorted fro, the most important to the least important.": {},
"// Available criteria are:": {},
"// 'iv' = individual value": {},
"// 'ivcp' = iv weigted so that for equal iv, attack > defense > stamina": {},
"// 'cp' = combat power (can be increased with candies)": {},
"// 'cp_exact' = combat power (not rounded)": {},
"// 'ncp' (normalized cp) or 'cp_percent' = ratio cp / max_cp": {},
"// 'iv_attack' = attach component of iv": {},
"// 'iv_defense' = defense component of iv": {},
"// 'iv_stamina' = stamina component of iv": {},
"// 'dps' = raw dps based on the moves of the pokemon": {},
"// 'dps_attack' = average dps when attacking": {},
"// 'attack_perfection' = ratio dps_attack / best_dps_attack. Return same order as 'dps_attack'": {},
"// 'dps_defense' = average dps when defending": {},
"// 'defense_perfection' = ratio dps_defense / best_dps_defense. Return same order as 'dps_defense'": {},
"// 'hp' = current health points": {},
"// 'hp_max' = max health points": {},
"// Note that the more criteria you add to this list, the less likely Pokemons": {},
"// will be equals": {},
"sort": ["iv"]
},
{
"// Following setting let you keep keep the best cp of the family.": {},
"// But will not evolve it further (in favor of the best ncp)": {},
"// It will only applies to the family of 'Dragonite', 'Arcanine' and 'Muk'": {},
"// Other families are not following this setting": {},
"names": ["Dragonite", "Arcanine", "Muk"],
"top": 1,
"evolve": false,
"sort": ["cp"]
}
]
}
},
{
"type": "RecycleItems",
"config": {
"enabled": true,
"min_empty_space": 15,
"max_balls_keep": 200,
"max_potions_keep": 30,
"max_berries_keep": 50,
"max_revives_keep": 70,
"item_filter": {
"Pokeball": { "keep" : 200 },
"Potion": { "keep" : 0 },
"Super Potion": { "keep" : 0 },
"Hyper Potion": { "keep" : 30 },
"Revive": { "keep" : 30 },
"Razz Berry": { "keep" : 50 }
},
"recycle_wait_min": 1,
"recycle_wait_max": 3,
"recycle_force": true,
"recycle_force_min": "00:01:00",
"recycle_force_max": "00:05:00"
}
},
{
"type": "CatchPokemon",
"config": {
"enabled": true,
"catch_visible_pokemon": true,
"catch_lured_pokemon": true,
"min_ultraball_to_keep": 5,
"berry_threshold": 0.35,
"vip_berry_threshold": 0.9,
"treat_unseen_as_vip": true,
"daily_catch_limit": 800,
"catch_throw_parameters": {
"excellent_rate": 0.1,
"great_rate": 0.5,
"nice_rate": 0.3,
"normal_rate": 0.1,
"spin_success_rate" : 0.6,
"hit_rate": 0.75
},
"catch_simulation": {
"flee_count": 3,
"flee_duration": 2,
"catch_wait_min": 3,
"catch_wait_max": 6,
"berry_wait_min": 3,
"berry_wait_max": 5,
"changeball_wait_min": 3,
"changeball_wait_max": 5,
"newtodex_wait_min": 20,
"newtodex_wait_max": 30
}
}
},
{
"type": "SpinFort",
"config": {
"enabled": true,
"spin_wait_min": 3,
"spin_wait_max": 5
}
},
{ "type": "UpdateWebInventory",
"config": {
"enabled": true
}
},
{
"type": "MoveToFort",
"config": {
"enabled": true,
"lure_attraction": true,
"lure_max_distance": 2000,
"walker": "StepWalker",
"log_interval": 5
}
}
],
"map_object_cache_time": 5,
"forts": {
"avoid_circles": true,
"max_circle_size": 50,
"cache_recent_forts": true
},
"pokemon_bag": {
"// if 'show_at_start' is true, it will log all the pokemons in the bag (not eggs) at bot start": {},
"show_at_start": true,
"// if 'show_count' is true, it will show the amount of each pokemon (minimum 1)": {},
"show_count": false,
"// if 'show_candies' is true, it will show the amount of candies for each pokemon": {},
"show_candies": false,
"// 'pokemon_info' parameter define which info to show for each pokemon": {},
"// the available options are": {},
"// ['cp', 'iv_ads', 'iv_pct', 'ivcp', 'ncp', 'level', 'hp', 'moveset', 'dps']": {},
"pokemon_info": ["cp", "iv_pct"]
},
"walk_max": 5,
"walk_min": 2.16,
"alt_min": 500,
"alt_max": 1000,
"sleep_schedule": [
{
"time": "08:00",
"duration": "1:00",
"time_random_offset": "00:30",
"duration_random_offset": "00:30",
"wake_up_at_location": ""
},
{
"time": "17:45",
"duration": "3:00",
"time_random_offset": "01:00",
"duration_random_offset": "00:30",
"wake_up_at_location": ""
}
],
"gps_default_altitude": 8.0,
"replicate_gps_xy_noise": false,
"replicate_gps_z_noise": false,
"gps_xy_noise_range": 0.000125,
"gps_z_noise_range": 12.5,
"debug": false,
"test": false,
"walker_limit_output": false,
"health_record": false,
"location_cache": true,
"distance_unit": "km",
"reconnecting_timeout": 15,
"logging": {
"color": true,
"show_datetime": true,
"show_process_name": true,
"show_log_level": true
},
"catch": {
"any": {"catch_above_cp": 0, "catch_above_iv": 0, "logic": "or" },

  "// Pokemons with example": { "always_catch": true },
  "// Gets filtered with release parameters": {},

  "// Legendary pokemons (Goes under S-Tier)": {},
  "Lapras": { "always_catch": true },
  "Moltres": { "always_catch": true },
  "Zapdos": { "always_catch": true },
  "Articuno": { "always_catch": true },

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

  "// Growlithe evolves to Arcanine": {},
  "Growlithe": { "always_catch": true },
  "// Dragonair evolves to Dragonite": {},
  "Dragonair": { "always_catch": true },
  "// Grimer evolves to Muk": {},
  "Grimer": { "always_catch": true },

  "// Magikarp evolves to Gyarados": {},
  "Magikarp": { "always_catch": true },
  "// Exeggcute evolves to Exeggutor": {},
  "Exeggcute": { "always_catch": true },
  "// Eevee evolves to many versions, like Vaporeon, Flareon": {},
  "Eevee": { "always_catch": true },

  "// A-Tier pokemons": {},
  "Slowbro": { "always_catch": true },
  "Victreebel": { "always_catch": true },
  "Machamp": { "always_catch": true },
  "Poliwrath": { "always_catch": true },
  "Clefable": { "always_catch": true },
  "Nidoking": { "always_catch": true },
  "Venusaur": { "always_catch": true },
  "Charizard": { "always_catch": true },
  "Golduck": { "always_catch": true },
  "Nidoqueen": { "always_catch": true },
  "Vileplume": { "always_catch": true },
  "Blastoise": { "always_catch": true },
  "Omastar":  { "always_catch": true },
  "Aerodactyl": { "always_catch": true },
  "Golem": { "always_catch": true },
  "Wigglytuff": { "always_catch": true },
  "Dewgong": { "always_catch": true },
  "Ninetales": { "always_catch": true },
  "Magmar": { "always_catch": true },
  "Kabutops": { "always_catch": true },
  "Electabuzz": { "always_catch": true },
  "Starmie": { "always_catch": true },
  "Jolteon": { "always_catch": true },
  "Rapidash": { "always_catch": true },
  "Pinsir": { "always_catch": true },
  "Scyther": { "always_catch": true },
  "Tentacruel": { "always_catch": true },
  "Gengar": { "always_catch": true },
  "Hypno": { "always_catch": true },
  "Pidgeot": { "always_catch": true },
  "Rhydon": { "always_catch": true },
  "Seaking": { "always_catch": true },
  "Kangaskhan": { "always_catch": true }
},
"release": {
  "any": {"release_below_cp": 0, "release_below_iv": 0, "logic": "or" },
  "// Keep no more than 3 best IV pokemon for every pokemon type": {},
  "// any": {"keep_best_iv": 3},
  "// Discard all pokemon in bag except 180 pokemon with best CP": {},
  "// all": {"keep_best_cp": 180},
  "// Example of keeping the 2 strongest (based on CP) and 3 best (based on IV) Zubat:": {},
  "// Zubat": {"keep_best_cp": 2, "keep_best_iv": 3},
  "// Example of keeping the 2 strongest (based on CP) and 3 best (based on IV) Pidgey:": {},
  "// Pidgey": {"keep_best_cp": 2, "keep_best_iv": 3},
  "Lapras": { "release_below_cp": 1041, "release_below_iv": 0.5, "logic": "and" },
  "Moltres": { "release_below_cp": 1132, "release_below_iv": 0.5, "logic": "and" },
  "Zapdos": { "release_below_cp": 1087, "release_below_iv": 0.5, "logic": "and" },
  "Articuno": { "release_below_cp": 1039, "release_below_iv": 0.5, "logic": "and" },

  "// S-Tier pokemons (if pokemon can be evolved into tier, list the representative)": {},
  "Mewtwo": { "release_below_cp": 1447, "release_below_iv": 0.5, "logic": "and"},
  "Dragonite": { "release_below_cp": 1221, "release_below_iv": 0.5, "logic": "and" },
  "Snorlax": { "release_below_cp": 1087, "release_below_iv": 0.5, "logic": "and" },
  "// Mew evolves to Mewtwo": {},
  "Mew": { "release_below_cp": 1152, "release_below_iv": 0.5, "logic": "and" },
  "Arcanine": { "release_below_cp": 1041, "release_below_iv": 0.5, "logic": "and" },
  "Vaporeon": { "release_below_cp": 984, "release_below_iv": 0.5, "logic": "and" },
  "Gyarados": { "release_below_cp": 938, "release_below_iv": 0.5, "logic": "and" },
  "Exeggutor": { "release_below_cp": 1032, "release_below_iv": 0.5, "logic": "and" },
  "Muk": { "release_below_cp": 909, "release_below_iv": 0.5, "logic": "and" },
  "Weezing": { "release_below_cp": 784, "release_below_iv": 0.5, "logic": "and" },
  "Flareon": { "release_below_cp": 924, "release_below_iv": 0.5, "logic": "and" },

  "// Growlithe evolves to Arcanine": {},
  "Growlithe": { "release_below_cp": 465, "release_below_iv": 0.5, "logic": "and" },
  "// Dragonair evolves to Dragonite": {},
  "Dragonair": { "release_below_cp": 609, "release_below_iv": 0.5, "logic": "and" },
  "// Grimer evolves to Muk": {},
  "Grimer": { "release_below_cp": 448, "release_below_iv": 0.5, "logic": "and" },
  "// Magikarp evolves to Gyarados": {},
  "Magikarp": { "release_below_cp": 91, "release_below_iv": 0.5, "logic": "and" },
  "// Exeggcute evolves to Exeggutor": {},
  "Exeggcute": { "release_below_cp": 384, "release_below_iv": 0.5, "logic": "and" },
  "// Eevee evolves to many versions, like Vaporeon, Flareon": {},
  "Eevee": { "release_below_cp": 376, "release_below_iv": 0.5, "logic": "and" },

  "// A-Tier pokemons": {},
  "Slowbro": { "release_below_cp": 800, "release_below_iv": 0.5, "logic": "and" },
  "Victreebel": { "release_below_cp": 800, "release_below_iv": 0.5, "logic": "and" },
  "Machamp": { "release_below_cp": 800, "release_below_iv": 0.5, "logic": "and" },
  "Poliwrath": { "release_below_cp": 700, "release_below_iv": 0.5, "logic": "and" },
  "Clefable": { "release_below_cp": 500, "release_below_iv": 0.5, "logic": "and" },
  "Nidoking": { "release_below_cp": 700, "release_below_iv": 0.5, "logic": "and" },
  "Venusaur": { "release_below_cp": 600, "release_below_iv": 0.5, "logic": "and" },
  "Charizard": { "release_below_cp": 500, "release_below_iv": 0.5, "logic": "and" },
  "Golduck": { "release_below_cp": 600, "release_below_iv": 0.5, "logic": "and" },
  "Nidoqueen": { "release_below_cp": 600, "release_below_iv": 0.5, "logic": "and" },
  "Vileplume": { "release_below_cp": 600, "release_below_iv": 0.5, "logic": "and" },
  "Blastoise": { "release_below_cp": 600, "release_below_iv": 0.5, "logic": "and" },
  "Omastar":  { "release_below_cp": 600, "release_below_iv": 0.5, "logic": "and" },
  "Aerodactyl": { "release_below_cp": 500, "release_below_iv": 0.5, "logic": "and" },
  "Golem": { "release_below_cp": 500, "release_below_iv": 0.5, "logic": "and" },
  "Wigglytuff": { "release_below_cp": 500, "release_below_iv": 0.5, "logic": "and" },
  "Dewgong": { "release_below_cp": 500, "release_below_iv": 0.5, "logic": "and" },
  "Ninetales": { "release_below_cp": 500, "release_below_iv": 0.5, "logic": "and" },
  "Magmar": { "release_below_cp": 500, "release_below_iv": 0.5, "logic": "and" },
  "Kabutops": { "release_below_cp": 500, "release_below_iv": 0.5, "logic": "and" },
  "Electabuzz": { "release_below_cp": 500, "release_below_iv": 0.5, "logic": "and" },
  "Starmie": { "release_below_cp": 500, "release_below_iv": 0.5, "logic": "and" },
  "Jolteon": { "release_below_cp": 500, "release_below_iv": 0.5, "logic": "and" },
  "Rapidash": { "release_below_cp": 500, "release_below_iv": 0.5, "logic": "and" },
  "Pinsir": { "release_below_cp": 500, "release_below_iv": 0.5, "logic": "and" },
  "Scyther": { "release_below_cp": 500, "release_below_iv": 0.5, "logic": "and" },
  "Tentacruel": { "release_below_cp": 500, "release_below_iv": 0.5, "logic": "and" },
  "Gengar": { "release_below_cp": 500, "release_below_iv": 0.5, "logic": "and" },
  "Hypno": { "release_below_cp": 500, "release_below_iv": 0.5, "logic": "and" },
  "Pidgeot": { "release_below_cp": 500, "release_below_iv": 0.5, "logic": "and" },
  "Rhydon": { "release_below_cp": 500, "release_below_iv": 0.5, "logic": "and" },
  "Seaking": { "release_below_cp": 500, "release_below_iv": 0.5, "logic": "and" },
  "Kangaskhan": { "release_below_cp": 500, "release_below_iv": 0.5, "logic": "and" },

  "// Koffing evolves to Weezing (A-Tier)": {},
  "Koffing": { "release_below_cp": 403, "release_below_iv": 0.5, "logic": "and" },

  "// Below is B-tier and lower pokemons": {},
  "Caterpie": { "release_below_cp": 156, "release_below_iv": 0.5, "logic": "and" },
  "Weedle": { "release_below_cp": 156, "release_below_iv": 0.5, "logic": "and" },
  "Diglett": { "release_below_cp": 158, "release_below_iv": 0.5, "logic": "and" },
  "Metapod": { "release_below_cp": 168, "release_below_iv": 0.5, "logic": "and" },
  "Kakuna": { "release_below_cp": 170, "release_below_iv": 0.5, "logic": "and" },
  "Rattata": { "release_below_cp": 204, "release_below_iv": 0.5, "logic": "and" },
  "Abra": { "release_below_cp": 208, "release_below_iv": 0.5, "logic": "and" },
  "Zubat": { "release_below_cp": 225, "release_below_iv": 0.5, "logic": "and" },
  "Chansey": { "release_below_cp": 235, "release_below_iv": 0.5, "logic": "and" },
  "Pidgey": { "release_below_cp": 237, "release_below_iv": 0.5, "logic": "and" },
  "Spearow": { "release_below_cp": 240, "release_below_iv": 0.5, "logic": "and" },
  "Meowth": { "release_below_cp": 264, "release_below_iv": 0.5, "logic": "and" },
  "Krabby": { "release_below_cp": 276, "release_below_iv": 0.5, "logic": "and" },
  "Sandshrew": { "release_below_cp": 278, "release_below_iv": 0.5, "logic": "and" },
  "Poliwag": { "release_below_cp": 278, "release_below_iv": 0.5, "logic": "and" },
  "Horsea": { "release_below_cp": 278, "release_below_iv": 0.5, "logic": "and" },
  "Gastly": { "release_below_cp": 280, "release_below_iv": 0.5, "logic": "and" },
  "Ekans": { "release_below_cp": 288, "release_below_iv": 0.5, "logic": "and" },
  "Shellder": { "release_below_cp": 288, "release_below_iv": 0.5, "logic": "and" },
  "Vulpix": { "release_below_cp": 290, "release_below_iv": 0.5, "logic": "and" },
  "Voltorb": { "release_below_cp": 292, "release_below_iv": 0.5, "logic": "and" },
  "Geodude": { "release_below_cp": 297, "release_below_iv": 0.5, "logic": "and" },
  "Doduo": { "release_below_cp": 297, "release_below_iv": 0.5, "logic": "and" },
  "Onix": { "release_below_cp": 300, "release_below_iv": 0.5, "logic": "and" },
  "Mankey": { "release_below_cp": 307, "release_below_iv": 0.5, "logic": "and" },
  "Pikachu": { "release_below_cp": 309, "release_below_iv": 0.5, "logic": "and" },
  "Magnemite": { "release_below_cp": 312, "release_below_iv": 0.5, "logic": "and" },
  "Tentacool": { "release_below_cp": 316, "release_below_iv": 0.5, "logic": "and" },
  "Paras": { "release_below_cp": 319, "release_below_iv": 0.5, "logic": "and" },
  "Jigglypuff": { "release_below_cp": 321, "release_below_iv": 0.5, "logic": "and" },
  "Ditto": { "release_below_cp": 321, "release_below_iv": 0.5, "logic": "and" },
  "Staryu": { "release_below_cp": 326, "release_below_iv": 0.5, "logic": "and" },
  "Charmander": { "release_below_cp": 333, "release_below_iv": 0.5, "logic": "and" },
  "Goldeen": { "release_below_cp": 336, "release_below_iv": 0.5, "logic": "and" },
  "Squirtle": { "release_below_cp": 352, "release_below_iv": 0.5, "logic": "and" },
  "Cubone": { "release_below_cp": 352, "release_below_iv": 0.5, "logic": "and" },
  "Venonat": { "release_below_cp": 360, "release_below_iv": 0.5, "logic": "and" },
  "Bulbasaur": { "release_below_cp": 374, "release_below_iv": 0.5, "logic": "and" },
  "Drowzee": { "release_below_cp": 374, "release_below_iv": 0.5, "logic": "and" },
  "Machop": { "release_below_cp": 381, "release_below_iv": 0.5, "logic": "and" },
  "Psyduck": { "release_below_cp": 386, "release_below_iv": 0.5, "logic": "and" },
  "Seel": { "release_below_cp": 386, "release_below_iv": 0.5, "logic": "and" },
  "Kabuto": { "release_below_cp": 386, "release_below_iv": 0.5, "logic": "and" },
  "Bellsprout": { "release_below_cp": 391, "release_below_iv": 0.5, "logic": "and" },
  "Omanyte": { "release_below_cp": 391, "release_below_iv": 0.5, "logic": "and" },
  "Kadabra": { "release_below_cp": 396, "release_below_iv": 0.5, "logic": "and" },
  "Oddish": { "release_below_cp": 400, "release_below_iv": 0.5, "logic": "and" },
  "Dugtrio": { "release_below_cp": 408, "release_below_iv": 0.5, "logic": "and" },
  "Rhyhorn": { "release_below_cp": 412, "release_below_iv": 0.5, "logic": "and" },
  "Clefairy": { "release_below_cp": 420, "release_below_iv": 0.5, "logic": "and" },
  "Slowpoke": { "release_below_cp": 424, "release_below_iv": 0.5, "logic": "and" },
  "Pidgeotto": { "release_below_cp": 427, "release_below_iv": 0.5, "logic": "and" },
  "Farfetch'd": { "release_below_cp": 441, "release_below_iv": 0.5, "logic": "and" },
  "Poliwhirl": { "release_below_cp": 468, "release_below_iv": 0.5, "logic": "and" },
  "Nidorino": { "release_below_cp": 480, "release_below_iv": 0.5, "logic": "and" },
  "Haunter": { "release_below_cp": 482, "release_below_iv": 0.5, "logic": "and" },
  "Nidorina": { "release_below_cp": 489, "release_below_iv": 0.5, "logic": "and" },
  "Graveler": { "release_below_cp": 501, "release_below_iv": 0.5, "logic": "and" },
  "Beedrill": { "release_below_cp": 504, "release_below_iv": 0.5, "logic": "and" },
  "Raticate": { "release_below_cp": 504, "release_below_iv": 0.5, "logic": "and" },
  "Butterfree": { "release_below_cp": 508, "release_below_iv": 0.5, "logic": "and" },
  "Hitmonlee": { "release_below_cp": 520, "release_below_iv": 0.5, "logic": "and" },
  "Ponyta": { "release_below_cp": 530, "release_below_iv": 0.5, "logic": "and" },
  "Hitmonchan": { "release_below_cp": 530, "release_below_iv": 0.5, "logic": "and" },
  "Charmeleon": { "release_below_cp": 544, "release_below_iv": 0.5, "logic": "and" },
  "Wartortle": { "release_below_cp": 552, "release_below_iv": 0.5, "logic": "and" },
  "Persian": { "release_below_cp": 568, "release_below_iv": 0.5, "logic": "and" },
  "Lickitung": { "release_below_cp": 568, "release_below_iv": 0.5, "logic": "and" },
  "Ivysaur": { "release_below_cp": 571, "release_below_iv": 0.5, "logic": "and" },
  "Electrode": { "release_below_cp": 576, "release_below_iv": 0.5, "logic": "and" },
  "Marowak": { "release_below_cp": 578, "release_below_iv": 0.5, "logic": "and" },
  "Gloom": { "release_below_cp": 590, "release_below_iv": 0.5, "logic": "and" },
  "Porygon": { "release_below_cp": 590, "release_below_iv": 0.5, "logic": "and" },
  "Seadra": { "release_below_cp": 597, "release_below_iv": 0.5, "logic": "and" },
  "Jynx": { "release_below_cp": 600, "release_below_iv": 0.5, "logic": "and" },
  "Weepinbell": { "release_below_cp": 602, "release_below_iv": 0.5, "logic": "and" },
  "Tangela": { "release_below_cp": 607, "release_below_iv": 0.5, "logic": "and" },
  "Fearow": { "release_below_cp": 609, "release_below_iv": 0.5, "logic": "and" },
  "Parasect": { "release_below_cp": 609, "release_below_iv": 0.5, "logic": "and" },
  "Machoke": { "release_below_cp": 614, "release_below_iv": 0.5, "logic": "and" },
  "Arbok": { "release_below_cp": 616, "release_below_iv": 0.5, "logic": "and" },
  "Sandslash": { "release_below_cp": 631, "release_below_iv": 0.5, "logic": "and" },
  "Alakazam": { "release_below_cp": 633, "release_below_iv": 0.5, "logic": "and" },
  "Kingler": { "release_below_cp": 636, "release_below_iv": 0.5, "logic": "and" },
  "Dodrio": { "release_below_cp": 640, "release_below_iv": 0.5, "logic": "and" },
  "Tauros": { "release_below_cp": 643, "release_below_iv": 0.5, "logic": "and" },
  "Primeape": { "release_below_cp": 650, "release_below_iv": 0.5, "logic": "and" },
  "Magneton": { "release_below_cp": 657, "release_below_iv": 0.5, "logic": "and" },
  "Venomoth": { "release_below_cp": 660, "release_below_iv": 0.5, "logic": "and" },
  "Golbat": { "release_below_cp": 672, "release_below_iv": 0.5, "logic": "and" },
  "Raichu": { "release_below_cp": 708, "release_below_iv": 0.5, "logic": "and" },
  "Cloyster": { "release_below_cp": 717, "release_below_iv": 0.5, "logic": "and"},
  "Mr. Mime": { "release_below_cp": 650, "release_below_iv": 0.5, "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": 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

Traceback (most recent call last):
File "pokecli.py", line 841, in
main()
File "pokecli.py", line 189, in main
bot = start_bot(bot, config)
File "pokecli.py", line 145, in start_bot
initialize_task(bot, config)
File "pokecli.py", line 97, in initialize_task
tree = TreeConfigBuilder(bot, config.raw_tasks).build()
File "/Users/imac/PokemonGo-Bot/pokemongo_bot/tree_config_builder.py", line 79, in build
instance = worker(self.bot, task_config)
File "/Users/imac/PokemonGo-Bot/pokemongo_bot/cell_workers/pokemon_optimizer.py", line 26, in init
super(PokemonOptimizer, self).init(bot, config)
File "/Users/imac/PokemonGo-Bot/pokemongo_bot/base_task.py", line 23, in init
self.initialize()
File "/Users/imac/PokemonGo-Bot/pokemongo_bot/cell_workers/pokemon_optimizer.py", line 40, in initialize
raise ConfigException("Pokemon Optimizer configuration has changed. See docs/pokemon_optimized.md or configs/config.json.optimizer.example")
pokemongo_bot.tree_config_builder.ConfigException: Pokemon Optimizer configuration has changed. See docs/pokemon_optimized.md or configs/config.json.optimizer.example
Wed Sep 14 19:17:38 IST 2016 Pokebot Stopped.
Press any button or wait 20 seconds to continue.

Steps to Reproduce

already update dev branch

Other Information

OS:
Mac os
Branch:
dev
Git Commit:
1767b7e
Python Version:
Python 2.7.10

Phone keep asking to verify Google password for botting account

Not sure if it's only me, but my phone keep asking me to verify password for the Google account that I am using for the bot, saying it was due to some account update.

I'm pretty sure I didn't update anything on that Google account.

It had also happened for the previous account, until I switch to the current one.

[Feature Request] New buddy system not adding candies until app login

Short Description

When logging into the PoGo App following a few hours of betting, I noticed my Geodude buddy went +8 for candies. I'd say this must be a 'red flag' to Niantic and makes bots really easy to spot.

Possible solution

Is the API call known yet for gathering the buddy candies?
Once known, add it into the bot to gather buddy candies as you 'achieve' them.

How it would help others

I'd say this is a high-priority issue as it would very easily identify a bot account for Niantic, unless you run the bot without a buddy (recommended until fixed)

All the issues are gone. Now what?

As you can see, all the previous issues are erased due to an accident… While people are contacting GitHub to restore all the issues and PRs, in case that doesn't work out smoothly, I suggest everyone who has filed an issue in the past go retrieve the content of your issue tickets using Google's cache while you still can. To do this, you'll first need to get the URL of your issue by looking for it in the contribution activity section of your GitHub profile page. Next, do a Google search by pasting the URL into the search bar. Then, click on the downward arrow next to your URL in the search results, and select Cached.

selection_002

Please note the cached page of your issue ticket might not be the most up-to-date version, but half a loaf is better than none. The best luck with restoring issues and PRs! 😉

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.