Page 1 of 7 1 2 3 ... LastLast
Results 1 to 10 of 67

Thread: Dwarven Factory - Factory puzzle solver

  1. #1
    Senior Member That FN Ninja's Avatar
    Join Date
    Jun 2009
    Location
    Right behind you!
    Posts
    372

    Lightbulb Dwarven Factory - Factory puzzle solver

    DwaFa 1.3 - Dwarven Factory puzzle solver
    Dwarvish War Uniform here I come!

    Previously dwarven_factory.ash. Thanks Veracity!!

    This script automates the dwarven factory complex puzzle and retrieves the Dwarvish War Uniform item for you.

    Requires Zlib & Miner.ash

    User Preferences

    boolean delivery_quest
    If true will complete the Dwarven Factory Guild Quest (delivery service) before solving the factory puzzle.

    boolean puzzle
    Set this to false if you just want to use the script to complete the guild quest.

    boolean buyore
    If true the script will buy ore instead of mine for it.
    WARNING: buyore is false by default. This script will spend adventures mining for ore if you do not change this to true before executing.

    This is the order of the buying logic:
    First dwafa.ash checks the script's buyore preference and if that is true it will try to buy all the required ore and abort if unsuccessful.
    If buyore is false dwafa.ash passes control to miner.ash. Miner.ash tries to retrieve the ore, which means it might still buy it if autoSatisfyWithMall is true.
    If miner.ash is unable to retrieve the ore it will then proceed to mine for the rest.

    item transform
    Specify the piece of mining gear to transform. By default the script will get a piece of the Dwarvish War Uniform that you do not already have. If you already have all the components of the Dwarvish War Uniform this script will just abort. If you are a collector change transform to bypass this abort. (i.e. If you collect Dwarvish War Helmets set transform to miner's helmet)

    Here is an alias to complete the delivery service quest:
    alias ds => ash import <dwarven_factory.ash> prep(); delivery();

    Thanks to Veracity for adding Dwarven Factory support to KoLmafia.

    If you find this script useful donations in the form of in-game ninja paraphernalia are always appreciated! Thanks and enjoy the script!

    Change log:
    11.08.09 - Added buyore boolean.
    12.05.09 - Fixed a bug that was preventing the digit runes from getting parsed correctly.
    09.24.10 - Re-named. Re-factored code. Converted aborts to exits and prints to vprints. Fixed a bug in the outfit item selection logic.
    Attached Files
    Last edited by That FN Ninja; 09-24-2010 at 03:10 PM.
    TraFa - Training Familiars the Mafia way! queen_cookie.ash - Get your queen cookies.
    TurTa - Turtle Taming the Mafia way! hatter.ash - Mad Hatter buffs.
    DwaFa - Dwarven Factory puzzle solver.
    Miner - Automated ore mining.

  2. #2

    Default

    i love you...


    this is exactly what i was looking for

    thankyou

  3. #3
    Senior Member bumcheekcity's Avatar
    Join Date
    Mar 2009
    Posts
    1,401

    Default

    Thanks! Althouh can I advise in future creations, that you have an option to simply BUY the ore? I have lots of meat and few adventures after I ascend :P

  4. #4
    Senior Member That FN Ninja's Avatar
    Join Date
    Jun 2009
    Location
    Right behind you!
    Posts
    372

    Default

    Update v1.1

    I added a buy ore option. It is untested, but should be fine.

    Edit: The buyore feature has since been tested and works as intended.
    Last edited by That FN Ninja; 01-16-2010 at 09:52 PM.
    TraFa - Training Familiars the Mafia way! queen_cookie.ash - Get your queen cookies.
    TurTa - Turtle Taming the Mafia way! hatter.ash - Mad Hatter buffs.
    DwaFa - Dwarven Factory puzzle solver.
    Miner - Automated ore mining.

  5. #5
    Junior Member
    Join Date
    Feb 2009
    Posts
    13

    Default

    Good stuff, thanks a lot!

  6. #6
    Junior Member
    Join Date
    Nov 2009
    Posts
    2

    Default

    when I ran this script, it gave an error:

    End index 1 out of bounds (dwarven_factory.ash, line 236)

    I'm sorry I can't give many details, but here goes: I hadn't started the quest, but the script got and identified the cards. I think it said, "ores identified" just before the error.

    Subsequent attempts to run the script just seem to do a lot of adventuring in the Foreman's office.

  7. #7
    Junior Member
    Join Date
    Nov 2009
    Posts
    2

    Default

    Oh yes, and before I started, I changed the delivery_quest to true.

    When I switch delivery_quest back to false, I get the above error immediately.
    Last edited by Shire Beyay; 11-27-2009 at 04:57 PM. Reason: more testing results.

  8. #8
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    12,858

    Default

    How come you don't call this one "Dwa Fa" ?
    Ph'nglui mglw'nafh Cthulhu
    R'lyeh wgah-nagl fhtagn.

  9. #9

    Default

    Oh yes, and before I started, I changed the delivery_quest to true.

    When I switch delivery_quest back to false, I get the above error immediately.
    Originally Posted by Shire Beyay View Post
    This is what I got...

    You acquire an item: chrome ore
    Miner, miner, you're quite the miner!
    You acquire an item: lump of coal
    Hooper ores identified!
    End index 1 out of bounds (dwarven_factory.ash, line 236)

  10. #10

    Default

    omg i love you

Similar Threads

  1. 15042: Crimbot Factory items
    By RSS Bot in forum Latest SVN Changes
    Replies: 0
    Last Post: 12-15-2014, 12:20 PM
  2. 11713: Added monsters to Crimbokutown Toy Factory
    By RSS Bot in forum Latest SVN Changes
    Replies: 0
    Last Post: 12-18-2012, 10:52 PM
  3. Feature - Implemented Spectral pickle factory drop rates
    By Fred Nefler in forum Bug Reports
    Replies: 1
    Last Post: 04-01-2012, 10:37 AM
  4. Dwarven Factory
    By bumcheekcity in forum Community Support
    Replies: 1
    Last Post: 11-01-2009, 05:23 PM
  5. Interpreting /factory report
    By Chugsworth in forum Community Support
    Replies: 6
    Last Post: 05-22-2009, 03:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •