Search results

  1. jasonharper

    Pyromania - mana burning fine tuning

    This relay script exposes the hidden settings used by mafia's excess mana burning mechanism, that are too fiddly/limited-use to belong in the built-in UI. To use: * Make sure you're using KoLmafia revision 8871 or higher; this won't do anything useful on earlier versions. * Put this script in...
  2. jasonharper

    Dynamic Combat in the Age of Macros

    As KoLmafia inches its way towards full support for combat macros, it's clear that there needs to be a way to dynamically choose combat strategies, based on mafia's knowledge about the monster and the player, without losing the advantages of a macro-driven combat. This isn't always going to be...
  3. jasonharper

    Mafia hotkeys: combat action vs. CLI command

    Mafia currently has a combat hotkey feature, allowing single combat actions to be assigned to keys 0-9. I intended to change this to allow arbitrary combat macros, which would make the feature much more powerful: for example, you could use "attack; repeat" as a finishing move. However, it...
  4. jasonharper

    Bug - Fixed Incomplete parsing of cathedral battle

    (Posted here so I don't lose any of the relevant details...) Defeated a BRICKO Cathedral by funkslinging reactors; final combat page below. <html><head> <script language=Javascript> <!-- if (parent.frames.length == -1) location.href="game.php"; //--> </script> <script language=Javascript...
  5. jasonharper

    Form of...HTML!

    htmlform.ash (currently version 0.2) is a code library for building relay browser scripts that accept user input. If you're a script writer wanting to use it, see the second message in this thread for the documentation, and the third for a simple tutorial. If you were directed to this thread...
  6. jasonharper

    Scripts with user interfaces

    r8318 adds some experimental features for giving scripts a HTML-based graphical user interface, that appears in the relay browser. This isn't actually a new capability; the basic idea is simply a relay override script that doesn't actually override any existing KoL page, so it can create a page...
  7. jasonharper

    Breakable equipment fine tuning

    This script lets you specify what to do when equipment breaks in combat (abort, equip another, equip the previous item, etc.), individually for each breakable item instead of a global default setting. This capability already existed, but in the form of manual preference setting only; the script...
  8. jasonharper

    Slime vial recipes

    I've been thinking about the most efficient way to get the 91 discoveries and resulting trophy from the Sauceror Nenesis quest, and wrote a little script to simulate various strategies. The best I've found requires 91 each of the basic red/blue/yellow vials, and 238 cooks in 91 separate...
  9. jasonharper

    Items usable on other players

    So I sat down today to work on the long-missing support for items that can be used on other players (via curse.php) - only to find that the Wiki doesn't even have a list of such items! Arrrgh! Here are the ones I was able to come up with, what am I missing? wang brick roll of toilet paper...
  10. jasonharper

    Historical price data

    Ok, big change in r7531 - the most recently seen Mall price for each item is now remembered between sessions, so that you can always get an approximate idea of the value of any tradeable item without needing a server hit. The ASH functions to use are: int historical_price(item) - Returns...
  11. jasonharper

    ASH Plural Typed Constants

    r7525 introduces an experimental new ASH feature: plural typed constants. These allow you to easily do something with a list of specified objects, without having to replicate code or laboriously build up an array of the objects so that you can iterate over it. Here's a quick example: foreach...
  12. jasonharper

    Modifier Maximizer

    This thread is for feedback, bug reports, and suggestions related to the Modifier Maximizer feature, added in r7460. It is similar to the existing Basement helper, but appears in KoLmafia itself rather than the relay browser, and you get to choose what attribute you want to boost (or a...
  13. jasonharper

    Resistance is utile!

    This little script will compare your resistance levels as shown on your character sheet with those calculated by mafia. It may be of use in spading outfit bonuses, or finding errors in mafia's modifiers, without having to constantly look up the "Amazingly Unthinkably Moderate" stuff in the...
  14. jasonharper

    The Future's So Bright, I Gotta Implement 'Sort'

    As of revision 6953, ASH has a 'sort' command for arrays & maps. It's always bothered me a bit that this couldn't be written in a completely generic manner in ASH itself - and it's quite possible that the near future will bring some additional things that you might want to sort. The syntax is...
  15. jasonharper

    ASHREF in PDF

    For ASH scripters: the output of ashref as of revision 6823. sorted by function name, formatted in three columns so it fits on a single page, saved as PDF.
  16. jasonharper

    Counter images

    As of revision 6653, counters are visible in the relay browser as if they were effects, and you'll be able to specify a custom title and/or image with manually added counters: counters add number [title] [filename.gif] Images must be located within images.kingdomofloathing.com/itemimages/. With...
  17. jasonharper

    The Undiscovered Craftery

    This little script will generate a list of all of the creatable items that aren't already listed on your Discoveries pages. It's trophyriffic! Unfortunately, ASH has no way of determining what technique is used to create any given item - that's something you don't normally have to worry about...
  18. jasonharper

    Scarehobo part collector

    This script will collect parts for scarehobos, using phials (I intend to eventually make versions that use elemental cookbooks or Flavour of Magic). Unlike the script previously posted, this one actually visits Richard to determine which part is needed most (ties are broken randomly), and...
Top