tejado / pgoapi

Pokemon Go API lib
Other
1.4k stars 445 forks source link

Encounter_id missing in Fort.LureInfo #89

Closed rvanvenetie closed 8 years ago

rvanvenetie commented 8 years ago

I'm trying to get disk_encouter to work, but encouter_id is missing from fort.lureinfo. I've tried generating new protos from POGOProtos, but then somehow the get_map_objects breaks?

KIgnas commented 8 years ago

Found a fix for get_map_objects with the new protos. In the new protos the location coordinates in the RequestEnvelope are floats instead of bytes, so this code incorrectly double converts the coordinates. Change the getPosition to return self._posf and it should work.

rvanvenetie commented 8 years ago

Awesome, thanks!

glennvgastel commented 8 years ago

Added it with PR #117

tejado commented 8 years ago

Should be fixed now :)