Jump to content

[UPDATED] (WITH NEW API) Pokemon Go Bot for Mac!


Amuyea

888 posts in this topic

Recommended Posts

  • Replies 887
  • Created
  • Last Reply
Posted

I haven't experienced it yet

 

I ran the bot in debug mode and this is what I got if this helps. Last login: Fri Jul 29 19:14:51 on ttys000

DestinsMacbookPro:PokemonGo-Bot DestinMorrison$ python pokecli.py

[2016-07-29 19:26:01] [x] PokemonGO Bot v1.0

[2016-07-29 19:26:01] [x] Configuration initialized

2016-07-29 19:26:01,070 [    pgoapi] [ INFO] pgoapi v1.1.5 - Copyright © 2016 tjado <https://github.com/tejado>

2016-07-29 19:26:02,078 [    pgoapi] [DEBUG] Set Position - Lat: 40.7711329 Long: -73.9741874 Alt: 0.0

[2016-07-29 19:26:02] 

[2016-07-29 19:26:02] [x] Address found: New York, Central Park

[2016-07-29 19:26:02] [x] Position in-game set as: (40.7711329, -73.97418739999999, 0.0)

[2016-07-29 19:26:02] 

2016-07-29 19:26:02,087 [    pgoapi] [DEBUG] Auth provider: google

2016-07-29 19:26:02,088 [auth_google] [ INFO] Google login for: [email protected]

2016-07-29 19:26:02,340 [connectionpool] [ INFO] Starting new HTTPS connection (1): android.clients.google.com

2016-07-29 19:26:03,342 [connectionpool] [DEBUG] "POST /auth HTTP/1.1" 200 None

2016-07-29 19:26:03,350 [connectionpool] [ INFO] Starting new HTTPS connection (1): android.clients.google.com

2016-07-29 19:26:03,719 [connectionpool] [DEBUG] "POST /auth HTTP/1.1" 200 None

2016-07-29 19:26:03,724 [auth_google] [ INFO] Google Login successful.

2016-07-29 19:26:03,725 [auth_google] [DEBUG] Google Session Token: eyJhbGciOiJSUzI1NiIsImtpZ

2016-07-29 19:26:03,725 [    pgoapi] [ INFO] Starting RPC login sequence (app simulation)

2016-07-29 19:26:03,725 [    pgoapi] [ INFO] Creating a new request...

2016-07-29 19:26:03,725 [    pgoapi] [ INFO] Adding 'GET_PLAYER' to RPC request

2016-07-29 19:26:03,725 [    pgoapi] [ INFO] Adding 'GET_HATCHED_EGGS' to RPC request

2016-07-29 19:26:03,726 [    pgoapi] [ INFO] Adding 'GET_INVENTORY' to RPC request

2016-07-29 19:26:03,726 [    pgoapi] [ INFO] Adding 'CHECK_AWARDED_BADGES' to RPC request

2016-07-29 19:26:03,726 [    pgoapi] [ INFO] Adding 'DOWNLOAD_SETTINGS' to RPC request including arguments

2016-07-29 19:26:03,726 [    pgoapi] [DEBUG] Arguments of 'DOWNLOAD_SETTINGS': 

{'hash': '05daf51635c82611d1aac95c0b051d3ec088a930'}

2016-07-29 19:26:03,727 [   rpc_api] [DEBUG] Generated new random RPC Request id: 18493417413871116

2016-07-29 19:26:03,727 [    pgoapi] [ INFO] Execution of RPC

2016-07-29 19:26:03,727 [   rpc_api] [DEBUG] Generating main RPC request...

2016-07-29 19:26:03,727 [   rpc_api] [DEBUG] Incremented RPC Request ID: 18493417413871117

2016-07-29 19:26:03,727 [   rpc_api] [DEBUG] NO auth ticket found - using oauth token

2016-07-29 19:26:03,728 [   rpc_api] [DEBUG] Generating sub RPC requests...

2016-07-29 19:26:03,832 [   rpc_api] [DEBUG] Subrequest class: POGOProtos.Networking.Requests.Messages_pb2.DownloadSettingsMessage

2016-07-29 19:26:03,840 [   rpc_api] [DEBUG] Generated protobuf request: 

status_code: 2

request_id: 18493417413871117

requests {

  request_type: GET_PLAYER

}

requests {

  request_type: GET_HATCHED_EGGS

}

requests {

  request_type: GET_INVENTORY

}

requests {

  request_type: CHECK_AWARDED_BADGES

}

requests {

  request_type: DOWNLOAD_SETTINGS

  request_message: "\n(05daf51635c82611d1aac95c0b051d3ec088a930"

}

latitude: 40.7711329

longitude: -73.9741874

auth_info {

  provider: "google"

  token {

    contents: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM5NGNiYjk4OTdmOGZiMmYzMzY0NTMzMmEyMTU0MDk5YTk1ZTI1OWYifQ.eyJpc3MiOiJhY2NvdW50cy5nb29nbGUuY29tIiwiYXVkIjoiODQ4MjMyNTExMjQwLTdzbzQyMWpvdHIyNjA5cm1xYWtjZXV1MWx1dXEwcHRiLmFwcHMuZ29vZ2xldXNlcmNvbnRlbnQuY29tIiwic3ViIjoiMTEwNjM2NzIzMzM4MDI3MzIxODcyIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImF6cCI6Ijg0ODIzMjUxMTI0MC0zdmRydHJmZG50bGpmMnU0bWxndG5ubGhuaWduMzVkNS5hcHBzLmdvb2dsZXVzZXJjb250ZW50LmNvbSIsImVtYWlsIjoibWluZWNyYWZ0ZmFuNTIxQGdtYWlsLmNvbSIsImlhdCI6MTQ2OTgzODM2MywiZXhwIjoxNDY5ODQxOTYzLCJuYW1lIjoiQ2xhc2ggT2YgQ2xhbnMgLSBBbHRpdHVkZVBob2VuaXgiLCJwaWN0dXJlIjoiaHR0cHM6Ly9saDMuZ29vZ2xldXNlcmNvbnRlbnQuY29tLy1hOUJVUlphcDNsWS9BQUFBQUFBQUFBSS9BQUFBQUFBQUFMSS9MYlJyRkFMQVJJVS9zOTYtYy9waG90by5qcGciLCJnaXZlbl9uYW1lIjoiQ2xhc2ggT2YgQ2xhbnMgLSBBbHRpdHVkZVBob2VuaXgiLCJmYW1pbHlfbmFtZSI6Ii4ifQ.hiSsK0AaowGlFqacomh8VeN5p1PB5XDTjYAzu-KLwjWchJMq-TIYwtEI02LhA9yRNJyroHNXUFbmF_9v5divZZGEVeXpLXQCPqjV1RrzJ008YVejJZiBd068eee0kZkjheX_bWH1mekcsbQV6yo-yr2Lg_eBnb-ju56bio7FksImHoFZuGqPWjSJi03twEswFuhu5IKuKwPzDzA2mlZVFbGtZiBcgaq--tTsbefvfpDPIVSN0s4Y4Lopo0ioNR9qGCHVaL8x41vwvguuOQ7XsqafSpjr0MM_mXO5E2KLJGgi4LIjjrRf3vP9gsta7BDrnxMBvpLU9pzPzUEXPiEGLg"

    unknown2: 59

  }

}

unknown12: 989

 

2016-07-29 19:26:03,842 [   rpc_api] [DEBUG] Execution of RPC

2016-07-29 19:26:03,908 [connectionpool] [ INFO] Starting new HTTPS connection (1): pgorelease.nianticlabs.com

2016-07-29 19:26:04,737 [connectionpool] [DEBUG] "POST /plfe/rpc HTTP/1.1" 200 None

2016-07-29 19:26:04,739 [   rpc_api] [DEBUG] Parsing main RPC response...

2016-07-29 19:26:04,739 [   rpc_api] [DEBUG] Protobuf structure of rpc response:

status_code: 53

request_id: 18493417413871117

api_url: "pgorelease.nianticlabs.com/plfe/481"

auth_ticket {

  start: "\203/RS\242\004K\220\017\243\220\247S^\021\"\013=\253\003\n\307\231\3600\013\307\2113)\212\340\210\375\td\177\250\250\357}\224\354N\204\336\262\"IB\\\267\336gc\034\252\2534\350=\302\343\034\364\013\206\010b\226L\204\3614\232lj\316\237\357"

  expire_timestamp_ms: 1469840164676

  end: "+\2502\317\036\203\374\021L\2507\201\025i\250\000"

}

returns: ""

 

2016-07-29 19:26:04,873 [   rpc_api] [DEBUG] Decode raw over protoc (protoc has to be in your PATH):

Couldn't find protoc in your environment OR other issue...

2016-07-29 19:26:04,873 [   rpc_api] [DEBUG] Parsing sub RPC responses...

2016-07-29 19:26:04,874 [   rpc_api] [DEBUG] Parsing class: POGOProtos.Networking.Responses_pb2.GetPlayerResponse

2016-07-29 19:26:04,965 [   rpc_api] [DEBUG] Received auth ticket valid for 00:29:59 hours (1469838364965 < 1469840164676)

2016-07-29 19:26:04,965 [    pgoapi] [ INFO] Cleanup of request!

2016-07-29 19:26:04,967 [    pgoapi] [DEBUG] Setting API endpoint to: https://pgorelease.nianticlabs.com/plfe/481/rpc

2016-07-29 19:26:04,967 [    pgoapi] [ INFO] Finished RPC login sequence (app simulation)

2016-07-29 19:26:04,968 [    pgoapi] [ INFO] Login process completed

2016-07-29 19:26:04,968 [    pgoapi] [ INFO] Creating a new direct request...

2016-07-29 19:26:04,968 [    pgoapi] [ INFO] Adding 'GET_PLAYER' to RPC request

2016-07-29 19:26:04,968 [    pgoapi] [ INFO] Execution of RPC

2016-07-29 19:26:04,969 [   rpc_api] [DEBUG] Generating main RPC request...

2016-07-29 19:26:04,969 [   rpc_api] [DEBUG] Incremented RPC Request ID: 18493417413871118

2016-07-29 19:26:04,969 [      auth] [DEBUG] Auth ticket still valid for further 00:29:59 hours (1469838364969 < 1469840164676)

2016-07-29 19:26:04,969 [   rpc_api] [DEBUG] Found auth ticket - using this instead of oauth token

2016-07-29 19:26:04,969 [   rpc_api] [DEBUG] Generating sub RPC requests...

2016-07-29 19:26:04,969 [   rpc_api] [DEBUG] Generated protobuf request: 

status_code: 2

request_id: 18493417413871118

requests {

  request_type: GET_PLAYER

}

latitude: 40.7711329

longitude: -73.9741874

auth_ticket {

  start: "\203/RS\242\004K\220\017\243\220\247S^\021\"\013=\253\003\n\307\231\3600\013\307\2113)\212\340\210\375\td\177\250\250\357}\224\354N\204\336\262\"IB\\\267\336gc\034\252\2534\350=\302\343\034\364\013\206\010b\226L\204\3614\232lj\316\237\357"

  expire_timestamp_ms: 1469840164676

  end: "+\2502\317\036\203\374\021L\2507\201\025i\250\000"

}

unknown12: 989

 

2016-07-29 19:26:04,970 [   rpc_api] [DEBUG] Execution of RPC

2016-07-29 19:26:04,972 [connectionpool] [ INFO] Starting new HTTPS connection (1): pgorelease.nianticlabs.com

2016-07-29 19:26:05,601 [connectionpool] [DEBUG] "POST /plfe/481/rpc HTTP/1.1" 200 None

2016-07-29 19:26:05,602 [   rpc_api] [DEBUG] Parsing main RPC response...

2016-07-29 19:26:05,603 [   rpc_api] [DEBUG] Protobuf structure of rpc response:

status_code: 2

request_id: 18493417413871118

api_url: "pgorelease.nianticlabs.com/plfe/481"

returns: "\010\001\022C\010\326\276\225\330\335*\022\010Vemtrixy(\001:\005\000\001\003\004\007B\000H\372\001P\336\002Z\000b\000j\000r\n\n\010POKECOINr\r\n\010STARDUST\020\344h"

 

2016-07-29 19:26:05,610 [   rpc_api] [DEBUG] Decode raw over protoc (protoc has to be in your PATH):

Couldn't find protoc in your environment OR other issue...

2016-07-29 19:26:05,610 [   rpc_api] [DEBUG] Parsing sub RPC responses...

2016-07-29 19:26:05,610 [   rpc_api] [DEBUG] Parsing class: POGOProtos.Networking.Responses_pb2.GetPlayerResponse

2016-07-29 19:26:05,611 [    pgoapi] [ INFO] Cleanup of request!

Traceback (most recent call last):

  File "pokecli.py", line 220, in <module>

    main()

  File "pokecli.py", line 206, in main

    bot.start()

  File "/Users/kymmorrison/Desktop/PokemoniG/PokemonGo-Bot/pokemongo_bot/__init__.py", line 31, in start

    self._setup_api()

  File "/Users/kymmorrison/Desktop/PokemoniG/PokemonGo-Bot/pokemongo_bot/__init__.py", line 146, in _setup_api

    response_dict = self.api.call()

  File "/Users/kymmorrison/Desktop/PokemoniG/PokemonGo-Bot/pgoapi/pgoapi.py", line 89, in __getattr__

    raise AttributeError

AttributeError

DestinsMacbookPro:PokemonGo-Bot DestinMorrison$ 

Posted

When I try to start bot, I get "Login Error, server busy", Do you have any idea to solve this?

It's pokemon go server problem. Just keep doing " python pokecli.py "

Posted

@Amuyea why do i get this error?

 

JROs-MAC:PokemonGO JRO$ python pokecli.py

/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file 'pokecli.py': [Errno 2] No such file or directory

Posted

thanks for the help @@Amuyea 

everything is going smooth until in the end when i try to run the bot it shown

Traceback (most recent call last):
  File "pokecli.py", line 220, in <module>
    main()
  File "pokecli.py", line 197, in main
    config = init_config()
  File "pokecli.py", line 64, in init_config
    load.update(json.load(data))
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 291, in load
    **kw)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 339, in loads
    return _default_decoder.decode(s)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 364, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 382, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

any idea how to fix this ? :(

Posted

Getting this error:  

 

File "pokecli.py", line 39, in <module>

    from pokemongo_bot import logger

  File "/Users/Jake/Desktop/PokeMonJake/PokemonGo-Bot/pokemongo_bot/__init__.py", line 10, in <module>

    import yaml

ImportError: No module named yaml

Posted

thanks for the help @@Amuyea 

everything is going smooth until in the end when i try to run the bot it shown

Traceback (most recent call last):
  File "pokecli.py", line 220, in <module>
    main()
  File "pokecli.py", line 197, in main
    config = init_config()
  File "pokecli.py", line 64, in init_config
    load.update(json.load(data))
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 291, in load
    **kw)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 339, in loads
    return _default_decoder.decode(s)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 364, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 382, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

any idea how to fix this ? :(

 

I'm getting this now as well

Posted

@Amuyea why do i get this error?

 

JROs-MAC:PokemonGO JRO$ python pokecli.py

/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file 'pokecli.py': [Errno 2] No such file or directory

Did you do "source bin/activate" before continuing?

Posted

Did you do "source bin/activate" before continuing?

 

I hate to be a pest but I really want this to work. I tried running another bot and it seems to work but it doesn't keep going. It gives me a source code of 1 but stops. I want to use this bot but I keep getting the Attribute Error. Please help!

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines