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.
< Feedback op HaremHeroes Automatic
i fix the script that im using, just change the
var battleButton = $("#battle_middle button[rel='launch']");
if(battleButton === undefined)return;
if(battleButton.attr("price") === undefined){console.log("Could not detect battle button price. Maybe its not loaded yet.");return;}
if(currentPower >= battleButton.attr("price"))
to this
var battleButton = $("#battle_middle button[price_fe='1']");
if(battleButton === undefined)return;
if(currentPower >= 1)
dont include the br / in the code in the end this is my fix if there's a better fix i will use it im not good at java programming
wut do you mean by dont include the br /?
every
?
< br />
@"Mystic Delta" said: There is 2 options for the autotrollbattle now, 1 for x1 that uses the energy you have and 1 for x10 that uses 2 koban for harem heroes.
AutoArenaBattle just goes to the combatant but doesn't battle.
Well same problem here :/
var battleButton = $("#battle_middle button[price_fe='1']");
if(battleButton === undefined)return;
if(currentPower >= 1)
also there is a new version of the normal script now.
@ImGelo said:
var battleButton = $("#battle_middle button[price_fe='1']");
if(battleButton === undefined)return;
if(currentPower >= 1)
Setting the battle_middle button[] to [price_fe='1'] breaks the arena fights. Better to use [rel='launch']
Additionally, everywhere you see the following between lines 222 and 242:
battleButton.attr("price")
Change to
battleButton.attr("price_fe")
so which/what did you change? also are you using the new version of this or the old version?
its true the arena fights will break but in troll it will not identify if its the 1x or the koban
trying something new in the code for the troll
it works? for me kindof but it triggers that thing that says refil thingy
I'm working on a fix for the KOBAN warning problem. For now, change line 227 to add a [0] before the ;
Change from
battleButton.click();
To
battleButton[0].click();
is this for the new version or the old one(by that i mean the redone version in openuserjs.org) ?
I have based my changes on version 2.7
For me all these fixes didn't work at all, i'm waiting an script update
@"M.A.T." said: For me all these fixes didn't work at all, i'm waiting an script update
Changes to resolve the issues are discussed on the other site where the script is kept. Although these look like they would work for you. Not sure why they would not.
AutoTrollBattle broke and AutoArenaBattle doesn't work.
There is 2 options for the autotrollbattle now, 1 for x1 that uses the energy you have and 1 for x10 that uses 2 koban for harem heroes.
AutoArenaBattle just goes to the combatant but doesn't battle.