Page 67 of 69 FirstFirst ... 17 57 65 66 67 68 69 LastLast
Results 661 to 670 of 682

Thread: Best Between Battle Script Ever -- formerly AutoMCD

  1. #661
    Senior Member zarqon's Avatar
    Join Date
    Nov 2007
    Location
    Seoul, Korea
    Posts
    3,558

    Default

    Open the script in a text editor and find this line:

    Code:
           if (!have_familiar(f) || $familiars[cotton candy carnie, machine elf] contains f) continue;  // add familiars here you want to SKIP
    You can add familiars there that you want the script to avoid during its rotation.

    Also, SmartStasis would handle releasing the boots (and siphoning spirits, and many other things) for you. A beforeBattleScript can't very well handle the battle as well; you would need a duringBattleScript, which is otherwise known as a consult script (which is what SmartStasis is).
    Sig by JakAtk
    My scripts: Prefref Plus | Skillref Plus | One-Click Wossna | Om*****st (??) | Psychose-a-Matic | RandBot
    Combat suite: Best Between Battle | Mercenary Mood | SmartStasis | BatMan | BatMan RE
    For script authors: ASH Wiki | ZLib | BatBrain | CLI Links | Drag-n-Drop Inventories | CanAdv | Script Registry | Map Manager
    If you appreciate my work, help me become BAT KING OF THE WORLD! Thanks to all donators!

  2. #662

    Default

    thank you

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

    Default

    Candy is now a good thing!


    Code:
          case $location[the castle in the clouds in the sky (ground floor)]:
             if (item_amount($item[electric boning knife]) == 0 && !have_skill($skill[garbage nova])) {
                if(have_skill($skill[Sweet Synthesis]))
                   friendlyset(1026,"1","Want sweeties for synthesis.");
                else friendlyset(1026,"2","Get an electric boning knife.");
              } else friendlyset(1026,"3","Skip the foodie giant's room.");
             return;

  4. #664
    Senior Member zarqon's Avatar
    Join Date
    Nov 2007
    Location
    Seoul, Korea
    Posts
    3,558

    Default

    Is there a reason you included it within the boning knife logic?
    Sig by JakAtk
    My scripts: Prefref Plus | Skillref Plus | One-Click Wossna | Om*****st (??) | Psychose-a-Matic | RandBot
    Combat suite: Best Between Battle | Mercenary Mood | SmartStasis | BatMan | BatMan RE
    For script authors: ASH Wiki | ZLib | BatBrain | CLI Links | Drag-n-Drop Inventories | CanAdv | Script Registry | Map Manager
    If you appreciate my work, help me become BAT KING OF THE WORLD! Thanks to all donators!

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

    Default

    Oops?

  6. #666
    Senior Member zarqon's Avatar
    Join Date
    Nov 2007
    Location
    Seoul, Korea
    Posts
    3,558

    Default

    Haha! Got it.

    설날 is coming up soon (lunar new year), so I'm hoping to get my mood script releasable, but there are some rather daunting bits left. We shall see.

  7. #667
    Developer fronobulax's Avatar
    Join Date
    Feb 2009
    Location
    Central Virginia, USA
    Posts
    4,122

    Default

    BBB doesn't not play nicely with G-Lover, as might reasonable be expected given zarqon's honeymoon :-)

    Specifically it unconditionally uses evil eyes and if there are any present then automation aborts.

    I changed

    cli_execute("use * evil eye");

    to

    if (my_path() != "G-Lover") cli_execute("use * evil eye");

    My text editor doesn't want to show me line numbers at the moment but search for "evil eye" will get you there.

  8. #668
    Senior Member
    Join Date
    Feb 2010
    Posts
    970

    Default

    Thank you. I'm just about to start a G-Lover run and this will save me some grief.

  9. #669
    Senior Member
    Join Date
    Feb 2010
    Posts
    970

    Default

    One more change:

    Near the top of the file add "G-Lover" to the list of paths where we ignore the cookie counter.

    Code:
       if (my_fullness() >= fullness_limit() || !can_eat() || my_meat() < 40 || my_fullness() == 0 || ($strings[Zombie Slayer,Avatar of Jarlsberg,G-Lover] contains my_path())) return true;

  10. #670
    Minion asturia's Avatar
    Join Date
    Apr 2006
    Location
    Belgium
    Posts
    201

    Default

    is the svn version the latest version of the script or do I need to edit the changes mentioned on the last page.
    Just returning from a 3 year hiatus, so I need to update all of the scripts I used before.

Similar Threads

  1. Replies: 0
    Last Post: 12-11-2013, 10:50 PM
  2. Feature - Rejected Between battle script doesn't fire in Hidden Temple
    By picklish in forum Bug Reports
    Replies: 15
    Last Post: 03-14-2011, 08:58 AM
  3. Bug - Fixed adventure() from a between battle script changes combat filter
    By picklish in forum Bug Reports
    Replies: 0
    Last Post: 03-13-2011, 06:14 AM
  4. Replies: 2
    Last Post: 05-04-2007, 10:56 PM
  5. Changing equipment in a between battle script. Is this possible?
    By Darkness in forum Item Handling Scripts
    Replies: 1
    Last Post: 02-15-2007, 04:07 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
  •