Note: This is an archive of an old project of mine
MostWanted-SQL.sql into your favorite mySQL viewer’s query window and run it.bounties table.MostWanted_Server and place in @ExileServer\addons folder.MostWanted-extDB.ini into your @ExileServer\extDB\sql_custom_v2\exile.ini file at the bottom.MostWanted_Client folder into the root of your exile.MAPNAME mission folder.init.sqf or initPlayerLocal.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"
config.cpp, add at the top, #include "MostWanted_Client\CfgMostWanted.cpp"
Notifications.hpp and NetworkMessages.hpp both will depend on your set up.
If you ALREADY have class CfgHints or class CfgNetworkMessages ANYWHERE in your description.ext or config.cpp in your exile.MAPNAME folder:
Add #include "MostWanted_Client\NetworkMessages.hpp in class CfgNetworkMessages
Add #include "MostWanted_Client\Notifications.hpp in class CfgHints so it looks kind of like what is below.
If you don’t have class CfgHints or class CfgNetworkMessages, in your config.cpp, add this at the top.
class CfgHints
{
#include "MostWanted_Client\Notifications.hpp"
};
class CfgNetworkMessages
{
#include "MostWanted_Client\NetworkMessages.hpp"
};
In config.cpp, inside the class 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 the class 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";
Most Wanted has a few configuration options, they are inside MostWanted_Client\CfgMostWanted.hpp, please review these as they control the functionality.
@ExileServer\addons\ folder with it.MostWanted_Client\functions\ folder with the ones from the same folder on the github.MostWanted_Client\overwrites\ folder with the ones from the same folder on the github.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: