PokemonGo-Bot icon indicating copy to clipboard operation
PokemonGo-Bot copied to clipboard

Hatching eggs is not working

Open RomanFausek opened this issue 10 years ago • 17 comments

Expected Behavior

Bot should put egg into incubator the moment it receives a new egg if any of the incubators are available.

Actual Behavior

No mark in terminal of putting the eggs in incubators. After logging in with iOS device the incubators are empty and the inventory is full of unhatched eggs.

Steps to Reproduce

Followed instructions during the installation - everything works fine: catching pokémons, walking etc. However It seems not taking into count the fact that it should hatch eggs automatically.

Other Information

OS: OSX Git Commit: (run 'git log -n 1 --pretty=format:"%H"' and paste it here) Python Version: (run 'python -V' and paste it here)

RomanFausek avatar Aug 02 '16 10:08 RomanFausek

What does your config look like? did you add the IncubateEggs task?

See: https://github.com/PokemonGoF/PokemonGo-Bot/wiki/Configuration-files

xorinzor avatar Aug 02 '16 10:08 xorinzor

I am using example config from git and now I am trying to add this code but no change.

"tasks": [ { "type": "IncubateEggs", "config": { "longer_eggs_first": true } }

RomanFausek avatar Aug 02 '16 10:08 RomanFausek

Do you only have the IncubateEggs task?

You will need the bot to walk around if you actually want to see anything happen too (ie: move to forts, or FollowSpiral)

xorinzor avatar Aug 02 '16 10:08 xorinzor

Well i thought hatching eggs is default behavior. Do you have example config with classic behavior + hatching? This is what I have now https://infinit.io/_/QBdqcnu

RomanFausek avatar Aug 02 '16 10:08 RomanFausek

@RomanFausek have a look at the example config files.

Especially: https://github.com/PokemonGoF/PokemonGo-Bot/blob/dev/configs/config.json.pokemon.example

xorinzor avatar Aug 02 '16 10:08 xorinzor

I copy pasted whole config and terminal is still not hatching eggs

EDIT: there is no mark in terminal so I am assuming that

RomanFausek avatar Aug 02 '16 10:08 RomanFausek

@RomanFausek can you run the commands from other information so we know what commit and python version you're using? That might help.

Also please copy your complete config here (make sure to remove your google maps key, username and password)

xorinzor avatar Aug 02 '16 11:08 xorinzor

Config is exactly the one you sent. Only with my info.

git: 78c5f2bc8c5aeafb902309583cfab621179bed4e python: Python 2.7.12

RomanFausek avatar Aug 02 '16 11:08 RomanFausek

master or dev? dev is working fine

maestroi avatar Aug 02 '16 13:08 maestroi

@maestroi check his latest comment with the git commit info, it's the master branch

xorinzor avatar Aug 02 '16 13:08 xorinzor

Yes dev working fine, i do new dev clone today using elementary os 64bit inside my vmware. Install from beginning, reconfigure release config, what i got today is bot very aggresive to catch pokemon and moving..

ubu13 avatar Aug 02 '16 13:08 ubu13

And now I've got another problem with new cfg. It is evolving all caught pokemons. Config is caching somehow?

{ "type": "EvolveAll", "config": { "evolve_all": "NONE", "evolve_cp_min": 1000, "evolve_speed": 20, "use_lucky_egg": false } },

RomanFausek avatar Aug 02 '16 13:08 RomanFausek

@xorinzor it was a readme commit xD

maestroi avatar Aug 02 '16 13:08 maestroi

@RomanFausek check your evolve_captured value, but please open a new issue for that since it's something else (and close this one)

xorinzor avatar Aug 02 '16 13:08 xorinzor

@xorinzor "evolve_captured": "NONE",

RomanFausek avatar Aug 02 '16 13:08 RomanFausek

why "location cache": false,? is better?

ingcrengifo avatar Aug 02 '16 13:08 ingcrengifo

@INGCRENGIFO everytime u restart bot it goes from where it left if put it to true, is better than teleporting back and forward every time

maestroi avatar Aug 02 '16 13:08 maestroi