Search results

  1. A

    Bug - Cannot Reproduce IOException during data post

    Sigh. it seems that another program apparently didn't close properly or I've got something weird crawling around my system. I rebooted, and now Mafia works just fine. So I guess I get to go play doctor and figure what went wrong. It appears that Mafia and Java are doing just fine. Sorry!
  2. A

    Bug - Cannot Reproduce IOException during data post

    I seem to be getting this error a lot; usually once it appears Mafia heads quickly on a downward spiral to repeating (adventure.php?snarfblat=xx) (xx depending on where I'm trying to adventure, mostly 122: the Oasis) over and over, occasionally finishing the fight: Request 49 of 66 (Beach: Oasis...
  3. A

    Bug - Fixed Looting the hermit

    *facepalm* I had no idea you could loot him there. I typically just used that for the level 12 quest... Thanks for the heads up! And thanks for the bugfix!
  4. A

    Bug - Fixed Looting the hermit

    I'm using r9692 (was 9690 but I updated to ensure this wasn't fixed) and the "loot the hermit" option shows he has 16,777,215 of everything available, except for -1 ten-leaf clover.
  5. A

    Easy (and probably dumb) question re: switch()

    Heya, for the life of me I cannot remember (and I'm apparently failing on finding examples)... I want to run a switch statement with numerical ranges. Example: I want it to do function x for range 1-10, function y for range 11-20, and default function z. What is the syntax for case? All I...
  6. A

    Quest item flag?

    Fantastic! Sorry it took so long, but thanks heaps. I already had the is_tradeable down. Thanks!
  7. A

    Bug - Fixed Mall errors

    Gotcha. I don't really think it's a huge bug or anything, and with more recent builds it doesn't totally fubar Mafia. I've never encountered it when saving prices, only when clicking the Store Manager icon, or placing things in the mall (manually or by scripts). Ah well. Thanks for the info!
  8. A

    Bug - Fixed Mall errors

    I've been encountering this for a while now, but I'm finally getting around to make note of it (I kept thinking it'd be fixed in the next build...) Basically, when I place things in the mall or when I click the mall button to bring up the mall screen (or refresh the one already there), I...
  9. A

    Quest item flag?

    I was just wondering if there's some sort of quest item flag? I'm trying to distinguish between non-tradable and quest item (which is also non-tradable)... TIA
  10. A

    Bug - Cannot Reproduce Coin Masters?

    I had started the war with Mafia, and restarting it never worked. But I'm now using r8420 and it's doing just fine. So I guess y'all fixed the problem! Thanks for the info as to what to do if it happens again.
  11. A

    Thank you for macro support!

    There is no "thank you" forum, so I figured this would be the best place to put it... I'm running Mafia right now, and I like to just stare at the CLI flying by from time to time. But I noticed just now that Mafia (8420) is executing my default script as a macro. This is great, and I wanted to...
  12. A

    Bug - Cannot Reproduce Coin Masters?

    I'm currently running r8410, but I've been noticing this for a while (for a few months). I'm in hardcore, and I'm doing the level 12 quest. Unfortunately, when I use the Coin Masters option, the 'buy' and 'sell' buttons are greyed-out. When I hit 'check', the CLI states I'm not at war. I've got...
  13. A

    Alphabetical restoration?

    Hi, I was just wondering if it might be possible to alphabetise the restore list? I occasionally like to clean out my mafia files and thus delete my preferences, but man, I have the hardest time finding the specific methods on how to heal/restore. I do not see any real sorting method, except...
  14. A

    Maps for dummies

    Oh ho ho... Thanks.
  15. A

    Maps for dummies

    Yeah, I checked that. The function is as follows:void main() { record myRec { string action; int keep; } myRec[item] myMap; Like I mentioned, I had created another map before (it was so I could track errors or failures for the commands I wanted to execute), and it was popping up...
  16. A

    Maps for dummies

    I'm back. Sorry. I had two maps going, and I kept getting an error with the one I made up on my own. I thought that maybe the error I was getting was all about PEBCAK. But then I eliminated it, and sadly, it's not just my code. It was simply because my code was before the one I used from you...
  17. A

    Have_skill() question

    Ohhhh, thanks. I tried "have_skill(skill(pulverize))", but it didn't like that either. I was just going off of my guess from the wiki's example. I'm not savvy with Java/ash yet. Thanks again.
  18. A

    Have_skill() question

    I get the error "Illegal parameter #1 for function have_skill. Got string, need skill" on the line that reads "if (have_skill ( "Pulverize" )) {" I've tried tinkering with it, but nothing's working. What am I missing? void smashstuff ( item name, int num ) { string title; title = to_string...
  19. A

    Maps for dummies

    Thank you both for the help. I was hoping to figure it out without a whole example (I really don't want to leech without learning :), but I do appreciate the time you took to make it. I think I will be okay with what you've both said. Thanks again!
  20. A

    Maps for dummies

    Alrighty. Time has been a bit churlish so I'm just now gonna try to explain what I'm missing. My first issue I've run into is that I'm not equating how to include my text file (I was assuming it'd be with a file_to_map()), and how to incorporate the "record myRec" and "myRec [item] myMap"...
Top