-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nothing shows on map #141
Comments
Where did you see that error? Did you start the map with SimpleHTTPServer? Can you open your browser's dev console and post the error messages in that instead? |
Go to PokemonGo-Bot/pokemongo_bot/stepper.py Other solution is to manually create the .json file but the problem will persist for other accounts. |
These get repeated over and over. I Looked at stepper.py but there are no if statements on line 112 or 123 or anything to do with those files. I am starting the map with the command: sudo python -m SimpleHTTPServer 8080. I added in location/catchable/inventory json files and it removed all the errors except socket.io but it still displays nothing. |
Which bot are you using? OpenPoGoBot or PokemonGo-Bot? |
Well that would make sense lol. Do you have a link to PokemonGo-Bot. R/PokemonDev removed all the links to the bots. |
This is PokemonGo-Bot: https://github.com/PokemonGoF/PokemonGo-Bot |
Thanks for your help. I will give that a shot. |
Hey Bobby, I got pokemonGo-bot running succefully. I am trying to use your map. If I run it with simpleHTTPServer I recieve errors about not finding the 3 json files. Which are in the web directory. However, it is trying to find location-YOUR-USERNAME.json. Is my username loaded from the userdata.js file? |
@ILoveZerg Yes, you need to update the userdata.js file. Please follow the config example in userdata.js.example file. After you finish that, it should be working just fine. |
Thanks, I changed the displayname and not the username. It is mostly working now. By that I mean the map is working and showing route/pokestops/pokemon. However all of the buttons on the right open my items. I am seeing these two errors in the console:
|
Er, you need to fill both. The display name feature was simply for appearance sake (much like the display name thingy in the app), while the username will be used get the correct JSON files. By the way, I'm guessing we should move this discussion to my fork instead. Considering that we're now talking about issues regarding my fork instead of this. |
Yah I have both changed now. I just did not see the username the first time around. Thanks for all your help. Ill try and work through these errors I'm getting. |
userdata.js? |
// MUST CONFIGURE THE USERS ARRAY AND GOOGLE MAPS API KEY.
|
Did you use the latest commit? Honestly I can't guess much from those error logs. I can only assume that the JSON files didn't have enough data as expected.
This means that 'inventory_item_data' didn't exist since it'd try reading 'candy' property from that object. But that's strange. It should have existed if the bot were working properly (the others errors should have been merely a chain reaction). Which bot were you using? |
im using your wchill/refactor branch |
Should be just as simple as doing |
i get error |
Do |
@BobbyWibowo I've tried your map multiple times over the last days. |
@JohnAxae First error means that |
@BobbyWibowo still nothing, all the json-files are constantly up to date, and the inventory_item_data and cells exists though, and I get those failsafe errors also. |
@JohnAxae At first I thought it had something to do with the new PokemonGo-Map Synergy commit (which I didn't have prior to pushing my latest commit), but after updating to the latest commit of PokemonGo-Bot's dev branch, it was still working just fine. Oh well, for now I'm quite lost as well. Anyway, I'm currently working into integrating the new nearby Pokemon feature (which includes rewriting lots of things as well), so let's see whether it'll work with that version later. |
127.0.0.1 - - [31/Jul/2016 02:41:17] code 404, message File not found
I recieve this error constantly. It shows over and over. The map loads and says data is loaded but no routes or anything are displayed.
The text was updated successfully, but these errors were encountered: