Closed williamokano closed 6 years ago
the same for me
Ok, I think it's the npm module is not updated yet, using git pull
do the trick ;)
confirming, npm module not updated, i did this in the package.json and it seems to work for now:
"dependencies": {
"pokemon-go-node-api": "https://github.com/Armax/Pokemon-GO-node-api.git"
}
sometimes the scan still returns empty arrays for some reason.
@avatsaev sometimes they can return empty if scans go too fast
looks like the 200 meters problem is back, i tried at two locations and still 200 meters 1[+] There is a Venonat at 200 meters 1[+] There is a Rattata at 200 meters 1[+] There is a Goldeen at 200 meters 1[+] There is a Ekans at 200 meters 1[+] There is a Caterpie at 200 meters
other place: 1[+] There is a Spearow at 200 meters 1[+] There is a Pidgey at 200 meters 1[+] There is a Spearow at 200 meters 1[+] There is a Pidgey at 200 meters
@SpencerSharkey gotcha
@lucassabreu Back? Was it ever gone?
okey then, i thought it was solved in the past, sorry for this then
@avatsaev working with the direct dependency I get an error about the device id
/home/william/projetos/pokemon/node_modules/pokemon-go-node-api/poke.io.js:147
device_id: self.playerInfo.device_info.device_id,
^
TypeError: Cannot read property 'device_id' of null
https://github.com/Armax/Pokemon-GO-node-api/pull/208 please refer to this @williamokano
Hi Everyone (again).
I was following the thread of the Unkown6 and, guys, you're awesome.
The API is now functional but, I noticed that the NearbyPokemons and the Forts array are always coming empty.
Is this a bug?