Running the basic example.js with username and password and ptovider:ptc. everything else exactly as git.
i get the following error:
...
example.js:59
console.log('1[+] There is a ' + pokemon.name + '
at ' + hb.cells[i].NearbyPokemon[0].DistanceMeters.toString() + ' meters')
;
^
TypeError: Cannot read property 'toString' of null
at <MY_DIR>\example.js:59:125
...
Just to test out, i then commented out everything inside the for loop (there is only one obvious one in the example) and added console.log(hb.cells[i].NearbyPokemon); and i get the following:
Running the basic example.js with username and password and ptovider:ptc. everything else exactly as git.
i get the following error:
Just to test out, i then commented out everything inside the for loop (there is only one obvious one in the example) and added
console.log(hb.cells[i].NearbyPokemon);
and i get the following:Clearly some info are missing here? How do you actually get the pokemon's location from this?