Skip to content

(Request dev) - transfer and recycle threshold  #2359

@Philipp59

Description

@Philipp59

now release and recycle is done by the task order, which is ok.
But it would be better to just modify the tasks, so that the release and recycle task are executed when the there is no space left

for e.g.
recycle task is done with config setting (keep X,Keep X, etc) only when bag is full or saver when inventory count reaches 349

same with pokemon space, release after release settings but only when bag reaches full or saver 249

it might not sound necessary at all but in a long run it will save so much time. Because the bot should just farm and clear inventory only when its needed .

for e.g. one loop (pokestop->capture->loot->recycle->release)

[16:47:04] Moving towards fort 伊勢丹 Plate, 0.08km left (attraction of lure 0.16km)
[16:47:04] Arrived at pokestop.
[16:47:04]  [x] Current egg hatches in 0.22 km 
[16:47:05] Something rustles nearby!
[16:47:06]  A Wild Spearow appeared! [CP 184] [Potential 0.78] 
[16:47:06] IV [Attack/Defense/Stamina] = [13/13/9]
[16:47:09] Using Pokeball (chance: 47.34%)... (126 left!)
[16:47:10]  Captured Spearow! [CP 184] [Potential 0.78] [13/13/9] [+210 exp] 
[16:47:11] Failed to evolve Sparrow!
[16:47:16]  Now at Pokestop: 伊勢丹 Plate 
[16:47:16]  Spinning ... 
[16:47:17]  Loot:  
[16:47:17]  100 xp 
[16:47:17]  - 5x Pokeball (Total: 129) 
[16:47:17]  - 2x Potion (Total: 2) 
[16:47:17]  - 1x Revive (Total: 1) 
[16:47:17] PokeStop on cooldown. Time left: 4 minutes, 49 seconds
[16:47:20]  -- Discarded 4x Pokeball (keeps only 125 maximum)  
[16:47:21]  -- Discarded 1x Revive (keeps only 0 maximum)  
[16:47:21]  -- Discarded 2x Potion (keeps only 0 maximum)  
[16:47:22]  Releasing Spearow with CP 184 and IV 0.78. Matching release rule: CP < 9 OR IV < 0.97.  
[16:47:22]  Exchanging Spearow [CP 184] [Potential 0.78] for candy! 

whole loop takes about 18sec from that 18 sec about 3sec are wasted for recycle/release which is nearly a 16% speed down.
Sure you can argue that at the end he have to do a recycle when bag is full or 349items in stock but its more efficient so recycle en bloc

for e.g

Recycling 100 poke balls
maybe I have to do recycle onces a stop (maximum number here to show the maximum potential) then
i have to to recycle 100x 1 poke ball which will take maximum 100sec

when Iam doing the recycle en bloc and reduce the count to the threshold then this takes 1sec, so there is a time saving of 99sec (in the best case obv.)

I hope you understand what Iam trying to point out

I think that through that ordering we can gain a speedup from about 10% in total that might not sound that much but when your average xp/h is about 60k you are missing 144.000 XP in a day. Thats the same amount like evolving 144 pidgeys with lucky egg.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions