-
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
Not recycling items #3924
Comments
I think it will going to recycle items when 'min_empty_space' was reached unlike recycling everytime on previous versions. |
increased min_empty_space to force recycling, still not working |
Same issue for me too. I don't have min_empty_space configured. Update: I don't know Python. But as far as I checked in the code, recycling will not happen unless your min_empty_space is hit. Check your free items space when you start your bot and configure min_empty_space (more than current free space) to execute it every time like it was in previous versions. I haven't tested it. But it seems straightforward. |
If you set |
Expected Behavior
Recylce items
Actual Behavior
Not recycling
config.json
{
"auth_service": "XXX",
"username": "XXX",
"password": "XXX",
"location": "XXX",
"gmapkey": "XXX",
"tasks": [
{"type": "HandleSoftBan"},
{"type": "CollectLevelUpReward"},
{
"type": "IncubateEggs",
"config": {
"longer_eggs_first": true
}
},
{
"type": "RecycleItems",
"min_empty_space": 10,
"config": {
"item_filter": {
"Pokeball": { "keep" : 50 },
"Greatball": { "keep" : 100 },
"Ultraball": { "keep" : 50 },
"Potion": { "keep" : 0 },
"Super Potion": { "keep" : 0 },
"Hyper Potion": { "keep" : 0 },
"Revive": { "keep" : 0 },
"Max Potion" : { "keep" : 50},
"Max Revive": { "keep" : 50 },
"Razz Berry": { "keep" : 50 }
}
}
},
{
"type": "EvolvePokemon",
"config": {
"evolve_all": "Bulbasaur,Charmander,Squirtle,Caterpie,Weedle,Pidgey,Rattata,Spearow,Ekans,Pikachu,Sandshrew,Nidoran F, Nidoran M,Clefable,Vulpix,Jigglypuff,Zubat,Oddish,Paras,Venonat,Diglett,Meowth,Poliwag,Abra,Tentacool,Geodude,Ponyta,Slowpoke,Magnemite,Doduo,Seel,Gastly,Drowzee,Krabby,Voltorb,Cubone,Koffing,Rhyhorn,Horsea,Staryu,Omanyte,Kabuto",
"first_evolve_by": "iv",
"evolve_above_cp": 0,
"evolve_above_iv": 0,
"logic": "and",
"evolve_speed": 1,
"use_lucky_egg": false
}
},
{
"type" : "NicknamePokemon",
"config" : {
"nickname_template": "{name:.8s}-{iv_pct}",
"dont_nickname_favorite": true
}
},
{"type": "TransferPokemon"},
{
"type": "MoveToMapPokemon",
"config": {
"address": "http://localhost:5000",
"mode": "priority",
"prioritize_vips": true,
"min_time": 15,
"max_distance": 1,
"snipe": true,
"min_ball": 30,
"snipe_high_prio_only": true,
"snipe_high_prio_threshold": 1,
"update_map": false,
"catch": {
"Mewtwo": 990,
"Mew": 980,
"Moltres": 970,
"Zapdos": 960,
"Articuno": 950,
}
Steps to Reproduce
Run bot with above config.
Other Information
OS: Windows 10, running in a bash shell or whatever (using console2)
Git Commit: 5c9cdb5
Python Version: Python 2.7.10
The text was updated successfully, but these errors were encountered: