Search results

  1. M

    Between Violence script

    I've got both RestorerSelecterASH.ash and QuestCheck.ash (and, of course, Illarion - Mana Restore 1.1.ash and BetweenViolence 1.2.ash), and it still gives that message. Like I said, when I run QuestCheck.ash by itself, it gives me the message I posted previously. Another problem I ran into is...
  2. M

    Between Violence script

    Thanks! That fixed that little problem... the only other one I'm running into now is anything referenching the QuestCheck.ash file, i.e. boolean cheapGalaktik = (QuestCheck("Galaktik", true) == "Completed"); boolean useGalaktik = (QuestCheck("Galaktik", true) == "Completed") || my_maxhp() -...
  3. M

    Between Violence script

    I keep getting Line 82, being if (!use_soda( amount)) return false; Help? :-\
  4. M

    Price comparison of healing via skill vs. other method, etc...

    If it would be at all possible, I'd like to see a script that goes off of the data collected here to determine if it would be best to use a healing skill, or ailment ointments, and then use that skill or purchase and use ointment. It would be nice if it would also *try* to use better healing...
  5. M

    Call external URLs?

    Hmm, I have it set as GET because I tried it as POST and it didn't seem to want to work properly then, either :\ I may have just messed something up then, though, heh. I will test it again.
  6. M

    Call external URLs?

    This is almost more of a mafia question itself, but I'd like to replace my log files with an SQL database. I've already got the PHP file written to grab the variables from the URL and insert them into the database along with the current date, but I can't call it through my script. Here's the...
  7. M

    Item Status in Tradeitems.dat

    I was in the process of doing the same thing, macman :D I'd also like to point out that the Familiar Gro Terrarium isn't marked as useable, and neither is the volleyball (which it needs to be to create a blood-faced volleyball). These are the only two I've noticed so far, but I'll keep looking...
  8. M

    Adventure Function Library

    I certainly hope so! :D The only reason I'm really asking for help is because it *is* such a *huge* project that's only able to be worked on while I'm not at work (welllll, I prolly could, heh), sleeping, etc. I do plan to do as much of it as possible on my own, though. Like I said, I'll start...
  9. M

    Adventure Function Library

    I did a quick run tonight on a new test character with the addition of the welcome_noob function from Tirian with some modifications (i.e. taking out the eating and drinking, since right now this particular function library is only for adventuring) and aside from running out of adventures, it...
  10. M

    Adventure Function Library

    Like I said, that check is mainly there for people who want to do things after they adventure/so, if needed, someone could run the script again without it aborting due to drunkeness. This way, they could have a script that contains void main() { cli_execute("login username"); eat(); drink()...
  11. M

    Adventure Function Library

    As far as the Beaten Up thing (I actually wrote that one myself in one of my first adventuring scripts using ASH), I agree it could be separated into a between battle script... I left out healing for the reason that I would hope most everyone has their own healing options set through mafia in...
  12. M

    Adventure Function Library

    Haha, I'm sure you're all sick of me by now! Still, I'm trying to help with this one... Firstly, bigbigbig love to Tirian for creating his own function library. I hadn't even thought about implementing something like that for ASH scripting, but... when I did, I got a brilliant idea! I decided...
  13. M

    Batch file help / Log file creation

    Understood. I have/had no desire for the date to be in/referenced by the script. I just wanted to know what I found on what date when I looked at the log files :) I will test this by running it tonight after rollover and let you know if I need to do anything else or change anything. Thanks!
  14. M

    Batch file help / Log file creation

    Yeah, I actually found one of his scripts that had something that appears to be similar enough to what I'm looking for using ASH, the only thing missing is the date, which I would like to include, but it may not be entirely necessary... still, if anyone could help me figure out how to accomplish...
  15. M

    Batch file help / Log file creation

    Okay, erm, this isn't really an ASH/CLI scripting request, but it pertains to working with them and KOLmafia, so... What I am looking for is a batch file which calls a script and logs information from said script. I'd like the logs filename to be in a format similar to...
  16. M

    Removing commas from int_to_string?

    Ohhh, thank you!
  17. M

    Removing commas from int_to_string?

    I'm trying to create a script that sends a variable amout of meat to each of my clanmates at the end of each daily run, but when I convert the int to a string and use it with the send function, it only sends the "second half" of the amount, i.e., if I were sending someone 1,234 meat, it would...
  18. M

    Creating/calling an importable script

    Heh, actually, that helped muchly. Sorry for the confusion, it was late, err, early... and I hadn't slept. Thank you so much for all your help!
  19. M

    Creating/calling an importable script

    Oh, that... kinda/sorta stinks, heh... Actually, I just moved the castle.ash file to the scripts folder, and it's still giving that error... does the charname.ash file have to be in there, too? 'Cause I'd rather it weren't... I've got enough scripts in there as it is. :-\ Edit: Actually... I...
  20. M

    Creating/calling an importable script

    I'm not sure if I did something wrong here, but I'm getting an error: castle.ash contains: void castleintheclouds() { while( my_adventures() > 0 ) { adventure( 1, $location[Castle in the Clouds in the Sky]); cli_execute("status refresh"); while ( have_effect( $effect[Beaten Up]) > 0) {...
Back
Top