-
Master Sergeant
Originally Posted by
pwnerer
I am getting this error, maybe you can help me? Seems bottom is working fine but something goes wrong with the top.
Attachment 27285
Post the code of your Run2.bat please.
-
Corporal
Originally Posted by
Yafa
Is there a way where you can copy the location of the pokemon in the map so you can paste it in the coordinates in nox ?
edit index.html, search for "var listenerPair = {" and change lines (should be 96-104) to:
Code:
var listenerPair = {
a: google.maps.event.addListener(marker, 'click', function() {
infowindow.setContent(this.title);
infowindow.open(map, this);
}),
// b: google.maps.event.addListener(marker, 'mouseout', function() {
// infowindow.close(map, this);
// })
-
Member
So... I just can't make it work here..
I am using Method 2. - When I start run1 and start the webserver it's all fine.
But when I start run2.bat it loads the map, starts another cmd-window and doesnt log in, but if I close the chrome.exe the cmd-window loggs in and seems to work properly.. but it's showing all those pokemon in those command lines.

My Run2.bat
Code:
"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 XXX -p XXX -l "40.76487234, -73.97274703"
What should I do ?
Help please.
Last edited by Mike2012; 07-18-2016 at 05:01 AM.
-
Member
Also in the index.html at line 134 change
Code:
title: "<b>"+p.name+"</b><br>Time left: " + p.poketime + "<br>Lat: "+p.lat+"<br>Long: "+p.lng,
to
Code:
title: "<b>"+p.name+"</b><br>Time left: " + p.poketime +"<br>" +p.lat+", "+p.lng,
Then you can fast double-click the location and Copy, Paste it as a valid string.
-
Member

In google maps there is a function where you can place a pin on the map and get the coordinates, is there a way to implement that function into the poke map ?
Or get the box with the name of the pokemon and coordinates to stay open when you click on it until you close it instead of it appearing when you are hovering over the pokemon.
Last edited by Yafa; 07-18-2016 at 05:09 AM.
-
Member
Originally Posted by
Pokemonster
Do not use the same account for this tool and for the catching of the pokemon. It will result in a ban for sure. It is better to have a new pokemon trainer club account for this tool.
yea i am using a new throw away for the searching, and just drive to the location if i see a rare ^_^ was just noting some things that need to be fixed i beleive.
-
Master Sergeant
Originally Posted by
Mike2012
So... I just can't make it work here..
I am using Method 2. - When I start run1 and start the webserver it's all fine.
But when I start run2.bat it loads the map, starts another cmd-window and doesnt log in, but if I close the chrome.exe the cmd-window loggs in and seems to work properly.. but it's showing all those pokemon in those command lines.
I do not use Chrome. I had the same problem with chrome. I just removed the starting of chrome in run2.bat and run the bat and then open the webpage in firefox (127.0.0.1:8000/index.html)
-
Post Thanks / Like - 1 Thanks
Mike2012 (1 members gave Thanks to Pokemonster for this useful post)
-
Member
Originally Posted by
Pokemonster
I do not use Chrome. I had the same problem with chrome. I just removed the starting of chrome in run2.bat and run the bat and then open the webpage in firefox (127.0.0.1:8000/index.html)
fml lol.. it works with firefox.. lol You have my thanks sir
!
-
Member
Originally Posted by
Tobbo88
Hwo I fixed it was... Clear cache on browser then run the run2 as admin (it will insta close) then run it normally
fix what? by deleting cache
-
Corporal
Originally Posted by
piotr55
edit index.html, search for "var listenerPair = {" and change lines (should be 96-104) to:
Code:
var listenerPair = {
a: google.maps.event.addListener(marker, 'click', function() {
infowindow.setContent(this.title);
infowindow.open(map, this);
}),
// b: google.maps.event.addListener(marker, 'mouseout', function() {
// infowindow.close(map, this);
// })
METHOD 2: (the better one
)
adds popup on doubleclick on marker showing the coords for copy & paste
edit index.html, search for:
Code:
b: google.maps.event.addListener(marker, 'mouseout', function() {
infowindow.close(map, this);
})
replace with:
Code:
b: google.maps.event.addListener(marker, 'mouseout', function() {
infowindow.close(map, this);
}),
c: google.maps.event.addListener(marker, 'dblclick', function() {
window.prompt("", this.position.lat() + ", " + this.position.lng());
})
-
Post Thanks / Like - 1 Thanks
newtonized (1 members gave Thanks to piotr55 for this useful post)
-
Member
I'm getting the error: Oops an error occured. I see the map with Pokemons for a second, then the error.
-
Member
Originally Posted by
Mike2012
fml lol.. it works with firefox.. lol You have my thanks sir

!
Didn't work for me,.. how did u manage to make it work?? gimme yo run.bat run2.bat codes please!,..
-
Everything works fine for me, I just dont understand how to filter these pokemons out. And is there also a way to copy the pokemons coords from the map?
-
Member
Originally Posted by
serotini
Everything works fine for me, I just dont understand how to filter these pokemons out. And is there also a way to copy the pokemons coords from the map?
Gimme you're Run.bat and run2.bat Codes,..
-
Master Sergeant
Originally Posted by
decaphiltrator
yea i am using a new throw away for the searching, and just drive to the location if i see a rare ^_^ was just noting some things that need to be fixed i beleive.
If you use separate accounts how would the script be able to see that you catched the pokemon and delete it? After you catched the pokemon it will not disappear on the map so the script will keep seeing it...