MarXet is a server/client script made for Exile to provide a unique and dynamic player based market. Players can create new "listings" for any item or persistent vehicle in game with it's own price. Other players can then purchase any item/vehicle from MarXet.
- Dynamic, player based marketplace
- Built using Exile's Security
- Sell any item or any persistent vehicles
- Accessible via placed MarXet Traders
- GUI built to match Exile's GUI theme
- Persistent , saves to the database
Installation is simple and easy with only one Exile overwrite.
- Copy
MarXet-SQL.sql
into your favorite mySQL viewer's query window and run it. - Confirm you have a
marxet
table. - Copy the contents of
MarXet-extDB.ini
into your@ExileServer\extDB\sql_custom_v2\exile.ini
file at the bottom.
- Copy
ExileServer_system_network_dispatchIncomingMessage.sqf
fromMarXet\SERVER_FILES\exile_server\code
into your@ExileServer\addons\exile_server\code
folder and replace the existing one.- This allows MarXet to send network messages to the server. If you run Advanced Banking, Virtual Garage or Most Wanted, you won't need to copy this file over as you already have it. :)
- PBO
MarXet_Server
inSERVER_FILES
and copy that to your@ExileServer\addons
folder.
-
Copy
MarXet
fromCLIENT_FILES
into the root of your exile.MAPNAME folder. -
In either
init.sqf
orinitPlayerLocal.sqf
, add[] execVM "MarXet\MarXet_Init.sqf";
-
CfgHints.hpp
andCfgNetworkMessages.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 "MarXet\CfgMarXetNetworkMessages.hpp
toclass CfgNetworkMessages
- Add
#include "MarXet\CfgMarXetHints.hpp
toclass CfgHints
- It should look something like what is below.
- Add
-
If you don't have
class CfgHints
orclass CfgNetworkMessages
, in yourconfig.cpp
, add this anywhere.class CfgHints { #include "MarXet\CfgMarXetHints.hpp" }; class CfgNetworkMessages { #include "MarXet\CfgMarXetNetworkMessages.hpp" };
-
-
In your
description.ext
add the following:#include "MarXet\dialog\RscMarXetDefines.hpp" #include "MarXet\dialog\RscMarXetDialog.hpp"
-
You are done! Head on down to configuration.
MarXet has very little configuration. However, it does have custom traders. Located in MarXet\
in your exile.MAPNAME
mission folder, there is a file called MarXet_Traders.sqf
. The trader setup code is like Exile's, except instead of a setVariable, they have a pushBack. Feel free to add, or remove, or configure as much as you want.