Kicked after shooting/killing an AI. Script Restriction #125

Yokai134

New Member
Map: DayZ Taviana 2.0 (.com)
DayZ: Built into Taviana (1.7.4.4)
Sarge AI: 1.5.0
Addtl Scripts: Self Blood Bag, Salvage Parts, R3F Logistics
Arma 2OA Version : 105785
OS: Windows 7 64Bit

BE Scripts.txt From Line 120 - 130 (via NP++) Only 1 commented out line (very top just stating who wrote the scripts.txt).

Code:
5 addMagazineCargo !"\"addMagazineCargo\"," !"addMagazineCargoGlobal" !"raddMagazineCargo = 'addMagazineCargo'" !"raddMagazineCargocode = compile PreprocessFile (BIS_PathMPscriptCommands + 'addMagazineCargo.sqf')"
5 addMagazineCargoGlobal !"addMagazineCargo" !"\"addMagazineCargoGlobal\"," !"holder addmagazinecargoGlobal [_x,(_objWpnQty select _countr)];" !"_firePlace addMagazineCargoGlobal [\"PartWoodPile\",_qty];" !"dayz_myBackpack addmagazineCargoGlobal [_x,(_backpackmagQtys select _countr)];" !"dayz_myBackpack addMagazineCargoGlobal [_x,(_backpackMagQty select _countr)];"
5 addBackpack !"\"addBackpack\"," !"addBackpackCargo" !"addBackpackCargoGlobal" !"player addBackpack _backpackType;" !"_newUnit addBackpack _newBackpackType;" !"player addBackpack _bcpk;"
5 addBackpackCargo !"\"addBackpackCargo\"," !"addBackpackCargoGlobal"
5 addBackpackCargoGlobal !"\"addBackpackCargoGlobal\"," !"_holder addbackpackcargoGlobal [_x,(_objWpnQty select _countr)];"
(125) 1 limitSpeed !"\"limitSpeed\","  //LINE IN QUESTION
1 setOwner !"\"setOwner\","
5 "rspawn" !"rspawn = 'spawn'" !"rspawncode = compile PreprocessFile (BIS_PathMPscriptCommands + 'spawn.sqf')" !"rspawncode" !"hMove,\"amovpknlmstpsraswrfldnon\"] call RE;\n[objNull, player, rSPAWN, [], dzn_fnc_breathfog] call RE;\n\nplayer disableConversation"
1 deleteVehicle  !"\"deleteVehicle\"," !"dayz_flyMonitor = dayz_flyMonitor - [_x];\ndeleteVehicle _x;" !"deleteVehicle _x;\ndayz_bodyMonitor set [_cursor,\"DEL\"];" !"sleep 5;\n};\n{deleteVehicle _x;} forEach _items;" !"sleep 1;\n};\ndeleteVehicle _source;\ndeleteVehicle _point;" !"if (_nearByPlayer) then {\ndeleteVehicle _agent;\n};" !"_object = nearestObject [_position,_type];\ndeleteVehicle _object;" !"_oldUnit disableAI \"MOVE\";\n} else {\ndeleteVehicle _oldUnit;\n};" !"{deleteVehicle _x} forEach _nearByObj;\n_x setVariable [\"cleared\",true,true];" !"dayzDeleteObj call local_deleteObj;\n};\n    deleteVehicle _obj;" !"player addWeapon \"Flare\";\n\nsleep 0.1;\ndeleteVehicle _old;" !"if (local _unit) then {\ndeleteVehicle _unit;" !"};\ndeleteVehicle _lightArea;\ndeleteVehicle _lightSpark;" !"waitUntil{!(alive _flare)};\ndeleteVehicle _lightSpark;" !"if (!isNull _tent) then {\nif (local _tent) then {deleteVehicle _tent};" !"hideBody _item;\nsleep 10;\ndeleteVehicle _item;" !"sleep 5;\ndeleteVehicle _agent;" !"dayzDeleteObj call local_deleteObj;\n};\n\ndeleteVehicle _obj;" !"deleteVehicle _object;\nr_action = false;\ncall fnc_usec_medic_removeActions;" !"if (_isOk) then {\n    deleteVehicle _holder;" !"_flare = _this select 3;\ndeleteVehicle _flare;" !"dayz_hasFire = objNull;\ndeleteVehicle _obj;" !"deleteVehicle _object;\n\n_weapon = _classname createVehicle _location;" !"if (!isNull _agent) then {\ndeleteVehicle _agent;" !"{deleteVehicle _x} forEach _zombies;" !"deleteVehicle _agent;\n} else {\ndayz_bodyMonitor set" !"deleteVehicle _x;\n_delQtyZ = _delQtyZ + 1;" !"if (!(isNull _sfx)) then {\ndeleteVehicle _sfx;\n};" !"deleteVehicle _body;\n_delQtyP = _delQtyP + 1;\n};" !"_dwUSOFC=_dwUSOFC+1;\ndeleteVehicle _x;" !"deleteVehicle _x;\n_dwUFPC=_dwUFPC+1;" !"deleteVehicle _x;\n};\n} forEach allMissionObjects \"ReammoBox\"" !"BIS_functions_mainscope]]; _mygrp = group (_this select 0); deleteVehicle (_this select 0); deleteGroup _mygrp;};};" !"if (_isOk) then {\ndeleteVehicle _holder;\nif (_classname in [\"MeleeHatchet\",\"MeleeCrowbar\"]) then {" !"if (_fade) then {_int=_int - 0.02 - rain/10;};\nsleep 3;\n};\n\ndeletevehicle _fl;" !"clearVehicleInit _v;\ndeletevehicle _fl;deletevehicle _sm;" !"deleteVehicle _smoke;\ndeleteVehicle _fire;\ndeleteVehicle _shards;\ndeleteVehicle _dirt;" !"if (_isOk) then {\ndeleteVehicle _holder;" !" setLightBrightness ns_aii_l_intensity;\nsleep 0.5;\n}; \n\n\ndeleteVehicle _light;\ndeleteVehicle _light2;\ndeleteVehicle _light3;\n};\n" !"ldUnit removeMagazine _x;} forEach  magazines _oldUnit;\n\ndeleteVehicle _oldUnit;\n\n\n\n\n\nif(_currentWpn != \"\") then {_newUnit selec" !"source attachto [_unit, [0,0.15,0], "neck"];\nsleep 0.15;\ndeletevehicle _source;\n};\n};"
1 compile !"\"compile\"," !"\"z\addons\dayz_code\compile" !"call compile preprocessFileLineNumbers \"\z\addons\dayz_code" !"compile preprocessFileLineNumbers '\ca\modules\alice\data\scripts" !"compile preprocessFileLineNumbers '\ca\modules_e\alice2\data\scripts" !"compile preprocessFileLineNumbers 'ca\modules\dyno\data\scripts" !"compile preprocessFileLineNumbers 'ca\modules_e\gita\data\scripts" !"\"z\addons\dayz_code\init\compiles.sqf" !"_this call compile preprocessfilelinenumbers 'ca\ui\scripts\ui_loadingText.sqf';" !"_recompile" !"\"call compile format[\"\"player%1 = player;\"\",_playerUID];\"" !"call compile format[\"\"player%1 = player;\"\",_playerUID];" !"call compile format[\"player%1 = player;\",_playerUID];" !"'] call compile preprocessFileLineNumbers 'ca\Warfare2\Scripts" !"= compile preprocessFileLineNumbers 'ca\modules\function" !"'_dummy']; _dummy = [_this,'initDialog'] call compile preprocessFile    '\ca\ui\scripts\handleGear.sqf'" !"BIS_MPF_remoteExecutionServer = compile preprocessFile (BIS_MP_Path + BIS_PATH_SQF + \"remExServer.sqf\");" !"compile preprocessFileLineNumbers \"\ca\Data\ParticleEffects\SCRIPTS" !"compile preprocessFile \"\ca\Data\ParticleEffects\SCRIPTS" !"compile PreprocessFile (BIS_PathMPscriptCommands" !"_code = call compile format[\"r%1code\",_targetScript];" !"compile (preprocessFileLineNumbers \"ca\characters_e\data\scripts" !"compile preprocessFileLineNumbers 'ca\modules_e\functions" !"compile preprocessFileLineNumbers 'ca\modules_acr\functions" !"compile preprocessfilelinenumbers 'ca\missions_acr\data\scripts" !"compile preprocessFileLineNumbers 'ca\modules_pmc\functions" !"compile preprocessFileLineNumbers 'ca\missions_ew\functions" !"call (compile \"deactivateKey (_keyString + (str _i))\");" !"if (isText (_class >> \"WeaponSlots\")) then \n{_slotsCode = getText (_class >> \"WeaponSlots\"); _slotsVar = call compile _slotsCode;}" !"_dummy = [_this, 'CA_VO_Init'] call compile preprocessFile '\ca\ui\scripts\HideVideoOptions.sqf';" !"['_dummy']; _dummy = [_this, \"CA_VO_ToggleAll\"] call compile preprocessfilelinenumbers    \"\ca\ui\scripts\HideVideoOptions.sqf\";" !"['_dummy']; _dummy = [_this, \"CA_VO_ToggleAdvanced\"] call compile preprocessfilelinenumbers    \"\ca\ui\scripts\HideVideoOptions.sqf\";" !"private [\"_amm\"];\n_amm=_this select 4;\n_this call (call compile GetText (configFile >> \"CfgAmmo\" >> _amm >> \"muzzleEffect\"));" !"['BIS_RscMiniMap',_this select 0]; _this call compile preprocessfilelinenumbers 'ca\ui\scripts\MiniMap.sqf';" !"#line 1 \"nst\ns_dayz\code\compile\zombie_generate.sqf\"\nprivate[\"_position\",\"_doLoiter\",\"_unitTypes\",\"_isNoone\",\"_loot\",\"_array\",\"" !"#line 1 \"nst\ns_dayz\code\compile\fn_temperatur.sqf\"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nprivate [\"_looptime\",\"_sun_factor\",\"_warm_clothes\",\"" !"#line 1 \"nst\ns_dayz\code\compile\building_spawnZombies.sqf\"\nprivate[\"_serial\",\"_positions\",\"_min\",\"_lootGroup\",\"_iArray\",\"_iIte\"" !"#line 1 \"nst\ns_dayz\code\compile\zombie_generate.sqf\"\nprivate[\"_position\",\"_doLoiter\",\"_unitTypes\",\"_isNoone\",\"_loot\",\"_array\"," !"nst\ns_dayz\code\compile\fn_selfActions.sqf"\nscriptName "Functions\misc\fn_selfActions.sqf";\n\n\n\n\n\nprivate["_menClose","" !"#line 1 \"nst\ns_dayz\code\compile\zombie_loiter.sqf\"\nprivate[\"_unit\",\"_originalPos\",\"_pos\"];\n_unit =        _this select 0;\n_original" !"#line 1 \"nst\ns_dayz\code\compile\player_spawnCheck.sqf\"\n_isAir = vehicle player iskindof \"Air\";\n_inVehicle = (vehicle player !=" !"#line 1 \"nst\ns_dayz\code\compile\player_animalCheck.sqf\"\nprivate[\"_list\",\"_Pos\",\"_randrefpoint\",\"_PosList\",\"_PosSelect\",\"_Pos\","
1 exec !"\"exec\"," !"execVM" !"execFSM" !"JIPexec" !"_localExec" !"Init script executed at" !"1 \"nst\namalsk\CutScenes\full_intro3.namalsk\init.sqf\"\nplayer exec \"kamera.sqs\";\n0 fadeMusic 1;\nplayMusic \"01_lubjansk\";"

I have tried changing the numbers to 1 above the line and below the line in question. Not sure whats exactly causing this. But if an AI Bandit/Survivor/Soldier is shot or killed (not sure being that I usually kill them with a heavy gun (LMG/Sniper) I get kicked for SR #125.

Any help would be grateful, thanks.
 
On the line that starts 5 "rspawn" add !"rspawn" to the end of it. I had the same script restriction upon killing an AI when I first installed it. Sadly the log didn't actually say anything that was in the script file but I figured it out by process of elimination.

I'd highly recommend checking out this post about Battleye filters by Sarge and it's probably best to read up a bit on it as if you're adding more scripts you're really going to need to sort a lot of Battleye filters. :)
 
That worked, thank you.

I read his post on BE filters but I didnt want to start allowing everything or blocking the wrong stuff. Arma 2 is really flexible but also not.
 
Haha yeah it takes a little bit of trial and error sometimes, but it's worth it in the end. Glad that got it working for you. :)
 
Back
Top