Jump to content

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


Suppe

Recommended Posts

Hi ive got a problem. Using infistar and noone of my players can use HS Trader menu, I can as an admin. Ive chnage run.sqf with allowDialogs 9999,9980.

 

hey, open the run.sqf....

 

search for:

/*  Remove Actions Plr

/*  Remove Actions Objs

 

and change the true to a false.

 

 

edit: the info is now in the readme aswell.

Link to comment
Share on other sites

@ boRada

 

open in the trader folder the init.sqf, its in line 319 and 345. there a the marker......

 

 

@maaaark

 

sry, i dont know... i am not up to date with infistar..... maybe Halv has an idea....

Link to comment
Share on other sites

hello guys, iv probs with that.

 

downloaded the files from suppe,

 

i add this to description an top:

 

#include "trader\Halv_defines.hpp"
#include "trader\tradedialog.hpp"
#include "trader\HSPricing.hpp"

 

And this init.sqf on top:

 

//Market
[] execVM "trader\init.sqf";
[] execVM "trader\HALV_takegive_crypto_init.sqf";
[] execVM "trader\resetvehicleammo.sqf";

 

So, the trader folder is in the mission files.

Problem now i cant join my server, cannot connect to lobby or something.

staying on mapscreen nothing happens...

 

Whats wrong now? Using epoch antihack maybe?

But filters are all in.

 

pls help! thanks and greez

Link to comment
Share on other sites

hello guys, iv probs with that.

 

downloaded the files from suppe,

 

i add this to description an top:

 

#include "trader\Halv_defines.hpp"

#include "trader\tradedialog.hpp"

#include "trader\HSPricing.hpp"

 

And this init.sqf on top:

 

//Market

[] execVM "trader\init.sqf";

[] execVM "trader\HALV_takegive_crypto_init.sqf";

[] execVM "trader\resetvehicleammo.sqf";

 

So, the trader folder is in the mission files.

Problem now i cant join my server, cannot connect to lobby or something.

staying on mapscreen nothing happens...

 

Whats wrong now? Using epoch antihack maybe?

But filters are all in.

 

pls help! thanks and greez

 

are you using any other addition i made?

Link to comment
Share on other sites

@DigitalPurge

 

hey,

 

open in the trader folder the init.sqf,start in line 33 _staticCoords = [..... look for your MAP and remove trader and keep just one.

Cheers dude thanks for the qiuck reply :)

 just in a copy and paste frenzy adding cup weapons to the trader! arghhhh

 

 

Im picking up this in my rpt,

 

I haven't changed anything in that file

 

 
class HALV_IGUIBack
{
type = 0;
idc = -1;
styl>
16:47:08   Error position: <HALV_IGUIBack
{
type = 0;
idc = -1;
styl>
16:47:08   Error Missing ;
16:47:08 File mpmissions\__cur_mp.Altis\trader\Halv_defines.hpp, line 44
16:47:08 Error in expression <
Link to comment
Share on other sites

are you using any other addition i made?

 

hello, im using killfeed too.

but i found the problem, HSPricing dont work with @mas and @masvehicles

or i failed to add the correct lines ... hmmm

without MAS its work fine

// @MAS
// Weapons
        class arifle_mas_g36c {price = 250;};
        class arifle_mas_g3 {price = 250;};
        class hgun_mas_mp7_F {price = 250;};
        class hgun_mas_mp7p_F {price = 250;};
        class LMG_mas_Mk48_F {price = 250;};
        class LMG_mas_M60_F {price = 250;};
        class arifle_mas_akms {price = 250;};
        class LMG_mas_pkm_F {price = 250;};
        class srifle_mas_ksvk {price = 250;};
        class srifle_mas_svd {price = 250;};
//Magazine
	class 30Rnd_mas_556x45_Stanag {price = 10;};
	class 30Rnd_mas_556x45_T_Stanag {price = 10;};
	class 30Rnd_556x45_Stanag_Tracer_Red {price = 10;};
	class 30Rnd_556x45_Stanag_Tracer_Green {price = 10;};
	class 30Rnd_556x45_Stanag_Tracer_Yellow {price = 10;};
	class 30Rnd_mas_762x39_mag {price = 10;};
	class 30Rnd_mas_762x39_T_mag {price = 10;};
	class 20Rnd_mas_762x51_Stanag {price = 10;};
	class 20Rnd_mas_762x51_T_Stanag {price = 10;};
	class 5Rnd_mas_762x51_Stanag {price = 10;};
	class 5Rnd_mas_762x51_T_Stanag {price = 10;};
	class 5Rnd_mas_127x99_Stanag {price = 10;};
	class 5Rnd_mas_127x99_dem_Stanag {price = 10;};
	class 5Rnd_mas_127x99_T_Stanag {price = 10;};
	class 5Rnd_mas_127x108_mag {price = 10;};
	class 5Rnd_mas_127x108_dem_mag {price = 10;};
	class 5Rnd_mas_127x108_T_mag {price = 10;};
	class 10Rnd_mas_762x54_mag {price = 10;};
	class 10Rnd_mas_762x54_T_mag {price = 10;};
	class 40Rnd_mas_46x30_Mag {price = 10;};
	class 150Rnd_762x51_Box {price = 10;};
	class 150Rnd_762x51_Box_Tracer {price = 10;};
	class 100Rnd_mas_762x51_Stanag {price = 10;};
	class 100Rnd_mas_762x51_T_Stanag {price = 10;};
	class 100Rnd_mas_762x54_mag {price = 10;};
	class 100Rnd_mas_762x54_T_mag {price = 10;};
// Attachments
	class muzzle_mas_snds_L {price = 15;};
	class muzzle_mas_snds_LM {price = 15;};
	class muzzle_mas_snds_C {price = 15;};
	class muzzle_mas_snds_M {price = 15;};
	class muzzle_mas_snds_Mc {price = 15;};
	class muzzle_mas_snds_AK {price = 15;};
	class muzzle_mas_snds_SM {price = 15;};
	class muzzle_mas_snds_SMc {price = 15;};
	class muzzle_mas_snds_SH {price = 15;};
	class muzzle_mas_snds_SHc {price = 15;};
	class muzzle_mas_snds_SV {price = 15;};
	class muzzle_mas_snds_SVc {price = 15;};
	class muzzle_mas_snds_SVD {price = 15;};
	class muzzle_mas_snds_KSVK {price = 15;};
	class muzzle_mas_snds_MP5SD6 {price = 15;};
	class muzzle_mas_snds_MP7 {price = 15;};
	class optic_mas_zeiss {price = 15;};
	class optic_mas_zeiss_c {price = 15;};
	class optic_mas_zeiss_eo {price = 15;};
	class optic_mas_zeiss_eo_c {price = 15;};
	class optic_mas_acog {price = 15;};
	class optic_mas_acog_c {price = 15;};
	class optic_mas_acog_eo {price = 15;};
	class optic_mas_acog_eo_c {price = 15;};
	class optic_mas_acog_rd {price = 15;};
	class optic_mas_acog_rd_c {price = 15;};
	class optic_mas_handle {price = 15;};
	class optic_mas_aim {price = 15;};
	class optic_mas_aim_c {price = 15;};
	class optic_mas_pso {price = 15;};
	class optic_mas_pso_c {price = 15;};
	class optic_mas_pso_eo {price = 15;};
	class optic_mas_pso_eo_c {price = 15;};
	class optic_mas_pso_nv {price = 15;};
	class optic_mas_pso_nv_c {price = 15;};
	class optic_mas_pso_nv_eo {price = 15;};
	class optic_mas_pso_nv_eo_c {price = 15;};
	class optic_mas_term {price = 150;};
	class optic_mas_DMS {price = 15;};
	class optic_mas_DMS_c {price = 15;};
	class optic_mas_Holosight_blk {price = 15;};
	class optic_mas_Holosight_camo {price = 15;};
	class optic_mas_Arco_blk {price = 15;};
	class optic_mas_Arco_camo {price = 15;};
	class optic_mas_Hamr_camo {price = 15;};
	class optic_mas_Aco_camo {price = 15;};
	class optic_mas_ACO_grn_camo {price = 15;};
	class optic_mas_MRCO_camo {price = 15;};
	class optic_mas_PSO_day	{price = 15;};
	class optic_mas_PSO_nv_day {price = 15;};
	class optic_mas_MRD	{price = 15;};
	class optic_mas_LRPS {price = 15;};
	class optic_mas_goshawk {price = 15;};
	class optic_mas_kobra {price = 15;};
	class optic_mas_kobra_c {price = 15;};
	class acc_mas_pointer_IR {price = 15;};
	class acc_mas_pointer_IR_top {price = 15;};
	class acc_mas_pointer_IR2 {price = 15;};
	class acc_mas_pointer_IR2_top {price = 15;};
	class acc_mas_pointer_IR2c {price = 15;};
	class acc_mas_pointer_IR2c_top {price = 15;};
// BALACLAVA, WRAPS, GOOGLES, MASKS:
	class G_mas_wpn_gog {price = 80;};
	class G_mas_wpn_gog_d {price = 80;};
	class G_mas_wpn_gog_m {price = 80;};
	class G_mas_wpn_gog_md {price = 80;};
	class G_mas_wpn_gog_g {price = 80;};
	class G_mas_wpn_gog_gd {price = 80;};
	class G_mas_wpn_mask {price = 80;};
	class G_mas_wpn_mask_b {price = 80;};
	class G_mas_wpn_wrap {price = 80;};
	class G_mas_wpn_wrap_f {price = 80;};
	class G_mas_wpn_wrap_t {price = 80;};
	class G_mas_wpn_wrap_b {price = 80;};
	class G_mas_wpn_wrap_c {price = 80;};
	class G_mas_wpn_wrap_g {price = 80;};
	class G_mas_wpn_wrap_gog {price = 80;};
	class G_mas_wpn_wrap_gog_f {price = 80;};
	class G_mas_wpn_wrap_gog_t {price = 80;};
	class G_mas_wpn_wrap_gog_b {price = 80;};
	class G_mas_wpn_wrap_gog_c {price = 80;};
	class G_mas_wpn_wrap_gog_g {price = 80;};
	class G_mas_wpn_wrap_mask {price = 80;};
	class G_mas_wpn_wrap_mask_t {price = 80;};
	class G_mas_wpn_wrap_mask_f	{price = 80;};
	class G_mas_wpn_wrap_mask_b	{price = 80;};
	class G_mas_wpn_wrap_mask_c	{price = 80;};
	class G_mas_wpn_wrap_mask_g {price = 80;};
	class G_mas_wpn_bala {price = 80;};
	class G_mas_wpn_bala_b {price = 80;};
	class G_mas_wpn_bala_t {price = 80;};
	class G_mas_wpn_bala_gog { price = 80;};
	class G_mas_wpn_bala_gog_b {price = 80;};
	class G_mas_wpn_bala_gog_t {price = 80;};
	class G_mas_wpn_bala_mask {price = 80;};
	class G_mas_wpn_bala_mask_b {price = 80;};
	class G_mas_wpn_bala_mask_t {price = 80;};
	class G_mas_wpn_shemag {price = 80;};
	class G_mas_wpn_shemag_r {price = 80;};
	class G_mas_wpn_shemag_w {price = 80;};
	class G_mas_wpn_shemag_gog {price = 80;};
	class G_mas_wpn_shemag_mask	{price = 80;};
// NVG's
	class NVGoggles_mas_h {price = 15;};
	class Rangefinder_mas_h {price = 100;};
	class Laserdesignator_mas_h {price = 100;};
//Cars
	class I_mas_cars_UAZ_Unarmed {price = 2000;};
	class I_mas_cars_UAZ_Med {price = 3500;};
	class O_mas_cars_UAZ_Unarmed {price = 2000;};
	class O_mas_cars_UAZ_Med {price = 3500;};
	class B_mas_cars_Hilux_Unarmed {price = 2000;};
	class B_mas_cars_Hilux_Med {price = 3500;};
	class B_mas_cars_LR_Unarmed {price = 2000;};
	class B_mas_cars_LR_Med {price = 3500;};
	class I_mas_cars_LR_soft_Unarmed {price = 2000;};
	class I_mas_cars_LR_soft_Med {price = 3500;};
	class B_mas_HMMWV_UNA {price = 3000;};
	class B_mas_HMMWV_MEV {price = 3000;};
	class B_mas_HMMWV_UNA_des {price = 3000;};
	class B_mas_HMMWV_MEV_des {price = 3000;};
//Helis
	class B_mas_UH1Y_UNA_F {price = 5000;};
	class B_mas_UH1Y_MEV_F {price = 5000;};
	class B_mas_UH60M {price = 5000;};
	class B_mas_UH60M_MEV {price = 5000;};
};
Link to comment
Share on other sites

hey have ah problem with the blackmarket and script restriction

 

 

  #38 "teMarker [format["HSBlackmarket_%1",_i], _coords];
  

_marker setMarkerShape "ICON";
_marker setMarkerType "hd_pickup";

_marker set"
 

 

and nobody can join the server, "player disconnected"

 

and here is the script.txt:

//new2
7 "BIS_fnc_dynamictext" !"] spawn BIS_fnc_dynamicText;" !="\"BIS_fnc_dynamictext"\" !", 0, 1, 5, 2, 0, 1] spawn bis_fnc_dynamictext;" !", 0, 0.4, 5, 2, 0, 2] spawn bis_fnc_dynamictext;" !", 0, 1, 6, 2, 0, 1] spawn bis_fnc_dynamictext;" !"snil '_fnc_scriptName') then {_fnc_scriptName}"  "sleep (_onScreenTime) spawn bis_fnc_dynamictext;"
7 exec !="addons\paintshop\paintshop.sqf";" !="custom\welcome.sqf";" !"addons\status_bar\init_statusBar.sqf";" !="trader\init.sqf";" !="<execute expression=" !"RscDebugConsole_execute" !"execFSM" !"_executeStackedEventHandler" !"fn_execVM" !"fn_moduleExecute" !"fn_execRemote" !"fn_MPexec" !"bis_fnc_moduleExecute_activate" !"fn_tridentExecute" !"randomize_civ1" !"executed from" !"EPOCH_DebugGUI_exec" !"_handle = [_display] execVM _script;" !"execVM \"\A3\Structures_F\scripts" !="execVM \"\A3\Structures_F_EPC\Civ\PlayGround\scripts\Carousel_spin.sqf\"" !="reviveExecuteTemplates"
7 forceRespawn
7 setFriend
7 setAmmo
7 RscDebugConsole_watch !="RscDebugConsole_watchSave = [true,true,true,true];"
7 enableFatigue
7 setUnitRecoilCoefficient
7 setWeaponReloadingTime
7 allMissionObjects
7 callExtension
7 showCommandingMenu !="showCommandingMenu '';" !"showCommandingMenu '#USER:"
7 moveIn !="(_this select 1) moveInCargo (_this select 0);" !="\"A3\functions_f\Misc\fn_moveIn.sqf\"" !="\"A3\functions_f\arrays\fn_removeIndex.sqf\"" !="player moveInAny _vehicle;\nEPOCH_antiWallCount = EPOCH_antiWallCount + 1;" !="[\"I_UAV_AI\", position _unit, [], 0, \"CAN_COLLIDE\"];\n_driver moveInAny _unit;" !="_driver moveInAny Epoch_mission_uav;" !="axeVIP moveInDriver vehicle axeVIP;" !="axeVIP moveInCargo vehicle axeVIP; !="_driver moveInDriver _axeCopter;" !="_unit moveInGunner _axeCopter;" !="axeVIP moveInDriver vehicle axeVIP;" !="axeVIP moveInCargo vehicle axeVIP;"
7 attachTo !="EP_light attachTo [player];" !="_bomb attachTo [_unit, [0,0,0],\"Pelvis\"];" !="_dogHolder attachTo [_dog, [-0.2,1.2,0.7]];" !="EPOCH_target attachTo[player];" !="_sapperSmoke attachTo [_sapper,[0,0,-0.4]];"" !="_cage attachTo [_cage2,[0,1.3,0]];"
7 enableCollisionWith
7 hideObject !="_dogHolder hideobject true;" !="_dogHolder hideobject false;"
7 setvelocity !="_smokeg setVelocity _Gvel;" !="setVelocityTarget" !="_bolt setPosATL _pos;\n_bolt setVelocity [0, 0, -10];" !="EPOCH_target setvelocitytransformation" !="_currentTarget setVelocity [0,0,-0.01];" !="_head setVelocity [\n(sin _dir * _speed), \n(cos _dir * _speed)" !="_vel = velocity this; _dir = getDir player; this setVelocity[(_vel select 0)+(sin _dir * 2),(_vel select 1)+(cos _dir * 2),(_vel select 2)];" !="_head setVelocity [random 2,random 2,10];"
7 assignAs !="assignAsCargo" !="_unit assignAsGunner _axeCopter;" !="_driver assignAsDriver _axeCopter;" !="axeVIP assignAsDriver vehicle axeVIP;"
7 assignAsCargo !="_x assignAsCargo axeGeneralsBoat;" !="axeVIP assignAsCargo vehicle player;" !="axeVIP assignAsCargo vehicle axeVIP;"
7 allowDamage !="_unit allowDamage false;" !="_unit allowDamage true;" !="player allowDamage true;" !="vehicle player allowDamage true;" !="player allowDamage false;"
7 addWeaponCargo !="_acceptHolder addWeaponCargo [_wWeapon, 1] ;"
7 onMapSingleClick !="onMapSingleClick '';"
7 addMagazine !="if !(player canAdd (_x select 0)) exitWith {};\nplayer addMagazine[_x select 0, _x select 1];" !"addMagazineCargo" !="player addMagazine _craftItem;" !="player addMagazine \"jerrycanE_epoch\";" !="player addMagazine \"emptyjar_epoch\";" !="player addMagazine \"jerrycan_epoch\";" !="player addMagazine \"Hatchet_swing\";" !="player addMagazine [(_x select 0),(_x select 1)]" !="player addMagazine _x;" !="if !(player canAdd (_x select 0)) exitWith {};\nplayer addMagazine[_x select 0, _x select 1];"
7 addMagazineCargo !"_dogHolder addMagazineCargo [\"RabbitCarcass_EPOCH\", 1]" !"_dogHolder addMagazineCargo [\"Pelt_EPOCH\", 1]" !"_dogHolder addMagazineCargo [\"Venom_EPOCH\", 1]" !"_dogHolder addMagazineCargo [\"SnakeCarcass_EPOCH\", 1]" !"_dogHolder addMagazineCargo [\"ChickenCarcass_EPOCH\", 1]" !="_acceptHolder addMagazineCargo [_wAmmo, 1] ;"
7 addItem !="_this call HS_additemtolb;false" !="player addItem _craftItem;" !="player addItem _x;" !="_plyr addItemToVest _missionItem;" !="axeVIP addItemToVest _item;" !="_plyr  addItemToVest _missionItem;"
7 addBackPack
7 removeAllWeapons !="removeAllWeapons axeGeneral;"
7 removeAllItems
7 removeAllActions !"onplayerkilled.sqf"
7 setViewDistance !"setViewDistance 1600"
7 createGroup !="_grp = createGroup RESISTANCE;" !="if (isserver) then {\n_group = creategroup sidelogic;" !="grpVIPGeneral = createGroup RESISTANCE;" !="_grp = createGroup side _plyr;" !="_grp = createGroup side player;" !="_grp = createGroup _side;" !="_grp = createGroup (side _plyr);" !="createcenter sidelogic;\n_grpLogic = creategroup sidelogic;\nbis_functions_mainscope"
7 createVehicleCrew
7 createVehicleLocal !"\"#particlesource\" createVehicleLocal" !"\"#lightpoint\" createVehicleLocal" !"\"BloodSplat\" createVehicleLocal" !"[\"lightning1_F\", \"lightning2_F\"] call BIS_fnc_selectRandom;\n_lighting = _class createVehicleLocal"
7 createUnit !="_unit = _grp createUnit[(_arrUnits select _i), _pos, [], 0, \"FORM\"];" !="_driver = _grp createUnit[\"I_UAV_AI\", position _unit, [], 0, \"CAN_COLLIDE\"];" !="axeGeneral = grpVIPGeneral createUnit ["I_officer_F", axeGeneralPos, [], 1, "CAN_COLLIDE"];"
7 createAgent !="_unit = createAgent[_unitClass, _targetPos, [], 256, \"FORM\"];" !="_unit = createAgent [_unitClass, _targetPos, [], 120, \"FORM\"];" !="_animal = createAgent[_randomAIClass, _animalPos, [], 5, \"NONE\"];" !="_unit = createAgent [\"Epoch_Cloak_F\", _pos, [], 0, \"CAN_COLLIDE\"];" !="_unit = createAgent [\"Epoch_Sapper_F\", _targetPos, [], 180, \"FORM\"];" !="_sapper = createAgent ["Epoch_Sapper_F", getPos _cage2, [], 0, "FORM"];"
7 createTeam
7 createDialog !"createdialog \"Halv_spawn_dialog\";" !="createDialog "HS_trader_dialog";" !="createDialog \"QuickTake\";" !="createDialog \"InteractBank\";" !="createdialog \"SelectGender\";" !="_handled = createdialog _dialog;" !="if !(createdialog \"InteractItem\") exitWith {};" !="createDialog \"TapOut\";" !="if !(createdialog \"Trade\") exitWith {};" !="_ok = createdialog \"Interact\";" !="_ok = createdialog \"TradeNPCMenu\";" !="createDialog \"Epoch_myGroup\";" !="createDialog (if ((Epoch_my_GroupUID == \"\") && (Epoch_my_Group isEqualTo [])) then {\"EPOCH_createGrp\"} else {\"Epoch_myGroup\"});" !="createDialog \"GroupRequests\";" !="_ok = createdialog \"MissionSelect\";" !="createDialog 'Skaronator_AdminMenu';"
7 deleteMarker !="deleteMarker [format["HSBlackmarket_%1",_i], _coords];"
7 setMarker
7 createMarker !"createMarker["MainMarker75", MCoords];" !="createMarker [format["HSBlackmarket_%1",_i], _coords];"
7 assignItem !="axeVIP assignItem _item;"
7 forceAddUniform
7 removeAllMPEventHandlers
7 setDamage !="player setdamage 1;"
7 setDammage
7 displaySetEventHandler
7 ctrlSetEventHandler !"BIS_fnc_guiMessage_status" !"ctrlSetEventHandler ['LBDblClick', '_this call" !="_buttonRespawn ctrlseteventhandler [\"buttonclick\",\"with uinamespace do {['buttonRespawn',"
7 addMPEventHandler
7 addEventHandler !"displayAddEventHandler" !"ctrlAddEventHandler" !"FiredNear" !"EpeContactStart" !"InventoryClosed" !"GetOut" !"InventoryOpened" !"local" !"Respawn" !"Put" !"Take" !"Fired" !"Killed" !" [\"PostReset\",{BIS_EnginePPReset = true;} ];" !"_logic addeventhandler [\n\"local\""
7 displayAddEventHandler !"cmKeyPress" !"EP_LOOP" !"Press_F3 = (findDisplay 46) displayAddEventHandler [\"KeyDown\",\"if ((_this select 1) == 61) then {call T" !"[_display] call _fnc_animate;" !"tVersion select 4) == \"Development\") then" !"_display displayaddeventhandler\n[\n\"mousemoving\"," !"(findDisplay 46) displayAddEventHandler [\"KeyDown\",\"true\"];" !"(findDisplay 46) displayAddEventHandler [\"KeyDown\",\"_this call EPOCH_KeyDown\"];" !="_addCase = _display46 displayAddEventHandler ['KeyDown',{_this call EPOCH_KeyDown;}];" !"_display displayaddeventhandler [\"unload\",\"uinamespace setvariable ['BIS_fnc_guiMess" !="findDisplay -1337 displayAddEventHandler ['Unload'"
7 ctrlAddEventHandler !"rCfg >> \"refreshDelay\");" !" [\n\"draw\"," !" [\"buttonclick\"," !="(uiNamespace getVariable 'ESP_map') ctrlAddEventHandler['Draw', '_esp_targets = EPOCH_ESPMAP_TARGETS;" !="ctrlAddEventHandler ['MouseButtonDown'" !="(_display displayctrl _idc) ctrlAddEventHandler [\"LBSelChanged\","
7 removeAllEventHandlers !"cmKeyPress" !="ctrlRemoveAllEventHandlers" !="_vehicle removeAllEventHandlers \"GetOut\";" !="_sapper removeAllEventHandlers \"Hit\";\n_sapper removeAllEventHandlers \"FiredNear\";" !="_display46 displayRemoveAllEventHandlers 'KeyDown';"
7 removeAllMissionEventHandlers
7 ctrlRemoveAllEventHandlers !="(uiNamespace getVariable 'ESP_map') ctrlRemoveAllEventHandlers 'Draw';" !="ctrlAddEventHandler ['MouseButtonDown'"
7 removeEventHandler !="displayRemoveEventHandler" !="player removeEventHandler ['Fired', 0];" !"_currentTarget removeEventHandler[\"EpeContactStart\", _onContactEH]" !" [_adminVar,objnull];\npublicvariable _adminVar;\nplayer removeeventhandler [\"respawn\",_respawn];" !="_plyr removeEventHandler [\"FiredNear\", _smokeEH];" !="player removeEventHandler [_ehKey, 0];"
7 displayRemoveEventHandler !"cmKeyPress" !"(findDisplay 46) displayRemoveEventHandler [\"KeyDown\", Press_F3];" !"BIS_fnc_guiMessage_status"
7 switchCamera !="{if (cameraOn != vehicle player) then { vehicle player switchCamera 'External' } };"
7 remoteControl !"fn_moduleRemoteControl.sqf" !="\"BIS_fnc_moduleRemoteControl"\"
7 drawIcon3D !="drawIcon3D[\"\x\addons\a3_epoch_code\Data\Member.paa\",_color,_pos,1,1,0,_text,1,0.025,\"PuristaMedium\"];\n}forEach EPOCH_ESP_TARGETS;" !"drawIcon3D[format[\"\x\addons\a3_epoch_code\Data\UI\loading_bar_%1.paa\",_stability],_color,(getPosATL EPOCH_stabilityTarget),5,5,0,\"\",1,0.05,\"PuristaMedium\"];" !"drawIcon3D[format[\"\x\addons\a3_epoch_code\Data\UI\loading_bar_%1.paa\",_num],_color,_pos,4,4,0,\"\",1,0.05,\"PuristaMedium\"];" !"EPOCH_drawIcon3dStability" !"EPOCH_drawIcon3d" !"if (_condition) then {\ndrawIcon3D [_icon, _color, _position, _sizeX, _sizeY, _angle, _text," !="drawIcon3D [\"\A3\UI_F_MP_Mark\Data\Tasks\Misc\background.paa\""
7 drawLine3D !"{\nfor [{_i = 1}, {_i < count _x}, {_i = _i + 1}] do {\ndrawLine3D [_x select (_i - 1), _x select _i, ((BIS_tracedShooter getVari"
7 ctrlCreate !="_ListGroup = _display ctrlCreate [\"RscControlsGroupNoHScrollbars\",         21903    ];"
7 ctrlDelete !="ctrlDelete _ListGroup;"
7 ctrlClassName
7 ctrlModel
7 ctrlModelDirection
7 ctrlModelSide
7 ctrlModelUp
7 ctrlSetDirection
7 ctrlSetModel
7 deleteVehicleCrew !"fn_deleteVehicleCrew.sqf" !="\"BIS_fnc_deleteVehicleCrew"\"
7 loadFile
7 selectPlayer !="selectPlayer _playerObject;"
7 setGroupIconsVisible
7 setGroupIconsSelectable
7 setGroupIconParams
7 addGroupIcon
7 EPOCH_defaultVars_SEPXVar
7 EPOCH_GROUP_Delete_PVS !="EPOCH_GROUP_Delete_PVS = [player,Epoch_personalToken];"
7 playableunits !=""pto: %3 | Players: %2 | FPS: %1 ", round diag_fps, count playableUnits, EPOCH_playerCrypto, mapGridPosition player];"

Link to comment
Share on other sites

hey have ah problem with the blackmarket and script restriction

 

 

and nobody can join the server, "player disconnected"

 

and here is the script.txt:

//new2
7 "BIS_fnc_dynamictext" !"] spawn BIS_fnc_dynamicText;" !="\"BIS_fnc_dynamictext"\" !", 0, 1, 5, 2, 0, 1] spawn bis_fnc_dynamictext;" !", 0, 0.4, 5, 2, 0, 2] spawn bis_fnc_dynamictext;" !", 0, 1, 6, 2, 0, 1] spawn bis_fnc_dynamictext;" !"snil '_fnc_scriptName') then {_fnc_scriptName}"  "sleep (_onScreenTime) spawn bis_fnc_dynamictext;"
7 exec !="addons\paintshop\paintshop.sqf";" !="custom\welcome.sqf";" !"addons\status_bar\init_statusBar.sqf";" !="trader\init.sqf";" !="<execute expression=" !"RscDebugConsole_execute" !"execFSM" !"_executeStackedEventHandler" !"fn_execVM" !"fn_moduleExecute" !"fn_execRemote" !"fn_MPexec" !"bis_fnc_moduleExecute_activate" !"fn_tridentExecute" !"randomize_civ1" !"executed from" !"EPOCH_DebugGUI_exec" !"_handle = [_display] execVM _script;" !"execVM \"\A3\Structures_F\scripts" !="execVM \"\A3\Structures_F_EPC\Civ\PlayGround\scripts\Carousel_spin.sqf\"" !="reviveExecuteTemplates"
7 forceRespawn
7 setFriend
7 setAmmo
7 RscDebugConsole_watch !="RscDebugConsole_watchSave = [true,true,true,true];"
7 enableFatigue
7 setUnitRecoilCoefficient
7 setWeaponReloadingTime
7 allMissionObjects
7 callExtension
7 showCommandingMenu !="showCommandingMenu '';" !"showCommandingMenu '#USER:"
7 moveIn !="(_this select 1) moveInCargo (_this select 0);" !="\"A3\functions_f\Misc\fn_moveIn.sqf\"" !="\"A3\functions_f\arrays\fn_removeIndex.sqf\"" !="player moveInAny _vehicle;\nEPOCH_antiWallCount = EPOCH_antiWallCount + 1;" !="[\"I_UAV_AI\", position _unit, [], 0, \"CAN_COLLIDE\"];\n_driver moveInAny _unit;" !="_driver moveInAny Epoch_mission_uav;" !="axeVIP moveInDriver vehicle axeVIP;" !="axeVIP moveInCargo vehicle axeVIP; !="_driver moveInDriver _axeCopter;" !="_unit moveInGunner _axeCopter;" !="axeVIP moveInDriver vehicle axeVIP;" !="axeVIP moveInCargo vehicle axeVIP;"
7 attachTo !="EP_light attachTo [player];" !="_bomb attachTo [_unit, [0,0,0],\"Pelvis\"];" !="_dogHolder attachTo [_dog, [-0.2,1.2,0.7]];" !="EPOCH_target attachTo[player];" !="_sapperSmoke attachTo [_sapper,[0,0,-0.4]];"" !="_cage attachTo [_cage2,[0,1.3,0]];"
7 enableCollisionWith
7 hideObject !="_dogHolder hideobject true;" !="_dogHolder hideobject false;"
7 setvelocity !="_smokeg setVelocity _Gvel;" !="setVelocityTarget" !="_bolt setPosATL _pos;\n_bolt setVelocity [0, 0, -10];" !="EPOCH_target setvelocitytransformation" !="_currentTarget setVelocity [0,0,-0.01];" !="_head setVelocity [\n(sin _dir * _speed), \n(cos _dir * _speed)" !="_vel = velocity this; _dir = getDir player; this setVelocity[(_vel select 0)+(sin _dir * 2),(_vel select 1)+(cos _dir * 2),(_vel select 2)];" !="_head setVelocity [random 2,random 2,10];"
7 assignAs !="assignAsCargo" !="_unit assignAsGunner _axeCopter;" !="_driver assignAsDriver _axeCopter;" !="axeVIP assignAsDriver vehicle axeVIP;"
7 assignAsCargo !="_x assignAsCargo axeGeneralsBoat;" !="axeVIP assignAsCargo vehicle player;" !="axeVIP assignAsCargo vehicle axeVIP;"
7 allowDamage !="_unit allowDamage false;" !="_unit allowDamage true;" !="player allowDamage true;" !="vehicle player allowDamage true;" !="player allowDamage false;"
7 addWeaponCargo !="_acceptHolder addWeaponCargo [_wWeapon, 1] ;"
7 onMapSingleClick !="onMapSingleClick '';"
7 addMagazine !="if !(player canAdd (_x select 0)) exitWith {};\nplayer addMagazine[_x select 0, _x select 1];" !"addMagazineCargo" !="player addMagazine _craftItem;" !="player addMagazine \"jerrycanE_epoch\";" !="player addMagazine \"emptyjar_epoch\";" !="player addMagazine \"jerrycan_epoch\";" !="player addMagazine \"Hatchet_swing\";" !="player addMagazine [(_x select 0),(_x select 1)]" !="player addMagazine _x;" !="if !(player canAdd (_x select 0)) exitWith {};\nplayer addMagazine[_x select 0, _x select 1];"
7 addMagazineCargo !"_dogHolder addMagazineCargo [\"RabbitCarcass_EPOCH\", 1]" !"_dogHolder addMagazineCargo [\"Pelt_EPOCH\", 1]" !"_dogHolder addMagazineCargo [\"Venom_EPOCH\", 1]" !"_dogHolder addMagazineCargo [\"SnakeCarcass_EPOCH\", 1]" !"_dogHolder addMagazineCargo [\"ChickenCarcass_EPOCH\", 1]" !="_acceptHolder addMagazineCargo [_wAmmo, 1] ;"
7 addItem !="_this call HS_additemtolb;false" !="player addItem _craftItem;" !="player addItem _x;" !="_plyr addItemToVest _missionItem;" !="axeVIP addItemToVest _item;" !="_plyr  addItemToVest _missionItem;"
7 addBackPack
7 removeAllWeapons !="removeAllWeapons axeGeneral;"
7 removeAllItems
7 removeAllActions !"onplayerkilled.sqf"
7 setViewDistance !"setViewDistance 1600"
7 createGroup !="_grp = createGroup RESISTANCE;" !="if (isserver) then {\n_group = creategroup sidelogic;" !="grpVIPGeneral = createGroup RESISTANCE;" !="_grp = createGroup side _plyr;" !="_grp = createGroup side player;" !="_grp = createGroup _side;" !="_grp = createGroup (side _plyr);" !="createcenter sidelogic;\n_grpLogic = creategroup sidelogic;\nbis_functions_mainscope"
7 createVehicleCrew
7 createVehicleLocal !"\"#particlesource\" createVehicleLocal" !"\"#lightpoint\" createVehicleLocal" !"\"BloodSplat\" createVehicleLocal" !"[\"lightning1_F\", \"lightning2_F\"] call BIS_fnc_selectRandom;\n_lighting = _class createVehicleLocal"
7 createUnit !="_unit = _grp createUnit[(_arrUnits select _i), _pos, [], 0, \"FORM\"];" !="_driver = _grp createUnit[\"I_UAV_AI\", position _unit, [], 0, \"CAN_COLLIDE\"];" !="axeGeneral = grpVIPGeneral createUnit ["I_officer_F", axeGeneralPos, [], 1, "CAN_COLLIDE"];"
7 createAgent !="_unit = createAgent[_unitClass, _targetPos, [], 256, \"FORM\"];" !="_unit = createAgent [_unitClass, _targetPos, [], 120, \"FORM\"];" !="_animal = createAgent[_randomAIClass, _animalPos, [], 5, \"NONE\"];" !="_unit = createAgent [\"Epoch_Cloak_F\", _pos, [], 0, \"CAN_COLLIDE\"];" !="_unit = createAgent [\"Epoch_Sapper_F\", _targetPos, [], 180, \"FORM\"];" !="_sapper = createAgent ["Epoch_Sapper_F", getPos _cage2, [], 0, "FORM"];"
7 createTeam
7 createDialog !"createdialog \"Halv_spawn_dialog\";" !="createDialog "HS_trader_dialog";" !="createDialog \"QuickTake\";" !="createDialog \"InteractBank\";" !="createdialog \"SelectGender\";" !="_handled = createdialog _dialog;" !="if !(createdialog \"InteractItem\") exitWith {};" !="createDialog \"TapOut\";" !="if !(createdialog \"Trade\") exitWith {};" !="_ok = createdialog \"Interact\";" !="_ok = createdialog \"TradeNPCMenu\";" !="createDialog \"Epoch_myGroup\";" !="createDialog (if ((Epoch_my_GroupUID == \"\") && (Epoch_my_Group isEqualTo [])) then {\"EPOCH_createGrp\"} else {\"Epoch_myGroup\"});" !="createDialog \"GroupRequests\";" !="_ok = createdialog \"MissionSelect\";" !="createDialog 'Skaronator_AdminMenu';"
7 deleteMarker !="deleteMarker [format["HSBlackmarket_%1",_i], _coords];"
7 setMarker
7 createMarker !"createMarker["MainMarker75", MCoords];" !="createMarker [format["HSBlackmarket_%1",_i], _coords];"
7 assignItem !="axeVIP assignItem _item;"
7 forceAddUniform
7 removeAllMPEventHandlers
7 setDamage !="player setdamage 1;"
7 setDammage
7 displaySetEventHandler
7 ctrlSetEventHandler !"BIS_fnc_guiMessage_status" !"ctrlSetEventHandler ['LBDblClick', '_this call" !="_buttonRespawn ctrlseteventhandler [\"buttonclick\",\"with uinamespace do {['buttonRespawn',"
7 addMPEventHandler
7 addEventHandler !"displayAddEventHandler" !"ctrlAddEventHandler" !"FiredNear" !"EpeContactStart" !"InventoryClosed" !"GetOut" !"InventoryOpened" !"local" !"Respawn" !"Put" !"Take" !"Fired" !"Killed" !" [\"PostReset\",{BIS_EnginePPReset = true;} ];" !"_logic addeventhandler [\n\"local\""
7 displayAddEventHandler !"cmKeyPress" !"EP_LOOP" !"Press_F3 = (findDisplay 46) displayAddEventHandler [\"KeyDown\",\"if ((_this select 1) == 61) then {call T" !"[_display] call _fnc_animate;" !"tVersion select 4) == \"Development\") then" !"_display displayaddeventhandler\n[\n\"mousemoving\"," !"(findDisplay 46) displayAddEventHandler [\"KeyDown\",\"true\"];" !"(findDisplay 46) displayAddEventHandler [\"KeyDown\",\"_this call EPOCH_KeyDown\"];" !="_addCase = _display46 displayAddEventHandler ['KeyDown',{_this call EPOCH_KeyDown;}];" !"_display displayaddeventhandler [\"unload\",\"uinamespace setvariable ['BIS_fnc_guiMess" !="findDisplay -1337 displayAddEventHandler ['Unload'"
7 ctrlAddEventHandler !"rCfg >> \"refreshDelay\");" !" [\n\"draw\"," !" [\"buttonclick\"," !="(uiNamespace getVariable 'ESP_map') ctrlAddEventHandler['Draw', '_esp_targets = EPOCH_ESPMAP_TARGETS;" !="ctrlAddEventHandler ['MouseButtonDown'" !="(_display displayctrl _idc) ctrlAddEventHandler [\"LBSelChanged\","
7 removeAllEventHandlers !"cmKeyPress" !="ctrlRemoveAllEventHandlers" !="_vehicle removeAllEventHandlers \"GetOut\";" !="_sapper removeAllEventHandlers \"Hit\";\n_sapper removeAllEventHandlers \"FiredNear\";" !="_display46 displayRemoveAllEventHandlers 'KeyDown';"
7 removeAllMissionEventHandlers
7 ctrlRemoveAllEventHandlers !="(uiNamespace getVariable 'ESP_map') ctrlRemoveAllEventHandlers 'Draw';" !="ctrlAddEventHandler ['MouseButtonDown'"
7 removeEventHandler !="displayRemoveEventHandler" !="player removeEventHandler ['Fired', 0];" !"_currentTarget removeEventHandler[\"EpeContactStart\", _onContactEH]" !" [_adminVar,objnull];\npublicvariable _adminVar;\nplayer removeeventhandler [\"respawn\",_respawn];" !="_plyr removeEventHandler [\"FiredNear\", _smokeEH];" !="player removeEventHandler [_ehKey, 0];"
7 displayRemoveEventHandler !"cmKeyPress" !"(findDisplay 46) displayRemoveEventHandler [\"KeyDown\", Press_F3];" !"BIS_fnc_guiMessage_status"
7 switchCamera !="{if (cameraOn != vehicle player) then { vehicle player switchCamera 'External' } };"
7 remoteControl !"fn_moduleRemoteControl.sqf" !="\"BIS_fnc_moduleRemoteControl"\"
7 drawIcon3D !="drawIcon3D[\"\x\addons\a3_epoch_code\Data\Member.paa\",_color,_pos,1,1,0,_text,1,0.025,\"PuristaMedium\"];\n}forEach EPOCH_ESP_TARGETS;" !"drawIcon3D[format[\"\x\addons\a3_epoch_code\Data\UI\loading_bar_%1.paa\",_stability],_color,(getPosATL EPOCH_stabilityTarget),5,5,0,\"\",1,0.05,\"PuristaMedium\"];" !"drawIcon3D[format[\"\x\addons\a3_epoch_code\Data\UI\loading_bar_%1.paa\",_num],_color,_pos,4,4,0,\"\",1,0.05,\"PuristaMedium\"];" !"EPOCH_drawIcon3dStability" !"EPOCH_drawIcon3d" !"if (_condition) then {\ndrawIcon3D [_icon, _color, _position, _sizeX, _sizeY, _angle, _text," !="drawIcon3D [\"\A3\UI_F_MP_Mark\Data\Tasks\Misc\background.paa\""
7 drawLine3D !"{\nfor [{_i = 1}, {_i < count _x}, {_i = _i + 1}] do {\ndrawLine3D [_x select (_i - 1), _x select _i, ((BIS_tracedShooter getVari"
7 ctrlCreate !="_ListGroup = _display ctrlCreate [\"RscControlsGroupNoHScrollbars\",         21903    ];"
7 ctrlDelete !="ctrlDelete _ListGroup;"
7 ctrlClassName
7 ctrlModel
7 ctrlModelDirection
7 ctrlModelSide
7 ctrlModelUp
7 ctrlSetDirection
7 ctrlSetModel
7 deleteVehicleCrew !"fn_deleteVehicleCrew.sqf" !="\"BIS_fnc_deleteVehicleCrew"\"
7 loadFile
7 selectPlayer !="selectPlayer _playerObject;"
7 setGroupIconsVisible
7 setGroupIconsSelectable
7 setGroupIconParams
7 addGroupIcon
7 EPOCH_defaultVars_SEPXVar
7 EPOCH_GROUP_Delete_PVS !="EPOCH_GROUP_Delete_PVS = [player,Epoch_personalToken];"
7 playableunits !=""pto: %3 | Players: %2 | FPS: %1 ", round diag_fps, count playableUnits, EPOCH_playerCrypto, mapGridPosition player];"

I was able to get rid of this one and a few others with

 

7 deleteMarker !HSBlackmarket

7 setMarker    !HSBlackmarket

7 createMarker !HSBlackmarket

 

Still working through the others. Seems the update doesn't like this addon.

 

you could always remove the //new2 at the beginning of your script.txt while you figure out the rest but that will disable kicking all together.

Link to comment
Share on other sites

Thanks for the great script! I had this working without battleye on a private server, I am doing the server over now with battleye (and epoch 0.3.1.0) to make it public and me as admin and players all get kicked when buying/selling at the trader.

 

22:58:42 Player Maaaaark kicked off by BattlEye: PublicVariable Restriction #0
 

I have double and tripple checked the settings that you provided and it is all done correctly.

 

Please can you advise on where I can check to see exactly why it kicks me and to resolve it.

Link to comment
Share on other sites

Thanks for the great script! I had this working without battleye on a private server, I am doing the server over now with battleye (and epoch 0.3.1.0) to make it public and me as admin and players all get kicked when buying/selling at the trader.

 

22:58:42 Player Maaaaark kicked off by BattlEye: PublicVariable Restriction #0

 

I have double and tripple checked the settings that you provided and it is all done correctly.

 

Please can you advise on where I can check to see exactly why it kicks me and to resolve it.

In your servers Battleye folder, there will be a file called 'PublicVariable.log'. That file will give you the exact reason they're kicked

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...