PokemonGoF / PokemonGo-Bot

The Pokemon Go Bot, baking with community.
MIT License
3.86k stars 1.54k forks source link

TO DEVS #5850

Closed Jcolomar closed 7 years ago

Jcolomar commented 7 years ago

Hi. As u know, a new API model wil be soon ready. That means while pogodevs RE are still try crack the last API, pokefarmer RE's has done, and they'll rent hash service to others by supscription. My question is if this proyect will adapt to this new service, or not.

After few days testing pokefarmer desktop, only can say this proyect still is best ever bot made. More configurable, thousands of options and very easy to use.

Thx to all

venney commented 7 years ago

Is it possible to run the same hash key ( 150RPM ) by two bots ? Does anyone try this?

pogarek commented 7 years ago

@dogeatdog I didn't know that I can/need to enable it - I thought it is restricted to main repo. It is enabled now - thanks for the idea @venney I have one 150RPM key used by 3 bots.

MerlionRock commented 7 years ago

@venney Base on output by a different bot, per bot estimate using approximately 30RPM. Therefore, per key could likely used by 5 accounts. But this estimation is done base on a different bot. This bot might be using more RPM.

pogarek commented 7 years ago

Guys, this/the main repo is updated now (included my changes) and it supports 0.51. :-)

MerlionRock commented 7 years ago

@pogarek Finally!

venney commented 7 years ago

Mmm... Pogarek's fork was working fine yesterday. Now I got API check error. Does anyone know what I miss?

======== 0.51.0 We have detected a Pokemon API Change. The current API version 0.45.0 is no longer supported. Exiting... Wed Jan 11 00:00:47 CST 2017 Pokebot Stopped.

pogarek commented 7 years ago

HI Venney The main repo (https://github.com/PokemonGoF/PokemonGo-Bot) got updated with mine (and other changes). So 0.51 is still working, but also a kill switch got implemented :-) It can be disabled in config:

"check_niantic_api": false

venney commented 7 years ago

Hi Pogarek, Thanks. I will try. ( Currently, I copied your fork from other computer & not update it. Ha) I knew this settings but we already download 0.51 stuffs from Internet when doing setup.sh -i. So I think the checking should be passed. But it turned out not from your saying. Why?

pogarek commented 7 years ago

the check was done before 0.51 got implemented. I mean the check was awaiting to be merged. I think it is , actually, ok that sends the message. User then try to investigate and discover that buying a hashing key is required ( I mean for new user) :)

MerlionRock commented 7 years ago

@pogarek I agree. Just want to check if 0.45 still working? Is there a way to set the bot to run 0.45 for those who are adventurous?

Actually we can just update the installation script to include hash key input so that user will know that a hash key is required. In fact, you can also add in disclaimer that hash key is provided by 3rd party.

pogarek commented 7 years ago

I don't think that bot will work in 0.45 ("check_niantic_api": false + no hash key provided). Installation script ? do you mean .\setup.sh and windows_bat\PokemonGo-Bot-Configurator.bat ?

MerlionRock commented 7 years ago

@pogarek Yes, I mean "./setup.sh -i" and PokemonGo-Bot-Configurator.bat

pogarek commented 7 years ago

Yeah, we will update that.

dogeatdog commented 7 years ago

Uhm.. I appreciate it and all, but after the last setup.sh -u I couldn't get it to work anymore.

So, I created a fresh one :

git clone -b master https://github.com/pogarek/PokemonGo-Bot

Copied my old config.json and auth.json (with the hash key).

Added the check_niantic_api : false line in config.json

And now all I get is :

2017-01-12 18:43:53] [pgoapi.pgoapi] [ERROR] Request for new Access Token failed! Logged out...
[2017-01-12 18:43:53] [PokemonGoBot] [INFO] Not logged in, reconnecting in 63 seconds
Exception in thread Thread-5:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/dennis/dev/pogamaster/PokemonGo-Bot/pokemongo_bot/socketio_server/runner.py", line 34, in _start_listening_blocking
    listener = eventlet.listen((self.host, self.port))
  File "/home/dennis/dev/pogamaster/PokemonGo-Bot/local/lib/python2.7/site-packages/eventlet/convenience.py", line 43, in listen
    sock.bind(addr)
  File "/usr/lib/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
error: [Errno 98] Address already in use

Any idea on how I can fix this ? It worked perfectly until the last update..

pogarek commented 7 years ago

check #5867 and my repo is on the same level as the main one here.

dogeatdog commented 7 years ago

Aha, missed that one. Just did another clean clone, this time from the main repo master. And now it's just the Server busy or offline message, which is normal when the hashing servers are working their asses off.. I'll let it run for a while and check later. If it still doesn't work, I'll give #5867 a try. Thanks for the support !

venney commented 7 years ago

I stay with Pogarek's working fork before. :-) One simple question here: Do you use the same IP (computer) to run more than 1 bot ? Is it safe? ( I ran two BOTs in two different computers now )

pogarek commented 7 years ago

I have 3 bots on one cmputer

venney commented 7 years ago

@pogarek , Cool. Thanks.