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

Bot fills the pokebag and throws nothing

Open Tetranima opened this issue 10 years ago • 5 comments

Expected Behavior

Only keep best cp / iv depending on config.json

Actual Behavior

Keeping all pokemons untill bag is full (since last update on dev branch) (08/08/2016)

Steps to Reproduce

"release": {
  "any": {"release_below_cp": 0, "release_below_iv": 0, "logic": "or"},
  "any": {"keep_best_cp": 2},
  "Eevee": { "keep_best_cp": 5 },
}

sh run.sh

Other Information

OS: Win7 64 Git Commit: ff380cd0e07f225ad1ae2c739bea9f9f80e2f8ce Python Version: Python 2.7.12 (v2.7.12:d33e0cf91556, Jun 27 2016, 15:24:40) [MSC v.1500 64 bit ( AMD64)] on win32

Tetranima avatar Aug 08 '16 17:08 Tetranima

 "release": {
   "any": {"keep_best_cp": 2},
   "Eevee": { "keep_best_cp": 5 }
 }

I think your config would error out since you have an extra comma in there so you maybe redacted some stuff? I also removed the erroneous line.

leadboots5 avatar Aug 08 '16 17:08 leadboots5

no its not this, i only pasted some line but i actually have this :

"release": {
  "any": {"release_below_cp": 0, "release_below_iv": 0, "logic": "or"},
  "// Example of always releasing Rattata:": {},
  "// Rattata": {"always_release": true},
  "// Example of keeping 3 stronger (based on CP) Pidgey:": {},
  "// Pidgey": {"keep_best_cp": 3},
  "// Example of keeping 2 stronger (based on IV) Zubat:": {},
  "// Zubat": {"keep_best_iv": 2},
  "// Also, it is working with any": {},
  "any": {"keep_best_cp": 2},
  "Eevee": {"keep_best_cp": 5},
  "// Example of keeping the 2 strongest (based on CP) and 3 best (based on IV) Zubat:": {},
  "// Zubat": {"keep_best_cp": 2, "keep_best_iv": 3}
},

so comas seems right.

But i think the Eevee line seem to be the faulty one.

Tetranima avatar Aug 08 '16 17:08 Tetranima

Ok i removed the first "all" line and i'll gie it a try.

Are you talking about Gmap API key ? Never had issues with it.

Tetranima avatar Aug 08 '16 17:08 Tetranima

guys... release all below cp0 does that make sense? how many pokemon with cp below 0 do you see? you have to put cp and iv above 0 for it to work :D let's say you put cp 300 and iv0.85 then it will work like magic

RaizenInstinct avatar Aug 08 '16 18:08 RaizenInstinct

Idk if it makes sense but as long as this was the example config, i only changed what i needed and it worked so far. I prefer to keep on ebest iv and one best cp of each kind, regardless if its under any value.

Tetranima avatar Aug 10 '16 17:08 Tetranima