diff --git a/SQF/dayz_code/Configs/CfgTownGenerator/CfgTownGeneratorDefault.hpp b/SQF/dayz_code/Configs/CfgTownGenerator/CfgTownGeneratorDefault.hpp index 23c952f67..21ff9d0a6 100644 --- a/SQF/dayz_code/Configs/CfgTownGenerator/CfgTownGeneratorDefault.hpp +++ b/SQF/dayz_code/Configs/CfgTownGenerator/CfgTownGeneratorDefault.hpp @@ -2222,7 +2222,6 @@ class Zelenogorsk { class Object24 { type = "SKODAWreck"; position[] = {2761.44, 5442.06, 0}; direction = 196; onFire = 0; }; class Object25 { type = "Fort_Barricade"; position[] = {2215.06, 5154.03, 0}; direction = 129; onFire = 0; }; class Object26 { type = "Rubbish1"; position[] = {2831.18, 5463.18, 0}; direction = 204; onFire = 0; }; - class Object27 { type = "datsun01Wreck"; position[] = {2214.82, 5153.37, 0}; direction = 122; onFire = 0; }; class Object28 { type = "Fort_Barricade"; position[] = {2722.08, 5128.01, 0}; direction = 112; onFire = 0; }; class Object29 { type = "datsun02Wreck"; position[] = {2731.03, 5062.87, 0}; direction = 110; onFire = 0; }; class Object30 { type = "Land_Misc_Rubble_EP1"; position[] = {3202.4, 5156.94, 0}; direction = 300; onFire = 0; }; @@ -2234,7 +2233,6 @@ class Zelenogorsk { class Object36 { type = "Rubbish5"; position[] = {2759.29, 5326.47, 0}; direction = 19; onFire = 0; }; class Object37 { type = "SKODAWreck"; position[] = {2626.12, 5118.43, 0}; direction = 140; onFire = 0; }; class Object38 { type = "Rubbish3"; position[] = {2646.66, 5926.84, 0}; direction = 327; onFire = 0; }; - class Object39 { type = "RoadBarrier_long"; position[] = {2236.18, 5146.44, 0}; direction = 275; onFire = 0; }; class Object40 { type = "Fort_Barricade"; position[] = {2874.81, 5256.3, 0}; direction = 105; onFire = 0; }; class Object41 { type = "datsun02Wreck"; position[] = {2991.58, 5561.9, 0}; direction = 34; onFire = 0; }; class Object42 { type = "Land_Misc_Garb_Heap_EP1"; position[] = {2257.37, 5151.29, 0}; direction = 21; onFire = 0; }; @@ -2244,7 +2242,6 @@ class Zelenogorsk { class Object46 { type = "Land_Misc_Rubble_EP1"; position[] = {2661.45, 5575.91, 0}; direction = 8; onFire = 0; }; class Object47 { type = "datsun02Wreck"; position[] = {2589.71, 4850.21, 0}; direction = 165; onFire = 0; }; class Object48 { type = "Rubbish3"; position[] = {3129.71, 5196.39, 0}; direction = 283; onFire = 0; }; - class Object49 { type = "Fort_Barricade"; position[] = {2224.11, 5152.66, 0}; direction = 122; onFire = 0; }; class Object50 { type = "RoadBarrier_long"; position[] = {3407.76, 4908.85, 0}; direction = 227; onFire = 0; }; class Object51 { type = "Rubbish1"; position[] = {2731.81, 5353.15, 0}; direction = 336; onFire = 0; }; class Object52 { type = "Fort_Barricade"; position[] = {2262.95, 5374.37, 0}; direction = 178; onFire = 0; }; @@ -2257,11 +2254,9 @@ class Zelenogorsk { class Object59 { type = "Rubbish3"; position[] = {2266.61, 5161.07, 0}; direction = 36; onFire = 0; }; class Object60 { type = "HMMWVWreck"; position[] = {2812.47, 5270.69, 0}; direction = 97; onFire = 0; }; class Object61 { type = "Fort_Barricade"; position[] = {2753.43, 5325.69, 0}; direction = 279; onFire = 0; }; - class Object62 { type = "SKODAWreck"; position[] = {2234.22, 5141.31, 0}; direction = 288; onFire = 0; }; class Object63 { type = "Rubbish5"; position[] = {2625.31, 5070.09, 0}; direction = 242; onFire = 0; }; class Object64 { type = "datsun01Wreck"; position[] = {3397.79, 4906.4, 0}; direction = 308; onFire = 0; }; class Object65 { type = "Land_Misc_Rubble_EP1"; position[] = {2820.04, 5243.38, 0}; direction = 4; onFire = 0; }; - class Object66 { type = "hiluxWreck"; position[] = {2225.07, 5151.34, 0}; direction = 113; onFire = 0; }; class Object67 { type = "Land_Misc_Garb_Heap_EP1"; position[] = {2724.28, 5192.38, 0}; direction = 18; onFire = 0; }; class Object68 { type = "Land_CncBlock_D"; position[] = {2820.7, 5453.61, 0}; direction = 39; onFire = 0; }; class Object69 { type = "Rubbish4"; position[] = {3370.46, 4931.3, 0}; direction = 305; onFire = 0; }; @@ -2270,7 +2265,6 @@ class Zelenogorsk { class Object72 { type = "Rubbish1"; position[] = {3551.27, 5070.84, 0}; direction = 26; onFire = 0; }; class Object73 { type = "UralWreck"; position[] = {2730.68, 5202.66, 0}; direction = 18; onFire = 0; }; class Object74 { type = "Land_Misc_Garb_Heap_EP1"; position[] = {2813.97, 5230.95, 0}; direction = 179; onFire = 0; }; - class Object75 { type = "Fort_Barricade"; position[] = {2244.23, 5144.63, 0}; direction = 209; onFire = 0; }; class Object76 { type = "RoadBarrier_long"; position[] = {2706.65, 5277.55, 0}; direction = 291; onFire = 0; }; class Object77 { type = "UAZWreck"; position[] = {2531.19, 6250.84, 0}; direction = 354; onFire = 0.833768; }; class Object78 { type = "hiluxWreck"; position[] = {2716.33, 5463.63, 0}; direction = 23; onFire = 0; }; diff --git a/SQF/dayz_code/system/mission/chernarus/hideGlitchObjects.sqf b/SQF/dayz_code/system/mission/chernarus/hideGlitchObjects.sqf new file mode 100644 index 000000000..8c9b6001c --- /dev/null +++ b/SQF/dayz_code/system/mission/chernarus/hideGlitchObjects.sqf @@ -0,0 +1,17 @@ +/* + Hide glitched map objects which can not be deleted + HideObject is preferable to setDam because effects are not broadcasted over the network + and there are no laggy destruction effects (smoke etc.) +*/ + +{(_x select 0) nearestObject (_x select 1) hideObject true} count [ + //Clip into Land_houseV_2T2 interior + [[3555,2560,0],327215], //psi_bouda.p3d dog house //smoke after setDam + + //Clip into zero_building Land_HouseV_3I3 + [[2799,5209,0],187483], //fuel_tank_small.p3d //still visible and inflamed after setDam + [[2800,5200,0],187495], //psi_bouda.p3d dog house //smoke after setDam + + //Clip into zero_building Land_HouseV_1L2 + [[3672,2435,0],327675] //kbud.p3d outhouse +]; \ No newline at end of file diff --git a/SQF/dayz_server/compile/server_playerLogin.sqf b/SQF/dayz_server/compile/server_playerLogin.sqf index 3b178c222..a7bf352fc 100644 --- a/SQF/dayz_server/compile/server_playerLogin.sqf +++ b/SQF/dayz_server/compile/server_playerLogin.sqf @@ -85,6 +85,7 @@ _newPlayer = _primary select 1; _isNew = count _primary < 10; //_result select 1; _charID = _primary select 2; //diag_log ("LOGIN RESULT: " + str(_primary)); + /* PROCESS */ _hiveVer = 0; @@ -106,7 +107,7 @@ if (!_isNew) then { _group = _primary select 5; _playerCoins = _primary select 6; _BankCoins = _primary select 7; - _hiveVer = _primary select 8; + _hiveVer = _primary select 8; if (isNil "_model") then { _model = "Survivor2_DZ"; } else { @@ -148,7 +149,7 @@ if (_endMission) exitwith { //Log For GhostMode diag_log format["INFO - Player:%1(UID:%2/CID%3) Status: LOGIN CANCELLED, GHOSTMODE. Time remianing: %4",_playerName,_playerID,_charID,_remaining]; - + PVCDZ_plr_Ghost = [_remaining]; (owner _playerObj) publicVariableClient "PVCDZ_plr_Ghost"; }; @@ -156,6 +157,27 @@ if (_endMission) exitwith { //Sync chopped trees for JIP player {_x setDamage 1} count dayz_choppedTrees; +if (toLower worldName == "chernarus") then { + //Destroy glitched map objects which can not be deleted or hidden + {(_x select 0) nearestObject (_x select 1) setDamage 1} count [ + //Clipped benches in barracks hallway + [[4654,9595,0],145259], + [[4654,9595,0],145260], + //Clip into Land_houseV_2T2 + [[3553,2563,0],327203], //popelnice.p3d trash can + //Clip into zero_building Land_HouseV_3I3 + [[2800,5202,0],187548], //popelnice.p3d trash can + //Clip into zero_building Land_HouseV_1L2 + [[3656,2429,0],327885], //plot_rust_draty.p3d fence + [[3656,2429,0],328107], //plot_rust_draty.p3d fence + [[3656,2429,0],328108], //plot_rust_draty.p3d fence + [[3656,2429,0],328109], //plot_rust_draty.p3d fence + [[3656,2429,0],328110], //plot_rust_draty.p3d fence + //Floating stump misc_stub1.p3d + [[9084,8654,0],244480] + ]; +}; + //Sync active group invites to JIP player if (count dayz_activeInvites > 0) then { (owner _playerObj) publicVariableClient "dayz_activeInvites"; diff --git a/Server Files/Battleye/addmagazinecargo.txt b/Server Files/Battleye/addmagazinecargo.txt index 1cdc3c764..67c003f40 100644 --- a/Server Files/Battleye/addmagazinecargo.txt +++ b/Server Files/Battleye/addmagazinecargo.txt @@ -1,4 +1,4 @@ //new 1 "" !^[0-9]+Rnd_|^Item|^Trash|^Food|^Fish|^Part|^Attachment_|^equip|swing$|^Hand|^(whole)?blood|^Skin !=Mosin_Nagant_Ammo|transfusionKit|TrapBear|emptyBloodBag|PipeBomb|5x_22_LR_17_HMR|10x_303|Crossbow_EX_Bolt !=Tranquiliser_Bolt !=Flare(White|Green)_(M203|GP25) !=SmokeShell(Red|Green)? !="" !=Quiver !=WoodenArrow !=CA_Magazine -1 ^[0-9]+Rnd_ !=1Rnd_(((HE|Smoke)_(M203|GP25))|Arrow_Wood|Bolt_Explosive|Bolt_Tranquilizer) !=2Rnd_shotgun_74|2Rnd_12Gauge_(Slug|Pellets|Buck) !=5Rnd_762x51_M24|5Rnd_762x54_Mosin|5Rnd_17HMR|6Rnd_45ACP|7Rnd_45ACP_1911|10Rnd_762x54_SVD|75Rnd_545x39_RPK|75Rnd_762x39_RPK !=8Rnd_(9x18_Makarov(SD)?|((B_Beneli_|12Gauge_)(74Slug|Slug|Pellets|Buck))) !=10Rnd_303British !=12Rnd_Quiver_Wood !=15Rnd_(9x19_M9(SD)?|W1866_Slug) !=17Rnd_9x19_glock17(SD)? !=20Rnd_762x51_(DMR|FNFAL) !=30Rnd_(556x45_(STANAG|G36)(SD)?|545x39_AK(SD)?|9x19_(MP5(SD)?|UZI)|762x39_(AK47|SA58)) !=64Rnd_9x19(_SD)?_Bizon !=100Rnd_762x(51_M240|54_PK) !=[12]00Rnd_556x45_M249 !=50Rnd_762x54_UK59 +1 ^[0-9]+Rnd_ !=1Rnd_(((HE|Smoke)_(M203|GP25))|Arrow_Wood|Bolt_Explosive|Bolt_Tranquilizer) !=2Rnd_shotgun_74|2Rnd_12Gauge_(Slug|Pellets|Buck) !=5Rnd_762x51_M24|5Rnd_86x70_L115A1|5Rnd_762x54_Mosin|5Rnd_17HMR|6Rnd_45ACP|7Rnd_45ACP_1911|10Rnd_762x54_SVD|75Rnd_545x39_RPK|75Rnd_762x39_RPK !=8Rnd_(9x18_Makarov(SD)?|((B_Beneli_|12Gauge_)(74Slug|Slug|Pellets|Buck))) !=10Rnd_303British !=12Rnd_Quiver_Wood !=15Rnd_(9x19_M9(SD)?|W1866_Slug) !=17Rnd_9x19_glock17(SD)? !=20Rnd_762x51_(DMR|FNFAL) !=30Rnd_(556x45_(STANAG|G36)(SD)?|545x39_AK(SD)?|9x19_(MP5(SD)?|UZI)|762x39_(AK47|SA58)) !=64Rnd_9x19(_SD)?_Bizon !=100Rnd_762x(51_M240|54_PK) !=[12]00Rnd_556x45_M249 !=50Rnd_762x54_UK59 1=HandGrenade_Stone \ No newline at end of file diff --git a/Server Files/Battleye/publicvariableval.txt b/Server Files/Battleye/publicvariableval.txt index 46d0908f5..59c4214c4 100644 --- a/Server Files/Battleye/publicvariableval.txt +++ b/Server Files/Battleye/publicvariableval.txt @@ -1,10 +1,14 @@ //new -5 "[;{(&%]" -5 "\+" !"e\+0" -5 "(commandRadio|directSay|globalRadio|groupRadio|sideRadio|vehicleRadio)" +5 \{ +5 \( +5 ; +5 & +5 % +5 \+ !e\+0 +5 (commandRadio|directSay|globalRadio|groupRadio|sideRadio|vehicleRadio) 1 "wrong side" // group hack, ban the first in a row 1 "(init|set|add|action|all|attach|ATL|ASL|eye|exec|group|unit|clear|create|menu|ctrl|display|text|hint|drop)" !"\"(SetFuel|dayzSetDate|titleText|(|with )MeleeBaseball(|Bat(|Barbed|Nails))|StashSmall|smallboat_[12])\"" !"_Ball " !Attachement !Attachment_ !aslo -1 "(entit|exit|able|find|fuel|join|frame|move|team|throw)" !"\"(switchmove|ItemFuelcan(|Empty)|PartFueltank|SetFuel|z_refuel_0|ItemSodaRocketFuel|cable_tie)\"" +1 "(entit|exit|able|find|fuel|join|frame|move|team|throw)" !"\"(switchmove|ItemFuelcan(|Empty)|PartFueltank|SetFuel|z_refuel_0|ItemSodaRocketFuel|cable_tie)\"" !Zombie(Feed|StandingAttack) 1 "\"say\"" !"say\",\[\"z_" 1 "\"titleText\"" 1 "draw" @@ -266,4 +270,4 @@ 5 world_isday 5 world_sunrise 5 world_surfacenoise -5 zombie_ +5 zombie_ \ No newline at end of file diff --git a/Server Files/Battleye/scripts.txt b/Server Files/Battleye/scripts.txt index 393c47902..ee5999973 100644 --- a/Server Files/Battleye/scripts.txt +++ b/Server Files/Battleye/scripts.txt @@ -21,7 +21,7 @@ 5 displaySetEventHandler 5 enableEnvironment 5 groupIcon -5 hideObject !"rhideObject" !"\"hideObject\"" !"_object2 = _ghost2 createVehicleLocal [0,0,0];\nhideObject _object;" +5 hideObject !"rhideObject" !"\"hideObject\"" !"(_x select 0) nearestObject (_x select 1) hideObject true} count [\n\n[[3" !"_object2 = _ghost2 createVehicleLocal [0,0,0];\nhideObject _object;" 5 lbCurSel !"_selectedUserIndex = lbCurSel _lbUsersControl;" !="profileNamespace setVariable ['streamerMode',(lbCurSel (_this select 0))];" !"_index = lbCurSel _lbcontrol;\n_selectedItem" !"_selected = lbCurSel _list;\n_classname = _list lnbData [_selected, 2];" !="_friendName = _userList lbText (lbCurSel _userList);" !")] call Z_" !"(lbCurSel 7421) call Z_fillCategoryList" !"] call Door" !"] call Plot" !"[(lbCurSel 12001)] " !="[(lbCurSel 21000), ((ctrlParent (_this select 0)) displayCtrl 21001)] spawn EpochDeathBoardClick;" !"((ctrlParent (_this select 0)) closeDisplay 2);" !="_uid = _playerList lbData (lbCurSel _playerList);" !"_myGroup lbData (lbCurSel _myGroup);" 5 lbSet !"_lbUsersControl lbSetColor [_x, [1,0,0,1]];" !"\n_control lbSetColor [_x, _color];\n};" !"_weaponsLBSetFocus" !="(_this select 0) displayCtrl 140 lbSetCurSel (profileNamespace getVariable ['streamerMode',0]);" !="(_display displayCtrl 105) lbSetColor [_i, [0.06, 0.05, 0.03, 1]];" !" [7421," !"lbSetPicture [7422, _index" !"lbSetPicture [7402, _index" !"lbSetPicture [7401, _index" !="_userList lbSetData [(lbSize _userList) -1,_friendUID];" !" [TraderDialogItemList, _index, " !"_myGroup lbSetData [_index,getPlayerUID _x];" 5 menu !",\"MenuSelected\",\"Draw\",\"VideoStop" !"_menu = _parent displayCtrl (1600 + _i);\n_menu ctrlShow " !="createDialog 'RscDisplayCraftingMenu';" !"BIS_fnc_commsMenu" !"BIS_fnc_kbMenu" !"call gear_ui_offMenu;" !"dayz_inflame_showMenu" !"\"showCommandingMenu\", " !"rshowCommandingMenu" !"menu_" !"use action menu to " !"\"_menu\",\"_menu1\"" !"PVDZE_plr_TradeMenu" !"fn_gearMenuChecks" !"fn_pauseMenuChecks" @@ -29,7 +29,7 @@ 5 playableUnits !"for [{_y=0},{_y < count(playableUnits)},{_y=_y+1}] do {" !"typeName player == \"OBJECT\" && {(player in playableUnits" !"AND {((alive _x) AND {((vehicle _x) distance _obj < 150)})}} count playableUnits)}) then {" !="_local = { _unit distance _x < _dis; } count playableUnits <= 1;" !"if (!_isOk) exitWith {false};\nuiSleep 0.001;\n} forEach playableUnits;" !"ManagementMustBeClose) then { player nearEntities [\"CAManBase\", 10] } else { playableUnits };" 5 selectPlayer !"addSwitchableUnit dayz_originalPlayer;\nsetPlayable dayz_originalPlayer;\nselectPlayer dayz_originalPlayer;" !"addSwitchableUnit _newUnit;\nsetPlayable _newUnit;\nselectPlayer _newUnit;" 5 serverCommand !="_character = if (serverCommandAvailable \"#kick\") then { call sched_tg_follow } else { player };" !"serverCommand (\"#vote kick \" + _selectedName);" -5 setDamage !"([4654,9595,0] nearestObject 145259) setDamage 1;\n([4654,9595,0] nearestObject 145260) setDamage 1;" !"if (_entity isKindOf \"Animal\") then {\n_entity setDamage 1;" !"player setDamage 1;\n};\n\nif (dayz_onBack != \"\") then {\n_body addWeapon dayz_onBack;" !"if (_ent isKindOf \"Animal\" || _ent isKindOf \"zZombie_base\") then {\n_ent setDamage 1;" +5 setDamage !"if (_entity isKindOf \"Animal\") then {\n_entity setDamage 1;" !"player setDamage 1;\n};\n\nif (dayz_onBack != \"\") then {\n_body addWeapon dayz_onBack;" !"if (_ent isKindOf \"Animal\" || _ent isKindOf \"zZombie_base\") then {\n_ent setDamage 1;" 5 setDammage 5 SetEventHandler !"\n_menu ctrlSetEventHandler [\"ButtonClick\",_compile];\n};" !"inGameUISetEventHandler [\"Action\",\"false\"];" 5 setMarkerAlpha diff --git a/Server Files/MPMissions/DayZ_Epoch_1.Takistan/init.sqf b/Server Files/MPMissions/DayZ_Epoch_1.Takistan/init.sqf index 03120321f..ef7bc675e 100644 --- a/Server Files/MPMissions/DayZ_Epoch_1.Takistan/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_1.Takistan/init.sqf @@ -120,15 +120,13 @@ if (isServer) then { }; if (!isDedicated) then { + if (toLower worldName == "chernarus") then { + execVM "\z\addons\dayz_code\system\mission\chernarus\hideGlitchObjects.sqf"; + }; + //Enables Plant lib fixes execVM "\z\addons\dayz_code\system\antihack.sqf"; - if (toLower(worldName) == "chernarus") then { - diag_log "WARNING: Clearing annoying benches from Chernarus"; - ([4654,9595,0] nearestObject 145259) setDamage 1; - ([4654,9595,0] nearestObject 145260) setDamage 1; - }; - if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; }; execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; diff --git a/Server Files/MPMissions/DayZ_Epoch_10.Mountains_ACR/init.sqf b/Server Files/MPMissions/DayZ_Epoch_10.Mountains_ACR/init.sqf index 033eea2ac..4e9dfa231 100644 --- a/Server Files/MPMissions/DayZ_Epoch_10.Mountains_ACR/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_10.Mountains_ACR/init.sqf @@ -120,15 +120,13 @@ if (isServer) then { }; if (!isDedicated) then { + if (toLower worldName == "chernarus") then { + execVM "\z\addons\dayz_code\system\mission\chernarus\hideGlitchObjects.sqf"; + }; + //Enables Plant lib fixes execVM "\z\addons\dayz_code\system\antihack.sqf"; - if (toLower(worldName) == "chernarus") then { - diag_log "WARNING: Clearing annoying benches from Chernarus"; - ([4654,9595,0] nearestObject 145259) setDamage 1; - ([4654,9595,0] nearestObject 145260) setDamage 1; - }; - if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; }; execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; diff --git a/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf b/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf index fe096f300..b9aa4fbb1 100644 --- a/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf @@ -119,15 +119,13 @@ if (isServer) then { }; if (!isDedicated) then { + if (toLower worldName == "chernarus") then { + execVM "\z\addons\dayz_code\system\mission\chernarus\hideGlitchObjects.sqf"; + }; + //Enables Plant lib fixes execVM "\z\addons\dayz_code\system\antihack.sqf"; - if (toLower(worldName) == "chernarus") then { - diag_log "WARNING: Clearing annoying benches from Chernarus"; - ([4654,9595,0] nearestObject 145259) setDamage 1; - ([4654,9595,0] nearestObject 145260) setDamage 1; - }; - if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; }; execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; diff --git a/Server Files/MPMissions/DayZ_Epoch_12.isladuala/init.sqf b/Server Files/MPMissions/DayZ_Epoch_12.isladuala/init.sqf index 60269e3b5..f5f3d805c 100644 --- a/Server Files/MPMissions/DayZ_Epoch_12.isladuala/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_12.isladuala/init.sqf @@ -120,15 +120,13 @@ if (isServer) then { }; if (!isDedicated) then { + if (toLower worldName == "chernarus") then { + execVM "\z\addons\dayz_code\system\mission\chernarus\hideGlitchObjects.sqf"; + }; + //Enables Plant lib fixes execVM "\z\addons\dayz_code\system\antihack.sqf"; - if (toLower(worldName) == "chernarus") then { - diag_log "WARNING: Clearing annoying benches from Chernarus"; - ([4654,9595,0] nearestObject 145259) setDamage 1; - ([4654,9595,0] nearestObject 145260) setDamage 1; - }; - if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; }; execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; diff --git a/Server Files/MPMissions/DayZ_Epoch_13.Tavi/init.sqf b/Server Files/MPMissions/DayZ_Epoch_13.Tavi/init.sqf index bb6506767..b26aa9b94 100644 --- a/Server Files/MPMissions/DayZ_Epoch_13.Tavi/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_13.Tavi/init.sqf @@ -120,15 +120,13 @@ if (isServer) then { }; if (!isDedicated) then { + if (toLower worldName == "chernarus") then { + execVM "\z\addons\dayz_code\system\mission\chernarus\hideGlitchObjects.sqf"; + }; + //Enables Plant lib fixes execVM "\z\addons\dayz_code\system\antihack.sqf"; - if (toLower(worldName) == "chernarus") then { - diag_log "WARNING: Clearing annoying benches from Chernarus"; - ([4654,9595,0] nearestObject 145259) setDamage 1; - ([4654,9595,0] nearestObject 145260) setDamage 1; - }; - if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; }; execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; diff --git a/Server Files/MPMissions/DayZ_Epoch_15.namalsk/init.sqf b/Server Files/MPMissions/DayZ_Epoch_15.namalsk/init.sqf index cb24e9feb..d0e01a7b9 100644 --- a/Server Files/MPMissions/DayZ_Epoch_15.namalsk/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_15.namalsk/init.sqf @@ -120,15 +120,13 @@ if (isServer) then { }; if (!isDedicated) then { + if (toLower worldName == "chernarus") then { + execVM "\z\addons\dayz_code\system\mission\chernarus\hideGlitchObjects.sqf"; + }; + //Enables Plant lib fixes execVM "\z\addons\dayz_code\system\antihack.sqf"; - if (toLower(worldName) == "chernarus") then { - diag_log "WARNING: Clearing annoying benches from Chernarus"; - ([4654,9595,0] nearestObject 145259) setDamage 1; - ([4654,9595,0] nearestObject 145260) setDamage 1; - }; - if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; }; execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; diff --git a/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/init.sqf b/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/init.sqf index 386cef872..bfea433ed 100644 --- a/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/init.sqf @@ -120,15 +120,13 @@ if (isServer) then { }; if (!isDedicated) then { + if (toLower worldName == "chernarus") then { + execVM "\z\addons\dayz_code\system\mission\chernarus\hideGlitchObjects.sqf"; + }; + //Enables Plant lib fixes execVM "\z\addons\dayz_code\system\antihack.sqf"; - if (toLower(worldName) == "chernarus") then { - diag_log "WARNING: Clearing annoying benches from Chernarus"; - ([4654,9595,0] nearestObject 145259) setDamage 1; - ([4654,9595,0] nearestObject 145260) setDamage 1; - }; - if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; }; execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; diff --git a/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/init.sqf b/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/init.sqf index db6ff4103..f7525ab8f 100644 --- a/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/init.sqf @@ -120,15 +120,13 @@ if (isServer) then { }; if (!isDedicated) then { + if (toLower worldName == "chernarus") then { + execVM "\z\addons\dayz_code\system\mission\chernarus\hideGlitchObjects.sqf"; + }; + //Enables Plant lib fixes execVM "\z\addons\dayz_code\system\antihack.sqf"; - if (toLower(worldName) == "chernarus") then { - diag_log "WARNING: Clearing annoying benches from Chernarus"; - ([4654,9595,0] nearestObject 145259) setDamage 1; - ([4654,9595,0] nearestObject 145260) setDamage 1; - }; - if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; }; execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; diff --git a/Server Files/MPMissions/DayZ_Epoch_19.FDF_Isle1_a/init.sqf b/Server Files/MPMissions/DayZ_Epoch_19.FDF_Isle1_a/init.sqf index 6166cbbf4..8497cf0e1 100644 --- a/Server Files/MPMissions/DayZ_Epoch_19.FDF_Isle1_a/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_19.FDF_Isle1_a/init.sqf @@ -120,15 +120,13 @@ if (isServer) then { }; if (!isDedicated) then { + if (toLower worldName == "chernarus") then { + execVM "\z\addons\dayz_code\system\mission\chernarus\hideGlitchObjects.sqf"; + }; + //Enables Plant lib fixes execVM "\z\addons\dayz_code\system\antihack.sqf"; - if (toLower(worldName) == "chernarus") then { - diag_log "WARNING: Clearing annoying benches from Chernarus"; - ([4654,9595,0] nearestObject 145259) setDamage 1; - ([4654,9595,0] nearestObject 145260) setDamage 1; - }; - if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; }; execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; diff --git a/Server Files/MPMissions/DayZ_Epoch_2.Utes/init.sqf b/Server Files/MPMissions/DayZ_Epoch_2.Utes/init.sqf index 0d3f0e447..a35eb725e 100644 --- a/Server Files/MPMissions/DayZ_Epoch_2.Utes/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_2.Utes/init.sqf @@ -120,15 +120,13 @@ if (isServer) then { }; if (!isDedicated) then { + if (toLower worldName == "chernarus") then { + execVM "\z\addons\dayz_code\system\mission\chernarus\hideGlitchObjects.sqf"; + }; + //Enables Plant lib fixes execVM "\z\addons\dayz_code\system\antihack.sqf"; - if (toLower(worldName) == "chernarus") then { - diag_log "WARNING: Clearing annoying benches from Chernarus"; - ([4654,9595,0] nearestObject 145259) setDamage 1; - ([4654,9595,0] nearestObject 145260) setDamage 1; - }; - if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; }; execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; diff --git a/Server Files/MPMissions/DayZ_Epoch_20.fapovo/init.sqf b/Server Files/MPMissions/DayZ_Epoch_20.fapovo/init.sqf index 00018f13d..77deb19b5 100644 --- a/Server Files/MPMissions/DayZ_Epoch_20.fapovo/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_20.fapovo/init.sqf @@ -120,15 +120,13 @@ if (isServer) then { }; if (!isDedicated) then { + if (toLower worldName == "chernarus") then { + execVM "\z\addons\dayz_code\system\mission\chernarus\hideGlitchObjects.sqf"; + }; + //Enables Plant lib fixes execVM "\z\addons\dayz_code\system\antihack.sqf"; - if (toLower(worldName) == "chernarus") then { - diag_log "WARNING: Clearing annoying benches from Chernarus"; - ([4654,9595,0] nearestObject 145259) setDamage 1; - ([4654,9595,0] nearestObject 145260) setDamage 1; - }; - if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; }; execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; diff --git a/Server Files/MPMissions/DayZ_Epoch_21.Caribou/init.sqf b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/init.sqf index 9bcfe929f..6e5666783 100644 --- a/Server Files/MPMissions/DayZ_Epoch_21.Caribou/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/init.sqf @@ -120,15 +120,13 @@ if (isServer) then { }; if (!isDedicated) then { + if (toLower worldName == "chernarus") then { + execVM "\z\addons\dayz_code\system\mission\chernarus\hideGlitchObjects.sqf"; + }; + //Enables Plant lib fixes execVM "\z\addons\dayz_code\system\antihack.sqf"; - if (toLower(worldName) == "chernarus") then { - diag_log "WARNING: Clearing annoying benches from Chernarus"; - ([4654,9595,0] nearestObject 145259) setDamage 1; - ([4654,9595,0] nearestObject 145260) setDamage 1; - }; - if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; }; execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; diff --git a/Server Files/MPMissions/DayZ_Epoch_22.smd_sahrani_A2/init.sqf b/Server Files/MPMissions/DayZ_Epoch_22.smd_sahrani_A2/init.sqf index 2ce63d06a..f66c1ab54 100644 --- a/Server Files/MPMissions/DayZ_Epoch_22.smd_sahrani_A2/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_22.smd_sahrani_A2/init.sqf @@ -120,15 +120,13 @@ if (isServer) then { }; if (!isDedicated) then { + if (toLower worldName == "chernarus") then { + execVM "\z\addons\dayz_code\system\mission\chernarus\hideGlitchObjects.sqf"; + }; + //Enables Plant lib fixes execVM "\z\addons\dayz_code\system\antihack.sqf"; - if (toLower(worldName) == "chernarus") then { - diag_log "WARNING: Clearing annoying benches from Chernarus"; - ([4654,9595,0] nearestObject 145259) setDamage 1; - ([4654,9595,0] nearestObject 145260) setDamage 1; - }; - if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; }; execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; diff --git a/Server Files/MPMissions/DayZ_Epoch_23.cmr_ovaron/init.sqf b/Server Files/MPMissions/DayZ_Epoch_23.cmr_ovaron/init.sqf index e722b04e0..28ab6d1e2 100644 --- a/Server Files/MPMissions/DayZ_Epoch_23.cmr_ovaron/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_23.cmr_ovaron/init.sqf @@ -120,15 +120,13 @@ if (isServer) then { }; if (!isDedicated) then { + if (toLower worldName == "chernarus") then { + execVM "\z\addons\dayz_code\system\mission\chernarus\hideGlitchObjects.sqf"; + }; + //Enables Plant lib fixes execVM "\z\addons\dayz_code\system\antihack.sqf"; - if (toLower(worldName) == "chernarus") then { - diag_log "WARNING: Clearing annoying benches from Chernarus"; - ([4654,9595,0] nearestObject 145259) setDamage 1; - ([4654,9595,0] nearestObject 145260) setDamage 1; - }; - if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; }; execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; diff --git a/Server Files/MPMissions/DayZ_Epoch_24.Napf/init.sqf b/Server Files/MPMissions/DayZ_Epoch_24.Napf/init.sqf index b8e57cbc1..332e1425e 100644 --- a/Server Files/MPMissions/DayZ_Epoch_24.Napf/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_24.Napf/init.sqf @@ -120,15 +120,13 @@ if (isServer) then { }; if (!isDedicated) then { + if (toLower worldName == "chernarus") then { + execVM "\z\addons\dayz_code\system\mission\chernarus\hideGlitchObjects.sqf"; + }; + //Enables Plant lib fixes execVM "\z\addons\dayz_code\system\antihack.sqf"; - if (toLower(worldName) == "chernarus") then { - diag_log "WARNING: Clearing annoying benches from Chernarus"; - ([4654,9595,0] nearestObject 145259) setDamage 1; - ([4654,9595,0] nearestObject 145260) setDamage 1; - }; - if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; }; execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; diff --git a/Server Files/MPMissions/DayZ_Epoch_25.sauerland/init.sqf b/Server Files/MPMissions/DayZ_Epoch_25.sauerland/init.sqf index 3ca79dac7..918778f57 100644 --- a/Server Files/MPMissions/DayZ_Epoch_25.sauerland/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_25.sauerland/init.sqf @@ -120,15 +120,13 @@ if (isServer) then { }; if (!isDedicated) then { + if (toLower worldName == "chernarus") then { + execVM "\z\addons\dayz_code\system\mission\chernarus\hideGlitchObjects.sqf"; + }; + //Enables Plant lib fixes execVM "\z\addons\dayz_code\system\antihack.sqf"; - if (toLower(worldName) == "chernarus") then { - diag_log "WARNING: Clearing annoying benches from Chernarus"; - ([4654,9595,0] nearestObject 145259) setDamage 1; - ([4654,9595,0] nearestObject 145260) setDamage 1; - }; - if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; }; execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; diff --git a/Server Files/MPMissions/DayZ_Epoch_26.sauerland_winter/init.sqf b/Server Files/MPMissions/DayZ_Epoch_26.sauerland_winter/init.sqf index 29a5befc9..1d1528da4 100644 --- a/Server Files/MPMissions/DayZ_Epoch_26.sauerland_winter/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_26.sauerland_winter/init.sqf @@ -121,15 +121,13 @@ if (isServer) then { }; if (!isDedicated) then { + if (toLower worldName == "chernarus") then { + execVM "\z\addons\dayz_code\system\mission\chernarus\hideGlitchObjects.sqf"; + }; + //Enables Plant lib fixes execVM "\z\addons\dayz_code\system\antihack.sqf"; - if (toLower(worldName) == "chernarus") then { - diag_log "WARNING: Clearing annoying benches from Chernarus"; - ([4654,9595,0] nearestObject 145259) setDamage 1; - ([4654,9595,0] nearestObject 145260) setDamage 1; - }; - if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; }; execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; diff --git a/Server Files/MPMissions/DayZ_Epoch_27.ruegen/init.sqf b/Server Files/MPMissions/DayZ_Epoch_27.ruegen/init.sqf index 8ce915a83..946460b9b 100644 --- a/Server Files/MPMissions/DayZ_Epoch_27.ruegen/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_27.ruegen/init.sqf @@ -121,15 +121,13 @@ if (isServer) then { }; if (!isDedicated) then { + if (toLower worldName == "chernarus") then { + execVM "\z\addons\dayz_code\system\mission\chernarus\hideGlitchObjects.sqf"; + }; + //Enables Plant lib fixes execVM "\z\addons\dayz_code\system\antihack.sqf"; - if (toLower(worldName) == "chernarus") then { - diag_log "WARNING: Clearing annoying benches from Chernarus"; - ([4654,9595,0] nearestObject 145259) setDamage 1; - ([4654,9595,0] nearestObject 145260) setDamage 1; - }; - if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; }; execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; diff --git a/Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/init.sqf b/Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/init.sqf index 0a0c4a5b8..df8f226e2 100644 --- a/Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/init.sqf @@ -120,15 +120,13 @@ if (isServer) then { }; if (!isDedicated) then { + if (toLower worldName == "chernarus") then { + execVM "\z\addons\dayz_code\system\mission\chernarus\hideGlitchObjects.sqf"; + }; + //Enables Plant lib fixes execVM "\z\addons\dayz_code\system\antihack.sqf"; - if (toLower(worldName) == "chernarus") then { - diag_log "WARNING: Clearing annoying benches from Chernarus"; - ([4654,9595,0] nearestObject 145259) setDamage 1; - ([4654,9595,0] nearestObject 145260) setDamage 1; - }; - if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; }; execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; diff --git a/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/init.sqf b/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/init.sqf index 36e617b10..ec029985b 100644 --- a/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/init.sqf @@ -120,15 +120,13 @@ if (isServer) then { }; if (!isDedicated) then { + if (toLower worldName == "chernarus") then { + execVM "\z\addons\dayz_code\system\mission\chernarus\hideGlitchObjects.sqf"; + }; + //Enables Plant lib fixes execVM "\z\addons\dayz_code\system\antihack.sqf"; - if (toLower(worldName) == "chernarus") then { - diag_log "WARNING: Clearing annoying benches from Chernarus"; - ([4654,9595,0] nearestObject 145259) setDamage 1; - ([4654,9595,0] nearestObject 145260) setDamage 1; - }; - if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; }; execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; diff --git a/Server Files/MPMissions/DayZ_Epoch_5.Bootcamp_ACR/init.sqf b/Server Files/MPMissions/DayZ_Epoch_5.Bootcamp_ACR/init.sqf index 0e0f064f7..49a5315c3 100644 --- a/Server Files/MPMissions/DayZ_Epoch_5.Bootcamp_ACR/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_5.Bootcamp_ACR/init.sqf @@ -120,15 +120,13 @@ if (isServer) then { }; if (!isDedicated) then { + if (toLower worldName == "chernarus") then { + execVM "\z\addons\dayz_code\system\mission\chernarus\hideGlitchObjects.sqf"; + }; + //Enables Plant lib fixes execVM "\z\addons\dayz_code\system\antihack.sqf"; - if (toLower(worldName) == "chernarus") then { - diag_log "WARNING: Clearing annoying benches from Chernarus"; - ([4654,9595,0] nearestObject 145259) setDamage 1; - ([4654,9595,0] nearestObject 145260) setDamage 1; - }; - if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; }; execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; diff --git a/Server Files/MPMissions/DayZ_Epoch_7.Lingor/init.sqf b/Server Files/MPMissions/DayZ_Epoch_7.Lingor/init.sqf index b173065b6..45e15572e 100644 --- a/Server Files/MPMissions/DayZ_Epoch_7.Lingor/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_7.Lingor/init.sqf @@ -120,15 +120,13 @@ if (isServer) then { }; if (!isDedicated) then { + if (toLower worldName == "chernarus") then { + execVM "\z\addons\dayz_code\system\mission\chernarus\hideGlitchObjects.sqf"; + }; + //Enables Plant lib fixes execVM "\z\addons\dayz_code\system\antihack.sqf"; - if (toLower(worldName) == "chernarus") then { - diag_log "WARNING: Clearing annoying benches from Chernarus"; - ([4654,9595,0] nearestObject 145259) setDamage 1; - ([4654,9595,0] nearestObject 145260) setDamage 1; - }; - if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; }; execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; diff --git a/Server Files/MPMissions/DayZ_Epoch_8.ProvingGrounds_PMC/init.sqf b/Server Files/MPMissions/DayZ_Epoch_8.ProvingGrounds_PMC/init.sqf index 5e1baf8f9..a9826e183 100644 --- a/Server Files/MPMissions/DayZ_Epoch_8.ProvingGrounds_PMC/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_8.ProvingGrounds_PMC/init.sqf @@ -120,15 +120,13 @@ if (isServer) then { }; if (!isDedicated) then { + if (toLower worldName == "chernarus") then { + execVM "\z\addons\dayz_code\system\mission\chernarus\hideGlitchObjects.sqf"; + }; + //Enables Plant lib fixes execVM "\z\addons\dayz_code\system\antihack.sqf"; - if (toLower(worldName) == "chernarus") then { - diag_log "WARNING: Clearing annoying benches from Chernarus"; - ([4654,9595,0] nearestObject 145259) setDamage 1; - ([4654,9595,0] nearestObject 145260) setDamage 1; - }; - if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; }; execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; diff --git a/Server Files/MPMissions/DayZ_Epoch_9.Woodland_ACR/init.sqf b/Server Files/MPMissions/DayZ_Epoch_9.Woodland_ACR/init.sqf index 6336cdfec..99f8b2bfb 100644 --- a/Server Files/MPMissions/DayZ_Epoch_9.Woodland_ACR/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_9.Woodland_ACR/init.sqf @@ -120,15 +120,13 @@ if (isServer) then { }; if (!isDedicated) then { + if (toLower worldName == "chernarus") then { + execVM "\z\addons\dayz_code\system\mission\chernarus\hideGlitchObjects.sqf"; + }; + //Enables Plant lib fixes execVM "\z\addons\dayz_code\system\antihack.sqf"; - if (toLower(worldName) == "chernarus") then { - diag_log "WARNING: Clearing annoying benches from Chernarus"; - ([4654,9595,0] nearestObject 145259) setDamage 1; - ([4654,9595,0] nearestObject 145260) setDamage 1; - }; - if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; }; execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf";