Armax / Pokemon-GO-node-api

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

Invalid values in WildPokemon TimeTillHiddenMs #190

Open chris-j-major opened 8 years ago

chris-j-major commented 8 years ago

I'm seeing occasional large negative values in TimeTillHiddenMs.

Could it be that this isn't a int32 and there's another field before it?

maantje commented 8 years ago

I am seeing the same for example here is a squirtle for with -1855031519 TimeTillHiddenMs : { EncounterId: Long { low: 1841388541, high: -388035456, unsigned: true }, LastModifiedMs: Long { low: 1855031518, high: 342, unsigned: false }, Latitude: 52.920913432167694, Longitude: 6.787504660023195, SpawnPointId: '47b7dedf21b', pokemon: { Id: null, PokemonId: 7, cp: null }, TimeTillHiddenMs: -1855031519, expirationTime: 1468878815315 }

RedSparr0w commented 8 years ago

negative expiration times means it has more than 15 minutes until the Pokemon de-spawns, not sure of how much extra time but yeah.