-
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.
Fixed seperate transfer bug in worker (#1286)
* seperate worker for transfering pokemons to professor pulled out initial transfer and transfer on catched pokemon to seperate worker * Fixed bug where config parameters wasnt checked * Initial_transfer renamed to release_pokemons Also updated the configuration argument function to release pokemon runs on tick method which is called after everyt small step the bot takes * added back exception which was missing * Default conf value and fixed typo * fixed typo for pokemon and updated config * added default value if its missing from conf NOTE: transfer conditions are set by "release" parameters in config, however we keep the highest CP of each pokemon, just to be sure we don't empty the bag. * Capital leter * missed to rename on some places Also enabled loggning to easier see why a certain pokemon may not be transfered to professor for candy * Log format update * moved runtime error to evolved_capture statement workaround if anyone should get it... fixing it in future
- Loading branch information
1 parent
5c3b108
commit 63b4387
Showing
7 changed files
with
52 additions
and
133 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
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