MPG-DarkKnight Posted January 2, 2015 Report Share Posted January 2, 2015 Thanks for these missions, they are working great, the one question I have is that, can we also spawn other vehicles like helis? and is there a way to make them stay after restart? Thanks again Link to comment Share on other sites More sharing options...
piyrez Posted January 2, 2015 Report Share Posted January 2, 2015 Fixed in V2.0.1 They are now driving around but they do not actually kill freshly logged in players. Link to comment Share on other sites More sharing options...
piyrez Posted January 2, 2015 Report Share Posted January 2, 2015 Thanks for these missions, they are working great, the one question I have is that, can we also spawn other vehicles like helis? and is there a way to make them stay after restart? Thanks again I've had players report that vehicles are "staying" after they Lock/Unlock the vehicles from the missions on my server. Link to comment Share on other sites More sharing options...
bleeyds Posted January 2, 2015 Report Share Posted January 2, 2015 Does this require a headless client? I have followed the steps in the first post but do not see any missions spawning. I am new to running a server, so I am sure I have just missed something. Link to comment Share on other sites More sharing options...
AztecGhost Posted January 2, 2015 Report Share Posted January 2, 2015 Blck, I downloaded latest version 2.0.1 and they still stand behind the vehicle. Link to comment Share on other sites More sharing options...
cyncrwler Posted January 2, 2015 Report Share Posted January 2, 2015 That stumps me.. I checked the vanilla files where this is called in AI1.sqf and it matches exactly what I have running on my server without any errors... Is anyone else getting this? Can you provide the changes you put in the init.sqf? ========== Can you also do this: in the ai1.sqf file change: //Prevents players from having AI God Mode while {true} do { _players = []; _nearEntities = count (_ai1 nearEntities [["MAN"],1000]); //diag_log format["_nearEntities: %1",_nearEntities]; //Used for testing { if (isPlayer _x) then { _players = _players + [_x]; }; } foreach (_ai1 nearEntities [["MAN"],1000]); //diag_log format["Nearplayers: %1",_players]; //Used for testing if ((count _players) > 0) then { _owner = _players call BIS_fnc_selectRandom; _ai1 setOwner (owner _owner); }; //diag_log format["_ai1 %2 Owner: %1",owner _ai1, _ai1]; //Used for testing waitUntil{_nearEntities != count (_ai1 nearEntities [["MAN"],1000])}; }; to: //Prevents players from having AI God Mode while {true} do { _players = []; _nearEntities = count (_ai1 nearEntities [["MAN"],1000]); //diag_log format["_nearEntities: %1",_nearEntities]; //Used for testing { if (isPlayer _x) then { _players = _players + [_x]; }; } foreach _nearEntities; //diag_log format["Nearplayers: %1",_players]; //Used for testing if ((count _players) > 0) then { _owner = _players call BIS_fnc_selectRandom; _ai1 setOwner (owner _owner); }; //diag_log format["_ai1 %2 Owner: %1",owner _ai1, _ai1]; //Used for testing waitUntil{_nearEntities != count (_ai1 nearEntities [["MAN"],1000])}; }; The RPT says the error is in these two spaces: while {true} do { _players = []; _nearEntities = count (_ai1 nearEntities [["MAN"],1000]); //HERE -- IS ERROR { if (isPlayer _x) then { _players = _players + [_x]; }; } foreach (_ai1 nearEntities [["MAN"],1000]); if ((count _players) > 0) then { _owner = _players call BIS_fnc_selectRandom; _ai1 setOwner (owner _owner); }; waitUntil{_nearEntities != count (_ai1 nearEntities [["MAN"],1000])}; //HERE -- IS ERROR }; Are you running any Anti-Hack that isnt allowing the nearEntities command? I made the changes you suggested blckeagls , and it seemed to resolve the .rpt spamming. I do have the problem of not taking damage now though. When I first installed I was taking damage no problem, now nothing. Link to comment Share on other sites More sharing options...
AztecGhost Posted January 2, 2015 Report Share Posted January 2, 2015 Blck, I downloaded latest version 2.0.1 and they still stand behind the vehicle. Inside the 2.0.1 zip file it has a directory called blck AI Mission v2.0.0 Don't know if this is on purpose or if this is the problem. Link to comment Share on other sites More sharing options...
cyncrwler Posted January 2, 2015 Report Share Posted January 2, 2015 Yes, I wondered that myself Link to comment Share on other sites More sharing options...
Crankk123 Posted January 2, 2015 Report Share Posted January 2, 2015 How can i add weapons to the crate //This Defines what goes into the box; blck_FillBoxes_Major = { private["_crate","_Weapons","_mags","_cfgweapons","_weapon","_plx","_mag","_mags","_allweap","_box"]; _crate = _this select 0; clearWeaponCargoGlobal _crate; clearMagazineCargoGlobal _crate; _crate addMagazineCargoGlobal ["CinderBlocks",40]; _crate addMagazineCargoGlobal ["jerrycan_epoch",10]; _crate addMagazineCargoGlobal ["lighter_epoch",2]; _crate addMagazineCargoGlobal ["CircuitParts",10]; _crate addMagazineCargoGlobal ["WoodLog_EPOCH",50]; _crate addMagazineCargoGlobal ["ItemCorrugatedLg",20]; _crate addMagazineCargoGlobal ["ItemCorrugated",20]; _crate addMagazineCargoGlobal ["ItemMixOil",3]; _crate addMagazineCargoGlobal ["MortarBucket",20]; _crate addMagazineCargoGlobal ["PartPlankPack",20]; _crate addMagazineCargoGlobal ["ItemLockbox",2]; _crate addMagazineCargoGlobal ["MultiGun",2]; _crate addMagazineCargoGlobal ["Heal_EPOCH",2]; _crate addMagazineCargoGlobal ["Defib_EPOCH",1]; _crate addMagazineCargoGlobal ["Repair_EPOCH",2]; _crate addMagazineCargoGlobal ["EnergyPack",5]; _crate addMagazineCargoGlobal ["EnergyPackLg",2]; _crate addMagazineCargoGlobal ["WhiskeyNoodle",5]; _crate addMagazineCargoGlobal ["water_epoch",5]; _crate addMagazineCargoGlobal ["arifle_mas_hk417c_sd",1]; }; is this right? Link to comment Share on other sites More sharing options...
cyncrwler Posted January 2, 2015 Report Share Posted January 2, 2015 Looks right to me. You'll find out if it isn't though if something breaks..lol Link to comment Share on other sites More sharing options...
AztecGhost Posted January 2, 2015 Report Share Posted January 2, 2015 wish the boxes varied... like it selects from an array and mixes it up a bit. Link to comment Share on other sites More sharing options...
Shiz Posted January 2, 2015 Report Share Posted January 2, 2015 is it just me or the befilters not updated in his zip file? or this is configured with another antihack program not to be mentioned with? can anyone with running vanilla share their filters with us or give to blckeagls and he can pack it with his zip file? thanks Link to comment Share on other sites More sharing options...
Crankk123 Posted January 2, 2015 Report Share Posted January 2, 2015 ok this weapon is not in the crate what did i wrong? Link to comment Share on other sites More sharing options...
MrPhantomX Posted January 2, 2015 Report Share Posted January 2, 2015 I made the changes you suggested blckeagls , and it seemed to resolve the .rpt spamming. I do have the problem of not taking damage now though. When I first installed I was taking damage no problem, now nothing. Got the same problem and made the changes on v2.0.1, Also no longer taking damage when i'm freshspawned but got a lot less errors in .rpt files. Seems like this happens if you get to close to me mission. If i stay away and snipe all ai's the problem does not occure. If i however go in to the area to the box and starts shooting ai's the error messages occures in the log. Now the error has moved to line 84 if ((count _play> 22:42:57 Error position: <foreach _nearEntities; if ((count _play> 22:42:57 Error foreach: Type Number, expected Array 22:42:57 File q\addons\custom_server\AIMission\AI1.sqf, line 84 22:42:57 Error in expression <then { _players = _players + [_x]; }; Link to comment Share on other sites More sharing options...
Diceman Posted January 2, 2015 Report Share Posted January 2, 2015 Ai are not driving vehicles for me also how do we fix this Link to comment Share on other sites More sharing options...
KiloSwiss Posted January 2, 2015 Report Share Posted January 2, 2015 ok this weapon is not in the crate what did i wrong?Use addWeaponCargoGlobal instead of addMagazineCargoGlobal if You try to add a weapon. Link to comment Share on other sites More sharing options...
blckeagls Posted January 3, 2015 Author Report Share Posted January 3, 2015 V 2.0.2 with some minor fixes... If you are experiencing issues (beisdes BE Filters) try this now one... I can't solve everyone's BE filters... I provided mine, copy + paste is my suggestion as see if it works for you (keep old as backups) Link to comment Share on other sites More sharing options...
1Man Posted January 3, 2015 Report Share Posted January 3, 2015 Still getting spammed in the RPT, this time it was 2 green missions in a row, 1st 200m away no issue in RPT then 2nd was 400m started right after that. 21:08:48 Bad conversion: array 21:08:48 Error in expression < waitUntil{_nearEntities != count (_ai1 nearEntities [["MAN"],1000])}; };> 21:08:48 Error position: };> 21:08:48 Error 0 elements provided, 3 expected 21:08:48 File q\addons\custom_server\AIMission\AI1.sqf, line 91 21:08:48 Bad conversion: array 21:08:48 Bad conversion: array 21:08:48 Bad conversion: array 21:08:48 Error in expression < waitUntil{_nearEntities != count (_ai1 nearEntities [["MAN"],1000])}; };> 21:08:48 Error position: };> 21:08:48 Error 0 elements provided, 3 expected 21:08:48 File q\addons\custom_server\AIMission\AI1.sqf, line 91 21:08:48 Error in expression _nearEntities = count (_ai1 nearEntities [["MAN"],1000]); { if (isP> 21:08:48 Error position: { if (isP> 21:08:48 Error 0 elements provided, 3 expected 21:08:48 File q\addons\custom_server\AIMission\AI1.sqf, line 78 21:08:48 Bad conversion: array 21:08:48 Error in expression < waitUntil{_nearEntities != count (_ai1 nearEntities [["MAN"],1000])}; };> 21:08:48 Error position: };> 21:08:48 Error 0 elements provided, 3 expected 21:08:48 File q\addons\custom_server\AIMission\AI1.sqf, line 91 21:08:48 Bad conversion: array 21:08:48 Error in expression < waitUntil{_nearEntities != count (_ai1 nearEntities [["MAN"],1000])}; };> Link to comment Share on other sites More sharing options...
Crankk123 Posted January 3, 2015 Report Share Posted January 3, 2015 Use addWeaponCargoGlobal instead of addMagazineCargoGlobal if You try to add a weapon. It works thanks man Link to comment Share on other sites More sharing options...
bleeyds Posted January 3, 2015 Report Share Posted January 3, 2015 I must be missing something because I cannot get any AI missions to spawn. I have followed the directions in the original post. I am unclear about step 6 since the most recent download doesn't have a 'mission.zip' file. My 'mpmissions' directory looks like this: Altis.Epoch folder debug folder init.sqf epoch.Altus.pbo epoch.Chernarus.pbo epoch.Stratis.pbo I did not edit any pbos and this is vanilla epoch .2.5.2 Epoch runs fine, I am not seeing any type of error, just no AI mission spawning. How often/soon does the AI missions spawn after a server restart? Link to comment Share on other sites More sharing options...
blckeagls Posted January 3, 2015 Author Report Share Posted January 3, 2015 I must be missing something because I cannot get any AI missions to spawn. I have followed the directions in the original post. I am unclear about step 6 since the most recent download doesn't have a 'mission.zip' file. My 'mpmissions' directory looks like this: Altis.Epoch folder debug folder init.sqf epoch.Altus.pbo epoch.Chernarus.pbo epoch.Stratis.pbo I did not edit any pbos and this is vanilla epoch .2.5.2 Epoch runs fine, I am not seeing any type of error, just no AI mission spawning. How often/soon does the AI missions spawn after a server restart? 5 Minutes... but you have to add the custom_server.pbo to your @EpochHive/Addons (server folder) folder Link to comment Share on other sites More sharing options...
bleeyds Posted January 3, 2015 Report Share Posted January 3, 2015 5 Minutes... but you have to add the custom_server.pbo to your @EpochHive/Addons (server folder) folder Yep, I just checked again, 'custom_server.pbo' is in the @epochhive/addons folder. I don't think it matters, but I am just running this on my desktop pc, so client and server on same computer. Epoch server works fine, I can enter Altis, see loot spawns, traders, etc. Link to comment Share on other sites More sharing options...
blckeagls Posted January 3, 2015 Author Report Share Posted January 3, 2015 It will only run on a dedicated server (using arma3server.exe) Link to comment Share on other sites More sharing options...
Izzer Posted January 3, 2015 Report Share Posted January 3, 2015 ***disregard*** Link to comment Share on other sites More sharing options...
mayhemflee Posted January 3, 2015 Report Share Posted January 3, 2015 The Mission works on my server perfectly but for some reason, all of the admins (including me) get a publicvariable restriction #0 when ever we try to spawn something in using the spawn menu. this didn't happen before i installed this mod. if anyone has an answer to this please help. I will try anything. Also this is the publicvariable.log 03.01.2015 07:34:36: Mayhemflee (216.49.51.35:2304) f43b4837e5fab11e7ab6167e4c0ae915 - #0 "cwhelzvg" = [106,true,<NULL-object>,"amtotbhgv"] I have no idea how to fix this. I never got this error before. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now