It looks like one of the game updates broke this specific functionality. When I was debugging I found that the line
var moneyCurrent = Number($("div[hero='soft_currency'] span").text().trim().replace(',', ''));
was evaluation to NaN and that would cause us to always hit the next upcoming return statement because
if(proceedCostMoney <= moneyCurrent)
would not evaluate properly.
Instead I have fixed this locally by changing the original evaluation of moneyCurrent to:
var moneyCurrent = Number($("div[hero='soft_currency'] span").get(0).innerHTML.trim().replace(',', '')); //Number($("div[hero='soft_currency'] span").text().trim().replace(',', ''));
Of course people can feel free to remove the commented code there. The above resolved my issue and let the auto quest function work again because moneyCurrent evaluated properly instead of NaN and so the if condition evaluated properly and did not hit a return statement. This let me finally hit the ```
that I wasn't hitting before.
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.
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.
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).