tehp / OpenPoGoWeb

Web View for OpenPoGoBot
77 stars 58 forks source link

Map "works" and shows logs, but no location/trainer #151

Open SaipanDamashii opened 8 years ago

SaipanDamashii commented 8 years ago

So my web map works in that it shows the logs, but it just loads into some location in Europe and never moves from there, and I never see my trainer or the path that he's walking. How do I fix this?

daemonsyn commented 8 years ago

Try your e-mail address as your username .

SaipanDamashii commented 8 years ago

But what if I'm using a ptc account?

Sent from my iPhone

On Jul 31, 2016, at 10:20 PM, daemonsyn notifications@github.com wrote:

Try your e-mail address as your username .

― You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

BobbyWibowo commented 8 years ago

Then write your ptc username. Are you sure that you've edited the userdata.js file?

kestel commented 8 years ago

Exactly it's not help.

192.168.1.54 - - [01/Aug/2016 13:41:55] "GET /location-PTCusername.json?1470048115944 HTTP/1.1" 404 -
192.168.1.54 - - [01/Aug/2016 13:41:55] code 404, message File not found
192.168.1.54 - - [01/Aug/2016 13:41:55] "GET /catchable-PTCusername.json.json?1470048115945 HTTP/1.1" 404 -
192.168.1.54 - - [01/Aug/2016 13:41:56] code 404, message File not found
192.168.1.54 - - [01/Aug/2016 13:41:56] "GET /socket.io/?EIO=3&transport=polling&t=LP5iY2W HTTP/1.1" 404 -
192.168.1.54 - - [01/Aug/2016 13:41:56] code 404, message File not found
192.168.1.54 - - [01/Aug/2016 13:41:56] "GET /location-PTCusername.json?1470048116948 HTTP/1.1" 404 -
192.168.1.54 - - [01/Aug/2016 13:41:56] code 404, message File not found
192.168.1.54 - - [01/Aug/2016 13:41:56] "GET /catchable-PTCusername.json?1470048116950 HTTP/1.1" 404 -
192.168.1.54 - - [01/Aug/2016 13:41:57] code 404, message File not found
BobbyWibowo commented 8 years ago

Manually confirm whether the data is there or not?

kestel commented 8 years ago

I've investigate the problem deeply. Problem with OpenPoGoBot - it doesn't put data to location-PTCusername.json and catchable-PTCusername.json files.

theVDude commented 8 years ago

It looks like those file don't exist (hence, file not found). Try manually creating an empty file in the web root for those files.

wchill commented 8 years ago

This is already a known issue. PR #159 was filed to bring this repo up to date with new socket implementation.

Popky commented 8 years ago

Make sure you have your file created "location-user.json", if not cretea a empty one. and be sure your SimpleHTTPServer is running (python -m SimpleHTTPServer 8001)