Jump to content

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


Amuyea

888 posts in this topic

Recommended Posts

Posted

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

(PokemonGo-Bot) Muhammad-Kamals-MacBook-Pro-290:PokemonGo-Bot bibibkamal$ 

 
i need help :(
  • Replies 887
  • Created
  • Last Reply
Posted

I dont  quite understand what you mean by googling a pgoapi file and navigating to the folder? When I enter the command "sudo python setup.py install" the following error happens:

 

(PokemonGo-Bot) (PokemonGo-Bot) MacBook-Pro:PokemonGo-Bot root# sudo python setup.py install

/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'

  warnings.warn(msg)

running install

running build

running build_py

error: package directory 'pgoapi' does not exist

 

google a "pgoapi" and download the file ... after that navigate to the folder and type "sudo python setup.py install" ... it'll install the pgoapi and u can run the bot

Posted

Hi, finally managed to make it work, well almost hahah !
 

 Could you please have an idea

As soon as i launch it, this is what i get

 

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

    main()

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

    bot.start()

  File "/Users/louischassagne/Desktop/BotPokemon/PokemonGo-Bot/pokemongo_bot/__init__.py", line 32, in start

    self.stepper = Stepper(self)

  File "/Users/louischassagne/Desktop/BotPokemon/PokemonGo-Bot/pokemongo_bot/stepper.py", line 32, in __init__

    self.origin_lat = self.bot.position[0]

AttributeError: 'PokemonGoBot' object has no attribute 'position'

(PokemonGo-Bot) macbook-pro-de-louis:PokemonGo-Bot louischassagne$ 

 

thanks in advance

Posted

Hi, finally managed to make it work, well almost hahah !

 

 Could you please have an idea

As soon as i launch it, this is what i get

 

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

    main()

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

    bot.start()

  File "/Users/louischassagne/Desktop/BotPokemon/PokemonGo-Bot/pokemongo_bot/__init__.py", line 32, in start

    self.stepper = Stepper(self)

  File "/Users/louischassagne/Desktop/BotPokemon/PokemonGo-Bot/pokemongo_bot/stepper.py", line 32, in __init__

    self.origin_lat = self.bot.position[0]

AttributeError: 'PokemonGoBot' object has no attribute 'position'

(PokemonGo-Bot) macbook-pro-de-louis:PokemonGo-Bot louischassagne$ 

 

thanks in advance

Did you set the location correct?

 

 

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

(PokemonGo-Bot) Muhammad-Kamals-MacBook-Pro-290:PokemonGo-Bot bibibkamal$ 

 
i need help :(

 

Read the solution in few pages back

Sorry guys, I go an error like this, do anyone know? (I've already downloaded python and get-pip.py.)

 

Thanks a lot!

 

 

1zrVlv8.png

You are in right path which you downloaded it?

Posted

i tried run it again and type python pokecli.py but it still the same. pls help :( and when i put my json file to JSONlint web, it says my username error. i know exactly my username and i promise its not wrong

Posted

Please is there any chance you create some kind of tool for bot? i followed all the steps and keep getting error on my json :(

Other person have same problem as you. And I cannot solve it..

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