Jump to content

[Release] Advanced Trading 2.1 !UPDATED!


Zupa

Recommended Posts

Well guess the people i had test it where distracted lol 

 

I added into infiSTAR

AdvancedTrading
711197

_ALLOWED_Dialogs

/*  ALLOWED Dialogs       */ _ALLOWED_Dialogs = [-1,106,2200,6900,6901,6902,6903,420420,41144,55510,711195,41144,711194,55510,81000,711197];

Even added this 

/*  ALLOWED CMDMenus      */ _cMenu =
[
"","RscMainMenu","RscMoveHigh","#WATCH","#WATCH0",
"RscWatchDir","RscDisplayClassSelecter","RscDisplayGenderSelect",
"RscDisplaySpawnSelecter","RscWatchMoreDir","#GETIN","RscStatus",
"RscCombatMode","RscFormations","RscTeam","RscSelectTeam","RscReply",
"RscCallSupport","#ACTION","#CUSTOM_RADIO","RscRadio","RscGroupRootMenu",
"BTC_Hud","GivePlayerDialog","BankDialog","TraderDialog","SCTraderDialog",
"TraderDialogLoadItemList","TraderDialogShowPrices","TraderDialogBuy",
"TraderDialogSell","MetalTradeMenuTID","_dialog","s_player_parts_crtl",
"DoorManagement","Entercode","PlotManagement","AdvancedTrading"

 

When Non Admin Player Clicks on it nothing happens 

 

and No Error Log that has not already been reported above post

 

("Same Result as before i added the AH info")

Link to comment
Share on other sites

All buy prices are actual sell prices when you buy something. Which one is wrong here.

_priceToBuy = _priceToBuy + ((_x select 2)*(_x select 5));

 

I approve this. If buy price is 200, and sell price is 100, you will buy and sell this item with the cost of 100 coins.

 

P.S.

Found a solution!

You should find this

_buy = getArray(missionConfigFile >> "CfgTraderCategory"  >> _cat  >> _y >> "sell");

and replace "sell" with "buy". It should look like

_buy = getArray(missionConfigFile >> "CfgTraderCategory"  >> _cat  >> _y >> "buy");
Edited by Semezky
Link to comment
Share on other sites

Yes, there is a fix.

 

You can:

1) set _BHF to false in AHconfig.sqf. It is the easiest way. But it can open some gates for cheaters.

Or you can:

2) find an delete code in AH.sqf:

lbsetpicture='no';
'lbsetpicture',

And thats all.

 

Doesnt Help fix it :(

Link to comment
Share on other sites

I can't wait to try this! Any ETA on the non-coin version?

I dont think that there will be non-coin version made by Zupa. He is very busy (I looked into his github repos), and also he has his own SingleCurrency version, which is very useful and simple (no Xtra dlls).

You can use it, here is the link:

Link to comment
Share on other sites

This is a great start! Work's perfectly on my server, even with infistar.

 

Any idea when you'll have buying/selling to/from a backpack?

 

Thanks!

 

I need to write some extra checks how many weapons/magazines can hold, also a pistol only holds 5 slots and a main 10 ^^, then u u need to substract that value from the ammount of magazines and stuff.

 

It will be in but i just rushed a release to make the people happy ^^

Link to comment
Share on other sites

Hey amazing looking script!

 

I am currently using 

 

It doesnt sell all my overpoch guns, only what seems to be the vannilla epoch guns. This is probably because its pulling from the damn database which i dont use.

 

What i am wondering is, do I need to use your single coin currency? or does this allow the default crappy gold system built into the game (gold bars)

 

-----

 

on a side note I would love to get single coin on my heavily modded server, but its seems to be quite a hassle. Do you think there will be a set of instructions to install on a modded already server, to install?

 

 

Great work! keep it up!

Link to comment
Share on other sites

Hey amazing looking script!

 

I am currently using 

 

It doesnt sell all my overpoch guns, only what seems to be the vannilla epoch guns. This is probably because its pulling from the damn database which i dont use.

 

What i am wondering is, do I need to use your single coin currency? or does this allow the default crappy gold system built into the game (gold bars)

 

-----

 

on a side note I would love to get single coin on my heavily modded server, but its seems to be quite a hassle. Do you think there will be a set of instructions to install on a modded already server, to install?

 

 

Great work! keep it up!

at this moment in time yes you do need his single currency and i would recommend ZSC 3.0 as it is already broken down step by step 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...