Search results

  1. I

    Super Advanced Cocktailcrafting

    A fair while back, I wrote this little function to utilize the still on a daily basis. I haven't used it for ages, but I think it still works. As an interesting demonstration of parallel evolution in action, w0rms code is very similar to mine, only neater! Mine has the advantage of buying soda...
  2. I

    FightOptimizer.ash

    I'd just like to thank Harry for writing this script, its extremely useful! I'd also like to thank all those who've helped make it possible, including hola, veracity, et al. I have encountered a rather strange issue, though. Well, its not really a critical problem, but it appears to be a bug...
  3. I

    script request

    Simply put "import <collectables.ash>;" at the top of the script, For some reason you have to do your importing right at the start of the script, before you do anything else. As for the collectors.txt, I put mine in my kolmafia/data directory; because its data and not a script, but it works...
  4. I

    script request

    About my collectors.txt file, you may certainly use it! I have made things easier for you, and wrote a small script which you should be able to import, to add the collectors functionality to your script. Simply put import <collectables.ash>; at the top of your script, and you should then be...
  5. I

    Modern castlefarming script

    The thing is, I want *lifelong* collectors of items, so that I can rest assured that they will still want to buy an item a month later, when I finally set up the tradeoffer. Your having gotten disabled once already leads one to worry that you might not be accepting trade offers in a months...
  6. I

    Reducing ASH function bloat

    Is it possible we could get an 'interim' period, with deprecated methods still being allowed, but with a warning that it is deprecated, and liable to be removed soon? Sort of like.. That way those of us without sed/perl can start replacing our soon to be deprecated methods, without having...
  7. I

    Modern castlefarming script

    He's been disabled? Wow, no wonder he hasn't replied to my trade offers... I'm beginning to wonder if this whole 'saving stuff for collectors, for increased profits' malarkey is worth it! I think I just need to be a bit more stringent with finding collectors. Like, only use collectors who appear...
  8. I

    11.0 (public release) bugs/problems

    Huh. I've got a vaguely similar script to accomplish much the same task as you, efil, although it does it in a slightly different way. Mine has a separate file for each 'action', smashing, autoselling, displaycasing, and saving for collectors. I keep these data files in my mafia/data directory...
  9. I

    Modern castlefarming script

    Yeah, mafia now requires us to use csend for philanthropic buff requests. When the change was released, I encountered the error, fixed it in my personal scripts, and continued oblivious. I did, however, recently release a new updated version of my script, which uses csend instead, so it works...
  10. I

    Modern castlefarming script

    Ooh, thanks, elfi! I'll incorporate those changes ASAP, and post up a new version of the script. I've also tweaked the clover getting process to be more efficient (by stealing someones kiss_clovers_in_stock function), so its due for a minor update anyway. As for the gallery farming, you might...
  11. I

    Pulverise results

    I'm a little bit confused as to the reason behind this kind of database. I mean, I seem to recall there is, in fact, a formula for what to expect from pulverizing equipment. I think the guys at feesher.com/anvil were the first to spade out the formula, and they use it for the some of their data...
  12. I

    Modern castlefarming script

    Hi, Le Canard. This was my mistake. I don't actually use DIYBooze, I drink DB drinks, so I didnt notice when I accidentally broke superhuman drinks. This was the offending line: print("trying to make some superhuman cocktails..."); if(my_primestat() == $stat[ moxie ]) { print("youre not a...
  13. I

    Modern castlefarming script

    I've had more than one person ask me how to modify this script, so I'm going to post a brief walkthough of how to modify this script, for a few commonly adjusted items. First, you can use any text editor to edit the script, notepad will do just fine. The commonly adjusted variables are all at...
  14. I

    "summary" quiet failure - empty file

    I have taken a fresh look at this, and it appears that 'summary [filename]' is ignoring its argument, and just printing out to the console, without writing to the specified file.
  15. I

    "summary" quiet failure - empty file

    I'm trying to use the CLI "summary" command to save a summary of the current session to a file, for spading purposes. However, I appear to keep getting an empty file! Well, almost empty. It's a 4-byte file, not a zero byte file, it appears to have two lines with carriage returns, but thats close...
  16. I

    get all clovers from hermit

    Well, how exactly did you put my code into your script? If you just copy-pasted the entire code block into a text file, and saved it as a .ash file, it wouldn't work off the bat. You will need a void main() function, in which you call the loot_hermit() function. Try this instead (this is good...
  17. I

    A Namespaces Script

    How about changing the fam() function to a more varied (and modern) familiar roster? Not everyone uses a CPM and an ADD, you know... Also, I changed the string recognition to contains_text, so that the following all work: fam bitten fam cheshire bitten fam bugbear fam pygmy bugbear shaman fam...
  18. I

    Modern castlefarming script

    Thanks, itamaram! That quoted if statement didnt quite work, but I was able to track down some if statements that do work via your profile. For the record, this is the eventual if statement I ended up using, instead of the klunky while (count < 0) loop I had... int split = maximumAdv / chunk...
  19. I

    Modern castlefarming script

    Updated with some new features, including some action for the new "The butler did it" trophy. Details are summarized in the first post. Expect future updates, when I get bored and work spiffy new features into it.
  20. I

    Script to buy buffs

    How exactly does this "csend" command work? Specifically, how can we request a buffing of a given non-free buff? Do we just request a free buff price with csend, and rely upon mafia to convert it to the appropriate non-free buff amount? To pick an arbitary example, say I want to request a...
Back
Top