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

would it be possible to create an application file like they do on windows so that no one need to compile it over Phyton? 

I dunno really... I will look into it

Posted

I get the below error. Can someone please help?

 

Kevins-MacBook-Pro:PokemonGo-Bot KHT$ source bin/activate

(PokemonGo-Bot) Kevins-MacBook-Pro:PokemonGo-Bot KHT$ python pokecli.py

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 "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 290, in load

    **kw)

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 338, in loads

    return _default_decoder.decode(s)

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 366, in decode

    obj, end = self.raw_decode(s, idx=_w(s, 0).end())

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 384, in raw_decode

    raise ValueError("No JSON object could be decoded")

ValueError: No JSON object could be decoded

Posted

I get the below error. Can someone please help?

 

Kevins-MacBook-Pro:PokemonGo-Bot KHT$ source bin/activate

(PokemonGo-Bot) Kevins-MacBook-Pro:PokemonGo-Bot KHT$ python pokecli.py

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 "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 290, in load

    **kw)

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 338, in loads

    return _default_decoder.decode(s)

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 366, in decode

    obj, end = self.raw_decode(s, idx=_w(s, 0).end())

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 384, in raw_decode

    raise ValueError("No JSON object could be decoded")

ValueError: No JSON object could be decoded

What are inside of your files? And did you install requirements.txt?

Posted

Actually, I fixed the slanted in the config.json and now I get the below error:

 

(PokemonGo-Bot) Kevins-MacBook-Pro:PokemonGo-Bot KHT$ python pokecli.py

[2016-07-28 21:03:15] [x] PokemonGO Bot v1.0

[2016-07-28 21:03:15] [x] Configuration initialized

[2016-07-28 21:03:18] 

[2016-07-28 21:03:18] [x] Address found: New York, Central Park

[2016-07-28 21:03:18] [x] Position in-game set as: (40.7711329, -73.97418739999999, 0.0)

[2016-07-28 21:03:18] 

Traceback (most recent call last):

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

    main()

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

    bot.start()

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

    self._setup_api()

  File "/Users/KHT/Desktop/bot/PokemonGo-Bot/pokemongo_bot/__init__.py", line 159, in _setup_api

    balls_stock = self.pokeball_inventory()

  File "/Users/KHT/Desktop/bot/PokemonGo-Bot/pokemongo_bot/__init__.py", line 234, in pokeball_inventory

    inventory_dict = inventory_req['responses']['GET_INVENTORY'][

KeyError: 'GET_INVENTORY'

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