Jump to content

[Release] HS Blackmarket 1.6 | 'New' Trader System | Special Trader | Blackmarket


Suppe

Recommended Posts

first small update is out....

 

the update bring back the full vehicle tree, but still a problem with the full price vehicle...

 

(problem is only with epoch server build 7)

 

im running the build now, not sure what you did wrong last night when you tested ... lol

Link to comment
Share on other sites

Hi loving the script guys thanks. I decided to add a second static trader on the coast so players could spawn boats, however when purchasing one I get kicked for

 

01.06.2015 07:34:34: [DH9] Simon (xxxx) f4b830a869f5ae6ce3e702f5151333c5 - Value Restriction #0 "HSPV_traderrequest" = boat, often nicknamed 'Rubber Duck', is a lightweight boat constructed from tubes containing pressurized gas. Inflatables typically come in lengths between 2 to 7 meters. Due to their speed, weight and portability, inflatable boats are used in diverse roles such as lifeguard and rescue boats and even more often in the military as landing craft.","\A3\boat_F\Boat_Transport_01\data\UI\Boat_Transport_01_CA.paa","",""],B Alpha 1-1:1 ([DH9] Simon) REMOTE,3]

 

I have no issues purchasing land or air vehicles.

 

hope you have a suggestion :)

 

simon

Link to comment
Share on other sites

how do i remove all choppers/cars   accept  quad/bike , ied like my players to find emm or fight over them :)

, ive tried changing price to 0 but th epoch traders buy/sell for 0 aswell lol ,, same goes for removing the price

ive also tried deleteing the class name from price which takes it out of list ,but on epoch traders u can not buy or sell them :)

Link to comment
Share on other sites

I'm still having trouble getting the menus to open. 

 

I've made sure I've added the allowed dialogues for infistar, I've ensured my init and descriptions are in (unless there's a specific place to put them IN the actual files?) and I've made sure the stringtable is there. 

 

Any suggestions?

Link to comment
Share on other sites

how do i remove all choppers/cars   accept  quad/bike , ied like my players to find emm or fight over them :)

, ive tried changing price to 0 but th epoch traders buy/sell for 0 aswell lol ,, same goes for removing the price

ive also tried deleteing the class name from price which takes it out of list ,but on epoch traders u can not buy or sell them :)

 

put the vehicles in the blacklist in settings and they will not come up in the menu but can still be sold at normal traders.

 

 

I'm still having trouble getting the menus to open. 

 

I've made sure I've added the allowed dialogues for infistar, I've ensured my init and descriptions are in (unless there's a specific place to put them IN the actual files?) and I've made sure the stringtable is there. 

 

Any suggestions?

 

try check install instuctions again or try move the lines in the init to the top, some ppl has stuff in their init that is not supposed to be there.

Link to comment
Share on other sites

put the vehicles in the blacklist in settings and they will not come up in the menu but can still be sold at normal traders.

 

 

 

try check install instuctions again or try move the lines in the init to the top, some ppl has stuff in their init that is not supposed to be there.

Hardened Hello. 

 

This is not working by me on the Server i am the admin with my Friend we can Open the Trader menu.

all other player can not open the Menu.

 

we use Infistar.  all is editet for this Script, 

 

have you a Idea what a Problem this is ?. 

 

Thanks 

Link to comment
Share on other sites

and updated again....

 

but very very small update, i just added a small info....

the orignal trader pic is back in the download...

 

ok, and every problem with the epoch serverbuild 7 is solved, the vehicletrees are working normal again, and the problem with the perma vehicles was only on my test server, vehicleworldlimit was reached and  i was to tied to see it :D

Link to comment
Share on other sites

wrong position where u put lines of HSB in init.sqf  put them on the top of all....

i have done re- install of my test server and all i added to it is this script and all that is in my init.sqm is [] execVM "trader\init.sqf";

[] execVM "resetvehicleammo.sqf";

[] execVM "trader\HALV_takegive_crypto_init.sqf";

 

but it crashes at starting Epoch screen i know is something silly im doing just cant figure out what

Link to comment
Share on other sites

currently it is not possible and its not something i have planned as the point of these traders was not to sell items more expensivly, but was intended to make life easier for the players.

All that I need I can made myself. :)

Simple way, but not tested well:

1. rename CfgPricing.hpp -> HSPricing.hpp

2. Change link to file in description.ext

3. Change link in tradermenu.sqf like

_config = "HSPricing" call EPOCH_returnConfig;

4. Change in renamed HSPricing.hpp class CfgPricing -> HSPricing

Common traders selling and buying according to your server settings, blackmarket works with higher taxes.

Maybe somebody need this.

Edited by bhswat
Link to comment
Share on other sites

All that I need I can made myself. :)

Simple way, but not tested well:

1. rename CfgPricing.hpp -> HSPricing.hpp

2. Change link to file in description.ext

3. Change link in tradermenu.sqf like

_config = "HSPricing" call EPOCH_returnConfig;

Common traders selling and buying according to your server settings, blackmarket works with higher taxes.

Maybe somebody need this.

 

you would need to change the config name CfgPricing in HSPricing.hpp to HSPricing aswell, but that might actually work ...

Link to comment
Share on other sites

All that I need I can made myself. :)

Simple way, but not tested well:

1. rename CfgPricing.hpp -> HSPricing.hpp

2. Change link to file in description.ext

3. Change link in tradermenu.sqf like

_config = "HSPricing" call EPOCH_returnConfig;

4. Change in renamed HSPricing.hpp class CfgPricing -> HSPricing

Common traders selling and buying according to your server settings, blackmarket works with higher taxes.

Maybe somebody need this.

 

this is actually a good idea, prevents problems with the normal traders....

 

I speak with halv later :D 

 

Link to comment
Share on other sites

Ok, everything was working fine. Today I added the @mas weapons and vehicles. I have only added the vehicles to the pricing file so far, however when I start up the server I am getting this error:

 

17:12:52 "[HSBlackmarket]: HSBlackmarket Creating a Marker"
17:12:52 Error in expression <able ["R3F_LOG_disabled", true, true];
}forEach _objs;
};
}forEach _staticCoords>
17:12:52   Error position: <forEach _objs;
};
}forEach _staticCoords>
17:12:52   Error foreach: Type Bool, expected Array
17:12:52 File mpmissions\__cur_mp.Altis\trader\init.sqf, line 368
 
And the traders do not give an action when you point at them to trade with them.
Link to comment
Share on other sites

From what I can tell it has something to do with my trader listing in the init?

 

Here it is:

 

[[23235.3,18750.4,0.101439],315,true,false], //trader in salt flats
[[3179.46,13151.5,0.00135565],315,true,true], //trader in Kavala
[[18459.1,14259.2,0],340.199,false], //trader by mine
[[13319,14523.9,0],143.067,false], //trader by stavros
[[6193.02,16828.7,0],1.52142,false] //trader by kore
Link to comment
Share on other sites

 

From what I can tell it has something to do with my trader listing in the init?

 

Here it is:

 

[[23235.3,18750.4,0.101439],315,true,false], //trader in salt flats
[[3179.46,13151.5,0.00135565],315,true,true], //trader in Kavala
[[18459.1,14259.2,0],340.199,false], //trader by mine
[[13319,14523.9,0],143.067,false], //trader by stavros
[[6193.02,16828.7,0],1.52142,false] //trader by kore

 

remove the last false or true in the arrays, thats supposed to be an array of props, not a bool ...

Link to comment
Share on other sites

Is there a way to get the trader to support vehicles from other mods besides @mas?

 

I am trying to add a C-130 mod but they wont' show on the vendor:

 

mod: http://www.armaholic.com/page.php?id=28730

 

CfgPricing.hpp

// C-130J
class Cha_C130_USMC_1 {price = 5000;tax = 0.25;};
class Cha_C130_USMC_2 {price = 5000;tax = 0.25;};
class Cha_C130_AUS {price = 5000;tax = 0.25;};
class Cha_C130_IDF {price = 5000;tax = 0.25;};
class Cha_C130_BAF_1 {price = 5000;tax = 0.25;};
class Cha_C130_BAF_2 {price = 5000;tax = 0.25;};
class Cha_C130_RACS {price = 5000;tax = 0.25;};
class Cha_C130_UNO {price = 5000;tax = 0.25;};
class Cha_C130_AAF {price = 5000;tax = 0.25;};
class Cha_C130_TKA {price = 5000;tax = 0.25;};
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...