Greasy Fork is available in English.

Neverwinter gateway - Professions Robot

Automatically selects professions for empty slots

< 脚本Neverwinter gateway - Professions Robot的反馈

评价:好评 - 脚本一切正常

§
发表于:2015-07-26

custom profile

Love the script, now just trying to change things up after the leadership demise.

I cant seem to get a custom profile working. Just not sure how the UI is doing it.

So I CAN get a new profile from the custom setup.. Is there any way to edit it at that point in the UI? Or do I have to start over and rewrite it and re 'import' it?

With that, I cant seem to get the name input in there, or change it once its imported.

Any help with that?

§
发表于:2015-07-26

Ok Ive aswered my own question mostly, still 1 question left, Ill document after this comment.

Question remaining, though it seems purely 'decorative': How do you get the script to write in the 'base profile' name thats listed in the custom profiles list?

§
发表于:2015-07-26

So.... documentation.

To make a custom profile.
Go to the 'Custom Profiles tab'

Select the profession you wish to work with, in my case Artificing, in the task name drop down box.

Select the profile you would like to work with as a base in the 'base profile' drop down.. .... arghhh, never mind my last question about the base profile...

Click the 'Zoom' icon, the little magnifier to bring up the code of the profile you chose.

Copy the code from the window that pops up from the last step. Copy everything between the {} and ignore the decorative stuff at the top as well as the [] brackets at the top and bottom.

Select 'New' or whatever in the 'Base Profile' dropdown box.

Paste in your new profile code into the main code box where 'example' is shown.

Make your changes in the code itself at this point in the code box.

Click the 'Import' button.

The page reloads and you should have your new profile useable in the script.

§
发表于:2015-07-27

The base profile has a functionality, when you import a custom profile and have another as base profile, they can 'interact' for example empty levels will be automatically used from the base. for example with base profile AD:

"profileName": "RP+AD",
    "isProfileActive": true,
    "level": {
        "24": [
            "Leadership_Tier4_24_Wizardsseneschal",
            "+"
        ],
        "25": [
            "Leadership_Tier4_24_Wizardsseneschal",
            "+"
        ]
    },

Will turn into:

"profileName": "RP+AD",
        "isProfileActive": true,
        "level": {
            "0": [
                "Leadership_Tier0_Intro_1"
            ],
            "1": [
                "Leadership_Tier0_Intro_5",
                "Leadership_Tier0_Intro_4",
                "Leadership_Tier0_Intro_3",
                "Leadership_Tier0_Intro_2"
            ],
            "2": [
                "Leadership_Tier1_Feedtheneedy",
                "Leadership_Tier1_2_Guardduty",
                "Leadership_Tier1_2_Training"
            ],
            "3": [
                "Leadership_Tier1_Feedtheneedy",
                "Leadership_Tier1_2_Guardduty",
                "Leadership_Tier1_2_Training"
            ],
            "4": [
                "Leadership_Tier1_Feedtheneedy",
                "Leadership_Tier1_4_Protect",
                "Leadership_Tier1_2_Guardduty",
                "Leadership_Tier1_2_Training"
            ],
            "5": [
                "Leadership_Tier1_4_Protect",
                "Leadership_Tier1_5_Explore",
                "Leadership_Tier1_2_Guardduty"
            ],
            .
.
.
.
.
.
            "19": [
                "Leadership_Tier3_13r_Protectdiamonds",
                "Leadership_Tier3_16_Fight",
                "Leadership_Tier2_10_Battle",
                "Leadership_Tier3_13_Patrol",
                "Leadership_Tier3_17_Deliver",
                "Leadership_Tier2_12_Taxes",
                "Leadership_Tier2_9_Chart",
                "Leadership_Tier1_5_Explore"
            ],
            "20": [
                "Leadership_Tier3_20r_Master2",
                "Leadership_Tier3_20r_Master1",
                "Leadership_Tier3_20r_Master3",
                "Leadership_Tier3_13r_Protectdiamonds",
                "Leadership_Tier3_20_Destroy",
                "Leadership_Tier2_12_Taxes",
                "Leadership_Tier3_16_Fight",
                "Leadership_Tier2_10_Battle",
                "Leadership_Tier3_13_Patrol",
                "Leadership_Tier2_9_Chart",
                "Leadership_Tier1_5_Explore"
            ],
            "21": [
                "Leadership_Tier3_20r_Master2",
                "Leadership_Tier3_20r_Master1",
                "Leadership_Tier3_20r_Master3",
                "Leadership_Tier3_13r_Protectdiamonds",
                "Leadership_Tier3_20_Destroy",
                "Leadership_Tier2_12_Taxes",
                "Leadership_Tier3_16_Fight",
                "Leadership_Tier2_10_Battle",
                "Leadership_Tier3_13_Patrol",
                "Leadership_Tier2_9_Chart",
                "Leadership_Tier1_5_Explore"
            ],
            "22": [
                "Leadership_Tier3_20r_Master2",
                "Leadership_Tier3_20r_Master1",
                "Leadership_Tier3_20r_Master3",
                "Leadership_Tier4_22r_Capturebandithq",
                "Leadership_Tier3_13r_Protectdiamonds",
                "Leadership_Tier3_20_Destroy",
                "Leadership_Tier2_12_Taxes",
                "Leadership_Tier3_16_Fight",
                "Leadership_Tier2_10_Battle",
                "Leadership_Tier3_13_Patrol",
                "Leadership_Tier2_9_Chart",
                "Leadership_Tier1_5_Explore"
            ],
            "23": [
                "Leadership_Tier3_20r_Master2",
                "Leadership_Tier3_20r_Master1",
                "Leadership_Tier3_20r_Master3",
                "Leadership_Tier4_22r_Capturebandithq",
                "Leadership_Tier3_13r_Protectdiamonds",
                "Leadership_Tier3_20_Destroy",
                "Leadership_Tier2_12_Taxes",
                "Leadership_Tier3_16_Fight",
                "Leadership_Tier2_10_Battle",
                "Leadership_Tier3_13_Patrol",
                "Leadership_Tier2_9_Chart",
                "Leadership_Tier1_5_Explore"
            ],
            "24": [
                "Leadership_Tier4_24_Wizardsseneschal",
                "Leadership_Tier3_20r_Master2",
                "Leadership_Tier3_20r_Master1",
                "Leadership_Tier3_20r_Master3",
                "Leadership_Tier4_22r_Capturebandithq",
                "Leadership_Tier3_13r_Protectdiamonds",
                "Leadership_Tier3_20_Destroy",
                "Leadership_Tier2_12_Taxes",
                "Leadership_Tier4_24r_Killdragon",
                "Leadership_Tier3_16_Fight",
                "Leadership_Tier2_10_Battle",
                "Leadership_Tier3_13_Patrol",
                "Leadership_Tier2_9_Chart",
                "Leadership_Tier1_5_Explore"
            ],
            "25": [
                "Leadership_Tier4_24_Wizardsseneschal",
                "Leadership_Tier4_25r_Huntexperiment",
                "Leadership_Tier3_20r_Master2",
                "Leadership_Tier3_20r_Master1",
                "Leadership_Tier3_20r_Master3",
                "Leadership_Tier4_22r_Capturebandithq",
                "Leadership_Tier3_13r_Protectdiamonds",
                "Leadership_Tier3_20_Destroy",
                "Leadership_Tier2_12_Taxes",
                "Leadership_Tier4_24r_Killdragon",
                "Leadership_Tier4_25_Battleelementalcultists",
                "Leadership_Tier3_16_Fight",
                "Leadership_Tier2_10_Battle",
                "Leadership_Tier3_13_Patrol",
                "Leadership_Tier2_9_Chart",
                "Leadership_Tier1_5_Explore"
            ]
        },
§
发表于:2015-07-27
编辑于:2015-07-27

I've deleted between 5 and 19 or couldn't post here.

The + in custom profiles has two uses it can be used to add the tasks from the base profile in a new level, for example:

        "25": [
            "Leadership_Tier4_24_Wizardsseneschal",
            "+"
        ]

Will replace the + with the level from the base profile and turn it into

"25": [
                "Leadership_Tier4_24_Wizardsseneschal",
                "Leadership_Tier4_25r_Huntexperiment",
                "Leadership_Tier3_20r_Master2",
                "Leadership_Tier3_20r_Master1",
                "Leadership_Tier3_20r_Master3",
                "Leadership_Tier4_22r_Capturebandithq",
                "Leadership_Tier3_13r_Protectdiamonds",
                "Leadership_Tier3_20_Destroy",
                "Leadership_Tier2_12_Taxes",
                "Leadership_Tier4_24r_Killdragon",
                "Leadership_Tier4_25_Battleelementalcultists",
                "Leadership_Tier3_16_Fight",
                "Leadership_Tier2_10_Battle",
                "Leadership_Tier3_13_Patrol",
                "Leadership_Tier2_9_Chart",
                "Leadership_Tier1_5_Explore"
            ]

It will put them where the + was, so order is significant for example Level N: Task A, Task B, Task C, + , Task X Will become Level N: Task A, Task B, Task C, All the tasks from level N from the base profile here , Task X

Level N: +, Task A, Task B, Task C, Task X Will become Level N: All the tasks from level N from the base profile here ,Task A, Task B, Task C, Task X

A plus and a number when used instead of a level will copy the previous line number of times or until there is another set line, for example:

profileName : "mass refining",
        isProfileActive : true,
        useMassTask : true,
        level : {
            0: ["Weaponsmithing_Tier0_Intro"],
            1: ["Weaponsmithing_Tier1_Refine_Basic_Mass", "Weaponsmithing_Tier1_Gather_Basic"],
            2: "+25",
            7: ["Weaponsmithing_Tier2_Refine_Basic_Mass"],
            8: "+25",
            14: ["Weaponsmithing_Tier3_Refine_Basic_Mass"],
            15: "+25",
            21: ["Weaponsmithing_Tier4_Refine_Basic_Mass"],
            22: "+25",
        },

Level 1 will be copied to levels 2-6. Level 7 will be copied into 8-13. (Not from the base profile but the level that was set)

BigRedBot作者
§
发表于:2015-07-27

I always thought that it was odd behavior to have it interacting with the base profile like that. I always thought it would have been much better to have it replace all functionality, and any blank levels are filled in by the level above it that is not left blank. That was just my gripe with the way it was implemented.

But regardless, if you fill in every level, then it will always do what you want it to do.

§
发表于:2015-07-27

Level 1 will be copied to levels 2-6. Level 7 will be copied into 8-13.
(Not from the base profile but the level that was set)

§
发表于:2015-07-27
编辑于:2015-07-27

Maybe some more info here
https://github.com/Phr33d0m/NW-Profession-Bot/issues/126

That's the discussion that lead to that current system.

§
发表于:2015-07-27

ooo thank you. That is helpful information. I will check out the link too.

发表回复

登录以发表回复。