Giter VIP home page Giter VIP logo

Comments (9)

prorook avatar prorook commented on July 17, 2024

encounter_id for the encounter message needs to be int64...even though the encounter_id on the incensePokemon message is fixed64. I had the same issue, but I got it working by reverting the encounter message back to int64.

from pogoprotos.

Nostrademous avatar Nostrademous commented on July 17, 2024

@prorook thanks, I will give it a try. What's the correct way to transform a fixed64 to an int64 in python? I ask cause I get errors thrown if I don't do a conversion (perhaps because I use an older version of protobuf).

from pogoprotos.

Nostrademous avatar Nostrademous commented on July 17, 2024

Thank you, got it working after fixing the GetIncensePokemonResponse to PokemonId enum, rather than int32

from pogoprotos.

Nostrademous avatar Nostrademous commented on July 17, 2024

Actually, it still fails at times...

for large encounter_id type-casting to python's int() doesn't work at times.

I just got two encounter_ids (1 worked, 1 didn't)
WORKED: 6180230722423979422
FAILED: 10965396974330624794 <-- this is bigger than int64 and smaller than uint64

from pogoprotos.

RyanHope avatar RyanHope commented on July 17, 2024

How are incense encounters caught without a spawn_point_id?

from pogoprotos.

Nostrademous avatar Nostrademous commented on July 17, 2024

@RyanHope they are not, you get one from GetIncencePokemon response.

from pogoprotos.

RyanHope avatar RyanHope commented on July 17, 2024

Not according to https://github.com/AeonLucid/POGOProtos/blob/master/src/POGOProtos/Networking/Responses/GetIncensePokemonResponse.proto

from pogoprotos.

Nostrademous avatar Nostrademous commented on July 17, 2024

@RyanHope it's called "encounter_location"

from pogoprotos.

rubenvereecken avatar rubenvereecken commented on July 17, 2024

This is about to be fixed with LureInfo being replaced. Spawn point ids are actually fort ids in this case.

from pogoprotos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.