Skip to content
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

EvolvePokemon throws Protobuff Error #192

Open
NessDan opened this issue Aug 1, 2016 · 2 comments
Open

EvolvePokemon throws Protobuff Error #192

NessDan opened this issue Aug 1, 2016 · 2 comments

Comments

@NessDan
Copy link

NessDan commented Aug 1, 2016

When calling the EvolvePokemon function, an error is always returned:

"Illegal wire type for field Message.Field .ResponseEnvelop.Pokemon.id: 1 (0 expected)"

The Pokemon evolution succeeds, but it just always responds with that error.

@falazar
Copy link

falazar commented Aug 3, 2016

message Pokemon {
optional fixed64 id = 1;

'pokemon_id': pokemon.toString()

in the api call, then shoudl be ok

@NessDan
Copy link
Author

NessDan commented Aug 4, 2016

Okay, so more info.

Updating pokemon_id in the message Pokemon {} to a fixed64 fixed that issue, one more issue came up with cp_multiplier though. It was fixed by changing it to a float

If one of the admins can update the proto file with that information, that'd be great

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants