Bot sells all duplicates when Pokemon Storage full
How to make the bot stop when Pokemon Storage full . Now it removes the duplicates when full .
master or dev?
I'm having this issue on dev.
I changed this in my fork as follows, to keep the best two rather than all dupliates.
in initial_transfer_worker.py:
if len(group_cp) > 2:
group_cp.sort()
group_cp.reverse()
for x in range(2, len(group_cp)):
...
@Chudopoke Remove the if condition on: https://github.com/PokemonGoF/PokemonGo-Bot/blob/6e99169d963bd8637dfb55426650f2fe15e694bd/pokemongo_bot/init.py#L192
@karanjthakkar if you do that, the bag will always be full, so the bot will never catch anything else until a human intervenes. Not realy ideal
@MikeDX I know that but that is exactly what the OP wants to do.
@karanjthakkar That's good, but I would like to Bot stopped when Pokemon Storage full. Can you help me with this ?
@VictorChen dev
@Chudopoke Just replace the if condition with:
raise RuntimeError('You bag is full')
@MikeDX can i do this for master? also if i change 2 for 3 would it keep best 3?
@karanjthakkar OK. Thank you.
Yes
On Thu, 28 Jul 2016 at 01:48, apyapy [email protected] wrote:
@MikeDX https://github.com/MikeDX can i do this for master? also if i change 2 for 3 would it keep best 3?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/PokemonGoF/PokemonGo-Bot/issues/1244#issuecomment-235707524, or mute the thread https://github.com/notifications/unsubscribe-auth/ABvWKopIJp9Kj0qbtwOcwh05XV-dQPhmks5qZ70vgaJpZM4JWgsn .
Regards, Karan Twitter/Instagram: @geekykaran
@karanjthakkar
if return_value == PokemonCatchWorker.BAG_FULL: raise RuntimeError('You bag is full')
Right?
Yes 👍🏻 On Thu, 28 Jul 2016 at 02:00, Chudopoke [email protected] wrote:
@karanjthakkar https://github.com/karanjthakkar
if return_value == PokemonCatchWorker.BAG_FULL: raise RuntimeError('You bag is full')
Right?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/PokemonGoF/PokemonGo-Bot/issues/1244#issuecomment-235710941, or mute the thread https://github.com/notifications/unsubscribe-auth/ABvWKld_ogLwBgGdRqV2L0d5Z14y5H5hks5qZ7_wgaJpZM4JWgsn .
Regards, Karan Twitter/Instagram: @geekykaran
@karanjthakkar Thank you so much.
Glad to help. I just figured this out today myself :) On Thu, 28 Jul 2016 at 02:05, Chudopoke [email protected] wrote:
@karanjthakkar https://github.com/karanjthakkar Thank you so much.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/PokemonGoF/PokemonGo-Bot/issues/1244#issuecomment-235712166, or mute the thread https://github.com/notifications/unsubscribe-auth/ABvWKnGbVbUjbsypyWgyzzqMHWF5vrLuks5qZ8D_gaJpZM4JWgsn .
Regards, Karan Twitter/Instagram: @geekykaran
@apyapy it should be configurable really. I'm not doing any more pull requests until the bot is stable again as its all a bit of a mess at the moment. Dev doesn't catch anything and master has bugs already fixed in dev
This issue has been resolved.
/closed