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

Too much transferring logs every tick

Open surewhynotmon opened this issue 10 years ago • 6 comments

Expected Behavior

Transfer and keep log only shows up when transferring. When 0 transfer and 0 evolution happened, probably no point to go over the rules at every tick. At least it should only happen once at the start.

Actual Behavior

[14:33:02] Keep 2 best Pinsir, based on iv [14:33:02] Pinsir [CP 1185] [Potential 0.89] [14:33:02] Pinsir [CP 92] [Potential 0.91] [14:33:02] Transferring 0 Pinsir [14:35:02] 0 pokemon transferred total. 0 evolutions ready (based on pokemons additional to the ones kept with cp/iv criteria)

Steps to Reproduce

Run the latest dev

Other Information

OS: Ubuntu Git Commit: d5622898c0817c7f4913e1cec6076a687e4acf16 Python Version:2.7.11

surewhynotmon avatar Aug 02 '16 18:08 surewhynotmon

This was recently reverted I believe. Not for this purpose, though.

relomy avatar Aug 02 '16 18:08 relomy

Update. The commit that broke this has been reverted.

JSchwerberg avatar Aug 02 '16 18:08 JSchwerberg

@JSchwerberg Currently it output the entire list of pokemons every transfer/keep operation it seems.

surewhynotmon avatar Aug 02 '16 18:08 surewhynotmon

@surewhynotmon Not as of commit 9b1fdefb03d4ab0752cc2d626a4a52260ee8d4f0

JSchwerberg avatar Aug 02 '16 18:08 JSchwerberg

@JSchwerberg confirmed fixed.

surewhynotmon avatar Aug 02 '16 18:08 surewhynotmon

@JSchwerberg that commit also randomly released pokemons regardless of rule input....sadness.

surewhynotmon avatar Aug 02 '16 20:08 surewhynotmon