Search results

  1. T

    Access to Internal Data

    Okay, you've already taken care of four of my proposals (in_hardcore, item_to_slot, have_outfit, and skill_to_effect -- I was only using has_equipped as an example of something that we could do with item_to_slot, but I sure don't mind it being added to ASH!), but while I was coming up with all...
  2. T

    Access to Internal Data

    A combination of the two, and furthermore I didn't want anyone else to feel like they shouldn't independently duplicate my proposals if they thought that they were good ideas out of a sense either that they were "mine" or that they had been rejected. To be frank, I was frustrated that I spent an...
  3. T

    Equip all familiars Script please?

    Well, it might depend. If Criswell is buying the IotM every month, then it will require regular maintenance. But if Criswell is a more novice player who is adding long-existing familiars like the bonus mushrooms or the NPZR, then a comprehensive list that is several months out of date could be...
  4. T

    Equip all familiars Script please?

    I've got such a script here: http://kolmafia.us/index.php/topic,91.0.html It probably doesn't have the last few months worth of new familiars, but it should be easy enough for you to fire up Notepad and see where in TirianLib.ash the associations are made and add in stuff like the spirit hobo...
  5. T

    Script or Link + Questions?

    As far as item-based maps. the one that would change my life is the one that would associate equippable items with the slot in which they are worn. That would pave the way for an am_i_wearing_a() boolean function that in turn would mean that you can see if you've got all the pieces of an outfit...
  6. T

    Chow mein creation script, advice needed please

    Assuming you're doing this every day and don't mind a little excess inventory, this might be a cleaner approach: void buy_up_to(int quantity, item it) { int deficit = quantity - item_amount(it); if (deficit <= 0) return; buy (deficit, it); } boolean sausage_chow_apalooza() { while (true)...
  7. T

    Odd Options such as Spirit Hobo Feeding

    Tell you what. Open up the minibrowser, feed the spirit hobo, and copy the url of the response page. Then tell us what that is and we can probably write a function that will allow you to feed any drink to the hobo.
  8. T

    So I wrote my first ash script, and . . .

    Another option would be cli_execute("buy 3 unguent"); since CLI will take steps to rectify incomplete item names.
  9. T

    So I wrote my first ash script, and . . .

    You need to match the location names with the names KoLmafia uses, which you can find most easily in the "Location" drop-down list of the Adventure window. In this case, the name of the location you want is just "Hidden Temple" (and you can do it all in lowercase if you rather). There are a few...
  10. T

    Mafia Area Hit + Avoid Ratings in ASH?

    A key part that would need to be scripted is the amount of monster level boosting you're doing. Here are a few functions that cover the worst of figuring that out: int [item] Mitem_to_ml_boost; Mitem_to_ml_boost[$item[hockey stick of furious angry rage]] = 30; Mitem_to_ml_boost[$item[stainless...
  11. T

    Changes to Non-Custom Combat Settings

    Wow. I've got my CCS set to run away from the Mechamech, Raver Giant, Alphabet Giant, and Astronomer, and switch back and forth from CCS to normal attack settings as my moxie grows. This gives me the ability to do that in ASH, by setting battleAction to either "custom" or "attack". Plus, more...
  12. T

    AT Song Name Changes

    For the most part, if you've got a line in a script that looks something like: if (have_effect($effect[polka of plenty]) == 0) use_skill(1, $skill[polka of plenty]); for an AT buff that is not named for someone, then you should comment the line out for the next few days. If you are using...
  13. T

    Adventure -> Camp -> Adventure kind of script?

    Barring any syntax errors, here's a script that does what you want: void main() { while (true) { if (my_adventures() == 0) return; adventure(1, $location[icy peak]); if (have_effect($effect[beaten up]) >= 0) cli_execute("rest 3"); } } Having written it, I would advise you to not run...
  14. T

    ASH changes in 7.9

    Yes, I've been working on the same thing. Maybe the admins should create a private forum for "powerusers and their scripts that they wouldn't want to fall into the wrong hands" so we can share our work. :D I found a few issues with moving toward adventuring for 1 turn at a time instead of...
  15. T

    ASH changes in 7.9

    My thought (when I requested it) was that one would place it in a between-battle script to let you know where you were just about to adventure so that you could do some last-second tweaking of buffs or MCD levels or what have you. I have to confess that Holatuwol added this really quickly...
  16. T

    Is there a way to only run scripts once?

    One option that would partially protect you would be to make sure that you run the daily script before you do any drinking, and then the first line in your script could be to check that your drunkenness is 0.
  17. T

    Is there a place in this forum for KoLMafia questions?

    As a tester, I can assure you that problems reported to the KoL forums do make themselves known in the private dev forum. Most of the time, they are reported in the dev forum first (which isn't surprising, since we are using the SVN codebase to a larger degree than anyone else). Based on that...
  18. T

    Mallbot

    In a product with KoLmafia's scope, it would be hard to draw the line between functionality that would satisfy ethical players and functionality that would be abused by haxxors. To be specific, I think that the line is drawn as well now as it could be: if you want to buy something, KoLmafia will...
  19. T

    RUnning ASH scripts

    Also, if you keep your scripts in subfolders of "scripts", the GUI automatically creates a lovely submenu tree structure for you. Maybe everyone already knew that, but it was a very pleasant surprise for me the first time I saw it. :)
  20. T

    Update to exdeath's Icy Peak Script

    I'm skeptical. Since we can all see that the average return from the peak is 210 meat (bows to Kitiwake and Veracity), the egg will give you around 105 meat per adventure, or 2100 meat per egg. So it's only a win if you happen to find an egg that sells for less, which would be a rare find. Even...
Back
Top