DevZupa / AdvancedTrading

Arma 2 Epoch: Advanced Trading
http://epochmod.com/forum/index.php?/topic/20219-alpha-release-advanced-trading-10/
4 stars 12 forks source link

Advanced Trading

Alternative selling/buying system. (You can run the default and this next to each other without any problem. Which is recommended for vehicle buying & selling).

Version 2.1

Supported:

Not supported

What was added to 2.0

What was added to 2.1

Description

Sell and buy directly from and to backpack, gear or the your current vehicle in the vicinity where you were driver from. Decide which items you sell. Traders will only make it possible to trade the items they accept ( goes fully automatic, so only items they accept will be listed on the left).

You push items to the right to sell or buy.

Safety measurements

Double checks what was deleted from backpacks/vehicles so that people can not cheat. Can only sell from your vehicle were u was the last driver from (in x meter radius)

Update -> 2.x instructions

  1. Delete your old 'zupa' folder
  2. Paste the new 'zupa' folder
  3. Edit the config.sqf to match your server
  4. Done

Install instructions

  1. Drop the zupa folder in your mission file

  2. In your fn_selfactions.sqf

Place:

_buyV = player addAction ["<t color='#0059FF'>Advanced Trading</t>", "zupa\advancedTrading\init.sqf",(_traderMenu select 0), 999, true, false, "",""];
s_player_parts set [count s_player_parts,_buyV];

above (look at the comment)

// Database menu
_buy = player addAction [localize "STR_EPOCH_PLAYER_289", "\z\addons\dayz_code\actions\show_dialog.sqf",(_traderMenu select 0), 999, true, false, "",""];
s_player_parts set [count s_player_parts,_buy];
  1. in description.ext, add the following on the bottom
#include "zupa\advancedTrading\ZSCdefines.hpp" // if u don't have it from ZSC
#include "zupa\advancedTrading\advancedTrading.hpp"

Add the following exceptions to your antihack if needed

AdvancedTrading
711197
  1. Edit the config.sqf to reflect your server.

Images

alt text

alt text