Jump to content

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


Suppe

Recommended Posts

OK so just found out that the pricing config for this, changes every price for all traders across the entire map. Was not aware of this haha. anyway to avoid this? and to just set the prices for the black market alone? not affecting any other trader?

Link to comment
Share on other sites

Hi, to add the bases to static traders is this how i would do it?, currently have made one myself using editor, but I prefer yours.

 

[[9020.88,21480.2,0.0179157],185.1], //trader by airfield

[[27735.8,24660.5,0],180],true,[["SignAd_Sponsor_F",[27725.9,24648.6,0],0]] //trader by sea

Regards

 

simon

Link to comment
Share on other sites

OK so just found out that the pricing config for this, changes every price for all traders across the entire map. Was not aware of this haha. anyway to avoid this? and to just set the prices for the black market alone? not affecting any other trader?

 

Wanted to write the same today :-) I just want to hire vehicles and want to add an extra cfgpricing.hpp only for the vehicle hire... the original cfgpricing.hpp, which contains all the buy/sell prices  should be original...

 

is this piossible to use one cfgpricing for buy/sell at the normal traders and one cfgpricing_hire for the vehicle hire?

Link to comment
Share on other sites

OK so just found out that the pricing config for this, changes every price for all traders across the entire map. Was not aware of this haha. anyway to avoid this? and to just set the prices for the black market alone? not affecting any other trader?

 

Wanted to write the same today :-) I just want to hire vehicles and want to add an extra cfgpricing.hpp only for the vehicle hire... the original cfgpricing.hpp, which contains all the buy/sell prices  should be original...

 

is this piossible to use one cfgpricing for buy/sell at the normal traders and one cfgpricing_hire for the vehicle hire?

 

can you pls search before asking ... or atleast flip 1 page back?

 

 

Hi, to add the bases to static traders is this how i would do it?, currently have made one myself using editor, but I prefer yours.

 

[[23235.3,18750.4,0.101439],315,true,true], //trader

[[18459.1,14259.2,0],340.199,true,true]  //trader by mine

 

Regards

 

simon

 

it is not possible to use the prebuild setups with the static traders currently, perhaps at some time it will be upgraded to allow this, but for now you have to build your own setup.

 

remove the last ,true and it will work

Link to comment
Share on other sites

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

info for updater:

 

- rename the cfgpricing.hpp in HSpricing.hpp

 

- open the HSpricing.hpp and rename on the top cfgpricing.hpp in HSpricing.hpp

 

- open your description.ext and change cfgpricing.hpp in HSpricing.hpp

 

 

edit:

tradermenu.sqf    line 29 and line 60

_config = "HSPricing" call EPOCH_returnConfig;

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

 

I just noticed I am getting this one as well and I already have added this to my publicvariable.txt file:

 

 !"HSPV_traderrequest" 

 

Anyone get this working?

Link to comment
Share on other sites

I have tried many different things, however I am new to all this, but as of yet I still can not get the boats to spawn without getting that kick, I placed the static trader as close to the water as i could and i cant actually get boats to spawn in the water also. Cars, trucks, helis and planes are all ok.

 

But sorry I cant help yet

 

simon

Link to comment
Share on other sites

ok... testet... checked your be filters again.... there is every filter in the mainpost.... i can normaly buy a boat without kick, and i only added the be filters from the readme... so... check your be filters again..... if not post your real kick.log

Link to comment
Share on other sites

if u get for example a: createvehicle Restriction #0             kick

 

than please post your: createvehicle.log    (the last kick)

 

if something with setvariableval Restriction #0             kick

 

than the setvariableval.log    (the last kick)

 

....just an example.... 

Link to comment
Share on other sites

can some1 help please

 

i did read this forum but dont understand

 

i have infistar on my a3 epoch server

 

i as admin can access the trader menu but my players cant

 

i did add this to my run file: (check striped)

 

/* Use allowed Dialogs ? */ _UDW = true; /* true or false */
/* _allowedDialogs: Insert IDDs here to prevent them from being closed! Default ArmA3 and Altis-Life idds should be in already. */
_allowedDialogs = [-1,602,7777,7778,9999,9980];
/* 5001, -3: Zupas New Hud (Hud-Builder) - https://github.com/DevZupa/ZHB-A3*/
_allowedDialogs pushBack 5001;
_allowedDialogs pushBack -3;
/* 37400: Custom Menu from AltisLife used on some Epoch Servers */
_allowedDialogs pushBack 37400;
 
but still does not work
Link to comment
Share on other sites

@ deadpool

 

allow the addaction for your players....

 

/*  Remove Actions Plr   */ _OAP = false;    /* true or false */    /* Remove ALL Actions on Player Object: (mousewheel actions) needs to be  false  for AltisLife for e.g. gathering */
/*  Remove Actions Objs  */ _OAO = true;    /* true or false */    /* Remove ALL Actions on Objects near Player: (mousewheel actions) needs to be  false  when using e.g. IgiLoad */
 

both to false..

 

 

report if it not work.

Link to comment
Share on other sites

if anybody cares ......   Bornholm   coords hsb sea + hsb airfield + basic structure

case "bornholm":{
		_staticCoords = [
		     
                         [[6217.34,3637.62,0],264.091,true], //sea
			 [[3890.33,4668.73,0],24.8432,true]  //airport
		];
        ["Land_TentHangar_V1_F",[3886.45,4662.18,0.00660706],32.2727,[[0.53395,0.845516,0],[0,0,1]],false],
	["Land_CncBarrierMedium4_F",[3897.56,4667.82,0],36.3637,[[0.592908,0.80527,0],[0,0,1]],false],
	["Land_CncBarrierMedium4_F",[3886.68,4674.15,0],36.3637,[[0.592908,0.80527,0],[0,0,1]],false],
	["Land_CncBarrierMedium4_F",[3891.31,4674.54,0],36.3637,[[0.592908,0.80527,0],[0,0,1]],false],
	["Land_CncBarrierMedium4_F",[3877.94,4657.15,-0.183092],36.3637,[[0.592908,0.80527,0],[0,0,1]],false],
	["Land_CncBarrierMedium4_F",[3884.72,4652.4,-0.0973186],36.3637,[[0.592908,0.80527,0],[0,0,1]],false],
	["Land_ScrapHeap_2_F",[3889.42,4657.56,0],0,[[0,1,0],[0,0,1]],false],
	["Land_JetEngineStarter_01_F",[3883.61,4665.02,0],305.455,[[-0.814576,0.580057,0],[0,0,1]],false],
	["Land_HelipadCircle_F",[3909.24,4693.02,0],0,[[0,1,0],[0,0,1]],false],
        ["Land_HelipadEmpty_F",[6211.48,3615.72,0],0,[[0,1,0],[0,0,1]],false], // for hsb sea spawn boats near shore
Link to comment
Share on other sites

        ["Land_TentHangar_V1_F",[3886.45,4662.18,0.00660706],32.2727,[[0.53395,0.845516,0],[0,0,1]],false],
	["Land_CncBarrierMedium4_F",[3897.56,4667.82,0],36.3637,[[0.592908,0.80527,0],[0,0,1]],false],
	["Land_CncBarrierMedium4_F",[3886.68,4674.15,0],36.3637,[[0.592908,0.80527,0],[0,0,1]],false],
	["Land_CncBarrierMedium4_F",[3891.31,4674.54,0],36.3637,[[0.592908,0.80527,0],[0,0,1]],false],
	["Land_CncBarrierMedium4_F",[3877.94,4657.15,-0.183092],36.3637,[[0.592908,0.80527,0],[0,0,1]],false],
	["Land_CncBarrierMedium4_F",[3884.72,4652.4,-0.0973186],36.3637,[[0.592908,0.80527,0],[0,0,1]],false],
	["Land_ScrapHeap_2_F",[3889.42,4657.56,0],0,[[0,1,0],[0,0,1]],false],
	["Land_JetEngineStarter_01_F",[3883.61,4665.02,0],305.455,[[-0.814576,0.580057,0],[0,0,1]],false],
	["Land_HelipadCircle_F",[3909.24,4693.02,0],0,[[0,1,0],[0,0,1]],false],
        ["Land_HelipadEmpty_F",[6211.48,3615.72,0],0,[[0,1,0],[0,0,1]],false], // for hbs sea spawn boats near shore

 

you can actually add these buildings into the script, like this (well you actually only need the 3 first, but long story short):

_staticCoords = [
	[[6217.34,3637.62,0],264.091,true,[
		["Land_TentHangar_V1_F",[3886.45,4662.18,0.00660706],32.2727,[[0.53395,0.845516,0],[0,0,1]],false],
		["Land_CncBarrierMedium4_F",[3897.56,4667.82,0],36.3637,[[0.592908,0.80527,0],[0,0,1]],false],
		["Land_CncBarrierMedium4_F",[3886.68,4674.15,0],36.3637,[[0.592908,0.80527,0],[0,0,1]],false],
		["Land_CncBarrierMedium4_F",[3891.31,4674.54,0],36.3637,[[0.592908,0.80527,0],[0,0,1]],false],
		["Land_CncBarrierMedium4_F",[3877.94,4657.15,-0.183092],36.3637,[[0.592908,0.80527,0],[0,0,1]],false],
		["Land_CncBarrierMedium4_F",[3884.72,4652.4,-0.0973186],36.3637,[[0.592908,0.80527,0],[0,0,1]],false],
		["Land_ScrapHeap_2_F",[3889.42,4657.56,0],0,[[0,1,0],[0,0,1]],false],
		["Land_JetEngineStarter_01_F",[3883.61,4665.02,0],305.455,[[-0.814576,0.580057,0],[0,0,1]],false],
		["Land_HelipadCircle_F",[3909.24,4693.02,0],0,[[0,1,0],[0,0,1]],false],
		["Land_HelipadEmpty_F",[6211.48,3615.72,0],0,[[0,1,0],[0,0,1]],false]
	]], //sea
	[[3890.33,4668.73,0],24.8432,true]  //airport
];
Link to comment
Share on other sites

small offer ) i think it will be usefull 

/*
	a3 epoch trader
	dummy.sqf
	by Halv & Suppe
<((><fishwashere
*/

//systemChat "WARNING:";
//systemChat "This trader is NOT finished yet ...";
//systemChat "... you might loose items and / or crypto trading here!";


HS_SWITCH = false;

systemchat "wait few sec I will chk your balance";
sleep 5;
hint format ["You Have %2 Crypto in your bank", [player], EPOCH_bankBalance]; /or dont do it )
if (EPOCH_bankbalance < 0) then {systemChat "sorry dude, we dont make a busssineess with poor debtors.";} else { createDialog "HS_trader_dialog"; call HS_trader_menu;};

Link to comment
Share on other sites

Ok sorry about this but I must be doing something seriously wrong, nothing showing up

 

    [[3639.12,17564,0.25791],185.1,true,[
                ["Land_HelipadCivil_F",[3631.1,17595.1,0],0,[[0,1,0],[0,0,1]],false],
                ["Land_HelipadEmpty_F",[3624.36,17530,0],0,[[0,1,0],[0,0,1]],false],
                ["SignAd_Sponsor_F",[3637.02,17565.1,-0.401468],8.61445,[[0.149785,0.988719,0],[0,0,1]],false],
                ["Flag_ARMEX_F",[3641.18,17564.4,0.108812],106.243,[[0.960084,-0.279712,0],[0,-0,1]],false] //trader by sea
        ]];
        _blacklistedAreas = [

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