Results 1 to 4 of 4

Thread: Automatic Banishing of Monsters

  1. #1
    Junior Member
    Join Date
    May 2006
    Posts
    22

    Default Automatic Banishing of Monsters

    Hello,

    I have researched a bit but I have not been able to figure out how to banish a monster automatically by using the available skills or combat items. Reading through BanishManager.java, it seems as though this should be simple and I have overlooked the interface for it. I am using BatBrain and in the source for the WHAM script I added a monster to the banish list, but without apparent effect despite possessing some of the appropriate combat items.

    Thanks for any help.

    -- DV

  2. #2

    Default

    Reading through BanishManager.java
    Originally Posted by datavortex View Post
    That code is for tracking banishes (for KoLmafia), not for actually banishing them (for KoL).

    I am using BatBrain and in the source for the WHAM script I added a monster to the banish list
    The threads for one of those scripts might be a place to look, if they are supposed to automatically banish stuff for you.

    Alternatively, you could just have a CCS (or similar) that is set to use a (specified) banish source when a specific monster shows up.

  3. #3
    Minion Bale's Avatar
    Join Date
    Jun 2008
    Posts
    12,968

    Default

    Adding a monster to the source in WHAM is a little more complex than just adding monster names since those only work under certain paths. Changing the source for SmartStasis isn't a great idea either since only the defaults are there. Once the zlib variable is set, the defaults become irrelevant.

    You need to change the zlib variable with the zlib command. (Not a native mafia command, but it will work that way.)

    In the CLI type "zlib banish" and you'll get some more information, like this:

    Code:
    > zlib banish
    
    Copy/paste/modify/enter any of the following lines in the CLI to edit settings:
    
    zlib BatMan_banish = senile lihc, slick lihc, A.M.C. gremlin
    (If no values were shown, no settings or values matched your input text. Type "zlib vars" to see all.)
    So follow those instructions, adding your monster to a comma separated list.
    Last edited by Bale; 12-26-2016 at 11:40 PM.

  4. #4
    Junior Member
    Join Date
    May 2006
    Posts
    22

    Default

    Perfect, exactly what I needed to know. I am done with my adventures for the day but I shall try this at rollover.

    As always, thanks for the scripts, for the help, and for the answer. Merry Crimbo to all!

Posting Permissions

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