Open the menu in HaremHeroes(topright) to toggle AutoControlls. Supports AutoSalary, AutoContest, AutoMission, AutoQuest, AutoTrollBattle, AutoArenaBattle and AutoPachinko(Free). Messages are printed in local console.
< Părere la script-ul HaremHeroes Automatic
And 8 minutes later, a bugfix ;)
thank :)
2 bugs 1 The whole script stops when it complet a daily quest in the arena 2 A visual error in this scrip http://prntscr.com/l3umfm
Oh, I totally forgot about that dayly reward error. I personally just set the page on autorefresh every 10 minutes to get rid of that. Don't have the energy to hunt the bug itself.
@"Dorten D" dijo: Oh, I totally forgot about that dayly reward error. I personally just set the page on autorefresh every 10 minutes to get rid of that. Don't have the energy to hunt the bug itself.
I thought about set this opponent 1 URL GOTO=https://www.hentaiheroes.com/battle.html?id_arena=0 opponent 2 URL GOTO=https://www.hentaiheroes.com/battle.html?id_arena=1 opponent 3 URL GOTO=https://www.hentaiheroes.com/battle.html?id_arena=2
this completely avoids having to search for character selection button which is where the problem occurs. I have no idea of codes :s
OK, did that. Now waiting for last todays prize, to check if this helps.
SEEMS working. Updated the code. Plus added something little extra.
It might skip opponents if something goes wrong while battle page loads, but should be fine othewise.
thanks it looks tasty :)
@ "Dorten D" thank you very much !!! Finally it works for my autoarea !! :)
I found 2 bugs.
1.- Autoquest is an infinite loop when you have the entire mission accomplished and / or all the energy. Try to find a new mission all the time and I can not do anything else, it is stuck there. 2.- Autostats. It is an infinite loop when you have all the statistics added, the message is always displayed:" You are already at your maximum".
It is very annoying these infinite loops that not allow to do anything, ¿it posible add a static button to "turn off" all the features when you appear these loops, to be able to disable the script without complications? Or turn off the options from the script panel?
Autoleagues the first time the scrip looks for all the opnenetes and then fights truth? some minutes in doing this?
Sorry for my english try to explain to me the best I could.
PD: Autosal., Autotroll, Autoarena, Autoleague work perfect! Autocontend and automission I could not test them yet.
PD2:I use Firefox, I try with Chrome and do the same..
I detected that sometimes does not load the page of the league properly and the scrip acts very fast, so increase the time to "find" the button when it is loaded .. is not optimal but it worked.
Modify on line 742:
setInterval(function(){$(".challenge button.blue_button_L").click();},500); to setInterval(function(){$(".challenge button.blue_button_L").click();},2000);
About autostats - it means, that I do not know the correct formula for Max stat. Can you give me several datapoints on this in (level - maxvalue) format?
I think, I fixed stats :smile:
Also it's going directly to battle page in Leagues just like with the arena (no button searching)
doStatUpgrades() broke for me today (if the script isn't working for you, check the browser console). The fix is to change line 540 so that h_ajax() is now hh_ajax() .
I'm giving away my HentaiHeroes account. Message me if you're interested. First to message me wins. Account has 100 girls (including Levitya, Norou, and Fanny & Fione). Level 273.
fixed hh_ajax. Also, leagues a screwed atm, to turn them off forcefully uncomment the
//sessionStorage.autoLeagues = "false"
line in the start function
Is the pastebin script working fine?
It was getting into a hard cycle because of beagues being broken. Should be fine now
what is the paranola button for? :D
That's highly experimental shit, that makes the script work in short bursts with pauses between them. depending on your local time it will go on short breaks (from 7 AM to 6PM), longer ones (from 6 PM to 11PM) and a single long break of eight hours between 11PM and 7 AM. All to make it seem, like a real human is playing.
It lowers salary gains by 30% or so, and you miss 8h of arena battles, of course.
Also there's a problem with 8h break, as it's too long and servers think, that you are disconnected, so it breaks everything :(. But you can use it outside of that break, if you want.
Also, Autostats were broken again. Fixed. Again.
smaller menu + white square fix (credit to Spychopat - https://greasyfork.org/en/forum/discussion/43171/x)
What does autostats do and also why does the script doesn't work for me? AutoSal. no work. basically everything stopped working. Also it crashes nowadays.
UPDATE: It works now. also what does autostats do? how does it work?
Can anyone make a fix for the autosal when it just get stuck in one girl not collecting anything? it says its closest time is less than/equal to 2 seconds and just stays at the harem menu.
My account has passed on to a better place.
@"Mystic Delta" said: What does autostats do and also why does the script doesn't work for me? AutoSal. no work. basically everything stopped working. Also it crashes nowadays.
UPDATE: It works now. also what does autostats do? how does it work?
@"Mystic Delta", autostat increases one of the three stats that you can increase on the first two tabs of the Market. That stat increases your ego, which helps for Arena, League, and Bosses. For me it increased Charm, I think because my account was class Charm. Right now it only runs once, when the script loads, probably because it's a bit buggy, so it's not allowed to run every time autoloop() runs. It doesn't stop when it reaches whatever cash limit you set (default is 5M), I think for two reasons:
If you really want to run it (worth it, if your main stat is far behind, I was at least 300+ from MAX, and hitting that button 300+ times was not gonna happen), here's what you'll want to do:
if (sessionStorage.autoStats === "true" && getBurst())
{
doStatUpgrades();
}
If you want to know how much it's going to cost you to reach MAX, then install the "approved" helper script, and it'll add a question mark to the right of your three stats. Hovering over this shows how many upgrades to MAX, and the cost. (In my case it was $32M, so it took a few runs of the script, and hoarding cash in between, to reach MAX for me).
Good luck!
@"Mystic Delta" said: Can anyone make a fix for the autosal when it just get stuck in one girl not collecting anything? it says its closest time is less than/equal to 2 seconds and just stays at the harem menu.
@"Mystic Delta", when this happens, it's because of something server side, so I don't think that this can be fixed. For some reason, once in a while the server reports that a girl has money to collect, when she doesn't. If you try to collect, then the server responds that the girl has nothing to collect, and doesn't allow you to collect, but continues to tell the client page that there's something to collect. It's a server glitch, and probably can't be fixed on our end.
If you're wondering if it's the case that it's a server glitch, then turn off autosal() for a bit, and try to click on the girl. It won't collect. You can refresh the page, log out, and the server will still show that the girl has $ to collect. You can keep clicking on her, no luck. Eventually, the timer on that girl does really run out, and she actually has something to collect. That's when the script starts working properly again.
For me, in autoloop(), I just moved the autosal to near the end, after autotroll, then increased the autoloop time to 1500 ms. At least that way everything else gets taken care of, before it gets stuck on autosal until the timer runs out.
Since I no longer have an account, this is my last post. Happy hunting!
Thanks @"Ally Except" would be nice if someone could have told me how to move the priorities in the autoloop function. Also I don't need the autostats, I recently maxed my stats out so yeah.
RE fixed autostats. Now it should use right formulas for stat caps and costs. should.
I mean, of course it works now!
It doesn't work for me, the switches are "on" but they dont work. like when I refresh the page or even go to a different screen in-game it just turns them all off.
Can someone isolate the autoleagues for me? in a way that I can just apply it to this other script that i have that works most of the time?
AutoLeagues branch
https://pastebin.com/Jzrp4DtE
Use at your own risk, obviously.
Changes: Removed autoPachinko, as it was not working and not very useful anyway. Added autoleagues: sorts league list by level and goes through it one by one. Added autoStat: it gets a Bank value as parameter. Spends cash above Bank to upgrade stats, tries to keep main stat about double than secondary stats Changed autoArena: now it goes directly to battle instead of searching for "Select" button. This gets rid of Daily reward bug, but might (rarely) skip opponents.