-
Contributor
Auto-Updating pokemon go map
7/19 6pm est - the base api used has been updated. requires a rewrite before i can continue to update and add features.
I've updated the post with a link to my personal repo with some extra changes.
If you can run this one by sync, http://www.ownedcore.com/forums/poke...kemon-map.html (Even more precise location of nearby pokemon ON MAP!)
you can most likely run this one. However there is more work involved to set it up
CHECK SERVER STATUS BEFORE POSTING ERRORS
https://go.jooas.com/
Requirements:
- Python 2.7 installed in C:\Python27
1) download https://github.com/Zeromark30/pokemo...ve/maps_oc.zip
2) Extract to C:\
3) Open Easysetup > run setup.bat
4) open config.json and take the api key below or register for an api key here step 4b
Code:
{ "GOOGLE_MAPS_API_KEY": "AIzaSyAZzeHhs-8JZ7i18MjFuM35dJHq70n3Hx4"
}
4b)
- Visit this webpage. https://developers.google.com/maps/d...pt/get-api-key
- Scroll down and select "Get a key".
- Create a Project
- ..... Wait 20 years.....................
- Click "create". Don't bother with the rest.
- Creating....
- Copy your API Key
- Open up credentials.json in Notepad/Notepad++
- Change the "GOOGLE_MAPS_API_KEY" key, to your new one.
5) Start with run.bat
OPTIONAL
If you want to save username and password but choose location on start up change the echo block from
Code:
@echo off
set /p Username= Username-
set /p Password= Password-
set /p UserInputPath= Set Location-
"C:\Python27\python.exe" main.py -u %Username% -p %Password% -l "%UserInputPath%"
to
Code:
@echo offset
set /p UserInputPath= Set Location-
"C:\Python27\python.exe" main.py -u YOURUSERNAME -p YOURPASSWORD -l "%UserInputPath%"
If the page loads but doesn't work right and you are your using chrome:
Hit F12
Click the console tab
Paste the error along with your post
If the command prompt errors continue to post those errors as well.
Common errors:
- Not seeing pokemon or map
- Do you have two open cmd windows?
- One with the httpserver running
- second with the main script running
- should show the standard login and pokemon within x steps read out.
- Hit f12 to open devoloper options
- hold shift and hold left mouse on the refresh button till a menu pops up
- Third option: Clear cache and hard reload
- [+] Received API endpoint: https:///rpc
- [-] API request error, retrying
- Either PTC or PoGo servers are down
Last edited by deadmarine; 07-20-2016 at 09:02 PM.
Reason: Last update
-
Post Thanks / Like - 26 Thanks
Ashketchup,
blueberry18,
heybigboy5,
Crazyhead,
thecrome,
yados,
canii,
MapScribe,
ashdavinci,
fakename2,
Ket,
santahashi,
Micahw17,
Subversion2,
jimmys96,
n00bmasta,
Notahax,
Pokemonster,
TmanD6,
darkretnuh,
Trunkzor,
Ehnoah,
MissLL,
Kenneth,
padman,
TheCompleteWeirdo (26 members gave Thanks to deadmarine for this useful post)
-
Member
Im assuming you run python -m SimpleHTTPServer 8000 while in the python27 folder in cmd?
-
Member
Hi, I am not sure where to go after step no.4.
How can I get API key from old map script? Should I use the code you provided?
-
Post Thanks / Like - 1 Thanks
raceboy404 (1 members gave Thanks to blueberry18 for this useful post)
-
Member
This happens when i follow your instructions, the other tab just says this site cant be reached
-
Member
Waiting for anyone to confirm to start using this one.
-
Member
I got the same result as you.
-
Member
Step 6 is not working for me, but i am also dumb.
I get to the directory like you guys then click on the pokemongo-api-demo-maps then it loads up a world map for a sec and crashes
Last edited by fakename2; 07-17-2016 at 04:57 AM.
-
Private
got it working.
copy the python.exe from C:\Python27 in the folder where the run.bat is.
open a command prompt in that folder and type: python -m SimpleHTTPServer 8000
-
Post Thanks / Like - 2 Thanks
-
Elite User
guys use this: "C:\Python27\python.exe" -m SimpleHTTPServer 8000
in a cmd inside the new pokemon folder
i am getting another error tho, trying to figure it out
-
Member
I got the script running but cannot view the map.
run.bat is just
Code:
"C:\Program Files (x86)\Google\Chrome\Application\Chrome.exe" index.html --args --disable-web-security --allow-file-access-from-files
then while in the folder you downloaded run
Code:
main.py -u username -p passowrd -l "location"
chrome opens up with index.html blank. if i got to 127.0.0.1:8000 it cant be reached, if i run python -m SimpleHTTPServer 8000 in the python27 folder i get the directory structure of that folder in chrome
-
-
Member
Originally Posted by
pahnada
got it working.
copy the python.exe from C:\Python27 in the folder where the run.bat is.
open a command prompt in that folder and type: python -m SimpleHTTPServer 8000
thank you! its working now
-
Member
Nice i got it mostly working i see it giving names and the map will pop up when i refresh it but it seems to like to crash right after, anyone else having this issue?
It just says oops something went wrong after showing up and showing pokemon for a second.
-
Member
Thanks! It's working now.
Anyone know how can I possibly put more than one suburb location?
-
Member
i dont get it running the python code gives me 0.0.0.0 on port 8000 running the run.bat just auto closes and sends me to a blank page titles "drawing tools"