Are you sure you want to go to an external site to donate a monetary value?
WARNING: Some countries laws may supersede the payment processors policy such as the GDPR and PayPal. While it is highly appreciated to donate, please check with your countries privacy and identity laws regarding privacy of information first. Use at your utmost discretion.
One suggestion I would add is putting some try {} catch {} blocks around the timers, so even if they change again in the future the script has a safe way to fall back to hard coded wait times.
Ok, final point of clarification for fellow devs. The HHTimers are gone, any other workarounds still work.
So Auto Troll and Auto Salary seem functional for now
Correction, the HHTimers object is gone.
Looks like they removed the timers completely. I'm out of time today to research, I'll try again later.
Going to have to rethink calculating timers again.
They changed the timers again >.<
Confirmed, it is newly broken, I'll try to look into it today.
For what it is worth, I would consider the speed to be a feature, not a bug. The idea is to automate, if you need to supervise the results, you are better off not automating and just hand clicking.
I agree having targeted auto troll would be very useful, I simply don't have the knowledge/time to code that directly. Sorry :(
Hi,
I'm unable to reproduce your issue, can you let me know what browser you are running?
Re: @twelve27:
I added your salary tweak to my fork. If I'm missing anything else, please let me know and I'll update it as well.
I've created a fork for now. I'll keep it up until the original gets another update.
Re: @twelve27:
Slightly unrelated question. Have you noticed the much faster session timeout? I haven't tried other browsers beyond Chrome, but I have noticed the timeout is now so fast that without an auto-refresh, the session often dies before another automatic action can trigger.
Re: @twelve27:
I don't think this fix was added explicitly to break scripts like the salary timer change, just seems to tweak page names to include language information. Perhaps more translations are coming?
Because the daily reward screen happens after the arena page is loaded, and the button detection isn't in the battle loop logic, there is no way for the script to break out of the battle loop after an arena battle daily reward is triggered.
I've been patching on sleazyfork.org, but this community seems closer to the author. Hello.
The page names changed. Here is a fast patch on code line 115
Change from
return ob.className.substr(5).toLocaleLowerCase();
To
return ob.className.substr(5).split(" ")[0].toLocaleLowerCase();