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

Transfering all pokemon regardless of Config/Issue found - devs need to change release_config.json

Open iDervy opened this issue 10 years ago • 7 comments

Release_Config.json:

{
    "any": {
        "release_under_cp": 100,
        "release_under_iv": 0.1,
        "cp_iv_logic": "or"
    },
#huge list of pokemon retracted 
}

Config.json:

{
    "auth_service": "####",
    "username": "####",
    "password": "####",
    "location": "####",
    "gmapkey": "####",
    "max_steps": 5,
    "mode": "poke",
    "walk": 4.16,
    "debug": false,
    "test": false,
    "initial_transfer": 10,
    "location_cache": false,
    "distance_unit": "km",
    "item_filter": "101,102,103,104",
    "evolve_all": "NONE"
}

Bot parser:

[2016-07-25 02:00:02] [#] A Wild Psyduck appeared! [CP 315] [Potential 0.2]
[2016-07-25 02:00:02] [#] IV [Stamina/Attack/Defense] = [0/4/5]
[2016-07-25 02:00:05] [x] Using Pokeball (chance: 43.22%)... (43 left!)
[2016-07-25 02:00:06] [x] Captured Psyduck! [CP 315] [IV 0.2]
[2016-07-25 02:00:06] [#] Psyduck has been exchanged for candy!

[2016-07-25 02:00:11] [#] A Wild Bellsprout appeared! [CP 158] [Potential 0.38]
[2016-07-25 02:00:14] [#] IV [Stamina/Attack/Defense] = [4/7/6]
[2016-07-25 02:00:18] [x] Using Pokeball (chance: 62.29%)... (42 left!)
[2016-07-25 02:00:18] [x] Captured Bellsprout! [CP 158] [IV 0.38]
[2016-07-25 02:00:19] [#] Bellsprout has been exchanged for candy!

[2016-07-25 02:00:24] [#] A Wild Krabby appeared! [CP 227] [Potential 0.6]
[2016-07-25 02:00:29] [#] IV [Stamina/Attack/Defense] = [13/13/1]
[2016-07-25 02:00:31] [x] Using Pokeball (chance: 45.14%)... (41 left!)
[2016-07-25 02:00:31] [x] Captured Krabby! [CP 227] [IV 0.6]
[2016-07-25 02:00:32] [#] Krabby has been exchanged for candy!

I've already set it so it only releases pokemon if it's either <100 CP, OR <0.1 IV. However, it's doing it to everything. I have a feeling that huge list of pokemon that's in the current release.config has messed it up. This was not an issue with previous builds.

EDIT: Yup. It was as I thought.

[2016-07-25 02:16:16] [#] A Wild Drowzee appeared! [CP 308] [Potential 0.53]
[2016-07-25 02:16:16] [#] IV [Stamina/Attack/Defense] = [6/12/6]
[2016-07-25 02:16:20] [x] Using Pokeball (chance: 45.14%)... (38 left!)
[2016-07-25 02:16:20] [x] Captured Drowzee! [CP 308] [IV 0.53]
[2016-07-25 02:16:21] [x] Captured Drowzee! [CP 308]

I went into the release_config.json file, deleted every single pokemon entry except for a Bulbasaur, set it to CP 10, IV 0.1, "OR", and now it doesn't transfer pokemon.

Seriously, who's idea was it to add a 151 pokemon list of exceptions into the release_config.json file? If you wanted people to add their own exceptions, you should've let them manually add them, like we do with the ignore list. That list broke the CP/IV config.

iDervy avatar Jul 25 '16 01:07 iDervy

I couldn't agree more. Also, I'm not sure what the list is based on, but it's set to keep things like

"Magikarp":     { "release_under_cp": 91, "release_under_iv": 0.8, "cp_iv_logic": "and" },

and fuckin' zubats and weedles and shit.

Pre-populating these values is fine, but the values will fill your bag up with garbage pokemon incredibly fast.

TSM-EVO avatar Jul 25 '16 01:07 TSM-EVO

It's only an example. Set the values to whatever you want, or delete the specific Pokemon values entirely. The example file shows you everything you can configure. It was never designed to be used without modification.

SteffanLong avatar Jul 25 '16 01:07 SteffanLong

Exactly. If people want to modify it, they should be allowed to modify it and add to the list, not delete the whole list. Everyone now has to delete a huge chunk of code just to operate it and then, if you delete the whole exceptions list, without leaving one example, it breaks the bot.

iDervy avatar Jul 25 '16 03:07 iDervy

almost leads to two example files. A 'basic' and 'extreme'. IMHO the current is extreme as not everyone cares about IVs. Many just want to 'catch them all'. Personally, i've annoyed when the be bots transfers the 1st/only occurrence, and have tuned it way back.

ththompson avatar Jul 25 '16 03:07 ththompson

You should duplicate the example and keep/delete/edit what you want.

SteffanLong avatar Jul 25 '16 06:07 SteffanLong

And nobody is debating that we shouldn't have to edit it. But it's a huge QoL fix if they could modify the release-config.json file, so it has only ONE example and we ADD our exceptions to the list, rather than what we have to do now.

As Ththompson said, most people just want the bot to go catch them all and not bother about IVs. Some people are using the bot for research purposes and want to catch as many mons as possible, with the least amount of hassle.

iDervy avatar Jul 25 '16 14:07 iDervy

please check if issue occures after release_config.json has been merged with config.json in 33a0ad6c6645415e7491b1d76fe664f40376fb16

fredrik-hellmangroup avatar Jul 25 '16 21:07 fredrik-hellmangroup