Giter VIP home page Giter VIP logo

Comments (13)

AeonLucid avatar AeonLucid commented on July 17, 2024 1

Closing this issue, let me know if this is still relevant.

from pogoprotos.

krzys-h avatar krzys-h commented on July 17, 2024
  1. Make sure the API has this recent commit merged in - 333e547
  2. Make sure the API is handling status code 53 correctly (I've seen a few that do it only on initial login sequence and fail to process it when it comes from StartGymBattle)

from pogoprotos.

jamie2016-1 avatar jamie2016-1 commented on July 17, 2024

@krzys-h can you explain what you mean by handling status code 53? The response type does not have such a field and what fields are there are all unset or null?

Do you mean another response or? Maybe post some snippet code of the c sharp example.

Right now Im having the same issue, it barely ever returns anything other than nothing.

from pogoprotos.

krzys-h avatar krzys-h commented on July 17, 2024

Status code is set in the main ResponseEnvelope object (the one that holds all individual RPC responses).

If it returns a status_code = 53, it means that you need to change the endpoint that you send all requests to. New endpoint is given in api_url field in the same object - there should be some related code in your API already as it needs to do it always when starting a new session to get the initial URL. You also need to retry the current request after the change.

I have not worked with C# API so I don't know how it's done there. I can give you Python code if it helps in any way - tejado/pgoapi#161

from pogoprotos.

krzys-h avatar krzys-h commented on July 17, 2024

Another Python implementation of the same thing - pogodevorg/pgoapi@632b7df#diff-d362e6a32df73ee17a3ddf5ecc2bd150R119

from pogoprotos.

krzys-h avatar krzys-h commented on July 17, 2024

I'm not sure if this is the API you are using, but it seems to be implemented: https://github.com/AeonLucid/POGOLib/blob/master/POGOLib/Net/RPCClient.cs#L364-L371

from pogoprotos.

jamie2016-1 avatar jamie2016-1 commented on July 17, 2024

Hi yes I am using https://github.com/AeonLucid/POGOProtos. Also the responseEnvelope status code is 2 for the StartGymBattle but still the actual resppnse from the StartGymBattle service is empty?

from pogoprotos.

krzys-h avatar krzys-h commented on July 17, 2024

Could it possibly be that Unknown6 is missing?
https://www.reddit.com/r/pokemongodev/comments/4w1cvr/pokemongo_current_api_status/

from pogoprotos.

jamie2016-1 avatar jamie2016-1 commented on July 17, 2024

no thats in the message. I can send you message if you want, maybe you see something?

from pogoprotos.

jamie2016-1 avatar jamie2016-1 commented on July 17, 2024

@krzys-h I just send you an email with the message within, If you could maybe have a look and see if you see anything blantantly incorrect there. Thanks again.

from pogoprotos.

jamie2016-1 avatar jamie2016-1 commented on July 17, 2024

Just as an update this is still the case with the C Sharp API. Response is empty, even though the Response Envelope is ok.

Would be cool if someone could look into it, try and reproduce it themselves etc. I have done numerous tests.

I am passing in the GymId from the GetGymDetails, the Defending Pokemon is the First Member pokemon from the GetGymDetails, and I pass in 6 pokemon to attack if team != my team is different or 1 if the teams are the same.

from pogoprotos.

blackms avatar blackms commented on July 17, 2024

Guys the problem stil persist, someone has managed to fix it?

from pogoprotos.

blackms avatar blackms commented on July 17, 2024

I still receiving a lot of times this response:

{{ "statusCode": 3, "requestId": "841973700021381376", "unknown6": [ { "responseType": 6, "unknown2": { "unknown1": "1" } } ], "returns": [ "" ] }}

The strange thing is that I don't get it everytime but sometimes it works.

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.