Automatically selects professions for empty slots
< Commentaires sur Neverwinter gateway - Profession Automation
It seems that different language not work as intended, some functions points to names what exist only "EN" pages, (FIX done)
// Rewards do not contain item we want to make
if (searchAsset) {
if (entry.def.icon != searchItem || !entry.def.name.match(/Recruit/) || entry.def.requiredrank > 14) {
return false;
}
} else {
if (!(entry.rewards.some(function (itm) {
try {
return itm.hdef.match(/\[(\w+)\]/)[1] == searchItem;
} catch (e) {}
}))) {
return false;
}
}
// Skip mass production tasks
if (entry.def.displayname.match(/^(Batch|Mass|Deep|Intensive) /)) {
return false;
}
// Skip trading tasks
if (entry.def.displayname.match(/rading$/)) {
return false;
}
// Skip looping Transmute tasks
if (entry.def.displayname.match(/^(Transmute|Create) /)) {
return false;
}
Thank you for the enhancements and continued support
@WloBeb Loop trap but no "reload", most cases when script got stuck because "Epic button" is enabled after three task is started, error goes away if next task is created.
I tested this with 100+ character and it prevent "reloads", but not sure if its healthy way get rid that gateway bug.
BTW, any ideas make "multi login" and run script on TAB´s... 8D
if (antiInfLoopTrap.prevCharName == antiInfLoopTrap.currCharName && antiInfLoopTrap.prevTaskName == antiInfLoopTrap.currTaskName) {
antiInfLoopTrap.startCounter++;
console.log(antiInfLoopTrap.prevCharName + " starts " + antiInfLoopTrap.prevTaskName + " " + antiInfLoopTrap.startCounter + " time in row");
} else {
antiInfLoopTrap.prevCharName = antiInfLoopTrap.currCharName;
antiInfLoopTrap.prevTaskName = antiInfLoopTrap.currTaskName;
antiInfLoopTrap.startCounter = 1;
}
if (antiInfLoopTrap.startCounter >= 15){ // need some clean up here
$(".footer-professions-taskdetails .button button.resetWindow").trigger('click');
WaitForState("").done(function () {
// continue with the next one
console.log('LOOP FAILURE');
createNextTask(prof, i + 1);
});
ps. I think you know where that snippet locates, and what version I used to test it...
Im confused about this if script find name "Character 1" from character list it Auto-load character names, (Noonereallys -mod) ??? DOes Automatically load character names now?
Im confused about this if script find name "Character 1" from character list it Auto-load character names, (Noonereallys -mod) ??? DOes Automatically load character names now?
or
ps. I took "charname extract" from Git -build, so I give credits to Noonereally, got it? ;D
:) think so
New version 1.10.06.01
Here is new version, added more automation to simplify "First run",
https://greasyfork.org/en/scripts/7808-neverwinter-gateway-professions-robot
To do,
+ LEadership needs optimization
I think after that script needs just better error handling/checks so it keep itself online 24/7/365.