Neverwinter gateway - Professions Robot

Automatically selects professions for empty slots

< Feedback on Neverwinter gateway - Professions Robot

Question/comment

§
Posted: 2015-09-18

Reserve prerequisite resources for rare tasks

Feature request: Could we get a way to prioritize and reserve a specific number of prerequisite resources for the level 20 rare tasks as those are the only ones that now provide any RAD?

This would pretty much be what was already setup for the Patrol the Mines task but for other prerequisites.

We need:
#1 Marks of Gratitude - Which means prioritizing "Build Shelters" after the rare level 20 tasks
#2 A set number of Mining Claims, Region Maps & Siege Engines as priority before stepping back to the useful RP tasks. Patrol the Mines, Assemble Maps & Acquire Siege Engine.

I'd think a "3x3" approach would be a good general amount to have in reserve for if the rare tasks pop up. That just means enough resources in reserve to run 3x of that task simultaneously (a normal run) three times in a row. For example to be "prepped" for Build Shelters we would want a reserve of 135 Refuges ((15x3)x3).

Side thought: Prioritizing other tasks for Large or Very Large Chests of Goods for the rare professions tasks (for more of these prerequisite resources). I haven't tried to calculate the odds or worth of going this way but some people might want the option of going all out for the pre-reqs. Example being much more priority given to Resell Goods at Bazaar & Destroy Enemy Camp.

§
Posted: 2015-09-19

i have added some script to simplify the process,

if (taskname == "Leadership_Tier3_13_Patrol" && (skip_setting == 'always' ||
(skip_setting == 'ad' && profile.profileName == "AD") || (skip_setting == 'ld20' && professionLevel >= 20) ||
(skip_setting == 'AD&Lvl20' && professionLevel >= 20 && profile.profileName == "AD"))) {
if (countResource("Crafting_Resource_Mining_Claim") >= 10) {
console.log("Too many Mining Claims: skiping");
return false;
}
}

if (taskname == "Leadership_Tier3_19_Acquire" && (skip_setting == 'always' ||
(skip_setting == 'ad' && profile.profileName == "AD") || (skip_setting == 'ld20' && professionLevel >= 20) ||
(skip_setting == 'AD&Lvl20' && professionLevel >= 20 && profile.profileName == "AD"))) {
if (countResource("Crafting_Resource_Siege_Engine") >= 10) {
console.log("Too many Siege Engines: skiping");
return false;
}
}

if (taskname == "Leadership_Tier3_15_Rescue" && (skip_setting == 'always' ||
(skip_setting == 'ad' && profile.profileName == "AD") || (skip_setting == 'ld20' && professionLevel >= 20) ||
(skip_setting == 'AD&Lvl20' && professionLevel >= 20 && profile.profileName == "AD"))) {
if (countResource("Crafting_Resource_Refugee") >= 45) {
console.log("Too many Refugees: skiping");
return false;
}
}

adding these lines will allow the tasks to be skipped if they exceed their limits, you can change the amounts to your liking, these limits seem fine for me, when they are full it then resumes the next task, ex wizards satchel.

"25": [
"Leadership_Tier3_20r_Master1",
"Leadership_Tier3_20r_Master2",
"Leadership_Tier3_20r_Master3",
"Leadership_Tier3_16r_Buildshelters",
"Leadership_Tier3_15_Rescue",
"Leadership_Tier3_19_Acquire",
"Leadership_Tier3_13_Patrol",
"Leadership_Tier4_24_Wizardsseneschal",
"Leadership_Tier4_22_Guardclerics",
"Leadership_Tier4_21_Protectmagic",
"Leadership_Tier3_14_Assemble",
"Leadership_Tier2_9_Chart",
"Leadership_Tier1_5_Explore"
]
},

this can be modified to fit your needs.

§
Posted: 2016-04-11

Hi
Is that possible we could skip task on given resource limit with newest script version?
It worked fine with code above on 4.5.
Any skilled coder here that has an idea to make it work?

Post reply

Sign in to post a reply.