Search results

  1. M

    Bug - Not A Bug visit_url() not actually visiting url

    Edit: I forgot that I am running Java 7. Please disregard this post. I am downgrading back to Java 6. I wrote a script that automates all of my non-challenge-path ascensions, but it hasn't been working for a few weeks. Functions that were working perfectly fine before are no longer working...
  2. M

    Maximizing and Simulating

    Short version of this question: Long version: I have a question about the maximize function. boolean maximize( string expression , boolean simulate ) I am writing a script to automatically dress me, based on a large number of factors. I had been using the maximize function (with...
  3. M

    Bug - Won't Fix Mafia doesn't track Pastamancer Ghost correctly when summoned in a macro

    After a battle in which you summoned a pasta ghost (and won the battle), the pastamancerGhostExperience property does not update. It does track pastamancerGhostSummons correctly though. [ @gausie EDIT: Closed because this was made irrelevant in 2013 ]
  4. M

    myLittleConsumer.ash - An Unwanted Alternative to EatDrink.ash

    myLittleConsumer.ash 1.3 Hello everyone! Now, I don't mean any disrespect to eatdrink.ash by posting this script. I'm learning the art of programming, and I made this to hammer in some concepts. I'm only posting it to practice debugging and working with end users. So... about the script...
  5. M

    Numeric Modifier, and MP Regenerating Familiars

    I made a small script to pick the best familiar in certain categories. So far, it works great, except for when I want a stasis familiar. Right now, all I'm looking for are familiars that replenish MP (through the star starfish method). Here's what I have so far: familiar stasisFam() { if (...
  6. M

    Everyone loves RegEx

    I'm currently writting a script to read the raid log to automatically set my choice adventures for me. Right now, I'm working on burnbarrel blvd., deciding when to violently throw a tire on the fire. When to throw a tire violently will depend on how many hobos are left in the area. Here's...
  7. M

    Bug - Not A Bug Headbutt + Kneebutt Combo Requiring a Shield

    I'm using a consult script when battling. When the script tries to use_skill($skill[head+knee combo]), it breaks and says "This skill is useless without a shield." When I use the regular custom combat script setting to do the same thing ("skill head + knee combo"), it works just fine. Using...
  8. M

    numeric_modifier()

    Hello! I'm currently writting some logic for when my pastamancer fights. I think I'm close to where I want to be, but I'm running into a little problem when I use numeric_modifier. Here's what I have (for calculating damage from Ravioli Shurikens) int ravioliDamage() {...
  9. M

    Pasta Guardians

    How do you script the summoning of a pasta guardian? I feel silly to ask such a simple question, normally I can figure these things out for myself. I didn't see the answer on the wiki, and looking at other CCS gave me the impression that it was a fairly complicated process. Is there an easy...
  10. M

    Variable functions

    Is there a way to use a variable to add an entire line of code? I don't want it to do something like "use(1, variable)", but I was hoping to do something such as "while (complicatedVariable)". Is this even possible? I wrote a bunch of auto-adventuring scripts for myself. Right now I'm trying...
  11. M

    Equipment Attributes

    Is there a function that tells you the effects of a piece of equipment that you're wearing? Effects like +moxie or +hot_damage? I'm in the middle of writting a number of scripts for myself. The two that are giving me trouble (today) are my "Dress for Success" script, and my Combat Script...
  12. M

    Louvre It or Leave It

    I'm trying to make a stat grinding script for mid-ascensions. Longstory short, I'm a little confused on how Mafia handles choice adventures for things like the Louvre It or Leave It adventure in the haunted gallery. You know, the choice adventures where the options in mafia doesn't literally...
  13. M

    Scripting the Spooky Forest

    Hey everyone. I'm making a bunch of scripts to auto ascend for me. I would use bumcheekcity's ascension tool... but I want to learn how to write these things for myself. So, I wrote the following script for the level 2 quest. import <canadv.ash> Void UnlockSpookyTemple () { if...
  14. M

    Sewer.ash - It gets you through the sewers!

    Sewer.ash 1.2 Sewer.ash is a script that automates the sewers leading to Hobopolis. It tries to do this efficiently. To run this script, put it in your scripts folder. This script now requires zlib.ash. Get zlib here. There are various settings to sewer.ash. To change them, type "zlib...
  15. M

    First (real) attempt to make an ash script: Sewer.ash

    Hey everyone! I'm somewhat new to ash scripting. I've made some scripts for mafia before... but they all exclusively used "cli_execute" before it did anything. This is my first attempt to use ash commands, as well as make the script think for itself a little. This script is designed to get...
  16. M

    has no matches

    I'm writing an item handling script, and I've run into a problem I have been running into for awhile now. When I try to mallsell multiple items from the cli, sometimes it works, and sometimes it doesn't. When I try mallselling, it's usually in this format: mallsell * item a, * item b, * etc...
  17. M

    "Fotelif"

    I'm sorry to ask, especially since I know I saw the answer somewhere... but how do you deal with items that have quotations in them when scripting? How do you tell the script that the quotations are part of the item, and shouldn't be treated normally? Prime example: "filet of tangy gnat...
  18. M

    Going on vacation/First attempt to automate something myself

    Hello, I'm going on vacation for a couple of days, and I would like mafia to continue to do things in my absence. I know some of the basics involved in doing this. I know how to schedule a task so that mafia will launch automatically, and I'm setting everything to run as a breakfast login...
  19. M

    Computer crashed... and it took away my preferences.

    So the other day, I was using KoL mafia when my computer crashed. Once I had restarted everything, KoL had set some settings back to their defaults. I had to manually set my recovery options, choice adventure preferences, things like that. I reset these, which wasn't that big of a deal, and...
Top