Search results

  1. T

    getAdventure.ash

    I've updated this slightly to maintain health and mood. Unfortunately it still fails on some non-combats - in the extreme slope for instance - and I'm not quite sure what is happening in this case.
  2. T

    auto BHH and friends

    I had a problem running my slightly hacked version of the original script(as posted above) today. It told me it couldn't anywhere to adventure for the bounty hunt, now the only available location should have been Knob Goblin Laboratory but the script was throwing an error "unknown location ...
  3. T

    Checking if level 12 quest is completed

    can anyone suggest a nice easy way to check if the level 12 quest is completed? There's a setting "warProgress=finished", I thought I might be able to use, but unfortunately it doesn't reset on ascension!
  4. T

    auto BHH and friends

    Actually I probably would not have noticed the typo as I'm dyslexic but, because I'm dyslexic I tend to copy and past everything and use spell checkers whenever possible. When I was checking the post I noticed it was underlined in red by the Firefox spellchecker! - I did check the code change...
  5. T

    auto BHH and friends

    I've just noticed Veracity's added Revision 6138 which adds "Huanted(sic) Wine Cellar (Random)" - chooses a random corner of the wine cellar to adventure in each time. This is probably a better option to use. I'll build this version, test it and post a new versions of the scripts later. Tom
  6. T

    auto BHH and friends

    Here's the scripts I've changed to get this working with the revised wine cellar - I seem to remember I renamed one at some point in the past for reasons I now forget, but it's the same script with a different name if you see what I mean ... It worked today!
  7. T

    Ash documentation....

    Firstly can I say I wholeheartedly support the idea of having a complete and up to date wiki and am quite happy to do what I can to help. Having had a play and added a few things I can see merits in both approaches being suggested. The list of commands shows which still need to be added as...
  8. T

    auto BHH and friends

    Just discovered that build 6101 breaks these scripts as the haunted wine cellar is now four separate zones. Changing the location to one of the new zones eg. haunted wine cellar (lower left) seems to work although it still produces error messages saying haunted wine cellar has multiple matches...
  9. T

    retrieve_item - limit when buying?

    Does retrieve_item have a limiting price when buying an item ? I've got a script which gets and drinks a corpsetini which has just reached 20,000 meat in the market and it stopped working saying " purchase stopped" Tom
  10. T

    Hippymon's sidequest catalog, updated 09 December 2007

    OK here's a version that appears to work(attached as well, for download) - notify <zammywarrior>; void ClassLink(){ if(my_class() == $class[seal clubber] || my_class() == $class[disco bandit] || my_class() == $class[pastamancer]) visit_url("guild.php?place=ocg"); else if(my_class() ==...
  11. T

    Hippymon's sidequest catalog, updated 09 December 2007

    Yep, your probably right, better merged For some strange reason my editor was telling me the other line was line 9 but when I count them it's only line 8, so you're right again it's the conditions line. Should this not be conditions(1, to_string($item[Fernswarthy's key])); or even more...
  12. T

    Hippymon's sidequest catalog, updated 09 December 2007

    Error running wizard of ego script I was explaining to my daughter how good Mafia was and how she could use scripts on her character to do the quests now she's ascended once and finds redoing them boring. I was trying the wizard of ego script part of Hippymon's sidequest catalog see -...
  13. T

    help a new guy get started

    I suppose it's something of a style thing, I like to have similar routines to do similar things , it means when you come back and try to remember what your code was doing you only have to work it out once. I personally value clarity of code over brevity. I can write tight efficient code when...
  14. T

    help a new guy get started

    Ah, even more things I didn't know about Mafia and I've been scripting for about 15 months now. I don't claim this script to a great feat of programing , it had it's origins in a number of scripts I've hacked together, mostly originating in ones downloaded from here over the months, though I've...
  15. T

    unfulfilled conditions

    Thanks that's solved my little problem - one other thing I discovered was it's advisable to do a cli_execute("conditions clear"); as well as the print statement as otherwise it will still be looking for whatever you have not found when you next adventure somewhere else and the probability is it...
  16. T

    help a new guy get started

    Ah - I did not know that........ Guess we really ought to get on with that wiki..... I've put an updated version of the script in the post above - maybe I ought to test it myself....... Tom
  17. T

    help a new guy get started

    The import will fail if you you haven't downloaded and unzipped to your script folder the bounty hunter files from http://kolmafia.us/index.php/topic,1473.0.html - in fact the bhh bit of the script is lightly modded version of one of those files. There's a line - if...
  18. T

    help a new guy get started

    Here's a script which does roughly what you want, although it's untested in it's current form, it's a collection of bits from various scripts I use which do work. It needs the bounty hunter library from the link in the last post and you'll need to change the outfit and mood names to whatever you...
  19. T

    unfulfilled conditions

    If I set a condition and adventure for "x" turns in a location , if the condition is not satisfied at the end of those turns a script will stop. Is there a way of getting it to continue on regardless? - it would be nice if I could tell if it had been successful or not, but this is not vital. In...
  20. T

    List sorting features in KOLMAFIA.....

    Just what is wrong with it looking like a spreadsheet? It would seem the natural interface for this sort of data. Tom
Back
Top