Page 23 of 23 FirstFirst ... 13 21 22 23
Results 221 to 228 of 228

Thread: My personal Meat farming script

  1. #221
    Senior Member VladYvhuce's Avatar
    Join Date
    Feb 2016
    Location
    Kansas
    Posts
    212

    Default

    Ok... So, basically, I missed the point of the script as being for Aftercore... Whoops. That would explain a lot of the snags I keep running into.

  2. #222
    Senior Member
    Join Date
    Apr 2009
    Posts
    1,672

    Default

    Oh, I see what you are saying. Yes. You don't need to equip the fledges. You DO have to equip either the fledges or the outfit.

    Given that you want to visit a location unlocked by the fledges, there is no reason whatsoever to not wear the fledges rather than the outfit; wear a single (superior) accessory, rather than an accessory, a hat, and pants. Actually, once you have the fledges, there is no reason to wear the outfit, period.
    Originally Posted by Veracity View Post
    Yes, the difference is only relevant in-run (below 60 myst, which is the equip requirement for the fledges).

  3. #223
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    11,038

    Default

    I added a new setting:

    Code:
    // When selecting candies, is available amount more important than mall price?
    
    boolean synthesis_prefers_available = define_property( "VMF.SynthesisPrefersAvailable", "boolean", "false" ).to_boolean();
    Previously, when choosing which candies to synthesize, we passed in the flag which said to find the combo for which you already had the most available candies, rather than the one which had the cheapest total mall price. Now, the default is to find the cheapest total mall price combo.

    If you want to stock up on cheap candies (or already have done so), you can still get that effect by setting this property to true.

    KoLmafia already has a setting - valueOfInventory - which you can set to determine how to value items in inventory vs. mall price. I wonder if that could/should be used in a new candy acquisition mode for Sweet Synthesis, either in KoLmafia itself or in this script? If so, then this will want to be a keyword rather than a boolean.
    Ph'nglui mglw'nafh Cthulhu
    R'lyeh wgah-nagl fhtagn.

  4. #224

    Default

    I tried running this script yesterday to trial test it on multi that was level 12, 0 IoTMS, no skills, no ascensions.

    Everything seemed normal at first, it bought Drink me potion and obtained the +meat buff. However, an error came up thereafter about searching for scroll of drastic healing and being unable to buy 97 scrolls of drastic healing. Is this supposed to happen? Or did it happen only because I'm running it on such a low level and no skill account?

  5. #225
    Senior Member
    Join Date
    Feb 2010
    Posts
    851

    Default

    An additional hurdle is that the script is not intended for use in-run.

  6. #226
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    11,038

    Default

    Well, yes.

    I have two classes of characters:

    1) Those who have Cocoon
    2) Those who do not.

    Now, as is one of the requirements of the script, I have set up KoLmafia's HP/MP restoration to my taste. My taste includes using scrolls of drastic healing for the characters who don't have Cocoon. Since KoLmafia's built-in restoration will not purchase restoratives, the script makes sure to have enough such that restoration will not fail.

    However, that's not really the general solution. I think a better way to order things:

    1) If you have a recoveryScript, cool
    2) If you know Cocoon, cool
    3) Otherwise stock up on scrolls, as before.

    Given that, you could simply install Bale's Universal Restoration, for example, and it will take care of you, including buying items as needed (if you are in aftercore), if I recall.

    The issue that this script is not intended to be used in-run, as Magus_Prime points out, still stands. But if I can remove hurdles that make it more difficult to use - mainly due to lack of configuration, say - I'm open to help.
    Ph'nglui mglw'nafh Cthulhu
    R'lyeh wgah-nagl fhtagn.

  7. #227

    Default

    I see, that explains. I will try it out the script again when I get Cocoon then! Thanks for clarifying

  8. #228
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    11,038

    Default

    I adjusted the script. You are expected to have HP restoration configured - as the Requirements comment indicates - but it no longer enforces a particular kind of restoration.

    If you have a restoration script, or know cocoon and have it configured, or have drastic scrolls configured, that is enough.
    Otherwise, it will print red warning message, but continue.

    It no longer buys scrolls of drastic healing - even if you have them configured - since KoLmafia's HP restoration code will, judging by the code, "acquire" them as needed, if you have "purchase from mall" as an available acquisition method. If you DON't have that enabled, there's no point in the script trying to "acquire" them.

    Buying 100 at a time means there will be fewer server hits to purchase scrolls - but KoLmafia itself will buy them 30 at a time.

    I could have sworn that I put in this autopurchase because the script aborted, long ago, by failing to recover, but I don't see how that could happen. If it happens again, I will investigate further.

    Revision 80
    Ph'nglui mglw'nafh Cthulhu
    R'lyeh wgah-nagl fhtagn.

Posting Permissions

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