-
Member
Originally Posted by
mrbone
Which password and account is required?
The pokemon go trainer lounge account?
yup. it doesnt work with google+ account.. but u can just use a PTC account and play with your google+ account
-
Member
but then i got this
* Debugger is active!
* Debugger pin code: 164-202-956
* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
[!] Your given location: Oak Bridge, New York, NY 10024, USA
[!] lat/long/alt: 40.7787109 -73.9716862 0.0
[!] login for: SebastianJanssen
[+] RPC Session Token: error=invalid_grant ...
[-] get_api_endpoint: calling get_profile
[-] get_api_endpoint: calling get_profile
[-] get_api_endpoint: calling get_profile
[-] retrying_api_req: request error (('Connection aborted.', BadStatusLine("''",))), retrying
[-] get_api_endpoint: calling get_profile
[-] get_api_endpoint: calling get_profile
[-] get_api_endpoint: calling get_profile
[-] get_api_endpoint: calling get_profile
[-] get_api_endpoint: calling get_profile
-
Originally Posted by
Jonsbe
Is there something that needs to be done if i want to access this site localhost:5000 outside of my house? Opening port is all i need? Something else?
Also this script doesnt seem to clean the already disappeared pokemons and just keeps adding the new ones in, any way to fix?
Also i know that the ip i'm connecting is outside ip like 62.21.33.33:5000 or something like that, bur right now i haven't been able to connect..
Like I already wrote yesterday
Originally Posted by
nudl3r
Changed
Code:
app.run(debug=True)
to
Code:
app.run(host='0.0.0.0', debug=True)
at the end of example.py and now it seems to work.
-
Post Thanks / Like - 1 Thanks
Jonsbe (1 members gave Thanks to nudl3r for this useful post)
-
Member
Originally Posted by
mrbone
but then i got this
* Debugger is active!
* Debugger pin code: 164-202-956
* Running on
http://127.0.0.1:5000/ (Press CTRL+C to quit)
[!] Your given location: Oak Bridge, New York, NY 10024, USA
[!] lat/long/alt: 40.7787109 -73.9716862 0.0
[!] login for: SebastianJanssen
[+] RPC Session Token: error=invalid_grant ...
[-] get_api_endpoint: calling get_profile
[-] get_api_endpoint: calling get_profile
[-] get_api_endpoint: calling get_profile
[-] retrying_api_req: request error (('Connection aborted.', BadStatusLine("''",))), retrying
[-] get_api_endpoint: calling get_profile
[-] get_api_endpoint: calling get_profile
[-] get_api_endpoint: calling get_profile
[-] get_api_endpoint: calling get_profile
[-] get_api_endpoint: calling get_profile
we all have that at the moment.. maybe server issue since ptc servers are down. or we need to wait for an answer at reddit thread^^
its confirmed now that "Calling get_profile" is server issue:
Last edited by xbEg0nEx; 07-18-2016 at 10:41 AM.
-
Master Sergeant
Originally Posted by
tr1ppy15
Right click on the example.py and choose "open with" and choose python.exe. Are you sure you have pip.exe in the folder? After that do not open example.py but open the CMD and do the command line as stated in the first post.
-
Member
Having done all steps to guide, there is a problem, help

-
Master Sergeant
Originally Posted by
diskord29
Having done all steps to guide, there is a problem, help

What is your point with those screenshots? I do not see anything strange. Give us your complete CMD screenshot and what line are you entering for location and username?
-
Member
I'm using exactly the same information as I was using in the morning and everything worked great. Now before you say that servers are down, I know. but as I'm trying to check once per hour if they are up again, I got this message - Wrong Username/Password and saying that after 4 more tries i will get locked out.
My question - does anybody have it too? Never happened before.
-
Master Sergeant
Originally Posted by
Frostyx
I'm using exactly the same information as I was using in the morning and everything worked great. Now before you say that servers are down, I know. but as I'm trying to check once per hour if they are up again, I got this message - Wrong Username/Password and saying that after 4 more tries i will get locked out.
My question - does anybody have it too? Never happened before.
Have had that before as well. Servers are down
-
Post Thanks / Like - 1 Thanks
Frostyx (1 members gave Thanks to Pokemonster for this useful post)
-
Member
Originally Posted by
xbEg0nEx
yup. it doesnt work with google+ account.. but u can just use a PTC account and play with your google+ account
How does one log in with their Pokemon Trainer Club account but play with their Google account. Wouldn't I have to restart? And if so, ugh.
Last edited by GaijinPunch; 07-18-2016 at 11:23 AM.
-
Member
You only use your PTC account in the script, and play on your Google account. They dont interfere each other.
-
Member
Originally Posted by
Frostyx
You only use your PTC account in the script, and play on your Google account. They dont interfere each other.
That's what I've been doing and so far it's worked, I have my PTC account check out my town or any other hotspots that I may be interested in and than have my Google account get there legit-like.
-
Member
Originally Posted by
DommyDomuk
That's what I've been doing and so far it's worked, I have my PTC account check out my town or any other hotspots that I may be interested in and than have my Google account get there legit-like.
I'm slightly slow, so I'll just get some clarification. So you use this "exploit" with PTC account, and then use NOX with google account as per usual. And it works?
-
Member
And as usually the servers go down since 15 CET time (I'm from europe) and will be back closer to evening 21-22~, for the 3rd day in a row. Hopefully faster than that, I've just had a great time and everything worked in the morning like a charm.
I only wonder if Niantec will ever block that possibility to get data from through your PTC account, so better use the time productively in the first weeks :')
-
Post Thanks / Like - 1 Thanks
GaijinPunch (1 members gave Thanks to Frostyx for this useful post)
-
Member
Originally Posted by
Zestro
if you get a proper circle let me know please, shit is annoying.
In the end the code works, all i had to do is add this line at the start (damn old python!):
Code:
from __future__ import division
and change this:
Code:
if pos is 1:
set_location_coords(origin.lat().degrees+offset, origin.lng().degrees-offset, 0)
elif pos is 2:
set_location_coords(origin.lat().degrees+offset, origin.lng().degrees+offset, 0)
elif pos is 3:
set_location_coords(origin.lat().degrees-offset, origin.lng().degrees-offset, 0)
elif pos is 4:
set_location_coords(origin.lat().degrees-offset, origin.lng().degrees+offset, 0)
pos = 0
steps+=1
to:
Code:
if pos <= (steps*3):
set_location_coords(origin.lat().degrees+(offset*math.cos((pos/(steps*3))*2*math.pi)), origin.lng().degrees+(offset*math.sin((pos/(steps*3))*2*math.pi)), 0)
else:
pos = 0
steps+=1
It would give you a circle, if you change steps*3 to steps*4 or more everywhere you will get a more accurate one but at the same time it will take even longer to load.