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?
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$('.botcheck').length || $ ('#recaptcha_window').length) {
/* Check for captcha conditions every 300ms */
this.checkCaptchaInterval = setInterval(() => {
if (this.simulateCaptcha ||
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);
}
and put it inside the cs of the Autofarm?