Page 1 of 2 1 2 LastLast
Results 1 to 10 of 17

Thread: JTN's All-In-One Farming Script

  1. #1

    Post JTN's All-In-One Farming Script

    Script files updated, see latest post.
    Last edited by jtn2002; 05-09-2012 at 05:42 PM.

  2. #2
    Developer
    Join Date
    Nov 2008
    Location
    Paris, France
    Posts
    4,510

    Default

    You could change those main()s' names to bananafarm() and meatfarm(), and have a main that simply calls the right function depending on the character name:
    PHP Code:
    void main()
    {
       if ( 
    my_name() == "jtn2002" )
       {
          
    bananafarm();
       }
       else if ( 
    my_name() == "multi1" )
       {
          
    bananafarm();
       }
       else if ( 
    my_name() == "multi2" )
       {
          
    meatarm();
       }

    Try the Nemesis Quest Script or the FamiliarFeeder interface.
    *shakes KoLMafia tech support magic 8-ball* Update mafia to the latest daily .JAR!
    NEW Dad ASCENSION STARTED 20120730
    ------------------------------
    Welcome to Parenthood, Noob

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

    Default

    PHP Code:
       else if ( my_name() == "multi2" )
       {
          
    meatarm();
       } 
    Originally Posted by slyz View Post
    Yeah! Whack them with your meat arm!

  4. #4
    Senior Member
    Join Date
    Jul 2007
    Posts
    1,193

    Red face

    Yeah! Whack them with your meat arm!
    Originally Posted by Theraze View Post
    I lol'd, haha.

  5. #5
    Developer
    Join Date
    Nov 2008
    Location
    Paris, France
    Posts
    4,510

    Default

    Code:
    > ash numeric_modifier( $item[ depleted grimacite grappling hook ], "Adventures" );
    
    Returned: 3.0
    Try the Nemesis Quest Script or the FamiliarFeeder interface.
    *shakes KoLMafia tech support magic 8-ball* Update mafia to the latest daily .JAR!
    NEW Dad ASCENSION STARTED 20120730
    ------------------------------
    Welcome to Parenthood, Noob

  6. #6
    Minion Bale's Avatar
    Join Date
    Jun 2008
    Posts
    13,287

    Default

    Also, is there a function to return how many adventures grimacite gear will get that day?
    Originally Posted by jtn2002 View Post
    Is that what you really want to know? There is a function to determine what you should wear to maximize your rollover adventures which takes that (and more) into consideration. Is that what you really want to know? There is also a way to determine how many rollover adventures that gear will grant you. Is that what you wanted to know? Or did slyz already tell you exactly what you need and I should butt out?

    Maximize rollover adventures:
    maximize("adv", false);

    Determine rollover adventures without changing gear:
    maximize("adv", true);
    int rollover_adv = numeric_modifier("_spec", "Adventures" );
    Last edited by Bale; 01-14-2012 at 08:35 AM.
    If people like my scripts, please send me stuffed Hodgmen.
    Universal Recovery, OCD Inventory Control, CounterChecker, newLife, ChIT.


  7. #7

    Default

    Thanks, Bale. I got it. I'm going to revise the first post next week with what I've developed. I also am implementing your OCD Inventory Control, so I must thank you for that script. Very handy for handling all that castlecrap. I put in the data for all equipment (keep 3 of each accessory, 1 of each other slot), and mallsell rest. Also mallselling all ingests as EatDrink will optimize those each day.

  8. #8

    Default

    New issue, I'm running r10578 and every time I get cunctatitis from the giants, I get an error saying You don't have a skill uniquely matching "Disco Power Nap", and when I check in the browser, it's telling me that between battle actions are failing.

    I don't want to auto-remove this status as I can still finish each adventure normally; but how do I "bypass" this stop command?

  9. #9
    Minion Bale's Avatar
    Join Date
    Jun 2008
    Posts
    13,287

    Default

    I'd recommend going into preferences -> General -> unselect "Auto-remove malignant status effects"
    If people like my scripts, please send me stuffed Hodgmen.
    Universal Recovery, OCD Inventory Control, CounterChecker, newLife, ChIT.


  10. #10
    Developer
    Join Date
    Mar 2006
    Posts
    1,367

    Default

    That's weird, it should only consider Disco Power Nap as a way to remove cunctatitis if you actually have the skill, but I don't have a character with low enough muscle to test getting cunctatitis to see what really happens.

    Do you have Disco Power Nap as an available skill but are unable to use it for some reason?
    Last edited by holatuwol; 02-23-2012 at 08:12 PM.

Similar Threads

  1. The Neo-Cow Farming Script
    By Banana Lord in forum Turn-Burning Scripts
    Replies: 191
    Last Post: 07-07-2011, 10:08 AM
  2. First try at a farming script
    By AgnesM in forum Turn-Burning Scripts
    Replies: 7
    Last Post: 07-14-2008, 04:54 AM
  3. Daily Farming Script (Formerly Known As "Script Noob")
    By T-Unit in forum Turn-Burning Scripts
    Replies: 14
    Last Post: 07-26-2007, 11:50 PM
  4. Daily farming script
    By BigH in forum Turn-Burning Scripts
    Replies: 22
    Last Post: 01-12-2007, 08:39 PM
  5. Farming Script
    By mmo.stuff in forum Scripting Discussion
    Replies: 1
    Last Post: 11-29-2006, 09:09 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
  •