📜 Scripting

Open sourced scripts for anyone to use.

Introduction To level the playing field, we have made browser scripts available to everyone. This scripting type does not need you to provide your private key to a cloud service. These scripting tools works as a browser add-on that automatically calls functions on the website without you having to manually do it. The script triggers the function, and accepts the wallet confirmation popup. It's simply put an automated mouse clicker. You can configure the scripts to operate based on your preference in crime types. These scripting tools relies on you using Rabby wallet. Scripting vs. Helper bots

Category
Browser scripting
Helper bots

Operational cost

Network gas

Helper Credits

Supports vault

No

Yes

Rank XP

Slower

Faster

Cash rewards

Lower

Higher

Risk

Higher

Lower

External requirements

PC turned on at all times

No requirements

Overall expense

Lower

Higher

Creates on-chain activity

Yes

No

Supports bullet buy

No

Yes

Supports Bust out

Yes

No

Required to Double rank

No

Yes

Wallet compatibility

Rabby

All wallets

Game updates

Needs modification

Always works

Frontend dependency

Yes

No

Click limit

Yes

No

Works with perks

4 perks

28 perks

Works on mobile

No

Yes

Note: We will not be maintaining the scripts on a frequent basis or per update. We will update scripts in batches, meaning that you might have period of time where certain functions does not work if you are not able to modify them yourself. The absolute fastest way to build your character up in MAFIA is by running both at the same time. But this is expensive, and is only for the very competitive & dedicated players. Installing scripts. So you made the decision to use scripts! Here's how you get started. Step 1: Install Tamper monkey browser add on. It supports Chrome, Firefox, Edge, Opera and Safari. Find all store links here: https://www.tampermonkey.net/ Remember to allow developer mode Step 2: Download and install AutoIT 3 with Rabby wallet auto accepter. Download files here. After you have installed it, you open the software and then open the .au3 file. This will now automatically accept prompts to your Rabby wallet.

13MB
Open

Step 3: Now navigate to your Tampermonkey extension. Click "Create a new script" Step 4: Paste this code into the new user script you created. Then save it. File -> Save

🎉 Congratulations! You now have a MAFIA Script. You will see this menu overlay on the website.

Script menu options: You can configure the script to operate based on your preferences. Redirect every: This function is to reduce the amount of times you hit the 10 click limit Click delay: This function is to reduce the amount of times you hit the 10 click limit Travel vehicle: Based on what item you own. you can configure the script to use that as travel vehicle Car-theft slot: Select which car slot to use. Slot 1 has highest success chance Crime slot: Select which crime slot to use. Slot 1 has highest success chance Kill skill slot: Select which slot you want the script to use. Remeber that only slot 1 is free Activate different types: You can select which types of crime you want your script to run. If you are not Cloak rank or above, you should remove "Market" as you don't have the allowance to buy any units. Price preset: This preset allows you to define if your priority is simply getting XP as fast as possible or if you want to get as much cash reward as well. This preset impacts Booze and Narcs buying/selling Force crimes: Starts the script over if its stuck. Bustout script tip: If you edit the script code, you can find line 219: Here you can define a single family you want the script to only bust out. Right now we set 5 families in the code as a default setup.

Booze and Narcs buy / sell prices. If you are a bit more firm with code, you can modify these values we put in the script to optimize your market deals. You might want to sell at higher prices, or you might want to just sell no matter what to get the XP and move on. You can modify these values here:

Good luck with scripting your way to the top!

Last updated