jabbink / PokemonGoBot

DEFUNCT - Bot that plays Pokemon Go
https://www.pogobot.club/
GNU General Public License v3.0
557 stars 232 forks source link

[Feature Request] Reload config.properties without restarting bot #1178

Open MacDogg opened 8 years ago

MacDogg commented 8 years ago

Description: I am wondering if there is a way to have the bot reload the config.properties file (or another) without having to shut the bot down and restart it. Is it possible to set a variable that looks at a separate file to change certain configs like move speed, items to drop, pokemons to transfer/evolve, etc every 5 minutes or whatever you set it to? I don't think you can use the same config.properties file unless you could ignore the start latitude and longitude, you wouldn't want to the bot the teleport back to the starting location.

Steps to reproduce:

  1. Start the bot with your config.
  2. Change a second config file to make your bot act differently.

Version: 0.7.0??

Operating System: Win10 Ult 64-bit is mine.

Java version: build 1.8.0_101-b13

Leave this sentence in your issue as proof that you have read and used this template.

MacDogg commented 8 years ago

Another idea... Maybe in an additional config file that loads you could have a field called head_to= and if you put latitude and longitude in there your bot immediately walks there. The reason for this would be if you saw a Dragonite (or any rare/elite pokemon) on a scan/map site (i.e. Skiplagged) near your current location you could divert the trainer to it to catch it. Once it gets to the pokemon in that location and captures it the bot should continue with the normal operation from that point.

Taraegon has advised us in another post: _Tip: If you think your trainer is wandering off a bit and basically being suspicious, then if you use http://ui.pogobot.club/Poppo/ you can right click on the map. That sets a "waypoint". Next chance the bot has, it will walk to that waypoint._
ghost commented 8 years ago

Not possible at the moment to change the config without reloading the bot

MacDogg commented 8 years ago

I know. Version: 0.7.0??