JavaScript Lazy Professions menu

User Tag List

Page 11 of 14 FirstFirst ... 7891011121314 LastLast
Results 151 to 165 of 207
  1. #151
    llammahed's Avatar Member
    Reputation
    13
    Join Date
    May 2013
    Posts
    86
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I get funny errors after a while just like lots of other people. I found that it runs absolutely perfectly on the Mac 10.7 I have. I was very surprised but it's doing it's job for over 18 hours straight in Chrome 27, incogneto and regular.

    If you have a mac, give it a shot. I haven't figured out what causes the errors in windows environments.

    JavaScript Lazy Professions
  2. #152
    arglebargle's Avatar Private
    Reputation
    1
    Join Date
    May 2013
    Posts
    8
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think the funny errors are server side. I have 5 copies running in parallel with chrome on windows: two run flawlessly (90% of the time, until a job gets stuck or an asset bugs out) two are perpetually broken and the gateway won't let me start jobs at all (even without the script) and one works about half the time. I'm just gonna go with ~Cryptic~ here.

  3. #153
    birdman2021's Avatar Private
    Reputation
    1
    Join Date
    Jun 2013
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    there is an issue when setting which tasks to complete because you are using :contains. if you set mailsmithing to do chain mail +1, it will instead choose somthing like Prelates Chain mail +1 since it contains chain mail +1. can you update the code to look for exact matches on the tasks?

  4. #154
    arglebargle's Avatar Private
    Reputation
    1
    Join Date
    May 2013
    Posts
    8
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It's actually kind of useful to have :contains as the search parameter. You can generalize your lists to something like "platesmithing: ['Pants', 'Armor', 'Forge ', 'Gather ']" and you're set for automatic leveling no matter what tier you're working with. My solution to making the rare armors was to just mail myself the rare materials so they aren't in inventory.

  5. #155
    JustTheDoctor's Avatar Sergeant
    Reputation
    11
    Join Date
    May 2013
    Posts
    67
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by arglebargle View Post
    It's actually kind of useful to have :contains as the search parameter. You can generalize your lists to something like "platesmithing: ['Pants', 'Armor', 'Forge ', 'Gather ']" and you're set for automatic leveling no matter what tier you're working with. My solution to making the rare armors was to just mail myself the rare materials so they aren't in inventory.
    I have done the same, but I would not call it useful if you have to play with mail and material amounts so that you don't need to write few extra lines of code. Also using ['Pants', 'Armor', 'Forge ', 'Gather '] you are soon just crafting pants which can be a bit cheaper (assuming you actually can sell all the items you craft, otherwise its actually costs more), but is far from optimal considering experience gained. There is currently no real way to run the optimal route while gathering and refining materials. The best would be to prioritize the tasks to something like

    1. Armor +4
    2. Armor +2
    3. Armor +1
    4. Armor
    IF (NOT RUNNING 3x Armor +4)
    5. Refine rank 3
    6. Gather rank 3
    ELSE IF (NOT RUNNING 3x Armor +2)
    5. Refine rank 2
    6. Gather rank 2
    ELSE IF (NOT RUNNING 3x Armor +1 OR Armor)
    5. Refine rank 1
    6. Gather rank 1

    Current script will just Gather and refine rank 3 materials and never creates more low level armors. This slows down the experience considerably, and there is really no way around it.
    Last edited by JustTheDoctor; 06-12-2013 at 04:17 AM.

  6. #156
    sdowned's Avatar Member
    Reputation
    2
    Join Date
    May 2013
    Posts
    35
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  7. #157
    birdman2021's Avatar Private
    Reputation
    1
    Join Date
    Jun 2013
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yeah, i tried that but couldn't get it to work. I was hoping Op would be able to add it correctly since he did such a good job already. ill see if i can manage to get it in there.

    EDIT: The Doctor is right. There is no way to set this up optimally without greatly increasing the code. For example with Mailsmithing. I would want to make Mithral Rings if i didn;t have any, unfortunately because gather mithral ore has no prereq it would get stuck gathering mithral ore over and over, if i run out of chain armor + 2 it would never drop down to gather iron ore because mithral ore would be a higher priority and it would never know when to stop.

    But at least if its changed to exact match, i can stop it from burning my chain armor +1 and giving me useless prelate's chain armor +2. Then i could just run it over night to make chain armor +1 for me to manually upgrade.
    Last edited by birdman2021; 06-12-2013 at 12:24 PM.

  8. #158
    Svennen's Avatar Member
    Reputation
    1
    Join Date
    Jun 2013
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh, so here's where it's from... I found this as a script for GreaseMonkey on UserScripts.org. Very good job!
    But I have a problem getting it to complete some tasks... For example "Gather High Quality Iron Ore" and "Forge Iron Rings And Scales".
    Also I would love if it used an exact match, I solved it like others have by mailing myself the mats it would otherwise consume but still...

    But a great job nonetheless!

  9. #159
    arglebargle's Avatar Private
    Reputation
    1
    Join Date
    May 2013
    Posts
    8
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by birdman2021 View Post
    yeah, i tried that but couldn't get it to work. I was hoping Op would be able to add it correctly since he did such a good job already. ill see if i can manage to get it in there.

    EDIT: The Doctor is right. There is no way to set this up optimally without greatly increasing the code. For example with Mailsmithing. I would want to make Mithral Rings if i didn;t have any, unfortunately because gather mithral ore has no prereq it would get stuck gathering mithral ore over and over, if i run out of chain armor + 2 it would never drop down to gather iron ore because mithral ore would be a higher priority and it would never know when to stop.

    But at least if its changed to exact match, i can stop it from burning my chain armor +1 and giving me useless prelate's chain armor +2. Then i could just run it over night to make chain armor +1 for me to manually upgrade.
    Seriously, just mail yourself your stacks of residuum and the blue arcane stuff - you won't have to worry about the script consuming them. It's not ideal but it's a dead simple workaround.

  10. #160
    JustTheDoctor's Avatar Sergeant
    Reputation
    11
    Join Date
    May 2013
    Posts
    67
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    With latest patch, choosing assets is no longer required and might even flag you easier as a botter.

    Fast workaround, find the declaration of assign_person function and comment out some lines like this:

    assign_person: function(num) {
    if(!num) num = 0;
    // var assets = $('.taskdetails-assets .input-field button');
    // if(_private.use_optional_assets && num != (assets.length-1)) {
    // followup = _private.jobs.assign_person;
    // }
    // assets.eq(num).trigger('click');
    var followup = _private.jobs.start;
    _private.jobs.assign_asset(followup, num);
    },

  11. #161
    arglebargle's Avatar Private
    Reputation
    1
    Join Date
    May 2013
    Posts
    8
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I took a stab at updating the script to accommodate the changes from the patch, can someone code review for me? Most of my characters have the "I can't assign anything or start jobs" bug so I can't really test much. Thanks Cryptic.

    The bulk of the changes are commented in the "// test1 --" area

    javascript lazy professions (test1) - Pastebin.com

    edit: it seems to work quite well, I'd still love a code review though
    Last edited by arglebargle; 06-14-2013 at 10:19 PM.

  12. #162
    Roderna's Avatar Private
    Reputation
    2
    Join Date
    Jun 2013
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by JustTheDoctor View Post
    With latest patch, choosing assets is no longer required and might even flag you easier as a botter.

    Fast workaround, find the declaration of assign_person function and comment out some lines like this:

    assign_person: function(num) {
    if(!num) num = 0;
    // var assets = $('.taskdetails-assets .input-field button');
    // if(_private.use_optional_assets && num != (assets.length-1)) {
    // followup = _private.jobs.assign_person;
    // }
    // assets.eq(num).trigger('click');
    var followup = _private.jobs.start;
    _private.jobs.assign_asset(followup, num);
    },
    All you need to change is 1 line on 183...
    From
    Code:
                setTimeout(function() {
                    _private.jobs.assign_person();
                }, (2000 + (Math.random() * 1000)));
    To
    Code:
    	   setTimeout(function() {
                  _private.jobs.start();
               }, (2000 + (Math.random() * 1000)));

  13. #163
    Svennen's Avatar Member
    Reputation
    1
    Join Date
    Jun 2013
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Roderna View Post
    All you need to change is 1 line on 183...
    From
    Code:
                setTimeout(function() {
                    _private.jobs.assign_person();
                }, (2000 + (Math.random() * 1000)));
    To
    Code:
    	   setTimeout(function() {
                  _private.jobs.start();
               }, (2000 + (Math.random() * 1000)));
    Thank you very much! That certainly does the trick.

  14. #164
    arglebargle's Avatar Private
    Reputation
    1
    Join Date
    May 2013
    Posts
    8
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This works as well:

    Code:
                setTimeout(function() {
                    if (_private.use_optional_assets)
                      _private.jobs.assign_optional_assets();
                    else
                      _private.jobs.start();
                }, (2000 + (Math.random() * 1000)));
            },
           
            // merged assign_person and assign_asset, assign_asset was only ever called from assign_person anyway
            assign_optional_assets: function() {
                // see if we have any empty slots - if we don't, just start the job
                var empty_slots = $('.taskdetails-assets .icon-block.large.any-crafting.Junk.empty .input-field button');
                if(empty_slots.length > 0) {
                    // we have empty slots, click the first
                    empty_slots.eq(0).trigger('click');
     
                    setTimeout(function(){
                        // get available assets
                        var assets = $('.modal-item-list .icon-block');
     
                        if(assets.length > 0) {
                            // if we have a suitable asset, assign it
                            assets.eq(0).trigger('click');
     
                            // and recurse
                            setTimeout(function() {
                                _private.jobs.assign_optional_assets();
                            }, (1000 + (Math.random() * 1000)));
                        }
                        else {
                            // otherwise, close the modal window and get ready to start job
                            $('.modal-window .close-button').eq(0).trigger('click');
     
                            setTimeout(function() {
                                _private.jobs.start();
                            }, (1000 + (Math.random() * 1000)));
                        }
                    },  (1500 + (Math.random() * 1000)));
                }
                else
                    _private.jobs.start();
            },

  15. #165
    SteelRat's Avatar Member
    Reputation
    1
    Join Date
    Jun 2013
    Posts
    12
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Excellent program!

    Feature request:
    1. Multi-character, single browser support (I can not log in to my gateway account with multiple browsers. Tried FF & Chrome, including private browsing.): Put list of toon names in an array/hash, program loops through them checking status and queuing jobs.
    2. Exact match on job-names. (i.e. not using contains:)
    3. Non-random job selection: (From what I can tell, the program randomly picks a job from those that are available.) Should try first job in the array, and if that's not available try the next one and so on, like a priority list.

    If the author (or other competent programer) would like to contact me via PM, I'm happy to arrange a modest payment for the above changes, in the currency of your choosing.

Similar Threads

  1. [Release] Lazy professions - level the professions afk!
    By Arutha532 in forum Neverwinter Bots and Programs
    Replies: 128
    Last Post: 06-27-2013, 05:53 AM
  2. JavaScript Lazy Professions
    By Digitalxero in forum Neverwinter
    Replies: 95
    Last Post: 05-27-2013, 01:06 PM
  3. Replies: 106
    Last Post: 05-26-2013, 01:41 AM
  4. [Selling] Hand Farmed Gathering Professions! [Be Lazy, Get Legit Material With No Risk Of Ban]
    By JayPaul in forum World of Warcraft Buy Sell Trade
    Replies: 2
    Last Post: 07-14-2012, 02:53 PM
  5. AQ40 Disconnect lazy players
    By Matt in forum World of Warcraft Exploits
    Replies: 0
    Last Post: 05-02-2006, 01:13 PM
All times are GMT -5. The time now is 01:39 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search