-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed the old inventory / only one call to the api (#3948)
* Removed every call to the old inventory Added some messages to monitor item inventory Added some methods needed on the new inventory * Removed print * Removed print * Keeps track of candy on pokemon catch * Dynamically count candy gained * Rename pokemon id in pokemon unique id * Fixed typo Some clean up * Renamed pokemon id in unique_id * Now display again stats on start * Now use ultraball on non vip too * Merge branch 'dev' of https://github.com/PokemonGoF/PokemonGo-Bot into remove-old-inventory # Conflicts: # pokemongo_bot/__init__.py Now move to map use cached inventory Removed log.logger()
- Loading branch information
Showing
11 changed files
with
167 additions
and
243 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
91ad8df
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that two changes are missing.
In
collect_level_up_reward.py
at line 59:response_dict = self.bot.get_inventory()
should be
response_dict = self.bot.api.get_inventory()
In
nickname_pokemon.py
at line 25:instance_id = pokemon.id
should be
instance_id = pokemon.unique_id
91ad8df
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, something is wrong.