Most Wanted: An Exile Bounty Mod
Features
- Exile security
- Made with Exile's UI in mind
- Bounty contracts require players to pick and choose targets that they go after. Anyone is free game, but only one person can claim the bounty.
- Completed contracts allow players to hold onto contracts before cashing them out.
- Friend's list keeps players from setting bounties on their friends.
- Immunity protects players from bounties being set on them after they have been killed by a contracted killer.
Installation
extDB
- Copy
MostWanted-SQL.sql
into your favorite mySQL viewer's query window and run it. - Confirm you have a
bounties
table.
Server
- PBO
MostWanted_Server
and place in@ExileServer\addons
folder. - Copy the contents of
MostWanted-extDB.ini
into your@ExileServer\extDB\sql_custom_v2\exile.ini
file at the bottom.
Client
-
Copy
MostWanted_Client
folder into the root of yourexile.MAPNAME
mission folder. -
In your
init.sqf
orinitPlayerLocal.sqf
, add[] execVM "MostWanted_Client\MostWanted_Init.sqf";
-
In your
description.ext
, add#include "MostWanted_Client\Dialog\MostWantedDefines.hpp" #include "MostWanted_Client\Dialog\MostWantedDialog.hpp"
-
In your
config.cpp
, add at the top,#include "MostWanted_Client\CfgMostWanted.cpp"
-
Notifications.hpp
andNetworkMessages.hpp
both will depend on your set up.If you ALREADY have
class CfgHints
orclass CfgNetworkMessages
ANYWHERE in yourdescription.ext
orconfig.cpp
in your exile.MAPNAME folder:Add
#include "MostWanted_Client\NetworkMessages.hpp
inclass CfgNetworkMessages
Add
#include "MostWanted_Client\Notifications.hpp
inclass CfgHints
so it looks kind of like what is below.If you don't have
class CfgHints
orclass CfgNetworkMessages
, in yourconfig.cpp
, add this anywhere.class CfgHints { #include "MostWanted_Client\Notifications.hpp" }; class CfgNetworkMessages { #include "MostWanted_Client\NetworkMessages.hpp" };
-
In
config.cpp
, inside theclass CfgInteractionMenus
add:class Bounties { targetType = 2; target = "Exile_Trader_Office"; class Actions { class MostWanted: ExileAbstractAction { title = "Most Wanted"; condition = "true"; action = "createDialog 'MostWantedDialog';"; }; }; };
-
In
config.cpp
, inside theclass CfgExileCustomCode
add:ExileClient_gui_xm8_showPartySlides = "MostWanted_Client\overwrites\ExileClient_gui_xm8_showPartySlides.sqf"; ExileServer_object_player_createBambi = "MostWanted_Client\overwrites\ExileServer_object_player_createBambi.sqf"; ExileServer_object_player_database_load = "MostWanted_Client\overwrites\ExileServer_object_player_database_load.sqf"; ExileServer_object_player_event_onMpKilled = "MostWanted_Client\overwrites\ExileServer_object_player_event_onMpKilled.sqf"; ExileServer_system_network_event_onPlayerConnected = "MostWanted_Client\overwrites\ExileServer_system_network_event_onPlayerConnected.sqf"; ExileServer_system_network_dispatchIncomingMessage = "MostWanted_Client\overwrites\ExileServer_system_network_dispatchIncomingMessage.sqf";
- If you already have overwrites for these files, make sure to merge them.
-
You are done! Head on down to configuration.
Configuration
Most Wanted has a few configuration options, they are inside MostWanted_Client\CfgMostWanted.hpp
, please review these as they control the functionality.
SERVER OWNERS, PLEASE READ
A note on exploiting. A lot of time and effort went into making sure exploiting was difficult and a pain in the ass to do with this script. If you find an exploit or notice players finding exploits, DO NOT POST THEM ON THE EXILE FORUMS OR IN THE TOPIC COMMENTS.
To properly report these:
- Private message Taylor Swift or WolfkillArcadia
- Include, in detail, how to replicate the exploit, providing step by step instructions.
- We will look into the proper way, if any, to keep it from happening. ArmA will be ArmA in some cases.