Armax / Pokemon-GO-node-api

Pokemon GO api node.js library
MIT License
875 stars 198 forks source link

Nearby pokemons #210

Closed williamokano closed 6 years ago

williamokano commented 8 years ago

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?

delmotte commented 8 years ago

the same for me

delmotte commented 8 years ago

Ok, I think it's the npm module is not updated yet, using git pull do the trick ;)

avatsaev commented 8 years ago

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.

SpencerSharkey commented 8 years ago

@avatsaev sometimes they can return empty if scans go too fast

lucassabreu commented 8 years ago

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

avatsaev commented 8 years ago

@SpencerSharkey gotcha

ghost commented 8 years ago

@lucassabreu Back? Was it ever gone?

lucassabreu commented 8 years ago

okey then, i thought it was solved in the past, sorry for this then

williamokano commented 8 years ago

@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
billyriantono commented 8 years ago

https://github.com/Armax/Pokemon-GO-node-api/pull/208 please refer to this @williamokano