ModernBot icon indicating copy to clipboard operation
ModernBot copied to clipboard

Captcha for farm

Open stamas1 opened this issue 1 year ago • 2 comments

Recently they added captcha when you manually farm villages one by one but not when you farm them all at once(when you have captain). Do i just copy this /* Check for captcha conditions every 300ms */ this.checkCaptchaInterval = setInterval(() => { if (this.simulateCaptcha || $('.botcheck').length || $('#recaptcha_window').length) { if (!this.captchaActive) { this.console.log('Captcha active, autobuild stopped working'); clearInterval(this.interval); this.captchaActive = true; } } else { if (this.captchaActive) { this.console.log('Captcha resolved, autobuild resumed'); this.startInterval(); // Restart autobuild this.captchaActive = false; } } }, 300); }

startInterval() {
    this.interval = setInterval(this.main.bind(this), 20000);

and put it inside the cs of the Autofarm?

stamas1 avatar Aug 01 '24 08:08 stamas1

you have to open the window of the village and click claim to see the captcha if it is there or not.The modernBot farms even if the villages to be claimed need captcha and the system sees that you farmed the villages without doing the captcha that is there and you get banned

stamas1 avatar Aug 01 '24 08:08 stamas1

The new version 2.0 will implement this in the root. As soon as the capcha window is out, it will stop everything that is doing

Sau1707 avatar Oct 27 '24 13:10 Sau1707