-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setFavoritePokemon proto fix #93
Comments
We're just following these guys for now. If you are convinced this is the case, submit a pull request with them and we'll merge it |
Ehh. I'll keep this open then |
Fair enough. All I know is that using INT64, when my Pokemon ID is outside of the scope of INT64 it fails to favorite the Pokemon giving an out of range exception. |
I haven't had this issue, but I haven't extensively used the call. Do you have an id as reference? |
@dmadisetti here's an ID that raises the error if it's set to INT64 rather than UINT64:
|
After altering the Proto, it works.
|
Using setFavoritePokemon() function can sometimes return an error because the Pokemon ID is outside of the range of an INT64. Changing the type to UINT64 in the fielddescriptor solves this problem. Line 38 in POGOProtos\Networking\Requests\Messages\SetFavoritePokemonMessage_pb2 should look like this:
The text was updated successfully, but these errors were encountered: