Closed merkon closed 8 years ago
change your config to recycle
Go to the config.json file and setup the part regarding to the recycle :
{ "type": "RecycleItems", "config": { "min_empty_space": 15, "item_filter": { "Pokeball": { "keep" : 100 }, "Potion": { "keep" : 10 }, "Super Potion": { "keep" : 20 }, "Hyper Potion": { "keep" : 30 }, "Revive": { "keep" : 30 }, "Razz Berry": { "keep" : 100 } } } },
Check pokemon count and lower the item_filter numbers from config's "RecycleItems". Usually i'm going with:
"config": {
"item_filter": {
"Pokeball": { "keep" : 50 },
"Potion": { "keep" : 0 },
"Super Potion": { "keep" : 0 },
"Hyper Potion": { "keep" : 30 },
"Revive": { "keep" : 30 },
"Razz Berry": { "keep" : 50 }
}
}
Also, for now "min_empty_space": 15
is causing a loop. Remove it temporarilly
And what if i want to keep more items, like more pokeballs or berries?
If you want that, you can add them based on the name in this list: https://github.com/PokemonGoF/PokemonGo-Bot/wiki/Item-ID's
This you need to do if you want to add Great Ball filtering
"config": {
"item_filter": {
"Pokeball": { "keep" : 50 },
"Potion": { "keep" : 0 },
"Super Potion": { "keep" : 0 },
"Hyper Potion": { "keep" : 30 },
"Revive": { "keep" : 30 },
"Razz Berry": { "keep" : 50 },
"Greatball": { "keep": 50 }
}
}
I have no idea how to write a good changelog, is there anyone who can upload his? For example if i want to keep 300 pokeballs, will i have problem with the spinfort and the movetofort again like before?
If you want to have a higher number of items, just change the number to the desired number in { "keep" : 50 }
for the item you want to change
That's what i did before and suddenly that spinfort and movetofort problem happened...
So i should probably try to have the amount of items that i keep at low numbers? Like 30-50?
That problem was being caused by the "min_empty_space": 15
config, so it should not be a problem to have high numbers.
I didn't have that "min_empty_space" in my config at all! So? What else might be the problem? Also, can i do something to level up more quickly?
@merkon It all matters on how you tune up your config. You have numerous variables that could help you do that. In order to level fast, put your account to farm in known areas that spawn a lot of pokemons, add evolving features to config at "evolve_captured": "Pidgey,Rattata,Zubat,Weedle,Drowzee,Spearow,Venonat,Caterpie,Krabby,Paras,Sandshrew,Psyduck,Mankey,Tentacool,Magnemite,Doduo,Seel,Voltorb,Horsea,Goldeen,Staryu,Ekans",
and each time you capture one and have candy, evolve them. Leave the script open when you sleep and so on.
I don't know how to tune up the best my config... Do you have any change file that you can give me? Also when i try to run the bot for a long time it crashes:
Traceback (most recent call last): File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/init.py", line 859, in emit msg = self.format(record) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/init.py", line 732, in format return fmt.format(record) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/init.py", line 471, in format record.message = record.getMessage() File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/init.py", line 335, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Logged from file init.py, line 547
And then it says:
2016-08-10 14:57:00,567 [ SpinFort] [INFO] [pokestop_searching_too_often] Possibly searching too often, take a rest.
Is there any solution in that problem?
2016-08-10 11:20:03,155 [ SpinFort] [INFO] [inventory_full] Not moving to any forts as there aren't enough space. You might want to change your config to recycle more items if this message appears consistently. 2016-08-10 11:20:03,156 [MoveToFort] [INFO] [inventory_full] Not moving to any forts as there aren't enough space. You might want to change your config to recycle more items if this message appears consistently.
What should i change?