Neverwinter gateway - Profession Automation

Automatically selects professions for empty slots

< Neverwinter gateway - Profession Automation 피드백

리뷰: 좋음 - 잘 동작함

Rotten_mind개발자
§
작성: 2015-04-10
수정: 2015-04-15

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

  1. if script find name "Character 1" from character list it Auto-load character names, (Noonereallys -mod)
    • this means that script needs just "username/password + Refresh page" for first run
  2. Vendor gathered, script Vendor RAW -materials if less than 2 pieces gold
    • VEndor PRof items, must be enabled and there is limit so it not Vendor all items
  3. leadership has now level check so Train assets starts only if its over level 3
  4. Auto level 20, if selected script skip task if profession is level 20
    • all slots are allocated to last task, what is LEadership (excluded from "level 20" skip)
    • most cases we just want 1 or 3 professions up level 20 for slots

To do,

+ LEadership needs optimization

  • add all professions Gathering task Tier 1 - 4
  • some code cleaning, maybe move functions other place
  • Automatic names cause problems if character is below LvL10

I think after that script needs just better error handling/checks so it keep itself online 24/7/365.

Rotten_mind개발자
§
작성: 2015-04-12
수정: 2015-04-14

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;
        }
§
작성: 2015-04-12

Thank you for the enhancements and continued support

Rotten_mind개발자
§
작성: 2015-04-15
수정: 2015-04-15

@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...

§
작성: 2015-04-15

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?

Rotten_mind개발자
§
작성: 2015-04-15
수정: 2015-04-15
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?
  • Look link, get new script, set first chracter named as "Character 1", reload script.

or

  • Delete script, install new one, add username/password, reload page and watch...
  1. Have fun and try optimize Leadership...

ps. I took "charname extract" from Git -build, so I give credits to Noonereally, got it? ;D

§
작성: 2015-04-16

:) think so

댓글 남기기

댓글을 남기려면 로그인하세요.