Is there a way to code this to only look for a specific pokemon world wide?
To find rares
In case anyone would like to know, i've had trouble with this up until now, where it seems to work perfectly.
The way i have resovled any issues is by having a location not staring with a "-" becuase that will be read as an argument.
Second, i modified the script, to always close all instances of the script and chrome. Thirdly, i made a shortcut, to always run the script as admin (i had to run it as admin), so it would work.
Now that i modified the script, i made a shortcut, so i could make it run as Admin. In the shortcut, i changed the destination so it looked like this:Taskkill /IM chrome.exe /F
Taskkill /IM python.exe /F
cd C:\Pogo
start python example.py -u USERNAME -p PASSWORD -l 40.7738646,-73.9729713 -st 5
start /max chrome.exe http://localhost:5000/
To finish the shortcut, under "Advanced" there is an option to run as Admin. Then all is done.C:\Windows\System32\cmd.exe /C C:\Pogo\PogoMap.bat
It does work for me. It seems updating itself first when i launch the setup.bat. after it finish i just run my custom bat to run the map.
Note: the difference from the previous version is it will keep retrying when got the "DecodeError: Unexpected end-group tag" message. Not just stop.
alright, now that the servers here are a bit more stable i could do a full scan of my area but it doesn't show pokestops or gyms anymore in the new version, how can i turn that back on? i wanted to make a lockito route passing all the gyms in my city
Also, can you somehow make the coordinates appear directly when you click on a Pokemon instead of a "Get directions" link?
It would make it way easier to copy&paste the locs in the gps location settings
Last edited by Minibully; 07-19-2016 at 11:03 AM.
Is there a way to dump the Pokemons array of this script into a SQL Database?
Download newtest version, run easy setup and try to run it. It will show some api request errors but it will work even slower but It will work
Can i somehow make to scan it faster? If i use 10 steps it is scanning for like 10 minutes :/
i have 3-6 strings with this error
and then 1% of scanning complete, then again several strings with error and another one percent, so all scanning process lasts several times longer than previous version. Does anyone have this problem, maybe someone can help to fix this?Code:retrying_api_req: request error (Unexpected end-group tag.), retrying
Its just server problem...
Guess I'm not the only one with that by any fix for the following error?
[!] login for: TEST
[+] RPC Session Token: TGT-642210-Eqbp
Exception in thread search_thread:
Traceback (most recent call last):
File "C:\Python27\lib\threading.py",
self.run()
File "C:\Python27\lib\threading.py",
self.__target(*self.__args, **self
File "C:\Pogo\example.py", line 393,
api_endpoint = get_api_endpoint(ac
File "C:\Pogo\example.py", line 206,
profile_response = retrying_get_pr
File "C:\Pogo\example.py", line 221,
profile_response = get_profile(acc
File "C:\Pogo\example.py", line 259,
return retrying_api_req(api, acces
File "C:\Pogo\example.py", line 155,
response = api_req(api_endpoint, a
File "C:\Pogo\example.py", line 191,
p_ret.ParseFromString(r.content)
File "C:\Python27\lib\site-packages\
ParseFromString
self.MergeFromString(serialized)
File "C:\Python27\lib\site-packages\
", line 844, in MergeFromString
raise message_mod.DecodeError('Une
DecodeError: Unexpected end-group tag.
Is it due to the unstable PTC servers?
Thanks in advance.