Search results

  1. A

    New Content - Implemented New Yearly Familiars 2013

    Sorry. Not sure how to generate the right format. :( Don’t worry about it. ;)
  2. A

    New Content - Implemented New Yearly Familiars 2013

    Patch to track drops Here’s a patch that tracks drops for the two familiars.
  3. A

    BatBrain -- a central nervous system for consult scripts

    Sorry, I forgot most people don’t know how to use patches. :P
  4. A

    BatBrain -- a central nervous system for consult scripts

    Mafia r11618 changes the names of the basement monsters to match the names given in the Monster Manuel. This patch updates BatBrain accordingly.
  5. A

    Monster Manuel Relay checker

    My code replaces the existing matcher nam line (line 8). I think ckb’s code replaces the block of lines following if (find(nam)) { monname = group(nam); }.
  6. A

    Winterbay's Helpful Automatic Monsterbasher (WHAM)

    Only one copy. But I just tried redownloading it and now it works. Go figure.
  7. A

    Winterbay's Helpful Automatic Monsterbasher (WHAM)

    Every time I try to run the script, I get this: I’m running the newest BatBrain.ash, SmartStasis.ash, zlib.ash and WHAM.ash. I’ve also tried it with your BatBrain.ash, with no luck. I can’t actually find this 3‐argument version of enqueue anywhere. What am I doing wrong?
  8. A

    Monster Manuel Relay checker

    Just noticed that the script has issues with monster names that contain accented characters. This is easily fixed: matcher nam = create_matcher("(?<=(id='monname'>))([^<]+)",results); string monname = "";
  9. A

    Monster Manuel Relay checker

    Ah I see. In that case, both the \bs seem like unnecessary, unwanted, undesired and unwarranted repetition & redundancy to me. :p EDIT: It would be nicer to use Bale’s suggestion too: ^\s*(?:a |an |the |some )?(.+)$. I suppose this is a moot point, however, given ckb’s post. hey ckb what if...
  10. A

    Monster Manuel Relay checker

    Sorry for the delay. I was asleep. I have a confession to make: I’ve never quite understood how | works with regard to spaces. It’s probably something simple, but I’ve never actually looked it up, so I always over‐specify it using an inner group. Your way would likely work too, and more...
  11. A

    Monster Manuel Relay checker

    Nice script. Small problem: the checks for a/an/the/some cause errors if the monster’s name is too short. A simple way to fix this is to remove those checks and instead handle qname like this: if (find(nam)) { monname = group(nam); } matcher stripped_name =...
  12. A

    Character Info Toolbox

    This version seems to have the same problem my first attempt did: if the list of effects is empty, it fails to parse the mood due to a missing br. Changing line 2771 to read as follows fixes it: endwith = "]</font>";
  13. A

    Character Info Toolbox

    I managed to fix it by changing line 2897 to read: endwith = "</a>]</font><br>"; EDIT: This is slightly off. It breaks when you have no effects. Fixed version follows. Change line 2897 of charpane.ash to read: endwith = "</a>]</font>";
  14. A

    CONTEST: LotsOfPhil's Lunar Isotope Quest Script

    Well, I personally advocate code reuse wherever possible, as people tend to reinvent the wheel often, but I can see your point for a small script. That said, I looked at the code again and several other Zlib functions could be of use too: have_item() (wraps the item_amount and equipped_amount...
  15. A

    CONTEST: LotsOfPhil's Lunar Isotope Quest Script

    Very useful script—thank you! I have a few suggestions: Maximizing for just item drops left me holding a bottle-rocket crossbow as a TT, which meant I couldn’t hit anything. Maybe this would be better: if (my_primestat() == $stat[muscle]) { maximize("item +melee -tie", false)...
  16. A

    Feature - Implemented Change target platform from Java 1.4 to something newer.

    Sorry. That seems to be an artifact of Mercurial’s diff format. If I have any more enumification patches, should I post them here? Or would somewhere else be more appropriate?
  17. A

    Feature rationalize behavior of AdventureSelectPanel "begin" button

    Oh, sorry, didn’t know that was significant. :p
  18. A

    Feature - Implemented Change target platform from Java 1.4 to something newer.

    (Sorry for the sorta necro. I wasn’t sure where this should go.) I saw that roippi’s been converting things into enums. Thought I’d help out since it’s fairly tedious. Here’s a patch that replaces KoLConstants.ABORT_STATE, etc. with an enumeration. The vast majority of it was just searching...
  19. A

    Feature rationalize behavior of AdventureSelectPanel "begin" button

    Actually, that keeps going back and forth for me. Some revisions it automatically goes to the max, others it remains at zero (and therefore doesn’t adventure anywhere). It’s been in the second mode for a month or two now. :confused:
  20. A

    Scripting the birth of a new life.

    I see. Didn’t realize people automated choiceadvs in the Relay Browser like that. :)
Top