Created
July 27, 2016 15:16
-
-
Save RyanHope/76e2f1935fa41ba5422ebb51391782e1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2016-07-27 11:15:35,214 [ pgoapi] [ INFO] Create new request... | |
2016-07-27 11:15:35,216 [ pgoapi] [ INFO] Adding 'ENCOUNTER' to RPC request including arguments | |
2016-07-27 11:15:35,216 [ pgoapi] [DEBUG] Arguments of 'ENCOUNTER': | |
{'player_longitude': -79.99990432564914, 'spawn_point_id': u'8834f156fb7', 'encounter_id': 5752263169355807389L, 'player_latitude': 40.4409188}2016-07-27 11:15:35,217 [ pgoapi] [ INFO] Execution of RPC | |
2016-07-27 11:15:35,217 [ rpc_api] [DEBUG] Generating main RPC request... | |
2016-07-27 11:15:35,219 [ rpc_api] [DEBUG] Generating sub RPC requests... | |
2016-07-27 11:15:35,219 [ rpc_api] [DEBUG] Subrequest class: POGOProtos.Networking.Requests.Messages_pb2.EncounterMessage | |
2016-07-27 11:15:35,220 [ rpc_api] [DEBUG] Generated protobuf request: | |
status_code: 2 | |
request_id: 8145806132888207460 | |
requests { | |
request_type: ENCOUNTER | |
request_message: "\t\235\372\0030\340$\324O\022\0138834f156fb7\031\205\030\371\006p8D@!\260r\266n\376\377S\300" | |
} | |
latitude: 40.4409188 | |
longitude: -79.9999043256 | |
auth_info { | |
provider: "google" | |
token { | |
contents: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjUwNzgyYmNmMGE5NzQxZTZiZjkwMjY2ZGMzNTY4YWE5MDc5MWYxNmYifQ.eyJpc3MiOiJhY2NvdW50cy5nb29nbGUuY29tIiwiYXVkIjoiODQ4MjMyNTExMjQwLTdzbzQyMWpvdHIyNjA5cm1xYWtjZXV1MWx1dXEwcHRiLmFwcHMuZ29vZ2xldXNlcmNvbnRlbnQuY29tIiwic3ViIjoiMTEyNjMyMTY1OTgwODc0NTgxOTgwIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImF6cCI6Ijg0ODIzMjUxMTI0MC0zdmRydHJmZG50bGpmMnU0bWxndG5ubGhuaWduMzVkNS5hcHBzLmdvb2dsZXVzZXJjb250ZW50LmNvbSIsImVtYWlsIjoicHVmZnRoZW1hZ2ljMzMwQGdtYWlsLmNvbSIsImlhdCI6MTQ2OTYzMjU1OCwiZXhwIjoxNDY5NjM2MTU4fQ.huCsxCZn-d-Uc4wFtAq34DqN1nYDtL3wS5S0sL7TYwtfCZO-VVDKgI-6llCEQSml_uFtvFAbfdnWr32U8pJV5ad9jAlNyaLIovR5RXOci9RxrCmxp8tU5S6OHPMP_kHKzTKj6zMig0Vu7-UCZ0o01vQY-UUHUsrQtDVSy3fgPCHObmA6v_122UIuQi9IzXJ1nIJ655EJdx1Dka5QVZyfBPk71gwey0ELyweWZIx-YiBNtUqDilB9HgNezDCIw2KOhN6I4biXNDZGkNw-F2Wv1du6vRBKiR43UtQACBNLYTj9I2E58rrh14MAutjNv3BsKmllwU5qmUW2YDq3UoSU2w" | |
unknown2: 59 | |
} | |
} | |
unknown12: 989 | |
2016-07-27 11:15:35,221 [ rpc_api] [DEBUG] Execution of RPC | |
2016-07-27 11:15:35,223 [connectionpool] [ INFO] Starting new HTTPS connection (1): pgorelease.nianticlabs.com | |
2016-07-27 11:15:35,434 [connectionpool] [DEBUG] "POST /plfe/303/rpc HTTP/1.1" 200 None | |
2016-07-27 11:15:35,436 [ rpc_api] [DEBUG] Parsing main RPC response... | |
2016-07-27 11:15:35,437 [ rpc_api] [DEBUG] Protobuf structure of rpc response: | |
status_code: 1 | |
request_id: 8145806132888207460 | |
auth_ticket { | |
start: "?\035Wg\263\262\355\270\257\326\241\022 M\264~U\236Y\001\365\264\375\037\021\317\360\375:\243\020du\223{\300zA\251\205\350pi\250stm\013A\206\030\320B\256\261[\371\367\014\340\247\313\375\332\204\312\301\216}\022\204\344\246\231\322z\356\016l\203" | |
expire_timestamp_ms: 1469634356224 | |
end: "R\360VS\033\340c\353o\3227V|\357\255Z" | |
} | |
returns: "\n\\\t\235\372\0030\340$\324O\020\220\331\264\347\342*\031\010\316\0265~8D@!\024\355@\312\014\000T\300*\0138834f156fb7:\'\020)\030\031 \017(\0170\312\0018y}*:O?\205\001\\$\273@\210\001\007\220\001\014\230\001\017\245\0014d*>X\254\252\024\030\001\"\023\n\003\001\002\003\022\014\000\000\200?\000\000\200?\000\000\200?" | |
2016-07-27 11:15:35,467 [ rpc_api] [DEBUG] Decode raw over protoc (protoc has to be in your PATH): | |
1: 1 | |
2: 8145806132888207460 | |
7 { | |
1: "?\035Wg\263\262\355\270\257\326\241\022 M\264~U\236Y\001\365\264\375\037\021\317\360\375:\243\020du\223{\300zA\251\205\350pi\250stm\013A\206\030\320B\256\261[\371\367\014\340\247\313\375\332\204\312\301\216}\022\204\344\246\231\322z\356\016l\203" | |
2: 1469634356224 | |
3: "R\360VS\033\340c\353o\3227V|\357\255Z" | |
} | |
100 { | |
1 { | |
1: 0x4fd424e03003fa9d | |
2: 1469632556176 | |
3: 0x4044387e3516ce08 | |
4: 0xc054000cca40ed14 | |
5: "8834f156fb7" | |
7 { | |
2: 41 | |
3: 25 | |
4: 15 | |
5: 15 | |
6: 202 | |
7: 121 | |
15: 0x3f4f3a2a | |
16: 0x40bb245c | |
17: 7 | |
18: 12 | |
19: 15 | |
20: 0x3e2a6434 | |
} | |
11: 333100 | |
} | |
3: 1 | |
4 { | |
1: "\001\002\003" | |
2: "\000\000\200?\000\000\200?\000\000\200?" | |
} | |
} | |
2016-07-27 11:15:35,471 [ rpc_api] [DEBUG] Parsing sub RPC responses... | |
2016-07-27 11:15:35,471 [ rpc_api] [DEBUG] Parsing class: POGOProtos.Networking.Responses_pb2.EncounterResponse | |
2016-07-27 11:15:35,473 [ pgoapi] [ INFO] Cleanup of request! | |
2016-07-27 11:15:35,474 [ pgoapi] [ INFO] Create new request... | |
2016-07-27 11:15:35,474 [ pgoapi] [ INFO] Adding 'CATCH_POKEMON' to RPC request including arguments | |
2016-07-27 11:15:35,476 [ pgoapi] [DEBUG] Arguments of 'CATCH_POKEMON': | |
{'hit_pokemon': True, 'pokeball': 1, 'spawn_point_guid': u'8834f156fb7', 'spin_modifier': 1, 'normalized_reticle_size': 1.95, 'NormalizedHitPosition': 1, 'encounter_id': 5752263169355807389L} | |
2016-07-27 11:15:35,476 [ pgoapi] [ INFO] Execution of RPC | |
2016-07-27 11:15:35,476 [ rpc_api] [DEBUG] Generating main RPC request... | |
2016-07-27 11:15:35,477 [ rpc_api] [DEBUG] Generating sub RPC requests... | |
2016-07-27 11:15:35,477 [ rpc_api] [DEBUG] Subrequest class: POGOProtos.Networking.Requests.Messages_pb2.CatchPokemonMessage | |
2016-07-27 11:15:35,479 [ rpc_api] [DEBUG] spawn_point_guid -> 8834f156fb7 | |
2016-07-27 11:15:35,480 [ rpc_api] [WARNING] Argument spawn_point_guid with value 8834f156fb7 unknown inside CatchPokemonMessage (Exception: 'CatchPokemonMessage' object has no attribute 'spawn_point_guid') | |
2016-07-27 11:15:35,482 [ rpc_api] [DEBUG] NormalizedHitPosition -> 1 | |
2016-07-27 11:15:35,482 [ rpc_api] [WARNING] Argument NormalizedHitPosition with value 1 unknown inside CatchPokemonMessage (Exception: 'CatchPokemonMessage' object has no attribute 'NormalizedHitPosition') | |
2016-07-27 11:15:35,483 [ rpc_api] [DEBUG] Generated protobuf request: | |
status_code: 2 | |
request_id: 8145806132888207460 | |
requests { | |
request_type: CATCH_POKEMON | |
request_message: "\t\235\372\0030\340$\324O\020\001\031333333\377?(\0011\000\000\000\000\000\000\360?" | |
} | |
latitude: 40.4409188 | |
longitude: -79.9999043256 | |
auth_info { | |
provider: "google" | |
token { | |
contents: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjUwNzgyYmNmMGE5NzQxZTZiZjkwMjY2ZGMzNTY4YWE5MDc5MWYxNmYifQ.eyJpc3MiOiJhY2NvdW50cy5nb29nbGUuY29tIiwiYXVkIjoiODQ4MjMyNTExMjQwLTdzbzQyMWpvdHIyNjA5cm1xYWtjZXV1MWx1dXEwcHRiLmFwcHMuZ29vZ2xldXNlcmNvbnRlbnQuY29tIiwic3ViIjoiMTEyNjMyMTY1OTgwODc0NTgxOTgwIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImF6cCI6Ijg0ODIzMjUxMTI0MC0zdmRydHJmZG50bGpmMnU0bWxndG5ubGhuaWduMzVkNS5hcHBzLmdvb2dsZXVzZXJjb250ZW50LmNvbSIsImVtYWlsIjoicHVmZnRoZW1hZ2ljMzMwQGdtYWlsLmNvbSIsImlhdCI6MTQ2OTYzMjU1OCwiZXhwIjoxNDY5NjM2MTU4fQ.huCsxCZn-d-Uc4wFtAq34DqN1nYDtL3wS5S0sL7TYwtfCZO-VVDKgI-6llCEQSml_uFtvFAbfdnWr32U8pJV5ad9jAlNyaLIovR5RXOci9RxrCmxp8tU5S6OHPMP_kHKzTKj6zMig0Vu7-UCZ0o01vQY-UUHUsrQtDVSy3fgPCHObmA6v_122UIuQi9IzXJ1nIJ655EJdx1Dka5QVZyfBPk71gwey0ELyweWZIx-YiBNtUqDilB9HgNezDCIw2KOhN6I4biXNDZGkNw-F2Wv1du6vRBKiR43UtQACBNLYTj9I2E58rrh14MAutjNv3BsKmllwU5qmUW2YDq3UoSU2w" | |
unknown2: 59 | |
} | |
} | |
unknown12: 989 | |
2016-07-27 11:15:35,486 [ rpc_api] [DEBUG] Execution of RPC | |
2016-07-27 11:15:35,487 [connectionpool] [ INFO] Starting new HTTPS connection (1): pgorelease.nianticlabs.com | |
2016-07-27 11:15:35,650 [connectionpool] [DEBUG] "POST /plfe/303/rpc HTTP/1.1" 200 None | |
2016-07-27 11:15:35,651 [ rpc_api] [DEBUG] Parsing main RPC response... | |
2016-07-27 11:15:35,651 [ rpc_api] [DEBUG] Protobuf structure of rpc response: | |
status_code: 3 | |
request_id: 8145806132888207460 | |
auth_ticket { | |
start: "X\223\213\207\224S\354=\226\304s\333\007\010\017\313\010%\316y]\226G,\004\2056\301\343\302\334l\034\340\267\230\373\376\241\217a\300\271B\344\351a\372\371\261\244\317\016\360\315\335\220Co\365\335j2:\313\302\322\246\325\233\260[xJ\007\006g\227\236A" | |
expire_timestamp_ms: 1469634356442 | |
end: "\330\2104\341\326\230 \242\352\027p\331\234\321d+" | |
} | |
returns: "" | |
2016-07-27 11:15:35,681 [ rpc_api] [DEBUG] Decode raw over protoc (protoc has to be in your PATH): | |
1: 3 | |
2: 8145806132888207460 | |
7 { | |
1: "X\223\213\207\224S\354=\226\304s\333\007\010\017\313\010%\316y]\226G,\004\2056\301\343\302\334l\034\340\267\230\373\376\241\217a\300\271B\344\351a\372\371\261\244\317\016\360\315\335\220Co\365\335j2:\313\302\322\246\325\233\260[xJ\007\006g\227\236A" | |
2: 1469634356442 | |
3: "\330\2104\341\326\230 \242\352\027p\331\234\321d+" | |
} | |
100: "" | |
2016-07-27 11:15:35,684 [ rpc_api] [DEBUG] Parsing sub RPC responses... | |
2016-07-27 11:15:35,684 [ rpc_api] [DEBUG] Parsing class: POGOProtos.Networking.Responses_pb2.CatchPokemonResponse | |
2016-07-27 11:15:35,686 [ pgoapi] [ INFO] Cleanup of request! | |
Traceback (most recent call last): | |
File ".\examples\random-walk.py", line 268, in <module> | |
main() | |
File ".\examples\random-walk.py", line 253, in main | |
newspins = find_poi(api, newposition[0], newposition[1]) | |
File ".\examples\random-walk.py", line 155, in find_poi | |
if not (ret['responses']['CATCH_POKEMON']['status_code'] == 2 or ret['responses']['CATCH_POKEMON']['status_code'] == 4): | |
KeyError: 'status_code' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment