Jump to content
Zupa

[Release] Advanced Trading 2.1 !UPDATED!

Recommended Posts

Version 2.1 Released.

Alternative selling/buying system. ( Run default & this one next to each other ).

Supported:

  • Config traders
  • Single Currency & Default Currency
  • Selling/Buying everything from and to Gear/Vehicle/Backpack

Not supported

  •  No database traders (database traders make your server slow)
  •  No ability to buy or sell vehicles.
What was added to 2.0 
  • Default Currency Supported
  • Item Filter
  • Info display of selected Item
  • Buying to gear and backpack
What was added to 2.1
  • Fixed content display of vehicles and backpacks.

Description

Sell directly from backpack, gear or the vehicle ( close) 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, only the items on the right willl get sold.

Safety measurements

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

 

Update 1.0 - 2.0 instructions
  1.  Delete your old 'zupa' folder
  2.  Paste the new 'zupa' folder
  3.  Edit the config.sqf to match your server
  4.  Done
 
Items only show for admins when using infiSTAR AH & Admintools ?!
  1. Update infiSTAR to latest version.
  2. edit config.sqf to reflect your server correctly.
 

Installation instructions

Code:

https://github.com/DevZupa/AdvancedTrading/releases/tag/v2.1

Install Instructions

0. Drop the zupa folder in your mission file
 

1. 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

// 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];

2. 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"

3. Add the following exceptions to your antihack if needed

AdvancedTrading
711197

4. Edit the config.sqf to match your server.

 

Screenshots:

 
 dH1V6hH.jpg

 5xa90aA.jpg

Edited by Zupa
Explenation for infiSTAR advanced trading fix.

Share this post


Link to post
Share on other sites

Looks really promising! Looking forward to it already. :)

Did the epoch trader system inspire you on that?

 

Edit: I mean the A3 Epoch trade system. Sorry :)

 

Actually no, (well maybe a bit cus of the user experience) ^^ i just wanted to a gui for trading from vehicle, so i looked at the code of that, but it was messy and not optimised, so i just made it all from scratch ^^)

 

I'm sorry Csus , i know u were working on something simular  ( without the gui i think).

Share this post


Link to post
Share on other sites

Awesome work there. Cant wait for the first release. 

 

How do you always come up with all these ideas? :D

 

Would it also be possible to buy more items with only one animation, e.g. you want to buy cinder blocks ând have the option to buy "50" with only one animation.

Share this post


Link to post
Share on other sites

Awesome work there. Cant wait for the first release. 

 

How do you always come up with all these ideas? :D

 

Would it also be possible to buy more items with only one animation, e.g. you want to buy cinder blocks ând have the option to buy "50" with only one animation.

qty would be awesome. this is how I do qty trader

 

// North Wholesaler
menu_RUS_Commander = [
[["Wholesale",555]],
[
["CinderBlocks","ItemBriefcase100oz",20,1,"buy","Briefcase 100oz","Cinder Blocks",101], // Add a comma on the end if you have more entries (array)
["MortarBucket","ItemBriefcase100oz",10,1,"buy","Briefcase 100oz","MortarBucket",101], // Add a comma on the end if you have more entries (array)
["PartWoodLumber","ItemGoldBar10oz",10,1,"buy","ItemGoldBar10oz","PartWoodLumber",101], // Add a comma on the end if you have more entries (array)
["PartPlankPack","ItemGoldBar10oz",10,1,"buy","ItemGoldBar10oz","PartPlankPack",101], // Add a comma on the end if you have more entries (array)
["ItemPole","ItemGoldBar10oz",10,5,"buy","ItemGoldBar10oz","ItemPole",101], // Add a comma on the end if you have more entries (array)
["EvMoney","ItemGoldBar10oz",1,1,"buy","ItemGoldBar10oz","EvMoney",101] // Add a comma on the end if you have more entries (array)
],
"neutral"
];

Share this post


Link to post
Share on other sites

 

qty would be awesome. this is how I do qty trader

 

// North Wholesaler
menu_RUS_Commander = [
[["Wholesale",555]],
[
["CinderBlocks","ItemBriefcase100oz",20,1,"buy","Briefcase 100oz","Cinder Blocks",101], // Add a comma on the end if you have more entries (array)
["MortarBucket","ItemBriefcase100oz",10,1,"buy","Briefcase 100oz","MortarBucket",101], // Add a comma on the end if you have more entries (array)
["PartWoodLumber","ItemGoldBar10oz",10,1,"buy","ItemGoldBar10oz","PartWoodLumber",101], // Add a comma on the end if you have more entries (array)
["PartPlankPack","ItemGoldBar10oz",10,1,"buy","ItemGoldBar10oz","PartPlankPack",101], // Add a comma on the end if you have more entries (array)
["ItemPole","ItemGoldBar10oz",10,5,"buy","ItemGoldBar10oz","ItemPole",101], // Add a comma on the end if you have more entries (array)
["EvMoney","ItemGoldBar10oz",1,1,"buy","ItemGoldBar10oz","EvMoney",101] // Add a comma on the end if you have more entries (array)
],
"neutral"
];

 

 

Dont worry, the buying will be almost the same but the >> button will be a text field where u can put in the quantity of the item selected on the left.

Also when you are buying, the items listed on left stay there because it will be the trader his item ofcourse ^^ 

 

On the right side it will say then -> 10x  30Rnd 5.1

Share this post


Link to post
Share on other sites

Awesome work there. Cant wait for the first release. 

 

How do you always come up with all these ideas? :D

 

Would it also be possible to buy more items with only one animation, e.g. you want to buy cinder blocks ând have the option to buy "50" with only one animation.

 

Whatever you buy or sell in not matter what quantity, it will only do 1 loop ( the loop is for executing the script in the right way) , this will not be interruptable to ensure the big process running behind it.

Share this post


Link to post
Share on other sites

idk if its good to release that now, cuz there will be  trader overhaul in 1.0.6.

 

Can you collaborate the changes? ^^

 

Cus the current changes are like nihil:

 

https://github.com/vbawol/DayZ-Epoch/blob/master/SQF/dayz_code/compile/player_traderMenuConfig.sqf

 

+ , i go a feeling epoch 2 will only continue on merge requests and whenever VBAWOL feels like doing something on it ( don't blame him tho, would be 10 times the more fun to work on epoch 3

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Similar Content

    • By Larkin993
      [GOM] Hardcore Sauerland
      Discord:https://discord.gg/Sx7FWQK
      IP: 185.251.226.35:2900
      Mods: Overwatch - Epoch
      Server name: [GOM] Hardcore Sauerland|AI/MISSIONS|TOW/LIFT|COINS|DEPLOYBIKE|
      Server Rules:
      No building 1000m from traders No glitching No Duping No voice in side chat Respect other players and admins Dont blow up locked vehicles Server features:
      Deploy Bike Scan GPS R/C Tools Blood Bag Self Roaming AI Missions Custom Trader Prices Coins - No Banks 6 Hours Restart 24 - 6 - 12 GMT Active Admins Groups [F5] Base Raiding 3hr Day and Night PVP Buy Cinder Walls Refuel / Repair Tools Break Tame Dogs Kill Messages Zombie Hordes Heli Crashes  
    • By Brian Soanes
      To unlock vehicles left in your traders over a server restart, open your epoch_server.pbo

      In epoch_server\compile\epoch_vehicle\EPOCH_load_vehicles.sqf
      Find
      if (_allowDamage) then { Just above that, add this
      A3E_SafeZonePosArray = [ [[18451.9,14278.1,0]], //Altis East trader [[13333.5,14494.3,0]], //Altis Central trader [[6192.46,16834,0]] //Altis West trader ]; { if (_vehicle distance (_x select 0) < 200) then { _vehicle lock false; diag_log format["Vehicle %1 left in trader unlocked @ %2", _class, mapGridPosition _vehicle]; }; } forEach A3E_SafeZonePosArray; Pack pbo and you're good to go
    • By Tricks
      We are back! Ranked 7th overall in 2014! Classic DayZ Epoch PvP Server!! No stupid start bonus, no heavy military. Just classic Epoch gameplay with new updates!

       
      - Top of the Line Hardware - Overclocked 8700k servers with SSDs. Super high FPS!!

      - XP System & XP Trader - Acquire handy Perks, Skills, and Permits with our XP system!

      - Custom Traders - Totally custom traders unique to this server!

      - Military Bases - High Loot areas perfect for gearing up.

      - Custom Map Content - Aircraft Carriers, Secret Military Bases, New Towns, and more!

      - All The Major Mods - All the major mods like Coin System, Heli Evac, Hide from Zeds, and many more.

      - Lots of AI Missions - Challenging AI missions color-coded by difficulty.

      - Custom AI Missions for Groups - Static missions with super high difficulty and major loot rewards!

      - Realistic Loot Spawns - You wont find high-powered weapons while hunting for loot, realistic loot spawns.

      - No Heavy Weapons, Tanks, Attack Choppers, Jets - Just the classic Epoch vehicles with a few new additions!

      - Lots of Vehicles - Lots of vehicles scattered around the map. Some are ready to go, others need to be fixed first!

      - Base Building - Fully modular base building system with unique build items and crafting recipes.

      - Full Day/Night Cycle - Realistic day and night cycle, no stupid 24 hours daylight!!

      - Full Weather System - Rain, thunderstorms and snow in the winter!!

      - Destructible Base/Garage Doors - Base raiding without losing your whole base! Just the doors are destructible.

      - Abandoned Safes/Lockboxes - Abandoned bases will have their safes unlocked for you to raid!!

      - Fresh Server, All The Best Base Locations Still Available! - No more wipes, server is done and all progress will be saved.

      - Regular Updates/Suggestions Considered - Pass along ideas to the admin staff. We consider all changes.

      - Admin Events - Events with High Loot and great times! See pic below.

      - Active Admin Staff - Find us on Discord anytime or by email!





      Connect to us on DayZ Launcher or directly:

      [SHG]ClassicEpoch|XPSystem|CustomTraders|CustomAImissions|Coins|FPS++

      144.217.62.76:2302

      Discord: http://xn--discrd-zxa.com/join.php?v=OXHD95

      Email: [email protected]

      Website: Under construction


    • By JakeQue
      Hi, me again.
       
      For some reason when i spawn in and collect coins or loadout the next time i disconnect and come back it puts me back into spawn and money is all disappeared. 

      There's no hive errors.
      The only error in the Server RPT is :
      And I have 2 errors in my client RPT. Looks like they relate to zsc but I have reinstalled it from scratch and still the same.
      and 
       
      Sorry to be such a noob with this one!!
    • By xTimeToShine
      Hey guys,
      i'm proud to present our new "Epic Illusion Gaming - DayZ Overpoch server".
       
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       
      [EIG] DayZ Overpoch | Chernarus | 1.0.6.2 | Coins | Lift | Groups | Missions | Events | Deploy Bike |
      IP: 94.250.209.139:2302
       
      We are searching for some Players and also for some Admins. Please visit our Server or come to our Teamspeak or Discrod.
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       
      Visit us on ...
      ...Teamspeak:  94.250.223.10:15111
      ...Discord:  https://discord.gg/MTQuUHP
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      Our new special features:
      Global Coins System Deploy a bike (Toolbox) Lift & Tow Selfbloodbagging Groupsystem Virtual Garage AI Missions Special PVP Events Custom Loadout ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      Upcoming features:
      Weaponswitch Enhanced Spawn Selection and much more...  
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...