Search results

  1. A

    Bug - Fixed please make the "summon" cli command fail if it doesn't know the right name

    The Request: When you use the cli command to summon a demon using anything but a name (effect, location, number), and Mafia does not know the corresponding name, please make Mafia give you a failure message and not try to summon. Currently, Mafia attempts the summon and uses up an AFUE and 3...
  2. A

    Bug - Fixed "new <record_type>()" function does not accept map type values for map type members

    "new <record_type>()" function does not accept map type values for map type members There are, as far as I know, two ways to populate a record in ASH. The first is to create the record, then assign values to each member of the record. The second is to create the record with the new...
  3. A

    Bug extract_items() does not understand item names mangled by the sword behind

    I ran into this while using FirstThingsFirst, and Zarqon suggested it might count as an actual bug: The issue is that FirstThingsFirst is using extract_items() on the page text to figure out what item I have pickpocketed; while Mafia recognizes the item correctly even though I am wearing a...
  4. A

    CLI "using" command -- how does it work?

    I think I don't understand what CLI's "using" command is supposed to do. I hoped it would allow me to stop typing "include <myscript.ash>" in my CLI ash commands while testing out bits and pieces of my scripts. But it doesn't seem to do so. (I did manage to figure out how to un-use, though...
  5. A

    typedefs in ash

    So: on a wild guess I tried using typedef in ash, and lo and behold! typedefs exist. However, I am having a little trouble working with them according to my C/C++ typedef background knowledge. I'm not sure if this is a Mafia bug or just my lack of understanding as to how they work in Mafia...
  6. A

    PriceAdvisor: Maximize your profits

    PriceAdvisor 1.62 PriceAdvisor requires SmashLib and ZLib, and daily build 7915 or greater (13.8 will work). Have you ever looked at your inventory and wondered, What's the most meat I could make with this item? Are you chafing at the confines of comparing mallsell to autosell? Do you wish...
  7. A

    SmashLib: Expected results from smashing

    SmashLib 1.2 SmashLib attempts to tell you what you're going to get when you smash something. Since it's impossible to know exactly what you're going to get, it takes an expected value approach: if half the time you'll get a twinkly powder, and half the time you'll get a cold powder, it tells...
  8. A

    Pulverize results for equipment without power?

    I'm hitting a snag trying to determine pulverize results in ash. For exceptions and weird stuff, I can read pulverize.txt. For equipment with power, I can use get_power() and the ranges given on the wiki. However, the wiki says that for equipment without power, using requirement as a...
  9. A

    Checking Beach access?

    I'm looking for a way to check access to the Desert Beach in ASH. ashref doesn't seem to give me a handy function, although I may have missed something, so I've attempted to write my own. There are two situations where you have access to the Beach: you have a meatcar, or you've completed the...
Top