Apoc's Airdrop Assistance - v1.4 Release

Re: Apoc's Airdrop Assistance - v1.4 Release

« Reply #210 posted: Jul 17, 2016, 09:33 AM »
Hi Guys
Im trying to put this on i installed 1.45 i followed the instructions on the first page but once loaded in the game there is nothing on the mouse wheel at all not even the player menu heres an error i saw in rpt

 8:40:00 "WASTELAND SERVER - Initializing Server"
 8:40:01 Error in expression <};
}
forEach
[
"A3W_fnc_",
"mf_remote_"
"APOC_srv_"
];
};
};
 
if (_whitelisted) >
 8:40:01   Error position: <"APOC_srv_"
];
};
};
 
if (_whitelisted) >
 8:40:01   Error Missing ]
 8:40:01 File mpmissions\__cur_mp.Tanoa\server\antihack\filterExecAttempt.sqf, line 72
 8:40:01 Error in expression <};
}
forEach
[
"A3W_fnc_",
"mf_remote_"
"APOC_srv_"
];
};
};
 
if (_whitelisted) >
 8:40:01   Error position: <"APOC_srv_"
];
};
};

Thanks in advance

Re: Apoc's Airdrop Assistance - v1.4 Release

« Reply #211 posted: Jul 17, 2016, 03:40 PM »
Hi Guys
Im trying to put this on i installed 1.45 i followed the instructions on the first page but once loaded in the game there is nothing on the mouse wheel at all not even the player menu heres an error i saw in rpt

 8:40:00 "WASTELAND SERVER - Initializing Server"
 8:40:01 Error in expression <};
}
forEach
[
"A3W_fnc_",
"mf_remote_"
"APOC_srv_"
];
};
};
 
if (_whitelisted) >
 8:40:01   Error position: <"APOC_srv_"
];
};
};
 
if (_whitelisted) >
 8:40:01   Error Missing ]
 8:40:01 File mpmissions\__cur_mp.Tanoa\server\antihack\filterExecAttempt.sqf, line 72
 8:40:01 Error in expression <};
}
forEach
[
"A3W_fnc_",
"mf_remote_"
"APOC_srv_"
];
};
};
 
if (_whitelisted) >
 8:40:01   Error position: <"APOC_srv_"
];
};
};

Thanks in advance

You forgot a comma after "mf_remote"

Re: Apoc's Airdrop Assistance - v1.4 Release

« Reply #212 posted: Jul 17, 2016, 05:12 PM »
ok thanks for that i will have a look and let you know thanks again

Re: Apoc's Airdrop Assistance - v1.4 Release

« Reply #213 posted: Jul 21, 2016, 11:00 PM »
I have the problem that if i buy the SDV Vehicle there is only comming a ammunition crate
Code: [Select]

APOC_AA_VehOptions =
[
["Quadbike","C_Quadbike_01_F",4500,"vehicle"],
["Offroad HMG","B_G_Offroad_01_armed_F",12500,"vehicle"],
["Strider HMG","I_MRAP_03_hmg_F",35000,"vehicle"],
["Rescue Boat","C_Rubberboat",3500,"vehicle"],
["SDV Submarine (AAF)","I_SDV_01_F", 6000, "submarine"]

];

"SERVER - Apoc's Airdrop Assistance - Player: [POM] K. Kornfeld, Drop Type: submarine, Selection #: 4"
2016/07/21, 22:41:06 "AAA - Default Array Selected - Something broke"
2016/07/21, 22:41:06 "AAA - Heli Spawned at [12654,998.869,350]"
2016/07/21, 22:41:06 "Apoc's Airdrop Assistance - Object at [12653.8,999.085,44.5095]"

The other things are working

Re: Apoc's Airdrop Assistance - v1.4 Release

« Reply #214 posted: Jul 21, 2016, 11:40 PM »
I have the problem that if i buy the SDV Vehicle there is only comming a ammunition crate
Code: [Select]

APOC_AA_VehOptions =
[
["Quadbike","C_Quadbike_01_F",4500,"vehicle"],
["Offroad HMG","B_G_Offroad_01_armed_F",12500,"vehicle"],
["Strider HMG","I_MRAP_03_hmg_F",35000,"vehicle"],
["Rescue Boat","C_Rubberboat",3500,"vehicle"],
["SDV Submarine (AAF)","I_SDV_01_F", 6000, "submarine"]

];

"SERVER - Apoc's Airdrop Assistance - Player: [POM] K. Kornfeld, Drop Type: submarine, Selection #: 4"
2016/07/21, 22:41:06 "AAA - Default Array Selected - Something broke"
2016/07/21, 22:41:06 "AAA - Heli Spawned at [12654,998.869,350]"
2016/07/21, 22:41:06 "Apoc's Airdrop Assistance - Object at [12653.8,999.085,44.5095]"

The other things are working

You need to read the instructions.  You cannot put "submarine" as the type.
  • Offline CREAMPIE
  • Armaholic
  • Veteran
  • ******
  • Posts: 1077
  • ^_^;;

Re: Apoc's Airdrop Assistance - v1.4 Release

« Reply #215 posted: Jul 22, 2016, 09:20 AM »
lel

- from the grassy knoll -

Re: Apoc's Airdrop Assistance - v1.4 Release

« Reply #216 posted: Jul 25, 2016, 09:34 AM »
I have the Same issue where i do not have a player menu but i do not have an error. do not even see it ini on the log.

Re: Apoc's Airdrop Assistance - v1.4 Release

« Reply #217 posted: Jul 25, 2016, 11:15 AM »
I have the Same issue where i do not have a player menu but i do not have an error. do not even see it ini on the log.

Do you have any of the wasteland addActions working right now?

Also, which log?  Client or Server?

Re: Apoc's Airdrop Assistance - v1.4 Release

« Reply #218 posted: Jul 30, 2016, 09:58 AM »
Hi after a 19 hour stint i cannot seem to get this to work. i have done and redone the instructions on the first page but it will not work.
I have no error messages and the mission runs fine but once installed i have no menu on the scroll wheel (not even player menu) it is totally blank.

I am posting my files that needed editing from the first post. Could someone please take a few mins just to see what i have done wrong. I generally do like doing stuff for myself but when the girlfriend threatens to leave because i have spent 19 hours straight trying to fix this, I think its time to ask for help.

I am a Novice but i have learnt lots of stuff just by scouring forums, But now i have to admit defeat :( here are my files. Thanks in advance

Tanoa\init.sqf
Code: [Select]

if (hasInterface || isServer) then
{
//init 3rd Party Scripts
[] execVM "addons\APOC_Airdrop_Assistance\init.sqf";
[] execVM "addons\parking\functions.sqf";
[] execVM "addons\storage\functions.sqf";
[] execVM "addons\vactions\functions.sqf";
[] execVM "addons\R3F_ARTY_AND_LOG\init.sqf";
[] execVM "custom\statusBar.sqf";
[] execVM "addons\proving_ground\init.sqf";
[] execVM "addons\JumpMF\init.sqf";
[] execVM "addons\outlw_magrepack\MagRepack_init.sqf";
[] execVM "addons\lsd_nvg\init.sqf";
[] execVM "addons\stickyCharges\init.sqf";
if (isNil "drn_DynamicWeather_MainThread") then { drn_DynamicWeather_MainThread = [] execVM "addons\scripts\DynamicWeatherEffects.sqf" };

client\functions\playerActions.sqf
Code: [Select]
// ******************************************************************************************
// * This project is licensed under the GNU Affero GPL v3. Copyright © 2014 A3Wasteland.com *
// ******************************************************************************************
// @file Version: 1.2
// @file Name: playerActions.sqf
// @file Author: [404] Deadbeat, [404] Costlyy, [GoT] JoSchaap, AgentRev
// @file Created: 20/11/2012 05:19

{ [player, _x] call fn_addManagedAction } forEach
[
["Holster Weapon", { player action ["SwitchWeapon", player, player, 100] }, [], -11, false, false, "", "vehicle player == player && currentWeapon player != '' && (stance player != 'CROUCH' || currentWeapon player != handgunWeapon player)"], // A3 v1.58 bug, holstering handgun while crouched causes infinite anim loop
["Unholster Primary Weapon", { player action ["SwitchWeapon", player, player, 0] }, [], -11, false, false, "", "vehicle player == player && currentWeapon player == '' && primaryWeapon player != ''"],
   
[format ["<img image='\a3\Ui_f\data\GUI\Cfg\CommunicationMenu\supplydrop_ca.paa' color='%1'/> <t color='%1'>[</t>Airdrop Menu<t color='%1'>]</t>", "#FF0000"],"addons\APOC_Airdrop_Assistance\APOC_cli_menu.sqf",[], -100, false, false]

[format ["<img image='client\icons\playerMenu.paa' color='%1'/> <t color='%1'>[</t>Player Menu<t color='%1'>]</t>", "#FF8000"], "client\systems\playerMenu\init.sqf", [], -10, false], //, false, "", ""],

["<img image='client\icons\money.paa'/> Pickup Money", "client\actions\pickupMoney.sqf", [], 1, false, false, "", "{_x getVariable ['owner', ''] != 'mission'} count (player nearEntities ['Land_Money_F', 5]) > 0"],

["<img image='\a3\Ui_f\data\GUI\Cfg\CommunicationMenu\transport_ca.paa'/> <t color='#FFFFFF'>Cancel Action</t>", { doCancelAction = true }, [], 1, false, false, "", "mutexScriptInProgress"],

["<img image='client\icons\repair.paa'/> Salvage", "client\actions\salvage.sqf", [], 1.1, false, false, "", "!isNull cursorTarget && !alive cursorTarget && {cursorTarget isKindOf 'AllVehicles' && !(cursorTarget isKindOf 'Man') && player distance cursorTarget <= (sizeOf typeOf cursorTarget / 3) max 3}"],



server\functions\fn_refillbox.sqf (taken from airdrop zip file Unedited)
Code: [Select]
// ******************************************************************************************
// * This project is licensed under the GNU Affero GPL v3. Copyright © 2014 A3Wasteland.com *
// ******************************************************************************************
// @file Version: 1.0
// @file Name: fn_refillbox.sqf  "fn_refillbox"
// @file Author: [404] Pulse , [404] Costlyy , [404] Deadbeat, AgentRev
// @file Created: 22/1/2012 00:00
// @file Args: [OBJECT (Weapons box that needs filling), STRING (Name of the fill to give to object)]

if (!isServer) exitWith {};

#define RANDOM_BETWEEN(START,END) (START + floor random ((END - START) + 1))

private ["_box", "_boxType", "_boxItems", "_item", "_qty", "_mag"];
_box = _this select 0;
_boxType = _this select 1;

_box allowDamage false; // No more fucking busted crates
_box setVariable ["A3W_inventoryLockR3F", true, true];

// Clear pre-existing cargo first
//clearBackpackCargoGlobal _box;
clearMagazineCargoGlobal _box;
clearWeaponCargoGlobal _box;
clearItemCargoGlobal _box;

if (_boxType == "mission_USSpecial2") then { _boxType = "mission_USSpecial" };

switch (_boxType) do
{
case "mission_USLaunchers":
{
_boxItems =
[
// Item type, Item class(es), # of items, # of magazines per weapon
["wep", ["launch_RPG32_F", "launch_NLAW_F", "launch_Titan_short_F"], RANDOM_BETWEEN(3,5), RANDOM_BETWEEN(1,2)],
["wep", "launch_Titan_F", RANDOM_BETWEEN(1,2), RANDOM_BETWEEN(1,2)],
["mag", ["ClaymoreDirectionalMine_Remote_Mag", "SLAMDirectionalMine_Wire_Mag", "ATMine_Range_Mag", "DemoCharge_Remote_Mag", "SatchelCharge_Remote_Mag"], RANDOM_BETWEEN(3,8)]
];
};
case "mission_USSpecial":
{
_boxItems =
[
// Item type, Item class(es), # of items, # of magazines per weapon
//["itm", "NVGoggles", 5],
["wep", ["Binocular", "Rangefinder"], RANDOM_BETWEEN(1,5)],
["itm", "Medikit", RANDOM_BETWEEN(1,3)],
["itm", "Toolkit", RANDOM_BETWEEN(0,1)],
["itm", ["optic_MRCO", "optic_Arco", "optic_Hamr", "optic_SOS"], RANDOM_BETWEEN(0,2)],
["itm", ["muzzle_snds_M", "muzzle_snds_H", "muzzle_snds_H_MG", "muzzle_snds_B", "muzzle_snds_acp"], RANDOM_BETWEEN(0,3)],
["wep", ["hgun_Pistol_heavy_01_F", "hgun_Pistol_heavy_01_MRD_F", "hgun_Pistol_heavy_02_F", "hgun_Pistol_heavy_02_Yorris_F"], RANDOM_BETWEEN(1,3), RANDOM_BETWEEN(3,5)],
["wep", ["arifle_MXM_F", "srifle_EBR_F", "srifle_DMR_01_DMS_F"], RANDOM_BETWEEN(1,3), RANDOM_BETWEEN(4,6)],
["wep", ["LMG_Mk200_F", "LMG_Zafir_F"], RANDOM_BETWEEN(1,3), RANDOM_BETWEEN(2,4)],
["mag", "30Rnd_556x45_Stanag", RANDOM_BETWEEN(4,8)],
["mag", "30Rnd_65x39_caseless_mag", RANDOM_BETWEEN(4,8)],
["mag", "30Rnd_65x39_caseless_green", RANDOM_BETWEEN(4,8)],
["mag", "9Rnd_45ACP_Mag", RANDOM_BETWEEN(1,5)]
];
};
case "mission_Main_A3snipers":
{
_boxItems =
[
// Item type, Item class(es), # of items, # of magazines per weapon
["wep", ["srifle_LRR_LRPS_F", "srifle_LRR_camo_LRPS_F", "srifle_GM6_LRPS_F", "srifle_GM6_camo_LRPS_F"], RANDOM_BETWEEN(1,3), RANDOM_BETWEEN(4,6)],
["wep", ["srifle_EBR_F", "srifle_DMR_01_F"], RANDOM_BETWEEN(1,3), RANDOM_BETWEEN(4,6)],
["wep", ["Binocular", "Rangefinder"], RANDOM_BETWEEN(1,3)],
["itm", "optic_DMS", RANDOM_BETWEEN(1,2)]
];
};
case "mission_TOP_Sniper":
{
_boxItems =
[
// Item type, Item class(es), # of items, # of magazines per weapon
["wep", ["srifle_LRR_SOS_F", "srifle_LRR_camo_SOS_F", "srifle_GM6_SOS_F", "srifle_GM6_camo_SOS_F"], RANDOM_BETWEEN(1,5), RANDOM_BETWEEN(4,6)],
["wep", ["srifle_EBR_F", "srifle_DMR_01_F"], RANDOM_BETWEEN(1,3), RANDOM_BETWEEN(4,6)],

["wep", "Rangefinder", RANDOM_BETWEEN(1,3)],
["itm", ["optic_DMS","optic_Nightstalker","optic_tws"], RANDOM_BETWEEN(1,5)]
];
};
case "mission_TOP_Gear1":
{
_boxItems =
[
// Item type, Item class(es), # of items, # of magazines per weapon
["itm", ["V_RebreatherB", "V_PlateCarrierIAGL_dgtl", "V_TacVest_camo", "V_PlateCarrierGL_rgr"], RANDOM_BETWEEN(1,8)],
["bac", ["B_Carryall_mcamo", "B_Kitbag_mcamo"], RANDOM_BETWEEN(1,5)],
["itm", ["U_B_HeliPilotCoveralls","U_B_Wetsuit","U_B_CombatUniform_mcam_vest"], RANDOM_BETWEEN(1,4)],
["itm", ["H_HelmetCrew_B","H_CrewHelmetHeli_B","H_HelmetB_plain_blk","H_HelmetSpecB"], RANDOM_BETWEEN(1,5)]
];
};
case "airdrop_DLC_Rifles":
{
_boxItems =
[
// Item type, Item class(es), # of items, # of magazines per weapon
["wep", ["srifle_DMR_03_multicam_F", "srifle_DMR_02_sniper_F", "srifle_DMR_05_hex_F", "srifle_DMR_04_Tan_F"], 4,4],
["itm", ["V_PlateCarrierIAGL_dgtl", "V_TacVest_camo", "V_PlateCarrierGL_rgr"], RANDOM_BETWEEN(4,8)],
["bac", ["B_Carryall_mcamo", "B_Kitbag_mcamo"], RANDOM_BETWEEN(2,5)],
["itm", ["bipod_01_F_blk", "bipod_02_F_hex"], 3],
["itm", ["optic_DMS","optic_AMS","optic_tws","optic_KHS_blk"], RANDOM_BETWEEN(3,5)],
["itm", ["muzzle_snds_B", "muzzle_snds_338_black", "muzzle_snds_338_sand", "muzzle_snds_93mmg"], RANDOM_BETWEEN(3,5)]
];
};
case "airdrop_DLC_LMGs":
{
_boxItems =
[
// Item type, Item class(es), # of items, # of magazines per weapon
["wep", ["MMG_02_black_F", "MMG_02_camo_F","MMG_02_sand_F","MMG_01_hex_F","MMG_01_tan_F"], 4,4],
["itm", ["V_PlateCarrierIAGL_dgtl", "V_TacVest_camo", "V_PlateCarrierGL_rgr"], RANDOM_BETWEEN(1,8)],
["bac", ["B_Carryall_mcamo", "B_Kitbag_mcamo"], RANDOM_BETWEEN(2,5)],
["itm", ["bipod_01_F_blk", "bipod_02_F_hex"], 2],
["itm", ["optic_DMS","optic_AMS","optic_tws","optic_KHS_blk"], RANDOM_BETWEEN(3,5)],
["itm", ["muzzle_snds_338_black", "muzzle_snds_338_sand", "muzzle_snds_93mmg"], RANDOM_BETWEEN(3,5)]
];
};
case "airdrop_Snipers":
{
_boxItems =
[
// Item type, Item class(es), # of items, # of magazines per weapon
["wep", ["srifle_LRR_LRPS_F", "srifle_LRR_camo_LRPS_F", "srifle_GM6_LRPS_F", "srifle_GM6_camo_LRPS_F"], RANDOM_BETWEEN(3,4), RANDOM_BETWEEN(6,8)],
["wep", ["srifle_EBR_F", "srifle_DMR_01_F"], RANDOM_BETWEEN(2,3), RANDOM_BETWEEN(6,8)],
["wep", ["Binocular", "Rangefinder"], RANDOM_BETWEEN(1,3)],
["bac", ["B_Carryall_mcamo", "B_Kitbag_mcamo"], RANDOM_BETWEEN(2,5)],
["itm", ["optic_DMS","optic_AMS","optic_tws","optic_KHS_blk"], RANDOM_BETWEEN(5,8)]
];
};
};

[_box, _boxItems] call processItems;

 server\antihack\filterExecAttempt.sqf
Code: [Select]

if (!_whitelisted) then
{
{
if (_function select [0, count _x] == _x) exitWith
{
_whitelisted = true;
};
}
forEach
[
"A3W_fnc_",
"mf_remote_",
"APOC_srv_"
];
};
};


I also used the server\function\processItems.sqf srom the airdrop zip file (the files from the zip files i left untouched)
Code: [Select]
// ******************************************************************************************
// * This project is licensed under the GNU Affero GPL v3. Copyright © 2014 A3Wasteland.com *
// ******************************************************************************************
// @file Version: 1.1
// @file Name: processItems.sqf
// @file Author: AgentRev
// @file Created: 27/12/2013 23:02
// Updated 25/4/2015 - Apoc - Backpacks added

private ["_vehicle", "_items", "_type", "_class", "_quantity", "_magsQty", "_i", "_randomClass", "_mag"];

_vehicle = _this select 0;
_items = _this select 1;

// Add items
{
_type = _x select 0; // Item type ("I" for item, "W" for weapon, "M" for magazine, "B" for backpack)
_class = _x select 1; // Item class (string or array of strings)
_quantity = floor (_x select 2); // Item quantity
_magsQty = if (count _x > 3) then { floor (_x select 3) } else { 0 }; // If item is weapon, quantity of magazines for each weapon (default = 0)

if (_quantity > 0) then
{
// Check first letter of uppercased type string
switch (toString [(toArray toUpper _type) select 0]) do
{
case "W":
{
// If item class is an array, add random elements
if (typeName _class == "ARRAY") then
{
for "_i" from 1 to _quantity do
{
_randomClass = _class call BIS_fnc_selectRandom;
_vehicle addWeaponCargoGlobal [_randomClass, 1];

if (_magsQty > 0) then
{
_mag = ((getArray (configFile >> "CfgWeapons" >> _randomClass >> "magazines")) select 0) call getBallMagazine;
_vehicle addMagazineCargoGlobal [_mag, _magsQty];
};
};
}
else
{
_vehicle addWeaponCargoGlobal [_class, _quantity];

if (_magsQty > 0) then
{
_mag = ((getArray (configFile >> "CfgWeapons" >> _class >> "magazines")) select 0) call getBallMagazine;
_vehicle addMagazineCargoGlobal [_mag, _quantity * _magsQty];
};
};
};
case "M":
{
if (typeName _class == "ARRAY") then
{
for "_i" from 1 to _quantity do
{
_randomClass = _class call BIS_fnc_selectRandom;
_vehicle addMagazineCargoGlobal [_randomClass, 1];
};
}
else
{
_vehicle addMagazineCargoGlobal [_class, _quantity];
};
};
case "I":
{
if (typeName _class == "ARRAY") then
{
for "_i" from 1 to _quantity do
{
_randomClass = _class call BIS_fnc_selectRandom;
_vehicle addItemCargoGlobal [_randomClass, 1];
};
}
else
{
_vehicle addItemCargoGlobal [_class, _quantity];
};
};
case "B":
{
if (typeName _class == "ARRAY") then
{
for "_i" from 1 to _quantity do
{
_randomClass = _class call BIS_fnc_selectRandom;
_vehicle addBackpackCargoGlobal [_randomClass, 1];
};
}
else
{
_vehicle addBackpackCargoGlobal [_class, _quantity];
};
};
};
};
} forEach _items;

Sory for the big post i just wanted you to see what i had done. Any help would be gratefully recieved
  • Offline eldrich
  • First Blood
  • ***
  • Posts: 75
  • 40-1 Clan

Re: Apoc's Airdrop Assistance - v1.4 Release

« Reply #219 posted: Jul 30, 2016, 10:07 AM »
your missing a , in player actions :)

Re: Apoc's Airdrop Assistance - v1.4 Release

« Reply #220 posted: Jul 30, 2016, 11:44 AM »
your missing a , in player actions :)

Lol many days on trying to fix this and a 19 hour straight effort Just for a comma :P

Thanks for putting me out of my misery i am real grateful

Thanks you sir 
  • Offline eldrich
  • First Blood
  • ***
  • Posts: 75
  • 40-1 Clan

Re: Apoc's Airdrop Assistance - v1.4 Release

« Reply #221 posted: Jul 30, 2016, 12:01 PM »
been there myself m8 :)

Re: Apoc's Airdrop Assistance - v1.4 Release

« Reply #222 posted: Aug 26, 2016, 02:51 PM »
I've got in and working just fine, but people are getting banned when they use it?  :o  I do have infistar in, could that be the issue?

Re: Apoc's Airdrop Assistance - v1.4 Release

« Reply #223 posted: Aug 26, 2016, 03:16 PM »
I've got in and working just fine, but people are getting banned when they use it?  :o  I do have infistar in, could that be the issue?

Possibly?  Look at your hacklog to see what they're getting banned for.

Re: Apoc's Airdrop Assistance - v1.4 Release

« Reply #224 posted: Aug 26, 2016, 06:11 PM »
Possibly?  Look at your hacklog to see what they're getting banned for.

Here's one..

26-08-2016 01:10:19 infiSTAR.de | 0h 10min | Red Temper(76561198126623105) | BadCommandingMenu: #USER:AirdropMenu [FPS: 47.619|THREADS: 77] (v0240)