PokemonGo-Bot icon indicating copy to clipboard operation
PokemonGo-Bot copied to clipboard

Attack not found

Open Admdebian opened this issue 9 years ago • 3 comments

After a catch:

File "/pokemongo_bot/inventory.py", line 649, in data_for attack_id, cls.__name__)) ValueError: Attack 242 not found in FastAttacks [2016-11-23 02:22:40] [sentry.errors] [ERROR] Sentry responded with an error: 'ascii' codec can't decode byte 0x9c in position 1: ordinal not in range(128) (url: https://app.getsentry.com/api/90254/store/)

UPDATE: this bug is caused by a DITTO!

I have updated /data/fast_moves.json with a new line

{"id":242,"name":"Transformacion","type":"Normal","damage":0,"duration":1230,"energy":7,"dps":0.0}

Admdebian avatar Nov 23 '16 01:11 Admdebian

242 is the movement_id of Ditto.

You have just caught a Ditto, but the bot wasn't updated with that moves....

MerlionRock avatar Nov 23 '16 01:11 MerlionRock

Btw, i would advise stop all bot activity until 0.47 API is out.

MerlionRock avatar Nov 23 '16 01:11 MerlionRock

@Admdebian Do you want to do a pr of this?

MerlionRock avatar Nov 23 '16 02:11 MerlionRock