Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no pokestop visited #1168

Closed
anonymouslulz22 opened this issue Jul 27, 2016 · 19 comments
Closed

no pokestop visited #1168

anonymouslulz22 opened this issue Jul 27, 2016 · 19 comments

Comments

@anonymouslulz22
Copy link

Expected Behavior

-m farm

Actual Behavior

finds a pokestop starts walking but never reach the pokestop
at last it also shows no pokestop visited

Steps to Reproduce

[15:28:23] Found fort f0178a7075a9445c980014b79f571f1a.16 at distance 0.05km
[15:28:23] Need to move closer to Pokestop
[ ] 0%
just shows this and then shows recycle item and then finds new pokestop and then again repeat it

Other Information

OS: kali
Git Commit: (run 'git log -n 1 --pretty=format:"%H"' and paste it here)

@binarydepartment
Copy link
Contributor

I can confirm this

@kediboregi
Copy link

probaly problem in step_walker

@BoGnY
Copy link

BoGnY commented Jul 27, 2016

I confirm this.

[12:17:09] Starting PokemonGo Bot....
[12:17:09] Scanning area for objects....
[12:17:09] Walking from (45.6668893, 12.2430437) to [45.6668893, 12.2430437] 0.00km
[12:17:11] Starting to recycle items...
[12:17:16] Finished.
[12:17:16] Something rustles nearby!
[12:17:17] A Wild Doduo appeared! [CP 193] [Potential 0.49]
[12:17:17] IV [Stamina/Attack/Defense] = [8/13/1]
[12:17:20] Using Pokeball (chance: 50.05%)... (87 left!)
[12:17:21] Captured Doduo! [CP 193] [8/13/1]
[12:17:26] Found fort d73f0df9e32d4824be76e678d99ab1d0.16 at distance 0.02km
[12:17:26] Need to move closer to Pokestop
[12:17:30] Scanning area for objects....
[12:17:30] Walking from (45.66686601588999, 12.243045108533014) to [45.668689300000004, 12.2430437] 0.20km
[12:17:34] Starting to recycle items...
[12:17:39] Finished.

Maybe fixed after #1171 is commited

;)

@binarydepartment
Copy link
Contributor

It's a duplicate of this: #1155
You have to update your requirements, then it works again.

@anonymouslulz22
Copy link
Author

[16:13:52] Found fort f0178a7075a9445c980014b79f571f1a.16 at distance 0.04km
[16:13:52] Need to move closer to Pokestop
[ ] 0%[16:13:59] Scanning area for objects....
[16:13:59] Walking from (40.77133480426469, -73.97368388875493) to [40.773161816544814, -73.97372463574011] 0.20km
[ ] 0%[16:14:20] Found fort f0178a7075a9445c980014b79f571f1a.16 at distance 0.04km
[16:14:20] Need to move closer to Pokestop

@anonymouslulz22
Copy link
Author

still doing it
just finding and not moving

@kediboregi
Copy link

in move_to_fort.py
self._step_walker.step() returning none.
problem is here

@anonymouslulz22
Copy link
Author

yeah
so whats the fix?
for it?
it should return something

@kediboregi
Copy link

kediboregi commented Jul 27, 2016

in move_to_fort.py

find this

if not self._step_walker.step():
     return WorkerResult.RUNNING

change with this

step_walker = self._step_walker.step()
            if step_walker == True:
                self.api.player_update(latitude=lat, longitude=lng)
                response_dict = self.api.call()
                logger.log('Arrived at Pokestop')
                return WorkerResult.SUCCESS
            elif step_walker == False:
                return WorkerResult.RUNNING

@vicch
Copy link

vicch commented Jul 27, 2016

@unequaled86 Looks like it fixed the problem, thanks.

@BoGnY
Copy link

BoGnY commented Jul 27, 2016

@unequaled86 not work correctly... It work for the first time, after that every second it tried to spin a pokestop out of range (very out.. more than hundred meters)

@torkap
Copy link

torkap commented Jul 27, 2016

@unequaled86 when I replace that (in pokemongo_bot/cell_workers/move_to_fort.worker.py, there is no move_to_fort.py anywhere? Latest dev) I get a KeyError:'returns' and cannot log in.

Did I edit the correct file?

@BoGnY
Copy link

BoGnY commented Jul 27, 2016

yes you edit the correct file, but you must respect the line indeent..

@rojosinalma
Copy link

@unequaled86 doesn't really work for me, it always says that it's close to a pokestop but never actually collects it because it's too far away.

This goes on and on, the bot actually moves, but it's not collecting any of the pokemons or the stops.

@BoGnY
Copy link

BoGnY commented Jul 27, 2016

@unequaled86 I've just try old commits, 9765828 commit work perfectly.. after that, pokestop don't spinned correctly..

@tstumm
Copy link
Contributor

tstumm commented Jul 27, 2016

Please try with latest dev

@rojosinalma
Copy link

@tstumm it's working now

@DimaVIII
Copy link

@tstumm It's working now, Thanks!
It it possible that the percentage bar "[============== ] 37%" is gone now?

Was:

[14:24:34] Need to move closer to Pokestop
[============== ] 37%[14:24:51] Found fort 40f2c3c220494f6f9730821e9572c415.16 at distance 0.02km

IS:

[16:04:58] [x] Need to move closer to Pokestop
[16:05:08] [x] Found fort 1983253931184629aa9403c924c3428a.16 at distance 0.01km
[16:05:08] [x] Need to move closer to Pokestop

@tstumm
Copy link
Contributor

tstumm commented Jul 27, 2016

It was accidentally made unfunctional.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants