3jameo3 Author

Yeah this is the line of code that needed to be fixed ::

var moneyCurrent = Number($("div[hero='soft_currency'] span").text().trim().replace(',', ''));

I fixed it like this ::

var moneyCurrent = Number($("span[hero='soft_currency']").text().trim().replace(',', ''));

Everything works perfectly now. Thanks for the place to look :@twelve27:


Possibly fixed this. As well as made it collect the missions possibly.


After accepting all the missions and none remain to be accepted this script will loop until they are all claimed.


It may just be something on my end but for some reason Auto-Questing seems to sometimes work then it just stops for no reason no matter the quest line. Below it says it worked, however the quest line does not actually proceed.

09:49:44.378 VM29715 userscript.html:177 Navigating to current quest.
09:49:44.381 VM29715 userscript.html:692 autoLoop Disabled
09:49:45.554 VM29745 userscript.html:194 Proceeding for free.
09:49:46.065 VM29745 userscript.html:203 Spending 7 Energy to proceed.
09:49:46.066 VM29745 userscript.html:218 Spending 0 Money to proceed.
09:49:46.571 VM29745 userscript.html:681 Restoring page https://nutaku.haremheroes.com/home.html

Also this line of code needs to be fixed. Obvious what is going on here with the money payment segment, although it's not actually a big deal unless you pay attention to the console.

console.log("Spending "+proceedCostEnergy+" Money to proceed.");

Feel free to check out my mission code, although not working completely and it's not perfect by any measure, it may help in your code if you start working on it. It does work with your code as I based it off your script of course credits about that are in the description. After accepting all the missions it's just a big loop of it trying to get more missions until they are all claimed (completely my fault haven't added a check for that yet).