Comments (13)
Closing this issue, let me know if this is still relevant.
from pogoprotos.
- Make sure the API has this recent commit merged in - 333e547
- 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.
@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.
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.
Another Python implementation of the same thing - pogodevorg/pgoapi@632b7df#diff-d362e6a32df73ee17a3ddf5ecc2bd150R119
from pogoprotos.
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.
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.
Could it possibly be that Unknown6 is missing?
https://www.reddit.com/r/pokemongodev/comments/4w1cvr/pokemongo_current_api_status/
from pogoprotos.
no thats in the message. I can send you message if you want, maybe you see something?
from pogoprotos.
@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.
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.
Guys the problem stil persist, someone has managed to fix it?
from pogoprotos.
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)
- Questions about Fields names - Signature.proto
- 0•45•0 compatibilty HOT 1
- What is REGISTER_BACKGROUND_DEVICE used for? HOT 1
- Playerstats - Incorrect wire format HOT 2
- Could not get map objects outside US location
- From decoded game_master to JSON
- base/v0.51.0.proto:1901:18: "Slot" is not defined.
- Update to version 2.5.x - APK 0.53.1 - IPA 1.23.1 HOT 1
- Create GAME_MASTER.json HOT 5
- Official app captcha behavior
- encrypt
- List packages
- 0.57.4 support HOT 2
- 0.59.1 Support HOT 4
- typo in CameraSettings.proto
- Edit: Created by mistake
- 0.71.0 - Gen 3
- All missing messages and enums
- 0.81.1 update HOT 2
- 0.85.1 - New Weather proto and moves HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pogoprotos.