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

List index out of range before exchanging

Open dragonalvaro opened this issue 10 years ago • 2 comments

Currently I have 0 pokemons, that might be the issue?

[#] Something rustles nearby!
[#] A Wild Scyther appeared! [CP25]
[x] Using Pokeball...
[x] Captured Scyther! [CP25] - exchanging for candy
[x] Exchanged successfuly!
Traceback (most recent call last):
  File "pokecli.py", line 116, in <module>
    main()
  File "pokecli.py", line 113, in main
    bot.take_step()
  File "/home/alvaro/Pokemon/PokemonGo-Bot.git/bot.py", line 29, in take_step
    self.stepper.take_step()
  File "/home/alvaro/Pokemon/PokemonGo-Bot.git/stepper.py", line 64, in take_step
    self.bot.work_on_cell(cell,position)
  File "/home/alvaro/Pokemon/PokemonGo-Bot.git/bot.py", line 36, in work_on_cell
    worker.work()
  File "/home/alvaro/Pokemon/PokemonGo-Bot.git/cell_workers/pokemon_catch_worker.py", line 77, in work
    self.transfer_pokemon(list(Set(id_list2) - Set(id_list1))[0])
IndexError: list index out of range

dragonalvaro avatar Jul 22 '16 07:07 dragonalvaro

#122

CtrlAltDefeat94 avatar Jul 22 '16 07:07 CtrlAltDefeat94

Sorry

dragonalvaro avatar Jul 22 '16 07:07 dragonalvaro