Skip to content
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

[Feature Request] Auto Click on wandering pokemon on the farm. #401

Open
coolbond1 opened this issue Jun 26, 2024 · 1 comment
Open

[Feature Request] Auto Click on wandering pokemon on the farm. #401

coolbond1 opened this issue Jun 26, 2024 · 1 comment

Comments

@coolbond1
Copy link

With the recent change to the farm it would be great if the script auto clicked on the wandering pokemons too.

@samololo
Copy link

If you want a small snippet while waiting, put that in your console :
var loop = 1; console.log('Farm Catcher Loop Started !'); console.log('To stop type : loop=0'); while (loop == 1){ for (let i = 0; i < 25; i++) { var d = $('.plot > .plot-content > .plotImage')[i]; if($(d).children('.pokemonSprite').length > 0) { $(d).children('.plotButton').click(); console.log('Wandering Pokemon caught !'); } } await new Promise(r => setTimeout(r, 30000)); } console.log('Loop Stoped !');

It will catch every wandering pokemon every 30 seconds.
If you want to stop it just set "loop" to 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants