Search results

  1. T

    Reading the output from a cli command in ash

    Is there a way to get the output that a cli command produces so I can try and phrase it in an ash script? Specifically I'm trying to get the info "counters" produces to see I'm near the turn to possibly get a semi-rare. Tom
  2. T

    Standardized ash libs

    If we are going to start using a standardized lib I'd like to be able just to call the functions in it , rather than having to include it as we do now. The reason for this is that then I don't have to start worrying about possible name clashes with internal functions and variables. I suppose a...
  3. T

    Fuzzy matching change

    Well, I think my fuzzy brain probably needs fuzzy matching to go with my equally fuzzy typing. I can't spell for toffee,(I'm mildly dyslexic) but normally rely on using the full name in a script. To make sure I get this right I normally have open a copy of itemdescs.txt and copy and past from...
  4. T

    Custom Script problem

    Are the checks to prevent this still in? I don't regularly NPZR stasis farm the castle, but I'm sure I've done it occasionally with fairly high level characters recently. I'm not running a "hacked" version of mafia or anything - perhaps it just I'm somehow avoiding the checks, I know Holatuwol...
  5. T

    One-Click Wossname -- automatic level 12 quest completion

    I've run this successfully several times now but when my partner tried to run this she got > call scripts\Wossname.ash Checking for updates (running OCW ver. 1.3.1)... "optimal.txt" loaded (14 steps). Current step: 0 Verifying Wossname progress... Current step: 0 Completing step 0 of 14...
  6. T

    Sub-directories and scripts

    Ive been trying to tidy up my scripts directory and moved groups of scripts into subdirectories. This has had the unfortunate side-effect of breaking quite a few of them. The culprits seem mostly ones that use include, execute another script or use file to map. What seems to be the way Mafia...
  7. T

    Error when using uneffect Carlweather’s Cantata of Confrontation

    I've just tried this again under build 5663 and it seems to now work ! I don't know who did what to fix it but thanks anyway Veracity and Holatuwol. Tom
  8. T

    TirianLib.Ash (Sell_item)

    So would autosell( item_amount($item[Itemname]) - numbertoleave , $item[Itemname]) but I'm basically lazy, I mean I re-wrote the function so I didn't have to type $item[itemname] but just "itemname". It's a lot more to type each time if you are typing a long list! Tom
  9. T

    One-Click Wossname -- automatic level 12 quest completion

    You've gone wrong somewhere when killing the Frats. The clue to this us "You are on Frat-slaying pic 32" - should be pic 31 - which means you've killed all 1000 Frats on the battlefield, so when you adventure there again you get to kill the last hippy. Tom
  10. T

    ASH Function Reference Manual

    Is it possible that someone with global edit privileges could update at least the commands that have been renamed in the first few posts eg. Equip_familiar has become use_familiar. I know we can use ashref but we can't search it and it's sometimes hard to identify the command you need - it...
  11. T

    how to get a raffle ticket

    use cli_execute ( " raffle 1 inventory"); buys 1 using cash from inventory or cli_execute ( " raffle 1 storage"); buys 1 using cash from Hagnks
  12. T

    Super Advanced Cocktailcrafting

    I published another script in which I used a modified version of this script to make drinks every day. Now the original script has problems if you have too many of the cocktailcrafting accessories in stock so I put a check in to move the excess to the closet, I also put a check in so you could...
  13. T

    macguffin.ash (a script in progress)

    I think I've found a little bug - if you are adventuring in middle chamber and run out of adventures when you restart the next day it goes to the upper chamber to look for a carved wooden wheel which you don't need and I don't think ever drops again. I must admit I hadn't realised this was...
  14. T

    TirianLib.Ash (Sell_item)

    The nice thing about the Tirianlib Autosell function was that it would sell all but x of an item void autosell (item it, int leave) { int count; count = item_amount(it); if (count>leave) { int difference; difference = count-leave; sell_item(difference, it); } } I used as a basis...
  15. T

    One-Click Wossname -- automatic level 12 quest completion

    I've been looking at this on and of for several days trying to think of things that could cause this and it suddenly hit me it should be - file_to_map("warplans\\"+warplan.txt,plan); tested this under Linux and it works! Tom
  16. T

    Error when using uneffect Carlweather’s Cantata of Confrontation

    Can someone explain to me why this line of code if(have_effect($effect[Carlweather’s Cantata of Confrontation]) >= 1) cli_execute("uneffect Carlweather’s Cantata of Confrontation"); Gives me the error Unknown effect: Carlweather's Cantata of Confrontation when I have the effect. under...
  17. T

    One-Click Wossname -- automatic level 12 quest completion

    The "-Duser.home=/home/me/mafia" thing was something that was suggested to me when I first reported my problems with directories under Linux - can't find the original post now but it probably just pre-dates the one I gave earlier. I think it's probably redundant now. I suspect these updates...
  18. T

    One-Click Wossname -- automatic level 12 quest completion

    I did at the time - http://forums.kingdomofloathing.com:8080/vb/showpost.php?p=2308086&postcount=11094 At least some of this weirdness was fixed by subsequent releases but I was wondering if a little bit was still lurking somewhere. I hadn't realized they where now all under .kolmafia...
  19. T

    One-Click Wossname -- automatic level 12 quest completion

    In regard to the people having problems running the script under Linux, in the past I've had major problems with Mafia and directories doing this. At one time I had to install scripts in to two different directories as it was looking in one to populate the list of available scripts, but a...
  20. T

    Nothing to do with KoLmafia, proxy server info.

    A little, as an ex-network administrator - in what context though? Tom
Back
Top