PokemonGo-Bot icon indicating copy to clipboard operation
PokemonGo-Bot copied to clipboard

cant get web to work

Open captainmustard opened this issue 10 years ago • 8 comments

I have my gmaps api key and I set my username to my gmail login in the config. Not sure what I'm doing wrong

ian@wintermute ~/PokemonGo-Bot/web $ python -m SimpleHTTPServer Serving HTTP on 0.0.0.0 port 8000 ... 127.0.0.1 - - [30/Jul/2016 13:56:54] "GET / HTTP/1.1" 200 - 127.0.0.1 - - [30/Jul/2016 13:56:54] "GET /main.css HTTP/1.1" 200 - 127.0.0.1 - - [30/Jul/2016 13:56:54] "GET /main.js HTTP/1.1" 200 - 127.0.0.1 - - [30/Jul/2016 13:56:54] "GET /userdata.js HTTP/1.1" 200 - 127.0.0.1 - - [30/Jul/2016 13:59:41] "GET / HTTP/1.1" 200 - 127.0.0.1 - - [30/Jul/2016 13:59:41] "GET /main.css HTTP/1.1" 200 - 127.0.0.1 - - [30/Jul/2016 13:59:41] "GET /userdata.js HTTP/1.1" 200 - 127.0.0.1 - - [30/Jul/2016 13:59:41] "GET /main.js HTTP/1.1" 200 - 127.0.0.1 - - [30/Jul/2016 13:59:42] code 404, message File not found 127.0.0.1 - - [30/Jul/2016 13:59:42] "GET /favicon.ico HTTP/1.1" 404 -

screenshot from 2016-07-30 14 00 51

captainmustard avatar Jul 30 '16 19:07 captainmustard

Can you paste the output of the dev console in the browser (ctrl + shift + j / cmd + opt + j, then refresh the page)?

Also, make sure you're up to date by running git submodule sync && git submodule update --init in the root directory of PokemonGo-Bot.

mako-taco avatar Jul 30 '16 19:07 mako-taco

screenshot from 2016-07-30 15 20 02

screenshot from 2016-07-30 15 22 20

captainmustard avatar Jul 30 '16 20:07 captainmustard

You need to enter your Google Maps API key in userdata.js file in web folder.

antoineneff avatar Jul 30 '16 20:07 antoineneff

It's already entered in there

captainmustard avatar Jul 30 '16 20:07 captainmustard

If you did, should be defined then ... The console says not. Can we see your userdata.js file ? Without your key of course.

antoineneff avatar Jul 30 '16 20:07 antoineneff

screenshot from 2016-07-30 15 22 20

captainmustard avatar Jul 30 '16 20:07 captainmustard

It should be: var users = ["USER1"]; var userZoom = true; var userFollow = true; var imageExt = ".png"; var gMapsAPIKey = "KEY";

MartinTerp avatar Jul 30 '16 20:07 MartinTerp

Correct. The the format in your screenshot is for the newer version of the map. Either put it in the format of

var users = ["USER1"];
var userZoom = true;
var userFollow = true;
var imageExt = ".png";
var gMapsAPIKey = "KEY";

or download the most recent master version of the site

Strange-Penguin avatar Jul 30 '16 20:07 Strange-Penguin