-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bot not able to Fix Softban #3361
Comments
What exactly do you mean by "you have nothing set for HandleSoftBan"? I do have a task : Also, the PokeBot-Updater just does a git pull. But my bot is already the latest version. |
I did that and now, bot is just stuck doing this infinitely |
There's no difference between your config and mine. Just that I've not used the nicknaming task and you forgot "libencrypt_location": "" |
Hi, i have same error some time ago. I don't know why, but sometime TaskWork dont receive config in parameter. In move_to_fort, before self.config.... you must add if self.config: I seen that with softban. So quick fix : if self.config: |
Expected Behavior
Bot should Fix the softbans
Actual Behavior
16-08-10 04:49:37,626 [FollowCluster] [INFO] [found_cluster] Move to destiny 5. pokestops will be in range of 50. Walking 693.409889318m.
2016-08-10 04:49:39,914 [RecycleItems] [INFO] [item_discard_skipped] Skipping Recycling of Items. 33 space left in bag.
2016-08-10 04:49:40,837 [ SpinFort] [INFO] [pokestop_empty] Found nothing in pokestop Darling Quarter Water Works.
2016-08-10 04:49:40,838 [ SpinFort] [INFO] [pokestop_searching_too_often] Possibly searching too often, take a rest.
2016-08-10 04:49:40,838 [ SpinFort] [INFO] [softban] Probably got softban.
2016-08-10 04:49:41,116 [FollowCluster] [INFO] [found_cluster] Move to destiny 5. pokestops will be in range of 50. Walking 638.536676892m.
2016-08-10 04:49:43,510 [ cli] [INFO]
2016-08-10 04:49:43,510 [ cli] [INFO] Ran for 0:00:13
2016-08-10 04:49:43,510 [ cli] [INFO] Total XP Earned: 0 Average: 0.00/h
2016-08-10 04:49:43,511 [ cli] [INFO] Travelled 0.00km
2016-08-10 04:49:43,511 [ cli] [INFO] Visited 0 stops
2016-08-10 04:49:43,511 [ cli] [INFO] Encountered 0 pokemon, 0 caught, 0 released, 0 evolved, 0 never seen before
2016-08-10 04:49:43,511 [ cli] [INFO] Threw 0 pokeballs
2016-08-10 04:49:43,511 [ cli] [INFO] Earned 0 Stardust
2016-08-10 04:49:43,511 [ cli] [INFO]
2016-08-10 04:49:43,511 [ cli] [INFO] Highest CP Pokemon:
2016-08-10 04:49:43,511 [ cli] [INFO] Most Perfect Pokemon:
Traceback (most recent call last):
File "pokecli.py", line 522, in
main()
File "pokecli.py", line 96, in main
bot.tick()
File "/home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/pokemongo_bot/init.py", line 454, in tick
if worker.work() == WorkerResult.RUNNING:
File "/home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/pokemongo_bot/cell_workers/handle_soft_ban.py", line 32, in work
MoveToFort(self.bot, config=None).work()
File "/home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/pokemongo_bot/base_task.py", line 12, in init
self.initialize()
File "/home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/pokemongo_bot/cell_workers/move_to_fort.py", line 16, in initialize
self.lure_attraction = self.config.get("lure_attraction", True)
AttributeError: 'NoneType' object has no attribute 'get'
Your config.json (remove your credentials and any other private info)
{
"auth_service": "google",
"username": "",
"password": "",
"location": "-33.8753071114,151.2014563751",
"gmapkey": "",
"libencrypt_location": "",
"tasks": [
{
"type": "HandleSoftBan"
},
{
"type": "CollectLevelUpReward"
},
{
"type": "IncubateEggs",
"config": {
"longer_eggs_first": true
}
},
{
"type": "TransferPokemon"
},
{
"type": "EvolvePokemon",
"config": {
"evolve_all": "none",
"first_evolve_by": "cp",
"evolve_above_cp": 500,
"evolve_above_iv": 0.8,
"logic": "or",
"evolve_speed": 20,
"use_lucky_egg": false
}
},
{
"type": "RecycleItems",
"config": {
"min_empty_space": 20,
"item_filter": {
"Pokeball": { "keep" : 120 },
"Greatball": { "keep" : 55 },
"Ultraball": { "keep" : 55 },
"Potion": { "keep" : 5 },
"Super Potion": { "keep" : 5 },
"Max Potion": { "keep" : 5 },
"Hyper Potion": { "keep" : 5 },
"Revive": { "keep" : 5 },
"Razz Berry": { "keep" : 60 }
}
}
},
{
"type": "CatchVisiblePokemon"
},
{
"type": "SpinFort"
},
{
"type": "FollowCluster",
"config": {
"radius": 50,
"lured": false
}
}
],
"map_object_cache_time": 5,
"forts": {
"avoid_circles": true,
"max_circle_size": 50
},
"websocket_server": false,
"walk": 55,
"action_wait_min": 1,
"action_wait_max": 4,
"debug": false,
"test": false,
"health_record": false,
"location_cache": false,
"distance_unit": "km",
"reconnecting_timeout": 15,
"evolve_captured": "NONE",
"catch_randomize_reticle_factor": 1.0,
"catch_randomize_spin_factor": 1.0,
"catch": {
"any": {"catch_above_cp": 0, "catch_above_iv": 0, "logic": "or"},
"// Example of always catching Rattata:": {},
"// Rattata": { "always_catch" : true },
"// Pokemons with example": { "always_catch": true },
"// Gets filtered with release parameters": {},
}
Steps to Reproduce
Get banned once.
Other Information
OS: Ubuntu 15.04
Git Commit: b94d369
Python Version: Python 2.7.9
The text was updated successfully, but these errors were encountered: