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

[Dev] [Bug] Coords are not getting passed correctly

Open IQNeoXen opened this issue 10 years ago • 9 comments

Expected Behavior

On startup, bot is scanning the area and then starts walking.

Actual Behavior

Bot does "Scanning Area for Objects" on repeat and doesn't stop because the coordinates are not being passed correctly (look at the start)

Steps to Reproduce

Pull latest git and run "sh run.sh"

Other Information

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

ommit 15e0161d32c7a78c230c6e75cfd6867663c985d1 Author: xc-mezcal [email protected] Date: Wed Jul 27 17:01:40 2016 -0400

Update the location & location_cache logic (#1217)

Previously, the location_cache can't be used, even people set location_cache to TRUE. Everytime, it starts from the initial position.

Now the bot check the initial position first.
Then check if people set location_cache. If so, read it and update it, otherwise use the initial location.
If there is no initial location and no location cache, print msg and exit.

bildschirmfoto vom 2016-07-27 23-14-14

IQNeoXen avatar Jul 27 '16 21:07 IQNeoXen

Exact same issue here, the geocoordinates are not beeing passed correctly.

Look at the starting point of the image.

GRB avatar Jul 27 '16 21:07 GRB

@GRB What did you do to fix it?

IQNeoXen avatar Jul 27 '16 21:07 IQNeoXen

i did revert to last version before the bug.

heres the code

git reflog

head0 current - as8d498 head1 last one you want - 58x4as98d

git reset --hard 58x4as98d

:)

GRB avatar Jul 27 '16 21:07 GRB

@GRB Tyvm, works :) hope this will be fixed soon

IQNeoXen avatar Jul 27 '16 21:07 IQNeoXen

updated last code, so you can understand how it worked :)

GRB avatar Jul 27 '16 21:07 GRB

Do:

c:\python27\scripts\pip.exe install -r requirements.txt --upgrade

and it will work again.

on lixux just do

pip install -r requirements.txt --upgrade

GRB avatar Jul 27 '16 22:07 GRB

when I got a git reflog I get something different , GRB can you please help me.

git reflog f0a77f9 HEAD@{0}: pull: Fast-forward 15e0161 HEAD@{1}: clone: from https://github.com/PokemonGoF/PokemonGo-Bot screen shot 2016-07-27 at 4 27 43 pm

parifuture avatar Jul 27 '16 23:07 parifuture

Check @GRB 's previous comment for the fix.

glenncampioni avatar Jul 28 '16 00:07 glenncampioni

Latest updates fixes this aswell.

eggins avatar Jul 28 '16 03:07 eggins