Search results

  1. G

    Deep Suggestion - NS Familiar Guide?

    Or Mafia could just give you a link to take the appropriate familiar out of your terrarium, kind of like the helpful links it gives you when you need to use the black market map or equip the worm-riding hooks.
  2. G

    How Mafia Spends Meat

    Yes, this is exactly what I was suggesting. Having to closet your reagents every single day to avoid these kinds of problems seems silly.
  3. G

    How Mafia Spends Meat

    No, I was not. Only one phial was created, not three.
  4. G

    How Mafia Spends Meat

    Ran into an interesting case today. I gave the command "use 1 phial of hotness" Mafia chose to spend 130 meat on hot powder and used my scrumptious reagent (mall price = 975) to make one phial of hotness (mall price = 420) instead of buying it, which would have been the correct outcome. So...
  5. G

    Calling script /w arguments from another script

    Ah, I see what happened. I had my import <> inside my main() function instead of declared above it. So it was actually trying to import a main() into another main(). Doh! Thanks for the help.
  6. G

    Calling script /w arguments from another script

    I tried that, but when I include a main() function, then importing that ASH into another one gives me this error: "main method must appear at top level"
  7. G

    Calling script /w arguments from another script

    A related question: if I write something like the VIP pool script without a main() function, is there any way for me to call it from the graphical CLI or do I then need a wrapper script that does have a main()? For instance, I'd like to be able to call play_pool() from an aftercore farming...
  8. G

    Calling script /w arguments from another script

    Cool, yeah, I just ran across zlib and looked at how zarqon calls its functions from other scripts. Makes sense now.
  9. G

    Visit VIP Pool Table

    Thanks! That's incredibly helpful. Having that IF block in there was just stupidity on my part, and everything else you mentioned makes a lot of sense. I parsed the HTML returned by the pool attempt, and "You acquire an effect" does seem like a good string to search for to determine success or...
  10. G

    Visit VIP Pool Table

    My first (admittedly simple) contribution to the scripting community. Any thoughts would be greatly appreciated! Update: old crappy code removed. Here's what it looks like now: boolean play_pool(int stance) { // VIP Pool Script by Greenrider // // Arguments: int stance // 1 = Billiard...
  11. G

    Calling script /w arguments from another script

    What is the ASH methodology for having a script call another script that takes an argument? Right now, I'm getting around the problem by doing this: cli_execute("call foo 3"); But when I try: call "scripts\foo 3"; or call "foo 3"; I get the following error: "Variable reference expected for...
  12. G

    Quick way to view someone's store?

    Nice! I didn't know that one, thanks for the tip.
  13. G

    Quick way to view someone's store?

    It's not so much a question of "who is the seller?" as it is "how can I see what else is in this particular store that came up in search results?" I think there are three main situations when I find this useful: 1) The new IoTM and clan dungeon have opened up a lot of new arbitrage...
  14. G

    Quick way to view someone's store?

    Well, I'm certainly not trying to build a mall bot. I just frequently find myself wanting to right click on a store name to be able to pop up a mini-browser window with that store's contents to see what else that store is selling. I also am curious as to why you can right-click an item in the...
  15. G

    Quick way to view someone's store?

    Is there a fast way to view a particular person's store in mafia, beyond doing a /whois on them, clicking on their name, then clicking on their store name in the profile? I also frequently do a mall search via mafia and wish to examine a store returned by the search. Searching via mafia doesn't...
  16. G

    auto BHH and friends

    Is anyone using this script? Just tried it out and got the following: > call bounty.ash Expected ), found = (bounty.ash, line 195)
Back
Top