Closed Bolo30 closed 8 years ago
This should be corrected is new version.
`
...
#Check if pokeball are left
INFO_LOG("%d %s left" % (PokeBallLeft, SelectedPokeball))
if PokeBallLeft == 0:
if IsNoMorePokeBall() == True:
WARNING_LOG("No more pokeball... leaving fight !")
ClosePokemonFight()
return None
PokeBallLeft = GetPokeballLeft()
`
Can you confirm that it's ok ?
test in progress :)
i have the same issue, but what is the modification ? in your first reply i can't find difference between the curent release of script ?!
Can you give me log ?
Maybe an idea... Can you give me a screenshot when no pokeball happened ?
Are you using English Language ?
my os is in french and i configured nox/android in english i'm doing screenshot to send you
Ok thank's can you give me log too ?
where can i find other log files ? (other than on screen log)
Actual config in script to check pokeball :
#Check if pokeball are left
INFO_LOG("%d %s left" % (PokeBallLeft, SelectedPokeball))
if PokeBallLeft == 0:
if IsNoMorePokeBall() == True:
WARNING_LOG("No more pokeball... leaving fight !")
ClosePokemonFight()
return None
PokeBallLeft = GetPokeballLeft()
OK, IsNoMorePokeBall seems to fail with you, don't know why... I committed a workaround for you ! Can you give me the log when this happen again with the new version ?
ok trying the new version ^^
It's ok now !
[+] Looking for pokemon [] Going to fight with 151 501 ! [+] Wait for Pokemon fight... [+] Wait for Pokemon fight... [+] Wait for Pokemon fight... [@] IsNoMorePokeBall (178,251,165) [] Seems to be a Pidgey at 77 [+] 0 Poke Ball left [@] IsNoMorePokeBall (178,251,165) [#] No more pokeball... leaving fight ! [#] This place is near a Gym ? [+] ~10719 Exp/h [+] Looking around... [+] Looking for Pokestop [+] No more Pokestop found. [+] Looking for pokemon
Thank's, the error came from IsNoMorePokeball :) I committed a patch ! Thanks for all your bug report !
Are you on Discord ?
no but i can come/create an account :)
It is possible to have script stop fight when he find there is no pokeballs ? (it was the case in past with old release of script)
Thank you ^^