Search results

  1. T

    Any advice on runnig a vacation script on a Mac OS 10.5

    I've been asked about changing the script I posted earlier to use the still to consume the drinks it created instead of selling them. I thought about it for a bit and decided to hack it and my existing eating and drinking script somewhat and now I give you the resulting scripts here. Run the...
  2. T

    Super outfits... save an outfit correctly.

    Ah, Thanks - I've been meaning to write a script to do just this myself, but lack of time has prevented me from doing it, now I don't have to. Now all I need is enough time to try it out....... Tom
  3. T

    Any advice on runnig a vacation script on a Mac OS 10.5

    Well I can't help you with running the scripts, but I've got a few scripts I've written/modified to help run my turns semi-automatically as I'm spending far too much time renovating my new but old house just now - damned inconsiderate partners who want luxuries like bedrooms to sleep in...
  4. T

    auto BHH and friends

    I was running into problems running out of MP when running the auto bounty hunting script, It's supposed to restore but wasn't for me so I changed it sightly to use the mafia auto-recover figures to decide when to do a restore. the code changed is around line 104 # here, either combat is...
  5. T

    Teeny Tiny Suggestion

    I don't know, I go away for a while and people are threatening to remove a much loved feature......... Yes, I use it, I'd go as far as to say I need it - I'm dyslexic and I struggle having to remember how to spell things, even though I tend to use short abbreviated names for my scripts, having...
  6. T

    accessing the concoctions database

    Is it possible to access the concoctions database from a script? What I want to do is to be able to produce a shopping list of things I would need to buy to make "x" of an item i.e. the bits I don't have in inventory at the moment. I'm guessing the way forward might be to use a map to read the...
  7. T

    Why does this not work?

    I think cos it's going to the main() as the start of the code to execute. - not sure if there's a way around that though. Tom
  8. T

    macguffin.ash (a script in progress)

    If you look at the code there's comment in it that this may not work if it returns a string and I think this was changed so it did a few daily builds ago.I just commented it out see below- # this generic function tries to equip the best item into a slot # this works for hats, shirts, weapons...
  9. T

    put_shop

    Now I know we have somewhat different philosophies, and it's basically your program not mine, but surely all this restriction does is cause more server hits, it's fairly trivial to write a routine to do this - // Mall sells all but "leave" of an item void mall_sell(string item_string, int...
  10. T

    Buying raffle tickets

    See topic - http://kolmafia.us/index.php/topic,1496.0.html And I must say it worked for me, I've been buying 7 raffle tickets every day as part of the script for my daily breakfast routine  and the other day my normally hardcore multi , luckily currently doing some softcore runs, became the...
  11. T

    function my_closetmeat() dont work for me.

    Hmm, It appears this function doesn't exist anymore - I searched the source code - but I'm not sure what you can use in it's place. I've been trying to search the source code changelog but have failed to find a way so far. Anyone else got any suggestions?
  12. T

    Checking if a buffbot is online?

    Is there a way in ash to check if a user i.e. a buffbot is online, before trying to get a buff from them? Tom
  13. T

    Need a bit of help

    Are you running a very recent daily build i.e. one after the KOL equipment inventory change of Mar 5th ? - If not that can cause this sort of error. Tom
  14. T

    A few bugs...

    Can I add another query about drop percentages? - I'm going to do anyway so I'm not sure why I asked........ Mafia doesn't seem to change the meat drop for "disco nirvana" which should, I think, be 20% + - it does recognize the item drop equivalent Tom
  15. T

    Fuzzy matching change

    Re: Fuzzy matcher. Ash does not have fuzzy matching now as well - Most of the ash commands that exist in cli merely work as wrappers for their cli equivalent, they effectively call the cli command internally, so - no this would not work ! Tom  
  16. T

    Reading the output from a cli command in ash

    I probably could have worked it out; had it occurred to me that was the place they where stored, though come to think of it it's probably the only place they could be stored. I'll put it down to old age......... Tom
  17. T

    level as a condition

    I've used cli_execute("conditions add level 2"); I'm not sure if there's an ash version. Tom
  18. T

    Fuzzy matching change

    Now I'm quite happy with this change, but I wonder how many existing scripts will be broken by it - I my case two of my daily scripts have crashed due to things like missing "of"'s in the middle of names and I always try to paste and copy item names in as both my typing and spelling are lousy...
  19. T

    How to tell if an item is tradeable?

    Ask and ye shall receive..... revision 5799 Add is_tradeable() to ASH
  20. T

    Reading the output from a cli command in ash

    Sorry, I should have been more exact, it's the first line e.g. "Last semirare found 87 turns ago (on turn 8511) in Knob Goblin Laboratory" I'm trying to get, not the active counters. so I know where the last was found as well and I can make an educated guess when the next one would be due...
Back
Top