Tags: agentcpper/PokemonGo-Bot
Tags
Dev merge to master, PR (PokemonGoF#3334) * Adding plugin support (PokemonGoF#2679) * Adding plugin support * Adding an empty __init__.py * Moving the base task to the project root (PokemonGoF#2702) * Moving the base task to the project root * Moving the base class more * Changing the import again * Adding a heartbeat to the analytics (PokemonGoF#2709) * Adding a heartbeat to the analytics * Heartbeat every 30 seconds, not every 5 * Don't double track clients * Fix 'local variable 'bot' referenced before assignment' * Providing a 8000 n error if tasks don't work for the given api (PokemonGoF#2732) * Fix for utf8 encoding when catching lured pokemon (PokemonGoF#2720) * Fixing lure pokestop encoding * fixing lure encoding * Fix For catchable not being displayed on the web (PokemonGoF#2719) * Fix For catchable not being displayed on the web * Update catch_visible_pokemon.py * Added encrypt.so compilation process to Dockerfile (PokemonGoF#2695) * OS Detection for encrypt lib (PokemonGoF#2768) Fix 32bit check, darwin and linux use the same file Make it a function Check if file exists, if not show error Define file_name first Fix return Check if file exists, if not show error Print info about paths Fix for 32/64bit detection * Fix Typo in unexpected_response_retry (PokemonGoF#2531) fixes PokemonGoF#2525 PokemonGoF#2523 * Revert "changing license from MIT to GPLv3" This reverts commit 69fb64f. * When the google analytics domain is blocked the bot crashed. (PokemonGoF#2764) With a simple try / except this can be solved. Fix dirty catch all * Fixes PokemonGoF#2698 - Prevents "Possibly searching too often" error after re-login. (PokemonGoF#2771) * Fixes PokemonGoF#2698 - Added api.activate_signature call to prevent issue after re-login. - Also replaced deprecated log call with event_manager emit to prevent exception being thrown. * Modified to use OS detected library path as per PR PokemonGoF#2768 * Support loading plugins from .zip files (PokemonGoF#2766) * Keep track of how many pokemon released (PokemonGoF#2884) * Setting Library path to work with encrypt.so (PokemonGoF#2899) Setting LD_LIBRARY_PATH on Dockerfile * ✨ Added login and username to available stats (PokemonGoF#2494) Added a player_data property in PokemonGoBot to access player data from outside Added unit tests for login and username stats Added tests for call args when updating the window title Added a platform-specific test for window title updating on win32 platform * [dev] small fixes (PokemonGoF#2912) * Fixed emit_event typo * Update CONTRIBUTORS.md * Changed initialization location for "bot" We use bot in main exception on 128 * Update pokecli.py * Rename load_path to load_plugin (PokemonGoF#2947) * Adding some logic for pulling plugins from github (PokemonGoF#2967) * flush after title update (PokemonGoF#2977) * correctly re-raise exception to keep backtrace (PokemonGoF#2944) * Update MoveToMapPokemon to use events instead of logger. (PokemonGoF#2913) * Config/encrypt.so (PokemonGoF#2964) * Add config option for libencrypt.so * Correctly set the config value and check for the file in said dir * Fixed mispelling for "formatted" variable (PokemonGoF#2984) * Loading plugins from Github (PokemonGoF#2992) * Checking github plugin file existence * Loading plugins from github * Fixed PokemonGoF#3000 (PokemonGoF#3003) Fixed syntax error on "move_to_map_pokemon.py" that makes the client crash when using this feature. * Added MaxPotion inventory count to summary. (PokemonGoF#3015) Short Description: The Max Potion count was missing from the inventory summary. Was PokemonGoF#2456 * Added cleanup of download and files for encrypt.so after they are no longer needed (PokemonGoF#3011) * Fix bot not returning back after telepoting (PokemonGoF#3014) * Fix typo: last_long -> last_lon * Whitespace cleanup * Fix bug introduced by PokemonGoF#3037: bot not returning back * Fix Dockerfile installation (PokemonGoF#3057) * Fix for PokemonGoF#3045 (PokemonGoF#3055) * Added request to check configuration (PokemonGoF#3089) * Fixed Dockerfile - missing \ on command lines (PokemonGoF#3096) * Fixed mispelling for "formatted" variable * Docker commands missing trailing \ * Fix for FileIO slowing bot performance.This puts the map writing into a thread and makes sure it only executes once. (PokemonGoF#3100) * Change word usage: "fled" to "escaped" (PokemonGoF#3118) "fled" is confusing to lot of people and is easily confused with pokemon vanishing. "escaped" is a better term. * Update the example config file (PokemonGoF#3120) * Add config option for libencrypt.so * Add config option for libencrypt.so * Add config option for libencrypt.so * Add config option for libencrypt.so * Rename path.example.json to path.json.example * typo: logrmation -> information (PokemonGoF#2601) Fix a typo. I assume that it was "information" initially, but became "logrmation" when someone used replace all functionality to replace all infos with logs. But I might be totally wrong at this point, idk. Just didn't like the word and wanted to fix that typo. * Change fled to escaped (PokemonGoF#3129) Fix an issue after PR PokemonGoF#3118 * When JSON parsing fails, give a rough indication of why (PokemonGoF#3137) * When JSON parsing fails, give a rough indication of why * Use the official package instead of SHA1 commit * Handle Github Download Zip Format (PokemonGoF#3108) * Checking github plugin file existence * Loading plugins from github * Starting install code for github plugins * Updating GithubPlugin to support extracting folders * Handling github zip formats by extracting to the correct location * Refactor catch worker (PokemonGoF#2527) * refactor catch worker * fix * few renames * add to contributors * fix * add missing behavior * fix encounter events * don't make events about ignored pokemon * Added Run-Loop (PokemonGoF#3143) * Add files via upload modified run script wich let you run the boot in a loop(if it crashes it restarts) * Integreated Loop into run.sh modified run.sh to loop the script so that even if it crashes it automaticly restarts. * fixing loop in spin fort task (PokemonGoF#3165) * Some love for the vim users (PokemonGoF#3154) * Updated README with link to desktop version (PokemonGoF#3208) * Fix for PokemonGoF#3190 (PokemonGoF#3197) * MoveToMap: Add minimum balls to run (PokemonGoF#3166) * added config to ignore item count for Spin and MoveToFort (PokemonGoF#3160) * [Inventory Management] Add a central class for caching/parsing inventory & static data (PokemonGoF#2528) * new class to centralize inventory management * use new inventory class in evolve_pokemon * use new inventory to display # candy after catch * Keeping a cache of gym information (PokemonGoF#3236) * New Option: "dont_nickname_favorite" (PokemonGoF#2496) * New Option: "dont_nickname_favorite" This change (line 19) adds the option, that the user can choose, whether their favorite pokemons should also get a new nickname or not. If a user want this, then he or she has to add the line ("dont_nickname_favorite" = true) after ("nickname_template": " ... ",). * Update nickname_pokemon.py * Update * Put change to line 30 This reduce the reduce the runtime, because favorite pokemon won't be added to the list. * Restart the loop when catching pokemon and there are more to catch (PokemonGoF#3242) * fixed NameError: global name 'pokemon_name' is not defined (PokemonGoF#3244) resolves ```traceback (most recent call last): File "pokecli.py", line 521, in <module> main() File "pokecli.py", line 95, in main bot.tick() File "/usr/src/app/pokemongo_bot/__init__.py", line 451, in tick if worker.work() == WorkerResult.RUNNING: File "/usr/src/app/pokemongo_bot/cell_workers/evolve_pokemon.py", line 38, in work self._execute_pokemon_evolve(pokemon, cache) File "/usr/src/app/pokemongo_bot/cell_workers/evolve_pokemon.py", line 117, in _execute_pokemon_evolve cache[pokemon.name] = 1 NameError: global name 'pokemon_name' is not defined``` * Stop fetching gym details (PokemonGoF#3245) * Checking all forts for lured pokemon (PokemonGoF#3163) * Fix flooding of keep_best_release (PokemonGoF#3223) * Fix flooding of keep_best_release * Fix flooding of keep_best_release * [Feature] Recycle Threshold (PokemonGoF#2465) * Add Threshold Option * Add Threshold Option to Example Configs * Add Name to Contributors * Change config name and message * Remove logger * Add option to run when storage less than something * Change Message * Fix * Error fixes, message improvement * Config Changes and Remove Option * Call heartbeat on step_walker even if speed is higher than distance (PokemonGoF#2513) * Return an empty list if no pokemon are available. (PokemonGoF#3259) The changes introduced in 4c95259 expose this bug. * Allow UpdateTitleStats to emit events instead of rewriting the console (PokemonGoF#3264) * Updating our issue and PR templates to be more helpful (PokemonGoF#3262) * Dev (PokemonGoF#3277) * * adding enhanced sniping capabilities for move_to_map_pokemon * Adding enhanced sniping capabilities for move_to_map_pokemon * Update pgoapi to a newer version (PokemonGoF#3241) This should hopefully fix issues like PokemonGoF#3181, PokemonGoF#3098, PokemonGoF#2874 and potentially more. Needs testing/verification. I am running now, but it does take about an hour to trigger. * Fix unexpected egg incubation retry (PokemonGoF#3276) incubator['used'] flag is set but not used in IncubateEggs._apply_incubators * has_next_evolution is a function not a property (PokemonGoF#3284) * Powerful setup.sh (PokemonGoF#3263) * Rewrite run.sh Very powerful run.sh with lots of function. 1.install(make .so) 2.update 3.config generator 4.config backup 5.run loop make it never down It should run like run.sh *.json or other opinion. See -help. * Update run.sh * Update run.sh OK problem solved * Delete setup.py * Rename run.sh to setup.sh * Create run.sh * Update setup.sh * Update install.sh * Update setup.sh * Update run.sh * Update setup.sh Some small fix. * Added +x to run.sh * Added a configuration option "path_startmode" (conflict merge PokemonGoF#2489) (PokemonGoF#3270) * Upstream update and merge, with path_startmode configuration * Removed logger and fixed base task path * As per request, path_startmode is now path_start_mode * Removed all logging * Adding documentation for how to use and write plugins (PokemonGoF#3254) * Adding documentation for how to use and write plugins * Adding a link to the plugins docs in the Readme * Updating link to the plugin docs in the readme
Dev merge to master, PR (PokemonGoF#3146) * Adding plugin support (PokemonGoF#2679) * Adding plugin support * Adding an empty __init__.py * Moving the base task to the project root (PokemonGoF#2702) * Moving the base task to the project root * Moving the base class more * Changing the import again * Adding a heartbeat to the analytics (PokemonGoF#2709) * Adding a heartbeat to the analytics * Heartbeat every 30 seconds, not every 5 * Don't double track clients * Fix 'local variable 'bot' referenced before assignment' * Providing an error if tasks don't work for the given api (PokemonGoF#2732) * Fix for utf8 encoding when catching lured pokemon (PokemonGoF#2720) * Fixing lure pokestop encoding * fixing lure encoding * Fix For catchable not being displayed on the web (PokemonGoF#2719) * Fix For catchable not being displayed on the web * Update catch_visible_pokemon.py * Added encrypt.so compilation process to Dockerfile (PokemonGoF#2695) * OS Detection for encrypt lib (PokemonGoF#2768) Fix 32bit check, darwin and linux use the same file Make it a function Check if file exists, if not show error Define file_name first Fix return Check if file exists, if not show error Print info about paths Fix for 32/64bit detection * Fix Typo in unexpected_response_retry (PokemonGoF#2531) fixes PokemonGoF#2525 PokemonGoF#2523 * Revert "changing license from MIT to GPLv3" This reverts commit 69fb64f. * When the google analytics domain is blocked the bot crashed. (PokemonGoF#2764) With a simple try / except this can be solved. Fix dirty catch all * Fixes PokemonGoF#2698 - Prevents "Possibly searching too often" error after re-login. (PokemonGoF#2771) * Fixes PokemonGoF#2698 - Added api.activate_signature call to prevent issue after re-login. - Also replaced deprecated log call with event_manager emit to prevent exception being thrown. * Modified to use OS detected library path as per PR PokemonGoF#2768 * Support loading plugins from .zip files (PokemonGoF#2766) * Keep track of how many pokemon released (PokemonGoF#2884) * Setting Library path to work with encrypt.so (PokemonGoF#2899) Setting LD_LIBRARY_PATH on Dockerfile * ✨ Added login and username to available stats (PokemonGoF#2494) Added a player_data property in PokemonGoBot to access player data from outside Added unit tests for login and username stats Added tests for call args when updating the window title Added a platform-specific test for window title updating on win32 platform * [dev] small fixes (PokemonGoF#2912) * Fixed emit_event typo * Update CONTRIBUTORS.md * Changed initialization location for "bot" We use bot in main exception on 128 * Update pokecli.py * Rename load_path to load_plugin (PokemonGoF#2947) * Adding some logic for pulling plugins from github (PokemonGoF#2967) * flush after title update (PokemonGoF#2977) * correctly re-raise exception to keep backtrace (PokemonGoF#2944) * Update MoveToMapPokemon to use events instead of logger. (PokemonGoF#2913) * Config/encrypt.so (PokemonGoF#2964) * Add config option for libencrypt.so * Correctly set the config value and check for the file in said dir * Fixed mispelling for "formatted" variable (PokemonGoF#2984) * Loading plugins from Github (PokemonGoF#2992) * Checking github plugin file existence * Loading plugins from github * Fixed PokemonGoF#3000 (PokemonGoF#3003) Fixed syntax error on "move_to_map_pokemon.py" that makes the client crash when using this feature. * Added MaxPotion inventory count to summary. (PokemonGoF#3015) Short Description: The Max Potion count was missing from the inventory summary. Was PokemonGoF#2456 * Added cleanup of download and files for encrypt.so after they are no longer needed (PokemonGoF#3011) * Fix bot not returning back after telepoting (PokemonGoF#3014) * Fix typo: last_long -> last_lon * Whitespace cleanup * Fix bug introduced by PokemonGoF#3037: bot not returning back * Fix Dockerfile installation (PokemonGoF#3057) * Fix for PokemonGoF#3045 (PokemonGoF#3055) * Added request to check 8000 configuration (PokemonGoF#3089) * Fixed Dockerfile - missing \ on command lines (PokemonGoF#3096) * Fixed mispelling for "formatted" variable * Docker commands missing trailing \ * Fix for FileIO slowing bot performance.This puts the map writing into a thread and makes sure it only executes once. (PokemonGoF#3100) * Change word usage: "fled" to "escaped" (PokemonGoF#3118) "fled" is confusing to lot of people and is easily confused with pokemon vanishing. "escaped" is a better term. * Update the example config file (PokemonGoF#3120) * Add config option for libencrypt.so * Add config option for libencrypt.so * Add config option for libencrypt.so * Add config option for libencrypt.so * Rename path.example.json to path.json.example * typo: logrmation -> information (PokemonGoF#2601) Fix a typo. I assume that it was "information" initially, but became "logrmation" when someone used replace all functionality to replace all infos with logs. But I might be totally wrong at this point, idk. Just didn't like the word and wanted to fix that typo. * Change fled to escaped (PokemonGoF#3129) Fix an issue after PR PokemonGoF#3118 * When JSON parsing fails, give a rough indication of why (PokemonGoF#3137) * When JSON parsing fails, give a rough indication of why * Use the official package instead of SHA1 commit * Handle Github Download Zip Format (PokemonGoF#3108) * Checking github plugin file existence * Loading plugins from github * Starting install code for github plugins * Updating GithubPlugin to support extracting folders * Handling github zip formats by extracting to the correct location
Update README.md (PokemonGoF#3090)
Dev merge to master (PokemonGoF#2939) * Adding plugin support (PokemonGoF#2679) * Adding plugin support * Adding an empty __init__.py * Moving the base task to the project root (PokemonGoF#2702) * Moving the base task to the project root * Moving the base class more * Changing the import again * Adding a heartbeat to the analytics (PokemonGoF#2709) * Adding a heartbeat to the analytics * Heartbeat every 30 seconds, not every 5 * Don't double track clients * Fix 'local variable 'bot' referenced before assignment' * Providing an error if tasks don't work for the given api (PokemonGoF#2732) * Fix for utf8 encoding when catching lured pokemon (PokemonGoF#2720) * Fixing lure pokestop encoding * fixing lure encoding * Fix For catchable not being displayed on the web (PokemonGoF#2719) * Fix For catchable not being displayed on the web * Update catch_visible_pokemon.py * Added encrypt.so compilation process to Dockerfile (PokemonGoF#2695) * OS Detection for encrypt lib (PokemonGoF#2768) Fix 32bit check, darwin and linux use the same file Make it a function Check if file exists, if not show error Define file_name first Fix return Check if file exists, if not show error Print info about paths Fix for 32/64bit detection * Fix Typo in unexpected_response_retry (PokemonGoF#2531) fixes PokemonGoF#2525 PokemonGoF#2523 * Revert "changing license from MIT to GPLv3" This reverts commit 69fb64f. * When the google analytics domain is blocked the bot crashed. (PokemonGoF#2764) With a simple try / except this can be solved. Fix dirty catch all * Fixes PokemonGoF#2698 - Prevents "Possibly searching too often" error after re-login. (PokemonGoF#2771) * Fixes PokemonGoF#2698 - Added api.activate_signature call to prevent issue after re-login. - Also replaced deprecated log call with event_manager emit to prevent exception being thrown. * Modified to use OS detected library path as per PR PokemonGoF#2768 * Support loading plugins from .zip files (PokemonGoF#2766) * Keep track of how many pokemon released (PokemonGoF#2884) * Setting Library path to work with encrypt.so (PokemonGoF#2899) Setting LD_LIBRARY_PATH on Dockerfile * ✨ Added login and username to available stats (PokemonGoF#2494) Added a player_data property in PokemonGoBot to access player data from outside Added unit tests for login and username stats Added tests for call args when updating the window title Added a platform-specific test for window title updating on win32 platform * [dev] small fixes (PokemonGoF#2912) * Fixed emit_event typo * Update CONTRIBUTORS.md * Changed initialization location for "bot" We use bot in main exception on 128 * Update pokecli.py
Update Readme (PokemonGoF#2847) Fix typos
Update README.md (PokemonGoF#2625)
Update README.md (PokemonGoF#732)
Fix for error when no exceptions are listed in release_config.json (P… …okemonGoF#567) * Extracted map JavaScript code into map.js * Merging fork. * Added my name to the contributor list for adding the --distance-unit option. * Renamed min_cp to release_under_cp and min_iv to release_under_iv in release_config.json to make purpose more clear. * Renamed min_cp to release_under_cp and min_iv to release_under_iv in release_config.json.example to make purpose more clear. * Added 'exceptions' to release_config and implemented the 'always_capture' rule. * Modified release_config.json.example to show how to use exceptions to always capture the top 10 most powerful Pokemon in Pokemon Go. * Fixed a bug where the -l argument input is ignored in favor of the cached location. * Fixed error when no exceptions are listed in release_config.json