Page 2 of 4 FirstFirst 1 2 3 4 LastLast
Results 11 to 20 of 38

Thread: auto_mushroom: the perfect mushroom-growing script

  1. #11
    Senior Member
    Join Date
    Mar 2012
    Posts
    247

    Default

    Stealthy update: If you begin planting on day 9 or 10, you'll still get 6 gloomy black mushrooms that cycle instead of zero.

  2. #12
    Junior Member
    Join Date
    Nov 2009
    Posts
    10

    Default

    In the cli, I get the following error:

    Unknown variable 'field' (auto_mushroom.ash, line 1)

  3. #13
    Senior Member
    Join Date
    Mar 2012
    Posts
    247

    Default

    In the cli, I get the following error:

    Unknown variable 'field' (auto_mushroom.ash, line 1)
    Originally Posted by Rowah View Post
    You'll need to print more of a diagnostic. Are you running the script from the mushroom planting interface? Is the script in your planting folder? What version of KoLmafia are you running?

  4. #14
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    11,300

    Default

    As you can tell from the "notify", I'm giving this a try. Even when I'm in aftercore for a while - and I figure I'll be in aftercore this time until the next Challenge Path comes out, at least - I long ago gave up on mushrooms because it required too much fiddling. Your script looks very comprehensive and appears to be "set and forget" to get the best possible results.

    Obviously, it's too soon for me to see the magic at work, but I have high hopes. Thanks in advance.
    Ph'nglui mglw'nafh Cthulhu
    R'lyeh wgah-nagl fhtagn.

  5. #15
    Senior Member
    Join Date
    Mar 2012
    Posts
    247

    Default

    As you can tell from the "notify", I'm giving this a try. Even when I'm in aftercore for a while - and I figure I'll be in aftercore this time until the next Challenge Path comes out, at least - I long ago gave up on mushrooms because it required too much fiddling. Your script looks very comprehensive and appears to be "set and forget" to get the best possible results.

    Obviously, it's too soon for me to see the magic at work, but I have high hopes. Thanks in advance.
    Originally Posted by Veracity View Post
    Thanks Veracity!

  6. #16
    Junior Member
    Join Date
    May 2010
    Posts
    13

    Default

    I'm getting the same error. 15.3, in the planting folder, from both the main pane and planting interface. Everything worked fine until the brushfire event started.

    Unknown variable 'field' (auto_mushroom.ash, line 1)

  7. #17
    Senior Member
    Join Date
    Mar 2012
    Posts
    247

    Default

    I'm getting the same error. 15.3, in the planting folder, from both the main pane and planting interface. Everything worked fine until the brushfire event started.

    Unknown variable 'field' (auto_mushroom.ash, line 1)
    Originally Posted by dorath View Post
    Is is the straight 15.3 version? Or is it one of the hourlies?

    Also if you could post a screenshot or copy of the CLI log that would be very helpful.

  8. #18
    Junior Member
    Join Date
    May 2010
    Posts
    13

    Default


  9. #19
    Senior Member Winterbay's Avatar
    Join Date
    Feb 2010
    Posts
    5,033

    Default

    I just reproduced this in the latest hourly build.
    Steps:
    1) Download and extract items to the Planting folder (which I had to create first)
    2) Buy a mushroom plot
    3) On the "One day planting" tab, press "Script Layout" and locate auto_mushroom.ash and pick that (may not be necessary I realize afterwards)
    4) Go to the "Script Generator" tab and press "Load Layout"
    5) Press "Run layout"
    6) Get error message

    Edit: The layout has entries for day 4 to 7 while day 1-3 and "final" are empty. May this be part of the problem? (I've never used a mushroom planting script before)

    Edit, edit: Well, I think I've found the problem. For some reason Mafia, during one of the steps above, replaced the auto_mushroom.ash file with
    Code:
    field harvest
    field pick 1
    field pick 2
    field pick 3
    field pick 4
    field pick 5
    field pick 6
    field pick 7
    field pick 8
    field pick 9
    field pick 10
    field pick 11
    field pick 12
    field pick 13
    field pick 14
    field pick 15
    field pick 16
    No idea when and what though
    Last edited by Winterbay; 06-27-2012 at 03:02 PM.
    My scripts:
    Best sushi for Profit
    Winterbay's Helpful Automatic Monsterbasher (WHAM)

    Scripts maintained by me:
    Autobasement
    Smashlib

    A small programmer joke:
    Wife: Honey, please go to the market and buy 1 bottle of milk. If they have eggs, bring 6.
    The man came back with 6 bottles of milk.
    Wife: Why did you buy 6 bottles of milk.
    Man: Because they had eggs...

    The 6 Stages of Debugging: 1 )That can't happen. 2) That shouldn't happen. 3) Hmmm, weird. 4) Why does that happen? 5) Oh, I see. 6 )How did that ever work?

    All programs can be optimized, and all programs have bugs; therefore all programs can be optimized to one line that doesn’t work. /Bob Fitch, Blizzard

  10. #20
    Senior Member Theraze's Avatar
    Join Date
    Mar 2010
    Posts
    8,741

    Default

    Doesn't the layout tab only support part of the schedule? I think for a 'good' auto-script (basically anything that will do the full 16 day schedule) you just set it as your script using the automation preferences tab (or gCLI), and leave it...

Similar Threads

  1. Script Request: Astral Mushroom optimizer
    By Czar of the 3rd Reich in forum Turn-Burning Scripts
    Replies: 1
    Last Post: 12-05-2014, 11:54 AM
  2. Bug - Fixed r13470 - Login script not running because of mushroom plot
    By Fluxxdog in forum Bug Reports
    Replies: 20
    Last Post: 01-09-2014, 04:05 AM
  3. Modified mushroom script to produce 3rd +4th gen crop
    By tebee in forum Item Handling Scripts
    Replies: 37
    Last Post: 09-07-2013, 07:50 PM
  4. My window is growing.
    By Pinky in forum Community Support
    Replies: 0
    Last Post: 12-19-2007, 03:21 PM
  5. Knoll Mushroom Script
    By L33t Masta in forum Scripting Discussion
    Replies: 1
    Last Post: 06-09-2006, 03:18 AM

Posting Permissions

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