New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: optimizations to get more experience per hour ( 84k XP/H ) #2491
Conversation
We have to wait for #2173 commit in, that's important changes and douglas keep doing the conflict resolving in 3 days. |
Main changes: - Add a loop to Spin Fort worker, now we spin every ready and in range fort per tick. - Add a loop in CatchLuredPokemon, same as above. - Spin fort even with full inventory - Move to fort even with full inventory - Also filter forts with `cooldown_complete_timestamp_ms` (to spinning and moving to) - Remove a bunch of logs (it's hard to see what happens) - Change some logs (to make it easy to see the experience) - Add PR PokemonGoF#2252 (thanks @Moonlight-Angel) and PR PokemonGoF#2240 (thanks @lucasfevi) - Add minimum 5 seconds to each tick (avoid softbans) - Fixed logs with colors (that extra space freaked me out) NOTE: - In this commit, EvolveAll worker, take 25+ seconds to complete. So DON'T use it. Just evolve after catching pokemons. BREAKING CHANGES: - Add tick_count and delayed some workers (RecycleItem, TransferPokemon)
0ba1429
to
9d03972
Compare
I've been testing this along with him and it's working pretty well.
|
@matheussampaio do I need to use this exact config.json? Only the coordinates? |
@LcTrKiD This is my |
@matheussampaio 1431 caught 0 released? Pokemon storage isn't getting full? |
@nikhil-pandey released stat is broken, it doesn't display real number. |
@matheussampaio do i need to clone your fork? |
@LcTrKiD
|
Im getting this error after starting the bot: |
You're using a worker that I didn't add |
Just tested with a Lucky Egg for 10 minutes or so, impressive:
Thanks! |
Could you guys share your release config for pokemons |
After 36 minutes using the bot I'm getting only this for more than 30 minutes: [19:56:10] Waiting 4.44... |
@LcTrKiD Can you share your |
Uptime : 0:58:58 | 3.29km walked | Level 26 (292,835 / 390,000, 75%) | +216,080 XP | 3,662 XP/m | Visited 4.36 /m | Caught 3.85 /m | Evolved 1.61 /m After almost an hour and 2 lucky eggs |
Apparently, some thing around 1450 XP/m (87k XP/H) is what everyone is getting from this commit. If you have a lot of candies you can get a little boost evolving pokemons. |
@matheussampaio this is my config.son {
} |
I get this error:
|
File "pokecli.py", line 220, in i got this error every 10 to 12 minutes. Have to restart my bot again, I'm not soft banned tho. Any help? |
That's my half hour with a lucky egg. Feels pretty good, man! |
Can you post full instructions on how to make this work? Getting softbanned too often |
@CoderFX done. |
@matheussampaio I have a lot of pokestops at this coordinates but still getting this: [22:28:39] Login to Pokemon Go successful. |
Getting the Waiting spam as well now. Was running just fine for a few hours before that. Even after restarting it just spams Waiting ... |
Everyone (not just this commit or branch) is getting the same problem, it's a server problem or something changed. Please, use slack for troubleshooting. |
same config as yours(location= central park), can you help please? |
'longitude': fort['longitude'] | ||
}) | ||
|
||
time.sleep(1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we use config.min_time_between_actions
or whatever the value was?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, when we got the bot working again, we'll do it right and remove the XGH code. 😄
Hello, does this still work with the new API? -Auto answer: No. |
@matheussampaio we're back up again, please your PR! :D |
Update it please 😁 I need a strong xp/hour merge :D |
I'm busy today, but tomorrow I'll update. |
Thx dude ;). Your work is really welcome. Le 7 août 2016 17:06, "Matheus Sampaio" notifications@github.com a écrit :
|
Hey somehow I cant pass source bin/activate: |
I am using the same location (40.774626,-73.972706) but always get "can't find a nearby fort to walk to" I even used location specified in reddit post, still no luck. https://www.reddit.com/r/pokemongo/comments/4thygt/central_park_nyc_is_the_best_farm_spot_these_4/ [14:09:31] can't find a nearby fort to walk to |
I think, currently it is not adapted to last API changes. |
Did you mean the code on my system is not adapted or this pull is not adapted to the latest API change? |
This pull is not adapted. Last commit was on 4th Aug, but new API was released on 7th Aug after Niantic's surprise. |
Deprecated. Check #2889. |
|
THIS CODE ISN'T INTENDED TO BE MERGED.
It's here because some people on Slack asked me to, so they can test and discuss.
Short Description:
A bunch of optimizations to improve the experience per hour.
Main changes:
cooldown_complete_timestamp_ms
(to spinning and moving to)NOTE:
Just evolve after catching pokemons.
virtualenv .
andpip install -r requirements.txt
BREAKING CHANGES:
Recommended
config.json
:❗ CHANGE RELEASE RULES AND RECYCLE ITEMS RULES ❗
How to:
Install:
Start:
Stats:
@matheussampaio
@lucasfevi:
@w0rd3r (with lucky egg):
@theVDude: