PokemonGoF / PokemonGo-Bot

The Pokemon Go Bot, baking with community.
MIT License
3.86k stars 1.54k forks source link

Niantic Server responses changed. Can't catch pokemon or see pokestops #2540

Closed TianCNCA closed 8 years ago

TianCNCA commented 8 years ago

EDIT from TheSavior:

It looks like the request structure has changed. Every bot, map, and 3rd party app is currently working to update.

Niantic changed their API. People are working on a fix but there is no ETA yet. If you want to know what changed read this: https://www.reddit.com/r/pokemongodev/comments/4w1cvr/pokemongo_current_api_status/

Original Post:

[15:04:18] PokemonGO Bot v1.0 [15:04:18] Configuration initialized [15:04:18] [x] Coordinates found in passed in location, not geocoding. [15:04:18] [15:04:18] Location Found: 40.776426, -73.969657 [15:04:18] GeoPosition: (40.776426, -73.969657, 0) [15:04:18] [15:04:18] [x] Parsing cached location... [15:04:18] [15:04:18] [x] Last location flag used. Overriding passed in location [15:04:18] [x] Last in-game location was set as: (40.7761427978432, -73.9701562 916473, 0) [15:04:18] [15:04:18] Attempting login to Pokemon Go. 2016-08-03 15:04:20,665 [pgoapi.pgoapi] [ERROR] Login failed - unexpected serve response! [15:04:20] [X] Login Error, server busy [15:04:20] [X] Waiting 10 seconds to try again 2016-08-03 15:04:32,917 [pgoapi.pgoapi] [ERROR] Login failed - unexpected serve response! [15:04:32] [X] Login Error, server busy [15:04:32] [X] Waiting 10 seconds to try again [15:04:37] Exiting PokemonGo Bot [15:04:42] Server seems to be busy or offline - try again - 4/15 [15:04:43] Server seems to be busy or offline - try again - 5/15 [15:04:44] Server seems to be busy or offline - try again - 6/15 [15:04:45] Server seems to be busy or offline - try again - 7/15 [15:04:47] Server seems to be busy or offline - try again - 8/15 [15:04:48] Server seems to be busy or offline - try again - 9/15

This happens to all my accounts including the ones I only use with the bot. Login from phone is fine, however.

cicatiello commented 8 years ago

debug: request/respose are going normally; all three request are getting responses requests { request_type: GET_MAP_OBJECTS } requests { request_type: GET_INVENTORY } requests { request_type: GET_PLAYER } no errors on protoc [pgoapi.rpc_api] [DEBUG] Parsing sub RPC responses... [pgoapi.rpc_api] [DEBUG] Parsing class: POGOProtos.Networking.Responses_pb2.GetMapObjectsResponse [pgoapi.pgoapi] [ INFO] Cleanup of request!

jomarocas commented 8 years ago

Hey friends to me niantic forces me to update the application, and i update, i supose they update the api

cronjob4 commented 8 years ago

Bot is up and running again for me after about 35 minutes downtime

MatthewBCooke commented 8 years ago

@ColeFortson Can you find pokemon/pokestops?

cronjob4 commented 8 years ago

@Norton50 I cannot confirm. I need to wait around half an hour cooldown before teleporting to a populated area with pokestops (NYC Times Square)

smokeyrd commented 8 years ago

No stops/pokemon. Looks like they made their change...sadface. Also, all my balls are gone when I login.

MatthewBCooke commented 8 years ago

@ColeFortson I am afraid you most likely wont find anything

cronjob4 commented 8 years ago

Oof. Well at least you can still walk about and let your eggs hatch. I am not having @smokeyrd's problem with the pokeballs though...

PlanetoftheMapes commented 8 years ago

@firzzen I'd happily do so if we had a way of tracking pokemon. Niantic needs to realize that they're shooting themselves in the foot by removing tracking. Who does that affect? People with limited time (read: jobs) and money to spend on the game. Only school kids on summer break have time to wander aimlessly around for hours and just "hope" to stumble upon something interesting.

Let the cat and mouse game begin.

belinux commented 8 years ago

In Switzerland is the same.. Evolving: Ok, Hatching: Ok, but no pokemons or pokestops

TianCNCA commented 8 years ago

@ColeFortson No you can't hatch eggs. The distance you walked is not being counted.

[15:30:02] Ran for 0:05:20 [15:30:02] Total XP Earned: 0 Average: 0.00/h [15:30:02] Travelled 0.00km [15:30:02] Visited 0 stops [15:30:02] Encountered 0 pokemon, 0 caught, 0 released, 0 evolved, 0 never seen before [15:30:02] Threw 0 pokeballs [15:30:02] Earned 0 Stardust [15:30:02] [15:30:02] Highest CP Pokemon: [15:30:02] Most Perfect Pokemon:

jtara1 commented 8 years ago

The project/repository PokemonGo-Map has worked perfectly without issues when logging in and scanning for pokemon and other objects, I wonder what they're doing differently?

jomarocas commented 8 years ago

no nothing only walk and walk, some update that change this method? who can verify?

cronjob4 commented 8 years ago

@TianCNCA oh rats Great work niantic 👍

smokeyrd commented 8 years ago

odd...balls are back. maybe it was a bug? still no stops/pokemon though

brian000 commented 8 years ago

I'm able to login with my phone and transfer/evolve/walk/etc, however my bot is not doing anything aside from logging in and sitting there.

[14:38:42] [x] Coordinates found in passed in location, not geocoding.
[14:38:43]  Starting PokemonGo Bot....
[14:38:43]  [x] Current egg hatches in 0.10 km...

Of note, I still have my inventory and critters. Also notable, the iOS app has not been updated since August 1 (v1.1.1), and it did not prompt me for an upgrade.

cronjob4 commented 8 years ago

I have a feeling this is here to stay, although it is possible they changed the API values. I don't know how to call or search for them so I would appreciate it if someone could confirm.

firzzen commented 8 years ago

There is always a way tho :)

cronjob4 commented 8 years ago

@brian000 They can issue server-side updates without having to submit a new app store version.

SpencerCarstens commented 8 years ago

https://github.com/PocketMobsters/PokeMobBot/commit/52e7c7b6ba398eb9c96fd007be168513f9bed44a

They fixed it, we can too ^

ingcrengifo commented 8 years ago

a mi tampoco me funciona el bot, pero si inicio sesion desde el celular funciona correctamente, será que detectaron el bot?

cronjob4 commented 8 years ago

@spencercarstens lets do ittttt!

Topias1 commented 8 years ago

@SpencerCarstens

solenrus commented on 52e7c7b an hour ago it doesn't compile currently.

Did they?

cronjob4 commented 8 years ago

I can confirm that walking distance through the bot is not logged.

ryanluton commented 8 years ago

https://github.com/PocketMobsters/PokeMobBot/commit/eb1c6abff719db20d652e32f781931c7a6b0f544 Just quickly looking at this commit. The PokeStop Object may have changed?

PlanetoftheMapes commented 8 years ago

@ryanluton haha did they just throw them in a nested array?

g2384 commented 8 years ago

API changed? It seems like we can only send a request every 10 sec

ghost commented 8 years ago

Quote from ownedcore "They changed the API time to 10 seconds... so RIP to every bot & snipe bot"

nikmess commented 8 years ago

@g2384 That happened quite a bit earlier today - bot and PokemonGo-Map still worked with this change.

PlanetoftheMapes commented 8 years ago

@g2384 @Kassius509 @nikmess yes, that change happened early in the morning IIRC, no big deal just change map cache time to 10s. This is a different api change..

BobbyWibowo commented 8 years ago

@Kozeo What else is there to do? We'll just have to see if the dev can come up with anything to counteract this (*moved discussion - I don't know why I moved it here, my mind is screwed).

ghost commented 8 years ago

@TheSavior @douglascamata Any insight on this issue?

TheSavior commented 8 years ago

It seems like the request structure changed. All of the bots and maps and other 3rd party projects are working on updating.

jomarocas commented 8 years ago

ok all donate of principal creator of this

PlanetoftheMapes commented 8 years ago

The fix seems like: update protos to latest api and change what appears to be a data structure change to the nesting level of the array with the pokestops within them... This is strictly based on what I see in the pokemobbot commit. I have an important meeting so I can't fix it right now but I can in 6-8 hrs. Although I'm sure it'll be fixed by then. If not I'll swing.

sdkrocks commented 8 years ago

Thanks @PlanetoftheMapes

kinvaris commented 8 years ago

For somebody with not much insight in this project. Is it being fixed in a submodule or in this project itself?

cicatiello commented 8 years ago

@kinvaris, should be submodule; the POGOProtos demo is also failing

edit: this demo https://github.com/rubenvereecken/pokemongo-api/blob/master/pogo/demo.py

BartKoppelmans commented 8 years ago

@kinvaris @cicatiello If the nesting level changed, it could be that both have to be adjusted to fit the new API. It depends on how the pgoapi is going to change and what it will return. I don't have enough insight in the project to say it with confidence though.

balpoint commented 8 years ago

MyGoBot.com already fixed it.

Nope they didn't my bad!

TheSavior commented 8 years ago

https://github.com/AeonLucid/POGOProtos/issues/131

cicatiello commented 8 years ago

@BartKoppelmans i tried a little debug on the demo.py and it seems more keyed to direct unmarshalling from pogoprotos;

Line 173,demo.py - 2016-08-03 23:13:33,900 - INFO - Sorting Nearest Forts:
s2_cell_id: 1385709364483981312
current_timestamp_ms: 1470258814176

[]
s2_cell_id: 1385709366631464960
current_timestamp_ms: 1470258814176

[]

the [] are the unmarshalled forts, i.e. empty, i.e. cells do not have forts anymore

BartKoppelmans commented 8 years ago

@cicatiello Ahh okay, so the API just doesn't pick up the forts? Then we can only wait for a fix...

g2384 commented 8 years ago

@balpoint No they didn't. They have the same issue. I just tried few sec ago.

g2384 commented 8 years ago

Does it mean that Niantic has prepared this API change before they released new patch last week. Or how come they can change the API without updating the APP?

balpoint commented 8 years ago

@g2384 Ah oke, my bad! I didn't try it for myself (don't have it), a good friend of mine said the mygobot.org had been updated for this change in the API.

Guess Not

WillM88 commented 8 years ago

@g2384 Niantic can change server side without having to update the app through the stores. Also forced all phone apps to be updated in order to be played recently.

cicatiello commented 8 years ago

@BartKoppelmans i am not sure it's will be only a api change: the raw response looks a little bit too short; hopefully there would be no need for other call, hence for more code changes

DrBlackross commented 8 years ago

i can wait to pull it, i need to cook anyway.

keremciu commented 8 years ago

Not only api change. https://techcrunch.com/2016/08/02/niantic-explains-why-it-killed-third-party-pokemon-go-tracking-services/

They explained their changes

"We have removed the ‘3-step’ display in order to improve upon the underlying design. The original feature, although enjoyed by many, was also confusing and did not meet our underlying product goals. We will keep you posted as we strive to improve this feature."

I hope it will be fixed soon :)