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

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'

Run it again

My bad. I understood Login and JSON errors and fixed them. 

But I don't know how to stop the bot. How to stop the bot to play the account from my phone?

 

 

THANK YOU!

I appreciate your help.

Copy the json in json files and copy it into http://jsonlint.com/ Then fix the error it gives you in your json.

(PokemonGo-Bot) Adityas-MacBook-Air:PokemonGo-Bot adityabhimrajka$ 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 "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 291, in load

    **kw)

  File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 339, in loads

    return _default_decoder.decode(s)

  File "/usr/local/Cellar/python/2.7.12/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 "/usr/local/Cellar/python/2.7.12/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

 

 

 

I keep getting this error 

Copy the json in json files and copy it into http://jsonlint.com/ Then fix the error it gives you in your json.

i got this error

Traceback (most recent call last):

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

    from pokemongo_bot import logger

  File "/Users/Dylan/Desktop/PokemonGo-Bot-master/pokemongo_bot/__init__.py", line 13, in <module>

    from pgoapi import PGoApi

ImportError: No module named pgoapi

sudo pip install pgoapi

 

i get this error anyone can help me

 

Traceback (most recent call last):

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

    from pokemongo_bot import logger

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

    import yaml

ImportError: No module named yaml

 

 

thanks!!

sudo pip install pyyaml

 

Yo bro,

I am getting the same error, how did u fix it? What do you mean with slanted? Cheers

Run the bot again.

Posted

Hey guys, thank for the previous advice - fixed JSON file and things back to normal :). Now keep getting stuck with this error 30 to 90 minutes into running the bot. Any help would be appreciated. Thanks!

 

Traceback (most recent call last):

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

    main()

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

    bot.tick()

  File "/Users/JagjeetHans/Desktop/PokemonGoBot/PokemonGo-Bot/pokemongo_bot/__init__.py", line 84, in tick

    if worker.work() == WorkerResult.RUNNING:

  File "/Users/JagjeetHans/Desktop/PokemonGoBot/PokemonGo-Bot/pokemongo_bot/cell_workers/incubate_eggs_worker.py", line 29, in work

    self._hatch_eggs()

  File "/Users/JagjeetHans/Desktop/PokemonGoBot/PokemonGo-Bot/pokemongo_bot/cell_workers/incubate_eggs_worker.py", line 134, in _hatch_eggs

    for pokemon in pokemon_data:

UnboundLocalError: local variable 'pokemon_data' referenced before assignment

Haven't seen that

ImportError: No module named yams    ????????!!!!

ImportError: No module named yaml      --not yams... any help?

Read what i said

 

 

My bad. I understood Login and JSON errors and fixed them. 

But I don't know how to stop the bot. How to stop the bot to play the account from my phone?

 

 

THANK YOU!

I appreciate your help.

Just close terminal

 

 

The video was really helpful but I don't know what you mean by you set up the files wrong. I know its a lot to ask but if you made one more all inclusive fixed video I think that would be amazing. The mac community is getting the low end of the bots with all the windows bots having videos and everything. Any help?

No, because I didn't read instruction about the config. So everything that is config is up to you. I simply just show you how to set and run it.

Dose anybody know how to change ADVANCED CONFIGURATION settings?

from here https://github.com/PokemonGoF/PokemonGo-Bot/wiki/Configuration-files

I think that is different bot.. Like dev bot

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