-
Active Member
Originally Posted by
KrespoG
It worked the first time, typed in username, password, location then i tried turning it off and going another location, it just stays on the first location and doesn't even ask me for account/pass/location again. How do I get new location or simply restart this?
this has been 100% my experience with the new code too.
And now i keep getting API errors ;[
Using api key: AIzaSyAZzeHhs-8JZ7i18MjFuM35dJHq70n3Hx4
index.html:257 Uncaught TypeError: Cannot read property 'length' of undefinedgetFile @ index.html:57
index.html:263 Initializing map
index.html:107 Refreshing data...
index.html:148 Adding layer (player)
index.html:182 Adding marker (player)
js?key=AIzaSyAZzeHhs-8JZ7i18MjFuM35dJHq70n3Hx4&libraries=drawing&callback=initMap:35 InvalidValueError: setIcon: not a string; and no url property; and no path property_.ab @ js?key=AIzaSyAZzeHhs-8JZ7i18MjFuM35dJHq70n3Hx4&libraries=drawing&callback=initMap:35
2index.html:107 Refreshing data...
30index.html:107 Refreshing data...
Last edited by Zestro; 07-19-2016 at 12:34 PM.
-
Member
-
Member
Originally Posted by
Zestro
this has been 100% my experience with the new code too.
And now i keep getting API errors ;[
The API error is from the servers being messed up right now. Once everything is stable and running you should be able to use the program again. Generally the API issue isnt from your end its from the servers.
For a few of you having issues getting the bats to work correctly. You can either use the new setup that OP posted with his update or you can open notepad and put this and just save it as run.bat and throw it in the folder to use. Using this is a 1 click bat you dont have to click another or try to run anything else. Once folder is placed in C and config.json has the updated key you just run. (Please note, if you arent running 64 bit windows your location of Chrome might be in a different spot so if you cant get it to run correctly make sure the Chrome location is correct as it might not be Program Files (x86)
By using this code for bat you wont have to enter your password/user everytime. The only thing that will need changed is the "location" if you wish to move somewhere else to explore.
Code:
start cmd /k "C:\Python27\python.exe" -m SimpleHTTPServer 8000
"C:\Program Files (x86)\Google\Chrome\Application\Chrome.exe" 127.0.0.1:8000/index.html --args --disable-web-security --allow-file-access-from-files
"C:\Python27\python.exe" main.py -u user -p pass -l "location"
pause
-
Now I'm getting "C:\Python27\python.exe: can't open file 'main.py' : [Errno 2] no such file or directory. Is this because of the servers or is it something else?
-
Member
working great for me, thank you!
Need to learn python, seems like its everyones go to here
-
Member
Originally Posted by
senseirain
Is there something wrong the location I've put?
Username XXX
Password XXX
Location Lat:40.70470887893677,Lng:-74.0183499455452
then I'm getting this v
Traceback (most recent call last):
File "main.py", line 432, in <module>
main()
File "main.py", line 387, in main
set_location(args.location)
File "main.py", line 110, in set_location
loc = geolocator.geocode(location_name)
File "C:\Python27\lib\site-packages\geopy\geocoders\googlev3.py", line 217, in geocode
self._call_geocoder(url, timeout=timeout), exactly_one
File "C:\Python27\lib\site-packages\geopy\geocoders\googlev3.py", line 338, in _parse_json
self._check_status(page.get('status'))
File "C:\Python27\lib\site-packages\geopy\geocoders\googlev3.py", line 363, in _check_status
'The given key has gone over the requests limit in the 24'
geopy.exc.GeocoderQuotaExceeded: The given key has gone over the requests limit in the 24 hour period or has submitted too many requests in too short a period of time.
Press any key to continue . . .
Username XXX
Password XXX
Location 40.70470887893677,-74.0183499455452
without Lat: and Lng:
-
Originally Posted by
mkaaaaay
Username XXX
Password XXX
Location 40.70470887893677,-74.0183499455452
without Lat: and Lng:
I do that and I still get the error i mentioned above, worked 2 times previously now it's this error.
-
Member
if i use ptc account that is still level 1, can i see rare pokemon ? what should i do to get rare pokemon in the map ?
-
Member
is this working with google play account ? i logged in with a trainer account in cmd and with google play in nox.
-
Member
you see all pokemons no matter what level you have
-
Member
Originally Posted by
KrespoG
Now I'm getting "C:\Python27\python.exe: can't open file 'main.py' : [Errno 2] no such file or directory. Is this because of the servers or is it something else?
Do you have Python installed to your C drive? If you don't have Python installed none of this will work
-
Member
ok, so it doesnt matter if i playing with a google play account ?
-
Member
Where/How do i find get the username and password?
-
Member
oogle Maps API warning: InvalidKey https://developers.google.com/maps/d...es#invalid-key
(index):105 Refreshing data...
js?key=PUT_API_KEY_HERE&libraries=drawing&callback=initMap:35 Google Maps API error: InvalidKeyMapError https://developers.google.com/maps/d...-map-error_.ab @ js?key=PUT_API_KEY_HERE&libraries=drawing&callback=initMap:35(anonymous function) @ common.js:51(anonymous function) @ common.js:191c @ common.js:45(anonymous function) @ AuthenticationService.Authenticate?1shttp%3A%2F%2F127.0.0.1%3A8000%2F&4sPUT_API_ KEY_HERE&callback=_…:1
17(index):105 Refreshing data...
(index):179 Adding marker #129. Magikarp
(index):232 Uncaught TypeError: Cannot set property 'innerHTML' of null(anonymous function) @ (index):232xhr.onload @ (index):51
23(index):105 Refreshing data...
(index):179 Adding marker #23. Ekans
(index):179 Adding marker #16. Pidgey
(index):179 Adding marker #23. Ekans
(index):179 Adding marker #41. Zubat
(index):232 Uncaught TypeError: Cannot set property 'innerHTML' of null(anonymous function) @ (index):232xhr.onload @ (index):51
7(index):105 Refreshing data...
server problem or not ?
-
Member
îts the Trainer account. Just create one and type the longin information in it.
-
Post Thanks / Like - 1 Thanks
deltaviolet4 (1 members gave Thanks to Dadi12 for this useful post)