PokemonGoF / PokemonGo-Bot

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

Accept user input at runtime to use items like Incense #4592

Open jamestrandung opened 8 years ago

jamestrandung commented 8 years ago

Short Description

When the bot is running, it should accept user input to trigger items such as Incense.

Possible solution

The current bot screen is only used to display logs. Can it accept input as well?

Otherwise, I suggest creating another "command.sh" file which would open a new terminal that accepts inputs from users. The inputs, of course, have to follow a certain format. The terminal would then write the given command into a data file that the running bot would read every X minutes to execute. This interval would also give users a small buffer to remove unwanted commands if necessary.

How it would help others

With the "UpdateLiveStats" feature, it's very easy for users to know if the bot is at the perfect place to farm in term of experience or pokemons. For example, if the bot is running at a location where rare pokemons are reported, using Incense may be a good idea.

In addition, dynamic item usage based on user inputs will give the bot extra points in random behaviour that makes it harder to get banned.

pranavperfect commented 8 years ago

+1

Gobberwart commented 8 years ago

It would be great if you could press a key and have the bot process it accordingly, eg.

i = use incense l = use lucky egg p = pause (and resume) f = farm pokestops on/off c = catch pokemon on/off "+" = increase walk speed "-" = decrease walk speed

etc. (just random ideas off the top of my head)

Would need some kind of listener that would catch any keypresses and interpret them with appropriate feedback to user. Tricky...

roeloffs commented 8 years ago

+1

mmixx commented 8 years ago

Yep... this would be great...

avexus commented 8 years ago

We can use telegram to implement this.

Gobberwart commented 8 years ago

@avexus Shouldn't have to use a third-party app to accept commands.