Download Mafia
| That's the bookmarklet. Please read instructions below before you use it. |
Have you ever wanted to search through your mafia, or sort it to find the best players to promote to your Top Mafia? Mafia Wars is supposed to have this functionality, but it hasn't been working for a long while. Now, here's a tool that lets you download your mafia and import it into a spreadsheet program like Microsoft Excel or OpenOffice.org; the latter is free software and is the program I recommend, and is the one I will mostly cover in this tutorial. Download and install it now!
Please note: This isn't the most userfriendly tool at the moment. You will have to read these instructions carefully and probably be a little bit computer savvy and have experience with spreadsheet programs to make good use of this. For now, at least. It's a start.
Install the bookmarklet by dragging it to your toolbar, just like the others. This will only work in Firefox, Safari and Google Chrome (i.e., not in Internet Explorer).
Go to Mafia Wars and then press the bookmarklet.
Your mafia should now start downloading. It should look a little bit like this:

It'll take quite some time to download your mafia. Depending on how big it is, of course. If you for some reason need to pause it, press "Pause". At that point, you can copy and paste your partially downloaded mafia to your spreadsheet program to see if it works. See, this is what happens if we press "Pause":

You see two more buttons have appeared: "Select" and "Prepare for Excel". Try pressing "select". The big ugly text that represents your mafia is now selected. Copy this by pressing "Ctrl-C". Then fire up OpenOffice.org Calc. (That's such a terrible name for a program. It's nice though.) Go to the Edit menu and choose "Paste Special":

In the next dialog, choose "Unformatted text":

The next dialog should look like this – in particular note the "Text delimiter" field which needs to be set to empty, just mark the little quotation mark there in the text box and press backspace.

Press OK! Did that work? If it worked, you can now play with your partially downloaded mafia!
Now go ahead and download the rest of your mafia: Go back to your browser and press "Continue". (You didn't close your Mafia Wars window, did you? Never do that while downloading your mafia, and don't navigate away from the downloading: bascially, don't push anything except the little buttons in the tool itself)
When it's done, just do like described above to import your mafia into OpenOffice.org.
Now, for you Excel users, the process is similar, but with a twist: Before you press select and copy and paste your mafia, press "Prepare for Excel" and then OK. This will remove all quotation marks from your mafia, i.e., if someone is called "Big" Pussy Bompensiero, they will now be called just Big Pussy Bompensiero. This is needed because otherwise Excel will do strange things.
A limitation of this tool at the moment is that only the information on the "My Mafia" pages is downloaded. That means that you'll only see shortened versions of mafia names, i.e., in the example above you'll probably see just Big Pussy... in your spreadsheet. A later version might look at all individual mafia player profiles.
Please post all feedback regarding this tool to this thread. You'll need to be a member of the group Bobby Heartrate's Mafia Tools to be able to post. I will not answer questions by individual e-mail because I just don't have the time. Sorry.