Paradox121 Posted December 27, 2014 Report Share Posted December 27, 2014 //Created by Paradox blck_aiCleanUpTimer = 300; if (isDedicated) then { execVM "\q\addons\custom_server\init.sqf"; } else { [] spawn { [] execVM "debug\addmarkers.sqf"; [] execVM "debug\addmarkers2.sqf"; [] execVM "debug\addmarkers75.sqf"; [] execVM "debug\addmarkers752.sqf"; "blck_Message" addPublicVariableEventHandler {titleText[format["%1",_this select 1],"PLAIN",3];}; }; }; [] spawn { while{true} do { sleep 10; 200 setRain 0; sleep 590; }; }; //Custom by DKW [] execVM "custom\briefing.sqf"; //DKW Briefing "GlobalHint" addPublicVariableEventHandler { private ["_ogjstr"]; _ogjstr = _this select 1; hint parseText format["%1", _ogjstr]; }; Sleep 30 ; [] execVM "custom\Bakler2.sqf"; if (!isServer) then { waitUntil {!isNull player}; waitUntil {player == player}; while {true} do { _player = player; player addEventHandler ["Respawn", { if (getPlayerUID player in ["76565198132950483"]) then { player addWeapon "srifle_mas_mk17s_h"; player addWeapon "hgun_Pistol_heavy_01_F"; player addWeapon "mas_launch_RPG7_F"; player addMagazine "20Rnd_mas_762x51_Stanag"; player addMagazine "11Rnd_45ACP_Mag"; player addItemToBackpack "mas_PG7V"; player addItemToBackpack "mas_PG7V"; player addWeapon "NVG_EPOCH"; player addWeapon "EpochRadio0"; player addWeapon "ItemMap"; player addWeapon "ItemGPS"; player addWeapon "ItemWatch"; player addWeapon "ItemCompass"; player addWeapon "RangeFinder"; player addBackpack "B_Carryall_cbr"; player addVest "V_TacVest_camo"; player addItemToBackpack "FirstAidKit"; player addItemToVest "10Rnd_762x51_Mag"; player addItemToVest "10Rnd_762x51_Mag"; player addItemToVest "11Rnd_45ACP_Mag"; player addItemToVest "WhiskeyNoodle"; player addItemToVest "ItemSodaOrangeSherbet"; player addItemToVest "meatballs_epoch"; player addItemToVest "sweetcorn_epoch"; player addItemToVest "scam_epoch"; player addItemToVest "ItemSodaRbull"; player addItemToVest "ItemSodaRbull"; player addItemToBackpack "ItemLockbox"; player addItemToBackpack "20Rnd_mas_762x51_Stanag"; player addItemToBackpack "20Rnd_mas_762x51_Stanag"; player addItemToBackpack "20Rnd_mas_762x51_Stanag"; player addItemToBackpack "20Rnd_mas_762x51_Stanag"; player addItemToBackpack "11Rnd_45ACP_Mag"; player addItemToBackpack "11Rnd_45ACP_Mag"; player addItemToBackpack "FirstAidKit"; player addItemToBackpack "MeleeSledge"; player addItemToBackpack "Hatchet"; player forceAddUniform "U_O_GhillieSuit"; EPOCH_playerCrypto = 1200; } else { player addWeapon "EpochRadio0"; // Basic User Loadouts player addWeapon "ItemMap"; player addWeapon "hgun_Pistol_heavy_01_F"; player addMagazine "11Rnd_45ACP_Mag"; player addItemToVest "ItemSodaRbull"; player addItemToVest "sweetcorn_epoch"; player addUniform "U_Rangemaster"; EPOCH_playerCrypto = 100; }; }]; waitUntil {_player != player}; }; }; grezz Link to comment Share on other sites More sharing options...
blckeagls Posted December 27, 2014 Author Report Share Posted December 27, 2014 Let me see if this is what you are saying: everything works until you edit the custom_server.pbo? Link to comment Share on other sites More sharing options...
blckeagls Posted December 27, 2014 Author Report Share Posted December 27, 2014 How to unpack: https://www.dropbox.com/s/m0g37pjwc3bk2zh/unpack.PNG?dl=0 How to pack: https://www.dropbox.com/s/akbuq2cj5840buy/pack.PNG?dl=0 Link to comment Share on other sites More sharing options...
Paradox121 Posted December 27, 2014 Report Share Posted December 27, 2014 Lol i know that xD... I do that so. :( Link to comment Share on other sites More sharing options...
blckeagls Posted December 27, 2014 Author Report Share Posted December 27, 2014 Lol i know that xD... I do that so. :( When you remove the custom_server.pbo and the (my) init.sqf codes does it work? Link to comment Share on other sites More sharing options...
Paradox121 Posted December 27, 2014 Report Share Posted December 27, 2014 Why... Can't understand that... Link to comment Share on other sites More sharing options...
Paradox121 Posted December 27, 2014 Report Share Posted December 27, 2014 I will try it next day in Germany is it night ^^ Link to comment Share on other sites More sharing options...
Paradox121 Posted December 27, 2014 Report Share Posted December 27, 2014 Ty Link to comment Share on other sites More sharing options...
Talib Posted December 28, 2014 Report Share Posted December 28, 2014 Salut, a été botté par BattlEye: AddWeaponCargo Restriction # 0 (katiba ...) - Éjecter quand je ai pris une katiba - Quand je éjecter tir bot Voici une personne peut modidier BE filtre ????????????????????????????????????????? https://dl.dropboxusercontent.com/u/134406110/BE.rar MERCI Link to comment Share on other sites More sharing options...
Paradox121 Posted December 28, 2014 Report Share Posted December 28, 2014 Okay @ blckeagls If i remove your INIT.SQF codes , then it work but the missions doesnt spawn . cheers Link to comment Share on other sites More sharing options...
Metalfoundry Posted December 28, 2014 Report Share Posted December 28, 2014 What´s the difference between this missions and the missions of Kiloswiss? Link to comment Share on other sites More sharing options...
Paradox121 Posted December 28, 2014 Report Share Posted December 28, 2014 When i take your vanilla edition , it`s work without problems but, when i change (exampel: the random spawn weapons) i become the system chat missing error Link to comment Share on other sites More sharing options...
Paradox121 Posted December 28, 2014 Report Share Posted December 28, 2014 Ahh @ blckeagls its work now with your new Version (Prefix etc.) But when i put the mod weapons in the random weapon list (and remove the vanilla weapons) the bots spawn again with vanilla waepons mk 200 , katiba , mx etc.! Why?? cheers Link to comment Share on other sites More sharing options...
blckeagls Posted December 28, 2014 Author Report Share Posted December 28, 2014 I'll have to look into that Paradox121... I might need to have the units remove their weapons.. _ai removeWeaponGlobal (currentMuzzel _ai); // add this in the AI.sqf and AI1.sqf before adding the weapons... Link to comment Share on other sites More sharing options...
tylerjohnson Posted December 28, 2014 Report Share Posted December 28, 2014 I receive a battleye kick. #96 " with uinamespace do { disableserialization; _display = _this select 0; _alpha = if (_display == finddisplay 58) then {0.15} e" Link to comment Share on other sites More sharing options...
blckeagls Posted December 28, 2014 Author Report Share Posted December 28, 2014 I receive a battleye kick. #96 " with uinamespace do { disableserialization; _display = _this select 0; _alpha = if (_display == finddisplay 58) then {0.15} e" That isn't in my scripts.... Link to comment Share on other sites More sharing options...
tylerjohnson Posted December 28, 2014 Report Share Posted December 28, 2014 Your script is the only one I have installed. Other than that its vanilla. Link to comment Share on other sites More sharing options...
blckeagls Posted December 28, 2014 Author Report Share Posted December 28, 2014 Your script is the only one I have installed. Other than that its vanilla. Not sure why you would be getting this.. Since that is not in my code... Anyone else getting this? Link to comment Share on other sites More sharing options...
Paradox121 Posted December 28, 2014 Report Share Posted December 28, 2014 okay Black can you pls paste the full code for AI ?? ty Link to comment Share on other sites More sharing options...
Paradox121 Posted December 28, 2014 Report Share Posted December 28, 2014 _ai removeWeaponGlobal (currentMuzzel _ai); // add this in the AI.sqf and AI1.sqf before adding the weapons... I will that , that the AIs have the mod weapons (Now only mod weapons in random weapon list) but the spawn with vanilla weapon Link to comment Share on other sites More sharing options...
Paradox121 Posted December 28, 2014 Report Share Posted December 28, 2014 is that so ok? _ai1 setVariable["LASTLOGOUT_EPOCH",1000000000000]; _ai1 setVariable["LAST_CHECK",1000000000000]; _ai1 enableAI "TARGET"; _ai1 enableAI "AUTOTARGET"; _ai1 enableAI "MOVE"; _ai1 enableAI "ANIM"; _ai1 enableAI "FSM"; _ai1 allowDammage true; _ai1 setCombatMode "RED"; _ai1 setBehaviour "COMBAT"; _magazines = getArray (configFile >> 'CfgWeapons' >> currentMuzzle _ai1 >> 'magazines'); diag_log format["_magazines: %1", _magazines]; _ai1 addMagazine [_magazines select 0,5]; _ai1 setVariable ["AI",true,true]; _ai1 addeventhandler ["fired", {(_this select 0) setvehicleammo 1}]; _ai removeWeaponGlobal (currentMuzzel _ai); _ai1 spawn { Link to comment Share on other sites More sharing options...
tylerjohnson Posted December 28, 2014 Report Share Posted December 28, 2014 found some more information. 28.12.2014 17:17:39:- #96 "1.2 * ( ((safezoneW / safezoneH) min 1.2) / 40) + (SafezoneX)" Link to comment Share on other sites More sharing options...
tylerjohnson Posted December 28, 2014 Report Share Posted December 28, 2014 Did you make any modifications to your scripts.txt to allow for the missions? Link to comment Share on other sites More sharing options...
tylerjohnson Posted December 28, 2014 Report Share Posted December 28, 2014 receiving kicks whenever someone shoots an AI. Mostly around the addweaponcargo restrictions. I see whats going on. There are so many banned weapons its almost unusable with batteye. I will look at the loadout and modify it if i can. Link to comment Share on other sites More sharing options...
Tbone Posted December 29, 2014 Report Share Posted December 29, 2014 Hey n1 work dude, the mission works nearly perfect. ;) I got 2 issues The first ist a script Error which you can see when you start your client with -showScriptErrors as startparameter. Here you can see what my rpt files says. 2:16:48 Error in expression <ainMarker = createMarker ["MainMarker", Ccoords]; _MainMarker setMarkerColor "Co> 2:16:48 Error position: <Ccoords]; _MainMarker setMarkerColor "Co> 2:16:48 Error Nicht definierte Variable in Ausdruck: ccoords 2:16:48 File mpmissions\__CUR_MP.Chernarus\debug\addmarkers.sqf, line 1 2:16:48 Error in expression <inMarker = createMarker ["MainMarker2", C2coords]; _MainMarker setMarkerColor "C> 2:16:48 Error position: <C2coords]; _MainMarker setMarkerColor "C> 2:16:48 Error Nicht definierte Variable in Ausdruck: c2coords 2:16:48 File mpmissions\__CUR_MP.Chernarus\debug\addmarkers2.sqf, line 1 2:16:48 Error in expression <Marker75 = createMarker["MainMarker75", MCoords]; _MainMarker75 setMarkerColor "> 2:16:48 Error position: <MCoords]; _MainMarker75 setMarkerColor "> 2:16:48 Error Nicht definierte Variable in Ausdruck: mcoords 2:16:48 File mpmissions\__CUR_MP.Chernarus\debug\addmarkers75.sqf, line 1 2:16:48 Error in expression <arker75 = createMarker["MainMarker752", M2Coords]; _MainMarker75 setMarkerColor > 2:16:48 Error position: <M2Coords]; _MainMarker75 setMarkerColor > 2:16:48 Error Nicht definierte Variable in Ausdruck: m2coords 2:16:48 File mpmissions\__CUR_MP.Chernarus\debug\addmarkers752.sqf, line 1 i think its just the third Coord parameter missing. But the mission working, so who cares. ;) The second issue is, that i always get kicked when i kill a Bot which is using a weapon which is not unblocked through the BE Filters. When i reconnect the bots cant hit me anymore till i restart the server. So is there a easier way than editing the whole addweaponcargo? 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