tehp / OpenPoGoWeb

Web View for OpenPoGoBot
77 stars 58 forks source link

Pokedex issue on the dev branch of the bot.. #123

Closed knobunc closed 8 years ago

knobunc commented 8 years ago

pokedex isn't loading anything...

TypeError: self.pokemonArray[(pkmID - 1)] is undefined mapView.sortAndShowPokedex() main.js:615 mapView.buildMenu() main.js:328 mapView.bindUi/<() main.js:180 n.event.dispatch() jquery.min.js:3 n.event.add/r.handle() jquery.min.js:3

[Spun off from another issue that had the candy bug too]

tim427 commented 8 years ago

Easy to fix:

Replace on line 614: "pkmID = pokedex_entry.pokedex_entry_number," with; "pkmID = pokedex_entry.pokemon_id,"

Will create pull request later on!

kazyka commented 8 years ago

fixed https://github.com/OpenPoGo/OpenPoGoWeb/pull/125