Search results

  1. R

    help with my drinking script

    I'd like some comments on my drinking script. It works ok most of the time, although when my bartender breaks it freaks out. So I'd like to fix that. I recently added the counter to check for lack of ingredients... and it quits fine, but I'm not sure why the "create" doesn't always work...
  2. R

    acquireBuff - Get a buff from a buffbot

    So I just switched over to using this library for requesting buffs, but I'm running into some wierdness. This is how I'm calling it: "acquireBuff2 Carlweather's Cantata of Confrontation" And I seem to get an infinite loop... I understand waiting for the buff, but it seems to send kmail every...
  3. R

    waiting for a buffbot?

    Interesting. I'll check for constants next time.
  4. R

    waiting for a buffbot?

    I figured it out. The effect datatype makes me f'ing crazy. I never know how to use it. I changed the call to the function to: waitforit($effect["ode to booze"], 0); and the function to: int waitforit(effect buff, int turns) { print("buff ="+ buff); print("turns ="+ turns); if (turns == 0){...
  5. R

    waiting for a buffbot?

    I wrote a function to do this, but I'm having trouble with it. I pass it this: waitforit("Ode To Booze", 0); and this is the function: int waitforit(string buff, int turns) { print("buff ="+ buff); print("turns ="+ turns); if (turns == 0){ repeat { wait (10); refresh_status ()...
  6. R

    The Fruit Triplicator

    Neither of these scripts seem to work anymore. The fruit.ash will continue forever, regardless of how many turns you specify, without adding fruit to the machine. The fruitfarm.ash quits after only 1 adventure. Are these scripts broken for anyone else?
  7. R

    Slime Tube Adventuring Script

    Hi guys, I thought I'd give this script a shot, but I keep getting the error "you can't wear that outfit" when I run it. Am I supposed to manually make the minml and maxml outfits? (I installed htmlforms and zlib, the same error occurs using the regual and relay scripts).
  8. R

    external notifications (aka email from an ash script?)

    Hi guys, I've been working on my automation and I'm curious if there's a way to send out (actual) email from an ash script. I'd like to notify myself if there's an error. If there's not a direct way, I just set up a new linux server, so I could use the "mail" command but is there a way to send...
  9. R

    i suck at ash maps

    Edit: I looked up alias in the wiki, and it explains a bit... but where are these commands stored? For backup purposes.
  10. R

    i suck at ash maps

    I just wanted to reply and said I'd modified this into a one-line script I can just CLI with the "ash" command. (I wanted a quicky "available_amount"). ash print("Total limes are: " + (available_amount($item[lime]))); This is totally awesome and saves me from having to root around in my...
  11. R

    TrueMall: Using true, real, actual, dynamic mall pricing in KoLmafia scripts.

    I know this is a bit out of left field, but I would also like to see this. In my WoW-playing days I really enjoyed checking out www.wowecon.com. Historical data is very cool. Also, I love to play on yahoo's finance page. Those graphs are friggen' sweet!
  12. R

    item lists from text files?

    Awesome! Something I understand! Thanks Veracity! Back to the file thing: If someone has admin access to the wiki, they may want to add to the "file_to_map()" entry that the items in the file need to be tab-separated (at least on Windows). It's not readily apparent in the example, and I tried...
  13. R

    item lists from text files?

    The big difference is that I know how to use static arrays, while maps are new and scary.
  14. R

    item lists from text files?

    Ahh yes. Maps. They keep popping up. (Why can't we just use arrays?)
  15. R

    item lists from text files?

    I was just wondering if ash has the ability to open text files and pull input from them. I was thinking of writing an inventory manipulation script, but I don't really want a gigantic list of items in it... plus I would like to reuse the item list. Is this possible?
  16. R

    i suck at ash maps

    Got it! Thanks! I've never used maps before and I was a bit confused.
  17. R

    i suck at ash maps

    I'm working on a script that checks how many tiny plastic drinks I can make, but I've never used maps before, and I seem to be doing it wrong. string [int] map1; map1[1] = "sangria del diablo"; map1[2] = "cherry bomb"; map1[3] = "bodyslam"; map1[4] = "grogtini"; map1[5] = "dirty martini"...
  18. R

    The Fruit Triplicator

    I think fruits with two words break your script. I tried "fruit sea honeydew" (I also tried "fruit 'sea honeydew') and it puked: choiceAdventure452 => 3 Checking whether there's already a fruit bouncing around... Placing a none in the Pneumatic Tube Interface... [¶-1] has no matches...
  19. R

    Request: Dungeon Fist! solver

    I just ran it a bunch and it seems to work fine. Now I can start cashing in that stash of tokens I've been building up. Thanks guys!
  20. R

    Request: Dungeon Fist! solver

    I did see that thread, but it was listed in "bug fixes" so I didn't realize it actually had a script.
Back
Top