HaremHeroes Automatic

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.

< 腳本HaremHeroes Automatic的回應

提問/評論

§
發表於:2018-06-20
編輯:2018-06-20

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.

§
發表於:2018-06-20

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

§
發表於:2018-06-20

wut do you mean by dont include the br /? every
?

§
發表於:2018-06-20

< br />

Deleted user 190916
§
發表於:2018-06-20

@"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 :/

§
發表於:2018-06-20

var battleButton = $("#battle_middle button[price_fe='1']"); if(battleButton === undefined)return; if(currentPower >= 1)

§
發表於:2018-06-20

also there is a new version of the normal script now.

§
發表於:2018-06-20

@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")

§
發表於:2018-06-20

so which/what did you change? also are you using the new version of this or the old version?

§
發表於:2018-06-20

its true the arena fights will break but in troll it will not identify if its the 1x or the koban

§
發表於:2018-06-20

trying something new in the code for the troll

§
發表於:2018-06-20

it works? for me kindof but it triggers that thing that says refil thingy

§
發表於:2018-06-21
編輯:2018-06-21

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();

§
發表於:2018-06-21

is this for the new version or the old one(by that i mean the redone version in openuserjs.org) ?

§
發表於:2018-06-21
編輯:2018-06-21

I have based my changes on version 2.7

MAT
§
發表於:2018-06-25
編輯:2018-06-25

For me all these fixes didn't work at all, i'm waiting an script update

§
發表於:2018-06-26

@"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.

發表回覆

登入以回復