Jump to content

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


Amuyea

888 posts in this topic

Recommended Posts

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'

 

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 did you do to fix this error?

  • Replies 887
  • Created
  • Last Reply
Posted

(PokemonGo-Bot) Bjorns-Air:PokemonGo-Bot Bjoern$ python pokecli.py

[2016-07-30 19:55:10] [x] PokemonGO Bot v1.0

[2016-07-30 19:55:10] [x] Configuration initialized

[2016-07-30 19:55:10] [#] IMPORTANT: Rename and configure release_config.json.example for your Pokemon release logic first!

 

 

I get this massage. I renamed the release_config.jso.example in release_config.json und changed some data in the .json file. The .json file is also valid.

 

Why the Bot does´t start? Please help me.

Posted

What did you do to fix this error?

Jeez, you don't read my reply?

1st. run bot again

2nd. JSON error, use http://jsonlint.com/ to check your JSON

(PokemonGo-Bot) Bjorns-Air:PokemonGo-Bot Bjoern$ python pokecli.py

[2016-07-30 19:55:10] [x] PokemonGO Bot v1.0

[2016-07-30 19:55:10] [x] Configuration initialized

[2016-07-30 19:55:10] [#] IMPORTANT: Rename and configure release_config.json.example for your Pokemon release logic first!

 

 

I get this massage. I renamed the release_config.jso.example in release_config.json und changed some data in the .json file. The .json file is also valid.

 

Why the Bot does´t start? Please help me.

Did you rename these?

Posted

tried "sudo pip install pgoapi" received   "Could not find a version that satisfies the requirement pgoapi (from versions: )

No matching distribution found for pgoapi"

 

Any suggestions?

Posted

in 8.27 i get this ''virtualenv: command not found'' . I did everything step by step. What did I do wrong? can someone pls help me?

You didn't install it correctly?

 

tried "sudo pip install pgoapi" received   "Could not find a version that satisfies the requirement pgoapi (from versions: )

No matching distribution found for pgoapi"

 

Any suggestions?

Did you install the requirement.txt?

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