Search results

  1. I

    Automated Clan Smiles

    Try using some else ifs instead of aborting. //Automated Clan Smiles //written by Enameless if ( item_amount( $item[potted cactus] ) = 1 ) { cli_execute { cast 1 smile on playername cast 1 smile on playername cast 1 smile on playername cast 1 smile on playername cast 1 smile on...
  2. I

    Junkyard sidequest script

    Why Izzard? Because its funny! Also, I had just watched some izzard on youtube before I wrote that part of the script. On a completely unrelated note, I uploaded a junkyard script with HP and MP restoration. Mp restoration works just like HP restoration. Post combat, it checks the 'MP_restore'...
  3. I

    ASH reference

    Is it possible to block anonymous edits? It seems to me that most of the spamming on the wiki is all done with anonymous edits. For those who actually want to contribute to the wiki, creating an account isn't exactly hard. As for shutting down the wiki, I appreciate the wiki as a valuable...
  4. I

    FightOptimizer.ash

    Weird. I just checked again, and it does work, just as it should. Mysterious! At the time of posting my previous post, I had inserted print statements all over the FightOptimizer.ash script, including the start, middle, just after void main(), and the final line. The print statement following...
  5. I

    Junkyard sidequest script

    Well, the script already has an HP restoration system. I presume you want to restore mp as well? Its pretty easy to add in a 'int MP_restore' alongside 'HP_heal', and have it function in a similar manner. I'll add it later today or tomorrow, when I have some spare time. As for using mafias...
  6. I

    Issue with the 'notify' function

    Recently, I started to use the 'notify' function in a few of my public scripts. I have since received several emails from people notifying me about usage of other scripts, scripts that I didn't write, and that presumably have no import directive in them. Is this intended? This also applies to...
  7. I

    stone spheres, and the item database

    A final question or two: Does a similar thing happen for the dusty wine identification when you put on the spectacles? And, is it possible to 'force' an identify by inserting the correct string into that property? I can see that being useful when identifying the bang potions. If you identify...
  8. I

    FightOptimizer.ash

    Yeah, something seems to have changed with custom combat scripts. Specifically, it executes the script, but it doesn't enter the void main(string, string, string) function. So, effectively, custom combat scripts don't work. Does anyone have any idea why custom combat scripts have changed? Is it...
  9. I

    Best farming outfit script.

    SHAMELESS PLUG: It was trivial to write a 'outfits' file for my already existing script, outfit_changer. This should do exactly what you want, and a little more. I just rewrote the outfits file according to your script, and altered two lines in my outfit_changer script. Give it a try! P.S. you...
  10. I

    Best farming outfit script.

    void Get_best_acc1(){ if(item_amount($item[Jekyllin hide belt]) > 0 && !have_equipped($item[Jekyllin hide belt])){ equip($slot[acc1], $item[Jekyllin hide belt]); } void Get_best_acc2(){ if(item_amount($item[Jekyllin hide belt]) > 0 && !have_equipped($item[Jekyllin hide belt])){...
  11. I

    stone spheres, and the item database

    Ooh, thanks hola! Thats exactly the kind of thing I was looking for. I've figured out a way to check if a stone has been identified now, I'll post the updated script up in a few days when I've tested it. Out of idle interest, does a similar mechanic apply to the bang potions?
  12. I

    Junkyard sidequest script

    I've hacked up your script, iniquitous, and produced this unholy abomination. (Actually it isnt an abomination, I'm quite happy with it). This version attempts to slap flyers on monsters, in addition to choosing the stasis items automatically, based upon what you have. For what its worth, I...
  13. I

    stone spheres, and the item database

    Ah-ha! But thats where the cunning mafia part comes into play. Once you've identified the 'fire' sphere, mafia will mark it as such in its item database, and calling $item[sphere of fire] will tell you which sphere is the fire one. The problem is that if you ask for the sphere of fire before its...
  14. I

    Outfit Changer, a casual ascension aid

    Update! (if anyone cares). Some new features were added, and I'm going to do a better description of this scripts usage, as it occurs to me that my original post is a little unclear on that. This was written as a namespace script (type "using outfit_change.ash" into your CLI) to let me swiftly...
  15. I

    stone spheres, and the item database

    Well, for the interested, heres a preliminary 'hidden city' script. Quite simply, this clears out the hidden city, stopping when you have all 4 spheres, 4 altars, and the smallish temple. I say preliminary, because it still requires some fiddling. For instance, I kill all monsters with...
  16. I

    stone spheres, and the item database

    I'm writing a script to clear out the hidden city, and I've run into a problem. I want to be able to figure out which spheres I have not yet identified, and to be able to count how many spheres I have identified. For those who are unaware, mafia has a very useful feature where it automatically...
  17. I

    Manaburning in the Castle

    try cli_execute("cast * candy"); Yep, the simple approach. cli_execute is surprisingly useful in ASH, the CLI has lots of useful features that way. EDIT: alternatively, you can do it the complicated way, looping with ASH. I wrote this back when candy hearts were new, and you couldn't just do...
  18. I

    Outfit Changer, a casual ascension aid

    Having done a few four day casual ascensions, I find a large amount of my time is spent changing outfits, especially now that +ML decreases the effectiveness of our noncombat increasers. So, I wrote this little script to rapidly change my outfit based on my current need. I initially tried to use...
  19. I

    Maxcasting through scripts

    Huh. I originally wrote my summon_candies function when the candy heart skill was still relatively new, and I think that "cast * candy" didn't work then, and I simply never tried it after that. Well, thank you, whoever added that feature to mafia! I love it when mafia integrates features that...
  20. I

    Maxcasting through scripts

    cli_execute("cast * empathy on jick"); And this is what I wrote for blowing MP on candy hearts. I've seen variations on this with MP caps, but I dont use a cap. As long as I have MP, I want to exchange it for candy hearts! # this tries to burn MP on summoning candy hearts void...
Back
Top