Jump to content

Thay-skill3d

Member
  • Posts

    56
  • Joined

  • Last visited

Posts posted by Thay-skill3d

  1. Heyho!

     I've got a new server installation. Did it step by step like in the 70steps installation guide combined with my knowledge from past ^^ but i got a problem: We cant join in the lobby, server is running, no errors, it is listed in the multiplayer browser and you got an "Wait for host screen" while trying to connect.

    server_log

     2:17:48 BattlEye Server: Initialized (v1.207)
     2:17:48 Host-Identität erstellt.
     2:17:49 Game Port: 2312, Steam Query Port: 2313
     2:19:30 Thay benutzt modifizierte Daten-Datei
     2:19:30 BattlEye Server: Player #0 Thay (XXX) connected
     2:19:30 Spieler Thay verbindet.
     2:19:31 BattlEye Server: Player #0 Thay - GUID: XXX(unverified)
     2:19:31 Spieler Thay verbunden (ID = XXX).
     2:19:31 BattlEye Server: Verified GUID (XXX) of player #0 Thay
     2:19:32 BattlEye Server: Player #0 Thay - Legacy GUID: XXX
     2:19:48 Spieler Thay getrennt.

    arma2oaserver.RPT

    =====================================================================
    == C:\Users\Daniel\Desktop\EPOCH SERVER\DazY Epoch Testserver\arma2oaserver.exe
    == "arma2oaserver.exe"  -port=2312 "-config=instance_11_Chernarus\config.cfg" "-cfg=instance_11_Chernarus\basic.cfg" "-profiles=instance_11_Chernarus" -name=instance_11_Chernarus "-mod=@DayZ_Epoch;@DayZ_Epoch_Server;" -noPause -noSound -cpuCount=4 -exThreads=8 -maxMem=10000
    =====================================================================
    Exe timestamp: 2016/03/30 16:21:59
    Current time:  2016/06/30 02:17:29
    
    Version 1.63.131129
    Unsupported language German in stringtable
    Item STR_EQUIP_NAME_41 listed twice
    Item STR_EQUIP_DESC_41 listed twice
    Item STR_DN_LADA_CP listed twice
    Item STR_DN_LADA_RED_CP listed twice
    Item STR_DN_LADA_WHITE_CP listed twice
    Item STR_DN_LADALM_CP listed twice
    Item STR_DN_MTVR_REFUEL_CP listed twice
    Item STR_DN_USBASICWEAPONSBOX_CP listed twice
    Item STR_DN_USLAUNCHERSBOX_CP listed twice
    Item STR_DN_USORDNANCEBOX_CP listed twice
    Conflicting addon CorePatch_CCP_67542 in 'corepatch_a2\corepatch_ccp_67542\', previous definition in 'corepatch\corepatch_ccp_67542\'
    Updating base class ->NonStrategic, by ca\config.bin/CfgVehicles/HouseBase/
    Updating base class ->HouseBase, by ca\config.bin/CfgVehicles/Ruins/
    Updating base class ->DestructionEffects, by ca\config.bin/CfgVehicles/House/DestructionEffects/
    Updating base class ->FlagCarrierCore, by ca\ca_pmc\config.bin/CfgVehicles/FlagCarrier/
    Updating base class ->VehicleMagazine, by ca\weapons\config.bin/CfgMagazines/14Rnd_FFAR/
    Updating base class ->PistolCore, by ca\weapons\config.bin/cfgWeapons/Pistol/
    Updating base class ->LauncherCore, by ca\weapons\config.bin/cfgWeapons/RocketPods/
    Updating base class ->RocketPods, by ca\weapons\config.bin/cfgWeapons/FFARLauncher/
    Updating base class ->Default, by ca\weapons\config.bin/cfgWeapons/ItemCore/
    Updating base class ->Citizen, by ca\characters2\config.bin/CfgVehicles/Citizen1/
    Updating base class ->SkodaBase, by ca\wheeled\config.bin/CfgVehicles/car_sedan/
    Updating base class ->UH60_Base, by ca\air\config.bin/CfgVehicles/MH60S/
    Updating base class ->House, by ca\misc3\config.bin/CfgVehicles/Land_Fire/
    Updating base class ->House, by ca\misc3\config.bin/CfgVehicles/Land_A_tent/
    Updating base class ->Camp_base, by ca\misc3\config.bin/CfgVehicles/ACamp/
    Updating base class ->Car, by ca\wheeled2\lada\config.bin/CfgVehicles/Lada_base/
    Updating base class StreetLamp_EP1->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_Lamp_Small_EP1/
    Updating base class StreetLamp_EP1->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_Lamp_Street1_EP1/
    Updating base class StreetLamp_EP1->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_Lamp_Street2_EP1/
    Updating base class StreetLamp_EP1->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_Lampa_Ind_EP1/
    Updating base class StreetLamp_EP1->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_PowLines_Conc2L_EP1/
    Updating base class StreetLamp_BaseMediumOrange->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_lampa_sidl/
    Updating base class StreetLamp_BaseMediumOrange->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_lampa_sidl_2/
    Updating base class StreetLamp_BaseMediumOrange->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_lampa_sidl_3/
    Updating base class StreetLamp_BaseWeakYellow->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_lampa_ind/
    Updating base class StreetLamp_BaseWeakYellow->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_lampa_ind_zebr/
    Updating base class RscStandardDisplay->, by z\addons\dayz_code\config.bin/RscDisplayStart/
    Updating base class RscShortcutButton->RscShortcutButtonMain, by z\addons\dayz_code\config.bin/RscDisplayMain/controls/CA_Exit/
    Updating base class RscText->, by z\addons\dayz_code\config.bin/RscTitles/Default/
    Updating base class zZombie_Base->zZombie_new_Base, by z\addons\dayz_code\config.bin/CfgVehicles/z_villager1/
    Updating base class zZombie_Base->zZombie_new_Base, by z\addons\dayz_code\config.bin/CfgVehicles/z_worker1/
    Updating base class Soldier_Crew_PMC->Soldier_Bodyguard_M4_PMC, by z\addons\dayz_code\config.bin/CfgVehicles/SurvivorW2_DZ/
    Updating base class HighCommand->Logic, by z\addons\dayz_code\config.bin/CfgVehicles/HighCommandSubordinate/
    Updating base class ->ViewOptics, by z\addons\dayz_code\config.bin/CfgVehicles/Mi17_base/Turrets/MainTurret/ViewOptics/
    Updating base class HouseBase->, by z\addons\dayz_code\config.bin/CfgVehicles/House/
    Updating base class NonStrategic->BuiltItems, by z\addons\dayz_code\config.bin/CfgVehicles/Fort_RazorWire/
    Updating base class MeleeHatchet->MeleeWeapon, by z\addons\dayz_code\config.bin/CfgWeapons/MeleeCrowbar/
    Updating base class VehicleMagazine->CA_Magazine, by z\addons\dayz_code\config.bin/CfgMagazines/29Rnd_30mm_AGS30/
    Updating base class VehicleMagazine->CA_Magazine, by z\addons\dayz_code\config.bin/CfgMagazines/48Rnd_40mm_MK19/
    Updating base class 4000Rnd_762x51_M134->CA_Magazine, by z\addons\dayz_code\config.bin/CfgMagazines/2000Rnd_762x51_M134/
    Updating base class VehicleMagazine->CA_Magazine, by z\addons\dayz_code\config.bin/CfgMagazines/100Rnd_127x99_M2/
    Updating base class VehicleMagazine->CA_Magazine, by z\addons\dayz_code\config.bin/CfgMagazines/50Rnd_127x107_DSHKM/
    Updating base class Hatchet_Swing->Melee_Swing, by z\addons\dayz_code\config.bin/CfgMagazines/crowbar_swing/
    Updating base class CA_Magazine->Melee_Swing, by z\addons\dayz_code\config.bin/CfgMagazines/Hatchet_Swing/
    Updating base class Land_HouseV_1I2->House, by zero_buildings\config.cpp/CfgVehicles/Land_HouseV_1L2/
    Updating base class Land_HouseV_1I2->House, by zero_buildings\config.cpp/CfgVehicles/Land_HouseV_3I3/
    Updating base class ->Plane, by ca\air2\mv22\config.bin/CfgVehicles/MV22/
    Updating base class ViewOptics->, by ca\air2\uh1y\config.bin/CfgVehicles/UH1_Base/Turrets/MainTurret/ViewOptics/
    Updating base class ->HouseBase, by ca\misc_e\config.bin/CfgVehicles/House/
    Updating base class ->Land_CamoNet_EAST, by ca\misc_e\config.bin/CfgVehicles/Land_CamoNet_EAST_EP1/
    Updating base class ->Land_CamoNetB_EAST, by ca\misc_e\config.bin/CfgVehicles/Land_CamoNetB_EAST_EP1/
    Updating base class ->Sign_1L_Noentry, by ca\misc_e\config.bin/CfgVehicles/Sign_1L_Noentry_EP1/
    Updating base class ->Sign_circle, by ca\misc_e\config.bin/CfgVehicles/Helper_Base_EP1/
    Updating base class ->Rifle, by ca\weapons_baf\config.bin/cfgWeapons/BAF_AS50_scoped/
    Updating base class ->Rifle, by ca\weapons_e\config.bin/cfgWeapons/M60A4_EP1/
    Updating base class ->M249, by ca\weapons_e\config.bin/cfgWeapons/M249_EP1/
    Updating base class ->M249, by ca\weapons_e\config.bin/cfgWeapons/M249_m145_EP1/
    Updating base class ->m107, by ca\weapons_e\m107\config.bin/CfgWeapons/m107_TWS_EP1/
    Updating base class ->M240, by ca\weapons_e\m240\config.bin/CfgWeapons/m240_scoped_EP1/
    Updating base class ->V3S_Base, by ca\wheeled_e\v3s\config.bin/CfgVehicles/V3S_Base_EP1/
    Updating base class ->V3S_Base_EP1, by ca\wheeled_e\v3s\config.bin/CfgVehicles/V3S_Refuel_TK_GUE_EP1/
    Updating base class House->DZE_OpenHouse, by warehouse\config.bin/CfgVehicles/Land_Ind_Pec_03/
    Updating base class ->C130J_base, by ca\air_e\config.bin/CfgVehicles/C130J_US_EP1/
    Updating base class ->Helicopter, by ca\air_e\ah6j\config.bin/CfgVehicles/AH6_Base_EP1/
    Updating base class ->Plane, by ca\air_e\an2\config.bin/CfgVehicles/An2_Base_EP1/
    Updating base class ->CH47_base_EP1, by ca\air_e\ch47\config.bin/CfgVehicles/CH_47F_EP1/
    Updating base class ViewOptics->, by ca\air_e\uh1h\config.bin/CfgVehicles/UH1H_base/Turrets/MainTurret/ViewOptics/
    Updating base class ->Soldier_Base_PMC, by ca\characters_pmc\config.bin/cfgVehicles/Soldier_Crew_PMC/
    Updating base class ->Soldier_Base_PMC, by ca\characters_pmc\config.bin/cfgVehicles/Soldier_TL_PMC/
    Updating base class ->Soldier_Base_PMC, by ca\characters_pmc\config.bin/cfgVehicles/Soldier_Bodyguard_M4_PMC/
    Updating base class ->Soldier_Base_PMC, by ca\characters_pmc\config.bin/cfgVehicles/Soldier_Bodyguard_AA12_PMC/
    Updating base class ->BAF_Soldier_MTP, by ca\characters_w_baf\config.bin/CfgVehicles/BAF_Soldier_W/
    Updating base class ->BAF_Soldier_L_MTP, by ca\characters_w_baf\config.bin/CfgVehicles/BAF_Soldier_L_W/
    Updating base class ->BAF_Soldier_Officer_MTP, by ca\characters_w_baf\config.bin/CfgVehicles/BAF_Soldier_Officer_W/
    Updating base class ->BAF_Soldier_SniperH_MTP, by ca\characters_w_baf\config.bin/CfgVehicles/BAF_Soldier_SniperH_W/
    Updating base class ->M113Ambul_Base, by ca\tracked_e\m113\config.bin/CfgVehicles/M113Ambul_UN_EP1/
    Updating base class ->M113_Base, by ca\tracked_e\m113\config.bin/CfgVehicles/M113_UN_EP1/
    Updating base class ->M113Ambul_Base, by ca\tracked_e\m113\config.bin/CfgVehicles/M113Ambul_TK_EP1/
    Updating base class ->M113_Base, by ca\tracked_e\m113\config.bin/CfgVehicles/M113_TK_EP1/
    Updating base class ->Helicopter, by ca\air_d_baf\config.bin/CfgVehicles/BAF_Merlin_HC3_D/
     2:17:49 Initializing Steam server - Game Port: 2312, Steam Query Port: 2313
     2:17:50 Connected to Steam servers

    I have no idea why we cant join the lobby, cause it is a fresh install... all ports are forwarded - i already tryed to disable firewall...

    reinstalled arma2 and arma2oa a few times, changed key files, try severall BEClient & Server.dlls... 

    20160630141553_1.jpg

  2. With new script i have to add the new and not replace this old lines?

    fnc_usec_damageVehicle =		compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_damageHandlerVehicle.sqf";		//Event handler run on damage
    
    vehicle_handleDamage    = 		compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\vehicle_handleDamage.sqf";
    

    So all 4 lines are in compiles.sqf ?

     

    Add or replace? ^^

     

    If i dont replace it will use the day_code files and custom files simultaneously? oO I'm confused :D

  3. Okay, all is spawning with ne testbranch version (ground units, static guns, vehicle patrol, heli patrol, heli para, boxes)...but also i have new errors ;D
     

    15:27:26 "WAI: AI Config File Loaded"
    15:27:29 "WAI: Initialising missions"
    15:27:29 "WAI: AI Monitor Started"
    15:27:29 "WAI: Initialising static missions"
    15:27:57 "WAI: Spawned a group of 6 AI (Bandit) at [8108.45,13592.2,0.002]"
    15:27:57 "WAI: Spawned a group of 4 AI (Bandit) at [8074.88,13735.5,0.002]"
    15:27:58 "WAI: Spawned a group of 6 AI (Bandit) at [8112.57,13644.4,0.001]"
    15:27:58 "WAI: Spawned a group of 6 AI (Bandit) at [7971.73,13675.5,0.001]"
    15:27:59 "WAI: Spawned a group of 6 AI (Bandit) at [7962.7,13612.2,0.002]"
    15:27:59 "WAI: Spawned in 1 M2StaticMG"
    15:27:59 "WAI: Spawned in 1 M2StaticMG"
    15:27:59 "WAI: Spawned in 1 M2StaticMG"
    15:27:59 "WAI: Spawned in 1 M2StaticMG"
    15:27:59 "WAI: Spawned in 1 M2StaticMG"
    15:27:59 "WAI: Static mission for DayZ_Epoch_11 loaded"
    ...
    ...
    ...
    15:29:41 Error in expression <ng = (typeName (wai_mission_data select _mission) == "ARRAY");
    
    if(!_missionrunn>
    15:29:41   Error position: <_mission) == "ARRAY");
    
    if(!_missionrunn>
    15:29:41   Error Nicht definierte Variable in Ausdruck: _mission
    15:29:41 File z\addons\dayz_server\WAI\compile\heli_para.sqf, line 63
    ...
    ...
    ...
    15:34:02 Error in expression <n" && typeName (wai_mission_data select _mission) == "ARRAY") then {
    _ainum = (w>
    15:34:02   Error position: <_mission) == "ARRAY") then {
    _ainum = (w>
    15:34:02   Error Nicht definierte Variable in Ausdruck: _mission
    15:34:02 File z\addons\dayz_server\WAI\compile\heli_para.sqf, line 263
    15:34:04 Error in expression <n" && typeName (wai_mission_data select _mission) == "ARRAY") then {
    _ainum = (w>
    15:34:04   Error position: <_mission) == "ARRAY") then {
    _ainum = (w>
    15:34:04   Error Nicht definierte Variable in Ausdruck: _mission
    15:34:04 File z\addons\dayz_server\WAI\compile\heli_para.sqf, line 263
    15:34:06 Error in expression <n" && typeName (wai_mission_data select _mission) == "ARRAY") then {
    _ainum = (w>
    15:34:06   Error position: <_mission) == "ARRAY") then {
    _ainum = (w>
    15:34:06   Error Nicht definierte Variable in Ausdruck: _mission
    15:34:06 File z\addons\dayz_server\WAI\compile\heli_para.sqf, line 263
    15:34:07 Error in expression <n" && typeName (wai_mission_data select _mission) == "ARRAY") then {
    _ainum = (w>
    15:34:07   Error position: <_mission) == "ARRAY") then {
    _ainum = (w>
    15:34:07   Error Nicht definierte Variable in Ausdruck: _mission
    15:34:07 File z\addons\dayz_server\WAI\compile\heli_para.sqf, line 263
    15:34:09 Error in expression <n" && typeName (wai_mission_data select _mission) == "ARRAY") then {
    _ainum = (w>
    15:34:09   Error position: <_mission) == "ARRAY") then {
    _ainum = (w>
    15:34:09   Error Nicht definierte Variable in Ausdruck: _mission
    15:34:09 File z\addons\dayz_server\WAI\compile\heli_para.sqf, line 263
    15:34:10 Error in expression <n" && typeName (wai_mission_data select _mission) == "ARRAY") then {
    _ainum = (w>
    15:34:10   Error position: <_mission) == "ARRAY") then {
    _ainum = (w>
    15:34:10   Error Nicht definierte Variable in Ausdruck: _mission
    15:34:10 File z\addons\dayz_server\WAI\compile\heli_para.sqf, line 263
    15:34:12 Error in expression <n" && typeName (wai_mission_data select _mission) == "ARRAY") then {
    _ainum = (w>
    15:34:12   Error position: <_mission) == "ARRAY") then {
    _ainum = (w>
    15:34:12   Error Nicht definierte Variable in Ausdruck: _mission
    15:34:12 File z\addons\dayz_server\WAI\compile\heli_para.sqf, line 263
    15:34:14 Error in expression <n" && typeName (wai_mission_data select _mission) == "ARRAY") then {
    _ainum = (w>
    15:34:14   Error position: <_mission) == "ARRAY") then {
    _ainum = (w>
    15:34:14   Error Nicht definierte Variable in Ausdruck: _mission
    15:34:14 File z\addons\dayz_server\WAI\compile\heli_para.sqf, line 263
    15:34:15 Error in expression <n" && typeName (wai_mission_data select _mission) == "ARRAY") then {
    _ainum = (w>
    15:34:15   Error position: <_mission) == "ARRAY") then {
    _ainum = (w>
    15:34:15   Error Nicht definierte Variable in Ausdruck: _mission
    15:34:15 File z\addons\dayz_server\WAI\compile\heli_para.sqf, line 263
    15:34:17 Error in expression <n" && typeName (wai_mission_data select _mission) == "ARRAY") then {
    _ainum = (w>
    15:34:17   Error position: <_mission) == "ARRAY") then {
    _ainum = (w>
    15:34:17   Error Nicht definierte Variable in Ausdruck: _mission
    15:34:17 File z\addons\dayz_server\WAI\compile\heli_para.sqf, line 263
    15:34:17 Error in expression <p",_paranumber]; };
    
    [_pgroup,_position,_mission] call group_waypoints;
    };
    };
    
    i>
    15:34:17   Error position: <_mission] call group_waypoints;
    };
    };
    
    i>
    15:34:17   Error Nicht definierte Variable in Ausdruck: _mission
    15:34:17 File z\addons\dayz_server\WAI\compile\heli_para.sqf, line 282
    

     

    Chernarus.sqf

    if(isServer) then {
    
    
    	//Custom Spawns file//
    	/*
    	Custom group spawns Eg.
    
    	[
    		[953.237,4486.48,0.001],			// Position
    		4,									// Number Of units
    		"Random",							// Skill level of unit (easy, medium, hard, extreme, Random)
    		"Random",	or ["Random","at"],		// Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher
    		4,									// Number of magazines
    		"Random",							// Backpack classname, use "Random" or classname here
    		"Random",							// Skin classname, use "Random" or classname here
    		"Random",							// Gearset number. "Random" for random gear set
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] call spawn_group;
    
    	Place your custom group spawns below
    	*/
    
    	//Zone Alpha Infanterie
    	
    	[
    		[8108.45,13592.2,0.002],			// C130
    		6,									// Number Of units
    		"extreme",							// Skill level of unit (easy, medium, hard, extreme, Random)
    		["Random","aa"],					// Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher
    		8,									// Number of magazines
    		"Random",							// Backpack classname, use "Random" or classname here
    		"Bandit2_DZ",						// Skin classname, use "Random" or classname here
    		"Random",							// Gearset number. "Random" for random gear set
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] call spawn_group;
    	
    	[
    		[8074.88,13735.5,0.002],			// Runway Vorne PLatz
    		4,									// Number Of units
    		"extreme",							// Skill level of unit (easy, medium, hard, extreme, Random)
    		"Random",							// Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher
    		8,									// Number of magazines
    		"Random",							// Backpack classname, use "Random" or classname here
    		"Bandit2_DZ",						// Skin classname, use "Random" or classname here
    		"Random",							// Gearset number. "Random" for random gear set
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] call spawn_group;
    	
    	[
    		[8112.57,13644.4,0.001],			// Runway großer Platz
    		6,									// Number Of units
    		"extreme",							// Skill level of unit (easy, medium, hard, extreme, Random)
    		"Random",							// Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher
    		6,									// Number of magazines
    		"Random",							// Backpack classname, use "Random" or classname here
    		"Bandit2_DZ",						// Skin classname, use "Random" or classname here
    		"Random",							// Gearset number. "Random" for random gear set
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] call spawn_group;
    	
    	[
    		[7971.73,13675.5,0.001],			// Vordere Hangers Platz
    		6,									// Number Of units
    		"extreme",							// Skill level of unit (easy, medium, hard, extreme, Random)
    		"Random",							// Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher
    		6,									// Number of magazines
    		"Random",							// Backpack classname, use "Random" or classname here
    		"Bandit2_DZ",						// Skin classname, use "Random" or classname here
    		"Random",							// Gearset number. "Random" for random gear set
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] call spawn_group;
    	
    	[
    		[7962.7,13612.2,0.002],				// Vordere Hangers Platz
    		6,									// Number Of units
    		"extreme",							// Skill level of unit (easy, medium, hard, extreme, Random)
    		"Random",							// Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher
    		4,									// Number of magazines
    		"Random",							// Backpack classname, use "Random" or classname here
    		"Bandit2_DZ",						// Skin classname, use "Random" or classname here
    		"Random",							// Gearset number. "Random" for random gear set
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] call spawn_group;
    	
    
    
    	/*
    	Custom static weapon spawns Eg. (with mutiple positions)
    
    	[
    		[									// Position(s) (can be multiple)
    			[911.21,4532.76,2.62],
    			[921.21,4542.76,2.62]
    		],
    		"M2StaticMG",						// Classname of turret
    		"easy",								// Skill level of unit (easy, medium, hard, extreme, Random)
    		"Bandit2_DZ",						// Skin classname, use "Random" or classname here
    		"Bandit",							// AI Type, "Hero" or "Bandit".
    		"Random",							// Primary gun set number. "Random" for random weapon set
    		2,									// Number of magazines
    		"Random",							// Backpack classname, use "Random" or classname here
    		"Random"							// Gearset classname, use "Random" or classname here
    	] call spawn_static;
    
    	Place your custom static weapon spawns below
    	*/
    
    	[
    		[									// Position(s) (can be multiple)
    			[8110.38,13752,0.002]
    		],
    		"M2StaticMG",						// Classname of turret
    		"medium",							// Skill level of unit (easy, medium, hard, extreme, Random)
    		"Bandit2_DZ",						// Skin classname, use "Random" or classname here
    		"Bandit",							// AI Type, "Hero" or "Bandit".
    		"Random",							// Primary gun set number. "Random" for random weapon set
    		2,									// Number of magazines
    		"Random",							// Backpack classname, use "Random" or classname here
    		"Random"							// Gearset classname, use "Random" or classname here
    	] call spawn_static;
    	
    	[
    		[									// Position(s) (can be multiple)
    			[8155.33,13656.8,0.001]
    		],
    		"M2StaticMG",						// Classname of turret
    		"medium",							// Skill level of unit (easy, medium, hard, extreme, Random)
    		"Bandit2_DZ",						// Skin classname, use "Random" or classname here
    		"Bandit",							// AI Type, "Hero" or "Bandit".
    		"Random",							// Primary gun set number. "Random" for random weapon set
    		2,									// Number of magazines
    		"Random",							// Backpack classname, use "Random" or classname here
    		"Random"							// Gearset classname, use "Random" or classname here
    	] call spawn_static;
    	
    	[
    		[									// Position(s) (can be multiple)
    			[8146.49,13610.2,0.001]
    		],
    		"M2StaticMG",						// Classname of turret
    		"medium",							// Skill level of unit (easy, medium, hard, extreme, Random)
    		"Bandit2_DZ",						// Skin classname, use "Random" or classname here
    		"Bandit",							// AI Type, "Hero" or "Bandit".
    		"Random",							// Primary gun set number. "Random" for random weapon set
    		2,									// Number of magazines
    		"Random",							// Backpack classname, use "Random" or classname here
    		"Random"							// Gearset classname, use "Random" or classname here
    	] call spawn_static;
    	
    	[
    		[									// Position(s) (can be multiple)
    			[8050.77,13510.2,0.001]
    		],
    		"M2StaticMG",						// Classname of turret
    		"medium",							// Skill level of unit (easy, medium, hard, extreme, Random)
    		"Bandit2_DZ",						// Skin classname, use "Random" or classname here
    		"Bandit",							// AI Type, "Hero" or "Bandit".
    		"Random",							// Primary gun set number. "Random" for random weapon set
    		2,									// Number of magazines
    		"Random",							// Backpack classname, use "Random" or classname here
    		"Random"							// Gearset classname, use "Random" or classname here
    	] call spawn_static;
    	
    	[
    		[									// Position(s) (can be multiple)
    			[8122.4,13465,0.001]
    		],
    		"M2StaticMG",						// Classname of turret
    		"medium",							// Skill level of unit (easy, medium, hard, extreme, Random)
    		"Bandit2_DZ",						// Skin classname, use "Random" or classname here
    		"Bandit",							// AI Type, "Hero" or "Bandit".
    		"Random",							// Primary gun set number. "Random" for random weapon set
    		2,									// Number of magazines
    		"Random",							// Backpack classname, use "Random" or classname here
    		"Random"							// Gearset classname, use "Random" or classname here
    	] call spawn_static;
    
    
    
    	/*
    	Custom Chopper Patrol spawn Eg.
    
    	[
    		[725.391,4526.06,0],				// Position to patrol
    		[0,0,0],							// Position to spawn chopper at
    		2000,								// Radius of patrol
    		10,									// Number of waypoints to give
    		"UH1H_DZ",							// Classname of vehicle (make sure it has driver and two gunners)
    		"Random",							// Skill level of units (easy, medium, hard, extreme, Random)
    		"Random", 							// Skin classname, use "Random" or classname here
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] spawn heli_patrol;
    
    	
    	Place your heli patrols below
    	*/
    
    	[
    		[8074.88,13735.5,0.002],			// Position to patrol
    		[0,0,0],							// Position to spawn chopper at
    		900,								// Radius of patrol
    		10,									// Number of waypoints to give
    		"UH60M_EP1_DZE",					// Classname of vehicle (make sure it has driver and two gunners)
    		"Random",							// Skill level of units (easy, medium, hard, extreme, Random)
    		"Random", 							// Skin classname, use "Random" or classname here
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] spawn heli_patrol;
    	
    	[
    		[8110.38,13752,0.002],				// Position to patrol
    		[0,0,0],							// Position to spawn chopper at
    		900,								// Radius of patrol
    		10,									// Number of waypoints to give
    		"UH60M_EP1_DZE",					// Classname of vehicle (make sure it has driver and two gunners)
    		"Random",							// Skill level of units (easy, medium, hard, extreme, Random)
    		"Random", 							// Skin classname, use "Random" or classname here
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] spawn heli_patrol;
    
    
    
    	/* 
    	Custom Vehicle patrol spawns Eg. (Watch out they are stupid)
    
    	[
    		[725.391,4526.06,0],				// Position to patrol
    		[725.391,4526.06,0],				// Position to spawn at
    		200,								// Radius of patrol
    		10,									// Number of waypoints to give
    		"HMMWV_Armored",					// Classname of vehicle (make sure it has driver and gunner)
    		"Random",							// Skill level of units (easy, medium, hard, extreme, Random)
    		"Random", 							// Skin classname, use "Random" or classname here
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] spawn vehicle_patrol;
    
    	Place your vehicle patrols below this line
    	*/
    
    	[
    		[8118,13492.4,0.002],				// Position to patrol
    		[8133.33,13721.5,0.788],				// Position to spawn at
    		200,								// Radius of patrol
    		10,									// Number of waypoints to give
    		"HMMWV_Armored",					// Classname of vehicle (make sure it has driver and gunner)
    		"Random",							// Skill level of units (easy, medium, hard, extreme, Random)
    		"Random", 							// Skin classname, use "Random" or classname here
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] spawn vehicle_patrol;
    	
    	[
    		[8108.45,13592.2,0.002],				// Position to patrol
    		[8133.73,13686.3,0.669],				// Position to spawn at
    		200,								// Radius of patrol
    		10,									// Number of waypoints to give
    		"HMMWV_Armored",					// Classname of vehicle (make sure it has driver and gunner)
    		"Random",							// Skill level of units (easy, medium, hard, extreme, Random)
    		"Random", 							// Skin classname, use "Random" or classname here
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] spawn vehicle_patrol;
    	
    	[
    		[8087.81,13466.3,0.001],				// Position to patrol
    		[8087.81,13466.3,0.001],				// Position to spawn at
    		200,								// Radius of patrol
    		10,									// Number of waypoints to give
    		"HMMWV_Armored",					// Classname of vehicle (make sure it has driver and gunner)
    		"Random",							// Skill level of units (easy, medium, hard, extreme, Random)
    		"Random", 							// Skin classname, use "Random" or classname here
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] spawn vehicle_patrol;
    
    
    
    	/*
    	Paradropped unit custom spawn Eg.
    
    	[
    		[911.21545,4532.7612,2.6292224],	// Position that units will be dropped by
    		[0,0,0],							// Starting position of the heli
    		400,								// Radius from drop position a player has to be to spawn chopper
    		"UH1H_DZ",							// Classname of chopper (Make sure it has 2 gunner seats!)
    		5,									// Number of units to be para dropped
    		"Random",							// Skill level of units (easy, medium, hard, extreme, Random)
    		"Random",							// Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher
    		4,									// Number of magazines
    		"Random",							// Backpack classname, use "Random" or classname here
    		"Bandit2_DZ",						// Skin classname, use "Random" or classname here
    		"Random",							// Gearset number. "Random" for random gear set.
    		"Bandit",							// AI Type, "Hero" or "Bandit".
    		true								// true: Aircraft will stay at position and fight. false: Heli will leave if not under fire. 
    	] spawn heli_para;
    
    	Place your paradrop spawns under this line
    	*/
    	
    	[
    		[8108.45,13592.2,0.002],			// Position that units will be dropped by
    		[0,0,0],							// Starting position of the heli
    		300,								// Radius from drop position a player has to be to spawn chopper
    		"UH60M_EP1_DZE",					// Classname of chopper (Make sure it has 2 gunner seats!)
    		10,									// Number of units to be para dropped
    		"Random",							// Skill level of units (easy, medium, hard, extreme, Random)
    		"Random",							// Primary gun set number. "Random" for random weapon set.
    		4,									// Number of magazines
    		"Random",							// Backpack classname, use "Random" or classname here
    		"Bandit2_DZ",						// Skin classname, use "Random" or classname here
    		"Random",							// Gearset number. "Random" for random gear set.
    		"Bandit",							// AI Type, "Hero" or "Bandit".
    		true								// true: Aircraft will stay at position and fight. false: Heli will leave if not under fire. 
    	] spawn heli_para;
    	
    // Loot-Boxen
    
    Pck_Box = compile preprocessFileLineNumbers "\z\addons\dayz_server\WAI\static\boxes\Pck_Box.sqf";
    Build_Box = compile preprocessFileLineNumbers "\z\addons\dayz_server\WAI\static\boxes\Build_Box.sqf";
     
    //PCK
    _box5 = createVehicle ["RUBasicWeaponsBox",[8108.45,13592.2,0.002], [], 0, "CAN_COLLIDE"];
    [_box5] call Pck_Box;
    _box6 = createVehicle ["RUBasicWeaponsBox",[8074.88,13735.5,0.002], [], 0, "CAN_COLLIDE"];
    [_box6] call Pck_Box;
    
    //Build
    _box7 = createVehicle ["RUBasicWeaponsBox",[7999.54,13663.2,0.002], [], 0, "CAN_COLLIDE"];
    [_box7] call Build_Box;
    _box8 = createVehicle ["RUBasicWeaponsBox",[8084.86,13694.7,0.002], [], 0, "CAN_COLLIDE"];
    [_box8] call Build_Box;
    	
    	diag_log format["WAI: Static mission for %1 loaded", missionName];
    };
    

  4. Hi There, 

    Not sure if this has been resolved, cannot find the answer. But currently when a new mission spawns, and i make my way to the center of the mission, it says it is under survivor control (even though there are bandits all over trying to take me out).

    If there any way to make it so that there has to be 0  bandits left on that mission before it is under survivor control?

     

    Use this in your config.sqf

    	wai_kill_percent			= 10;								// percentage of AI players that must be killed at "crate" missions to be able to trigger completion
    
    set it to 100
  5. Okay static MG's working now! - this is the next ;)

    17:02:31 "WAI: Spawned a group of 6 AI (Bandit) at [8108.45,13592.2,0.002]"
    17:02:32 "WAI: Spawned a group of 4 AI (Bandit) at [8074.88,13735.5,0.002]"
    17:02:33 "WAI: Spawned a group of 6 AI (Bandit) at [8112.57,13644.4,0.001]"
    17:02:33 "WAI: Spawned a group of 6 AI (Bandit) at [7971.73,13675.5,0.001]"
    17:02:33 "WAI: Spawned a group of 6 AI (Bandit) at [7962.7,13612.2,0.002]"
    17:02:33 "WAI: Spawned in 1 M2StaticMG"
    17:02:33 "WAI: Spawned in 1 M2StaticMG"
    17:02:33 "WAI: Spawned in 1 M2StaticMG"
    17:02:34 "WAI: Spawned in 1 M2StaticMG"
    17:02:34 "WAI: Spawned in 1 M2StaticMG"
    17:02:34 "WAI: Static mission for DayZ_Epoch_11 loaded"
    17:02:34 Error in expression <Group EAST;
    };
    
    _pilot 				= _unitGroup createUnit [_aiskin, [0,0,0], [], 1, "NO>
    17:02:34   Error position: <createUnit [_aiskin, [0,0,0], [], 1, "NO>
    17:02:34   Error Typ Array, erwartet Zeichenfolge
    17:02:34 File z\addons\dayz_server\WAI\compile\heli_patrol.sqf, line 39
    17:02:34 Error in expression <Group EAST;
    };
    
    _pilot 				= _unitGroup createUnit [_aiskin, [0,0,0], [], 1, "NO>
    17:02:34   Error position: <createUnit [_aiskin, [0,0,0], [], 1, "NO>
    17:02:34   Error Typ Array, erwartet Zeichenfolge
    17:02:34 File z\addons\dayz_server\WAI\compile\heli_patrol.sqf, line 39
    17:02:34 Error in expression <roup EAST;
    };
    
    _pilot 					= _unitGroup createUnit [_aiskin, [0,0,0], [], 1, "NO>
    17:02:34   Error position: <createUnit [_aiskin, [0,0,0], [], 1, "NO>
    17:02:34   Error Typ Array, erwartet Zeichenfolge
    17:02:34 File z\addons\dayz_server\WAI\compile\vehicle_patrol.sqf, line 45
    17:02:34 Error in expression <roup EAST;
    };
    
    _pilot 					= _unitGroup createUnit [_aiskin, [0,0,0], [], 1, "NO>
    17:02:34   Error position: <createUnit [_aiskin, [0,0,0], [], 1, "NO>
    17:02:34   Error Typ Array, erwartet Zeichenfolge
    17:02:34 File z\addons\dayz_server\WAI\compile\vehicle_patrol.sqf, line 45
    17:02:34 Error in expression <roup EAST;
    };
    
    _pilot 					= _unitGroup createUnit [_aiskin, [0,0,0], [], 1, "NO>
    17:02:34   Error position: <createUnit [_aiskin, [0,0,0], [], 1, "NO>
    17:02:34   Error Typ Array, erwartet Zeichenfolge
    17:02:34 File z\addons\dayz_server\WAI\compile\vehicle_patrol.sqf, line 45
    

     
    Here my Chernarus.sqf

    if(isServer) then {
    
    
    	//Custom Spawns file//
    	/*
    	Custom group spawns Eg.
    
    	[
    		[953.237,4486.48,0.001],			// Position
    		4,									// Number Of units
    		"Random",							// Skill level of unit (easy, medium, hard, extreme, Random)
    		"Random",							// Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher
    		4,									// Number of magazines
    		"Random",							// Backpack classname, use "Random" or classname here
    		"Random",							// Skin classname, use "Random" or classname here
    		"Random",							// Gearset number. "Random" for random gear set
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] call spawn_group;
    
    	Place your custom group spawns below
    	*/
    
    	//Zone Alpha Infanterie
    	
    	[
    		[8108.45,13592.2,0.002],			// C130
    		6,									// Number Of units
    		"extreme",							// Skill level of unit (easy, medium, hard, extreme, Random)
    		"Random",							// Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher
    		8,									// Number of magazines
    		"Random",							// Backpack classname, use "Random" or classname here
    		"Bandit2_DZ",						// Skin classname, use "Random" or classname here
    		"Random",							// Gearset number. "Random" for random gear set
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] call spawn_group;
    	
    	[
    		[8074.88,13735.5,0.002],			// Runway Vorne PLatz
    		4,									// Number Of units
    		"extreme",							// Skill level of unit (easy, medium, hard, extreme, Random)
    		"Random",							// Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher
    		8,									// Number of magazines
    		"Random",							// Backpack classname, use "Random" or classname here
    		"Bandit2_DZ",						// Skin classname, use "Random" or classname here
    		"Random",							// Gearset number. "Random" for random gear set
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] call spawn_group;
    	
    	[
    		[8112.57,13644.4,0.001],			// Runway großer Platz
    		6,									// Number Of units
    		"extreme",							// Skill level of unit (easy, medium, hard, extreme, Random)
    		"Random",							// Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher
    		6,									// Number of magazines
    		"Random",							// Backpack classname, use "Random" or classname here
    		"Bandit2_DZ",						// Skin classname, use "Random" or classname here
    		"Random",							// Gearset number. "Random" for random gear set
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] call spawn_group;
    	
    	[
    		[7971.73,13675.5,0.001],			// Vordere Hangers Platz
    		6,									// Number Of units
    		"extreme",							// Skill level of unit (easy, medium, hard, extreme, Random)
    		"Random",							// Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher
    		6,									// Number of magazines
    		"Random",							// Backpack classname, use "Random" or classname here
    		"Bandit2_DZ",						// Skin classname, use "Random" or classname here
    		"Random",							// Gearset number. "Random" for random gear set
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] call spawn_group;
    	
    	[
    		[7962.7,13612.2,0.002],				// Vordere Hangers Platz
    		6,									// Number Of units
    		"extreme",							// Skill level of unit (easy, medium, hard, extreme, Random)
    		"Random",							// Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher
    		4,									// Number of magazines
    		"Random",							// Backpack classname, use "Random" or classname here
    		"Bandit2_DZ",						// Skin classname, use "Random" or classname here
    		"Random",							// Gearset number. "Random" for random gear set
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] call spawn_group;
    	
    
    
    	/*
    	Custom static weapon spawns Eg. (with mutiple positions)
    
    	[
    		[									// Position(s) (can be multiple)
    			[911.21,4532.76,2.62],
    			[921.21,4542.76,2.62]
    		],
    		"M2StaticMG",						// Classname of turret
    		"easy",								// Skill level of unit (easy, medium, hard, extreme, Random)
    		"Bandit2_DZ",						// Skin classname, use "Random" or classname here
    		"Bandit",							// AI Type, "Hero" or "Bandit".
    		"Random",							// Primary gun set number. "Random" for random weapon set
    		2,									// Number of magazines
    		"Random",							// Backpack classname, use "Random" or classname here
    		"Random"							// Gearset classname, use "Random" or classname here
    	] call spawn_static;
    
    	Place your custom static weapon spawns below
    	*/
    
    	[
    		[									// Position(s) (can be multiple)
    			[8110.38,13752,0.002]
    		],
    		"M2StaticMG",						// Classname of turret
    		"medium",							// Skill level of unit (easy, medium, hard, extreme, Random)
    		"Bandit2_DZ",						// Skin classname, use "Random" or classname here
    		"Bandit",							// AI Type, "Hero" or "Bandit".
    		"Random",							// Primary gun set number. "Random" for random weapon set
    		2,									// Number of magazines
    		"Random",							// Backpack classname, use "Random" or classname here
    		"Random"							// Gearset classname, use "Random" or classname here
    	] call spawn_static;
    	
    	[
    		[									// Position(s) (can be multiple)
    			[8155.33,13656.8,0.001]
    		],
    		"M2StaticMG",						// Classname of turret
    		"medium",							// Skill level of unit (easy, medium, hard, extreme, Random)
    		"Bandit2_DZ",						// Skin classname, use "Random" or classname here
    		"Bandit",							// AI Type, "Hero" or "Bandit".
    		"Random",							// Primary gun set number. "Random" for random weapon set
    		2,									// Number of magazines
    		"Random",							// Backpack classname, use "Random" or classname here
    		"Random"							// Gearset classname, use "Random" or classname here
    	] call spawn_static;
    	
    	[
    		[									// Position(s) (can be multiple)
    			[8146.49,13610.2,0.001]
    		],
    		"M2StaticMG",						// Classname of turret
    		"medium",							// Skill level of unit (easy, medium, hard, extreme, Random)
    		"Bandit2_DZ",						// Skin classname, use "Random" or classname here
    		"Bandit",							// AI Type, "Hero" or "Bandit".
    		"Random",							// Primary gun set number. "Random" for random weapon set
    		2,									// Number of magazines
    		"Random",							// Backpack classname, use "Random" or classname here
    		"Random"							// Gearset classname, use "Random" or classname here
    	] call spawn_static;
    	
    	[
    		[									// Position(s) (can be multiple)
    			[8050.77,13510.2,0.001]
    		],
    		"M2StaticMG",						// Classname of turret
    		"medium",							// Skill level of unit (easy, medium, hard, extreme, Random)
    		"Bandit2_DZ",						// Skin classname, use "Random" or classname here
    		"Bandit",							// AI Type, "Hero" or "Bandit".
    		"Random",							// Primary gun set number. "Random" for random weapon set
    		2,									// Number of magazines
    		"Random",							// Backpack classname, use "Random" or classname here
    		"Random"							// Gearset classname, use "Random" or classname here
    	] call spawn_static;
    	
    	[
    		[									// Position(s) (can be multiple)
    			[8122.4,13465,0.001]
    		],
    		"M2StaticMG",						// Classname of turret
    		"medium",							// Skill level of unit (easy, medium, hard, extreme, Random)
    		"Bandit2_DZ",						// Skin classname, use "Random" or classname here
    		"Bandit",							// AI Type, "Hero" or "Bandit".
    		"Random",							// Primary gun set number. "Random" for random weapon set
    		2,									// Number of magazines
    		"Random",							// Backpack classname, use "Random" or classname here
    		"Random"							// Gearset classname, use "Random" or classname here
    	] call spawn_static;
    
    
    
    	/*
    	Custom Chopper Patrol spawn Eg.
    
    	[
    		[725.391,4526.06,0],				// Position to patrol
    		[0,0,0],							// Position to spawn chopper at
    		2000,								// Radius of patrol
    		10,									// Number of waypoints to give
    		"UH1H_DZ",							// Classname of vehicle (make sure it has driver and two gunners)
    		"Random",							// Skill level of units (easy, medium, hard, extreme, Random)
    		"Random", 							// Skin classname, use "Random" or classname here
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] spawn heli_patrol;
    
    	Place your heli patrols below
    	*/
    
    	[
    		[8074.88,13735.5,0.002],				// Position to patrol
    		[0,0,0],							// Position to spawn chopper at
    		900,								// Radius of patrol
    		10,									// Number of waypoints to give
    		"UH60M_EP1_DZE",					// Classname of vehicle (make sure it has driver and two gunners)
    		"Random",							// Skill level of units (easy, medium, hard, extreme, Random)
    		"Random", 							// Skin classname, use "Random" or classname here
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] spawn heli_patrol;
    	
    	[
    		[8110.38,13752,0.002],				// Position to patrol
    		[0,0,0],							// Position to spawn chopper at
    		900,								// Radius of patrol
    		10,									// Number of waypoints to give
    		"UH60M_EP1_DZE",					// Classname of vehicle (make sure it has driver and two gunners)
    		"Random",							// Skill level of units (easy, medium, hard, extreme, Random)
    		"Random", 							// Skin classname, use "Random" or classname here
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] spawn heli_patrol;
    
    
    
    	/* 
    	Custom Vehicle patrol spawns Eg. (Watch out they are stupid)
    
    	[
    		[725.391,4526.06,0],				// Position to patrol
    		[725.391,4526.06,0],				// Position to spawn at
    		200,								// Radius of patrol
    		10,									// Number of waypoints to give
    		"HMMWV_Armored",					// Classname of vehicle (make sure it has driver and gunner)
    		"Random",							// Skill level of units (easy, medium, hard, extreme, Random)
    		"Random", 							// Skin classname, use "Random" or classname here
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] spawn vehicle_patrol;
    
    	Place your vehicle patrols below this line
    	*/
    
    	[
    		[8118,13492.4,0.002],				// Position to patrol
    		[8133.33,13721.5,0.788],				// Position to spawn at
    		200,								// Radius of patrol
    		10,									// Number of waypoints to give
    		"HMMWV_Armored",					// Classname of vehicle (make sure it has driver and gunner)
    		"Random",							// Skill level of units (easy, medium, hard, extreme, Random)
    		"Random", 							// Skin classname, use "Random" or classname here
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] spawn vehicle_patrol;
    	
    	[
    		[8108.45,13592.2,0.002],				// Position to patrol
    		[8133.73,13686.3,0.669],				// Position to spawn at
    		200,								// Radius of patrol
    		10,									// Number of waypoints to give
    		"HMMWV_Armored",					// Classname of vehicle (make sure it has driver and gunner)
    		"Random",							// Skill level of units (easy, medium, hard, extreme, Random)
    		"Random", 							// Skin classname, use "Random" or classname here
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] spawn vehicle_patrol;
    	
    	[
    		[8087.81,13466.3,0.001],				// Position to patrol
    		[8087.81,13466.3,0.001],				// Position to spawn at
    		200,								// Radius of patrol
    		10,									// Number of waypoints to give
    		"HMMWV_Armored",					// Classname of vehicle (make sure it has driver and gunner)
    		"Random",							// Skill level of units (easy, medium, hard, extreme, Random)
    		"Random", 							// Skin classname, use "Random" or classname here
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] spawn vehicle_patrol;
    
    
    
    	/*
    	Paradropped unit custom spawn Eg.
    
    	[
    		[911.21545,4532.7612,2.6292224],	// Position that units will be dropped by
    		[0,0,0],							// Starting position of the heli
    		400,								// Radius from drop position a player has to be to spawn chopper
    		"UH1H_DZ",							// Classname of chopper (Make sure it has 2 gunner seats!)
    		5,									// Number of units to be para dropped
    		"Random",							// Skill level of units (easy, medium, hard, extreme, Random)
    		"Random",							// Primary gun set number. "Random" for random weapon set.
    		4,									// Number of magazines
    		"Random",							// Backpack classname, use "Random" or classname here
    		"Bandit2_DZ",						// Skin classname, use "Random" or classname here
    		"Random",							// Gearset number. "Random" for random gear set.
    		"Bandit",							// AI Type, "Hero" or "Bandit".
    		true								// true: Aircraft will stay at position and fight. false: Heli will leave if not under fire. 
    	] spawn heli_para;
    
    	Place your paradrop spawns under this line
    	*/
    	
    	[
    		[8108.45,13592.2,0.002],			// Position that units will be dropped by
    		[0,0,0],							// Starting position of the heli
    		300,								// Radius from drop position a player has to be to spawn chopper
    		"UH60M_EP1_DZE",					// Classname of chopper (Make sure it has 2 gunner seats!)
    		10,									// Number of units to be para dropped
    		"Random",							// Skill level of units (easy, medium, hard, extreme, Random)
    		"Random",							// Primary gun set number. "Random" for random weapon set.
    		4,									// Number of magazines
    		"Random",							// Backpack classname, use "Random" or classname here
    		"Bandit2_DZ",					// Skin classname, use "Random" or classname here
    		"Random",							// Gearset number. "Random" for random gear set.
    		"Bandit",							// AI Type, "Hero" or "Bandit".
    		true								// true: Aircraft will stay at position and fight. false: Heli will leave if not under fire. 
    	] spawn heli_para;
    	
    // Loot-Boxen
    
    Pck_Box = compile preprocessFileLineNumbers "\z\addons\dayz_server\WAI\static\boxes\Pck_Box.sqf";
    Build_Box = compile preprocessFileLineNumbers "\z\addons\dayz_server\WAI\static\boxes\Build_Box.sqf";
     
    //PCK
    _box5 = createVehicle ["RUBasicWeaponsBox",[8108.45,13592.2,0.002], [], 0, "CAN_COLLIDE"];
    [_box5] call Pck_Box;
    _box6 = createVehicle ["RUBasicWeaponsBox",[8074.88,13735.5,0.002], [], 0, "CAN_COLLIDE"];
    [_box6] call Pck_Box;
    
    //Build
    _box7 = createVehicle ["RUBasicWeaponsBox",[7999.54,13663.2,0.002], [], 0, "CAN_COLLIDE"];
    [_box7] call Build_Box;
    _box8 = createVehicle ["RUBasicWeaponsBox",[8084.86,13694.7,0.002], [], 0, "CAN_COLLIDE"];
    [_box8] call Build_Box;
    	
    	diag_log format["WAI: Static mission for %1 loaded", missionName];
    };
    
  6. rename the file to chernarus.sqf, I changed the way the static file detected worlds since missions could be called differently

    Done, thanks!

     

    And now this ;D

    15:12:42 "WAI: Initialising static missions"
    15:12:42 "WAI: AI Monitor Started"
    15:12:42 "WAI: Initialising missions"
    15:13:01 "WAI: Spawned a group of 6 AI (Bandit) at [8108.45,13592.2,0.002]"
    15:13:02 "WAI: Spawned a group of 4 AI (Bandit) at [8074.88,13735.5,0.002]"
    15:13:02 "WAI: Spawned a group of 6 AI (Bandit) at [8112.57,13644.4,0.001]"
    15:13:03 "WAI: Spawned a group of 6 AI (Bandit) at [7971.73,13675.5,0.001]"
    15:13:03 "WAI: Spawned a group of 6 AI (Bandit) at [7962.7,13612.2,0.002]"
    15:13:03 Error in expression <igear select 0;
    _geartools 			= _aigear select 1;
    _unit 				addweapon _weapon;
    
    >
    15:13:03   Error position: <select 1;
    _unit 				addweapon _weapon;
    
    >
    15:13:03   Error to: Nullteiler
    15:13:03 File z\addons\dayz_server\WAI\compile\spawn_static.sqf, line 119
    

    Group spawning works fine but no static mg, no vehicle and no heli patrol - my chernarus.sqf u can see in my post before

     

    Thanks for your work!

  7. re-download it Thay I updated a few things

     

    After i updated again, nothing static spawns at all...

     

    No more Errors

    14:33:54 "WAI: AI Config File Loaded"
    14:33:56 "WAI: Initialising missions"
    14:33:56 "WAI: AI Monitor Started"
    14:33:56 "WAI: Initialising static missions"
    14:33:58 "WAI: Static mission for DayZ_Epoch_11 loaded"
    

    But Static-AI isnt spawning...

     

    Here my Missionfile "dayz_epoch_11.sqf" for zonealpha

    if(isServer) then {
    
    
    	//Custom Spawns file//
    	/*
    	Custom group spawns Eg.
    
    	[
    		[953.237,4486.48,0.001],			// Position
    		4,									// Number Of units
    		"Random",							// Skill level of unit (easy, medium, hard, extreme, Random)
    		"Random",	or ["Random","at"],		// Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher
    		4,									// Number of magazines
    		"Random",							// Backpack classname, use "Random" or classname here
    		"Random",							// Skin classname, use "Random" or classname here
    		"Random",							// Gearset number. "Random" for random gear set
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] call spawn_group;
    
    	Place your custom group spawns below
    	*/
    
    	//Zone Alpha Infanterie
    	
    	[
    		[8108.45,13592.2,0.002],			// C130
    		6,									// Number Of units
    		"extreme",							// Skill level of unit (easy, medium, hard, extreme, Random)
    		"Random",	or ["Random","at"],		// Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher
    		8,									// Number of magazines
    		"Random",							// Backpack classname, use "Random" or classname here
    		"Bandit2_DZ",					// Skin classname, use "Random" or classname here
    		"Random",							// Gearset number. "Random" for random gear set
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] call spawn_group;
    	
    	[
    		[8074.88,13735.5,0.002],			// Runway Vorne PLatz
    		4,									// Number Of units
    		"extreme",							// Skill level of unit (easy, medium, hard, extreme, Random)
    		"Random",	or ["Random","at"],		// Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher
    		8,									// Number of magazines
    		"Random",							// Backpack classname, use "Random" or classname here
    		"Bandit2_DZ",					// Skin classname, use "Random" or classname here
    		"Random",							// Gearset number. "Random" for random gear set
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] call spawn_group;
    	
    	[
    		[8112.57,13644.4,0.001],			// Runway großer Platz
    		6,									// Number Of units
    		"extreme",							// Skill level of unit (easy, medium, hard, extreme, Random)
    		"Random",	or ["Random","at"],		// Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher
    		6,									// Number of magazines
    		"Random",							// Backpack classname, use "Random" or classname here
    		"Bandit2_DZ",					// Skin classname, use "Random" or classname here
    		"Random",							// Gearset number. "Random" for random gear set
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] call spawn_group;
    	
    	[
    		[7971.73,13675.5,0.001],			// Vordere Hangers Platz
    		6,									// Number Of units
    		"extreme",							// Skill level of unit (easy, medium, hard, extreme, Random)
    		"Random",	or ["Random","at"],		// Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher
    		6,									// Number of magazines
    		"Random",							// Backpack classname, use "Random" or classname here
    		"Bandit2_DZ",					// Skin classname, use "Random" or classname here
    		"Random",							// Gearset number. "Random" for random gear set
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] call spawn_group;
    	
    	[
    		[7962.7,13612.2,0.002],				// Vordere Hangers Platz
    		6,									// Number Of units
    		"extreme",							// Skill level of unit (easy, medium, hard, extreme, Random)
    		"Random",	or ["Random","at"],		// Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher
    		4,									// Number of magazines
    		"Random",							// Backpack classname, use "Random" or classname here
    		"Bandit2_DZ",					// Skin classname, use "Random" or classname here
    		"Random",							// Gearset number. "Random" for random gear set
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] call spawn_group;
    	
    
    
    	/*
    	Custom static weapon spawns Eg. (with mutiple positions)
    
    	[
    		[									// Position(s) (can be multiple)
    			[911.21,4532.76,2.62],
    			[921.21,4542.76,2.62]
    		],
    		"M2StaticMG",						// Classname of turret
    		"easy",								// Skill level of unit (easy, medium, hard, extreme, Random)
    		"Bandit2_DZ",						// Skin classname, use "Random" or classname here
    		"Random",							// Primary gun set number. "Random" for random weapon set
    		2,									// Number of magazines
    		"Random",							// Backpack classname, use "Random" or classname here
    		"Random",							// Gearset classname, use "Random" or classname here
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] call spawn_static;
    
    	Place your custom static weapon spawns below
    	*/
    
    	[
    		[									// Position(s) (can be multiple)
    			[8110.38,13752,0.002]
    		],
    		"M2StaticMG",						// Classname of turret
    		"medium",							// Skill level of unit (easy, medium, hard, extreme, Random)
    		"Bandit2_DZ",					// Skin classname, use "Random" or classname here
    		"Random",							// Primary gun set number. "Random" for random weapon set
    		2,									// Number of magazines
    		"Random",							// Backpack classname, use "Random" or classname here
    		"Random",							// Gearset classname, use "Random" or classname here
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] call spawn_static;
    	
    	[
    		[									// Position(s) (can be multiple)
    			[8155.33,13656.8,0.001]
    		],
    		"M2StaticMG",						// Classname of turret
    		"medium",							// Skill level of unit (easy, medium, hard, extreme, Random)
    		"Bandit2_DZ",					// Skin classname, use "Random" or classname here
    		"Random",							// Primary gun set number. "Random" for random weapon set
    		2,									// Number of magazines
    		"Random",							// Backpack classname, use "Random" or classname here
    		"Random",							// Gearset classname, use "Random" or classname here
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] call spawn_static;
    	
    	[
    		[									// Position(s) (can be multiple)
    			[8146.49,13610.2,0.001]
    		],
    		"M2StaticMG",						// Classname of turret
    		"medium",							// Skill level of unit (easy, medium, hard, extreme, Random)
    		"Bandit2_DZ",					// Skin classname, use "Random" or classname here
    		"Random",							// Primary gun set number. "Random" for random weapon set
    		2,									// Number of magazines
    		"Random",							// Backpack classname, use "Random" or classname here
    		"Random",							// Gearset classname, use "Random" or classname here
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] call spawn_static;
    	
    	[
    		[									// Position(s) (can be multiple)
    			[8050.77,13510.2,0.001]
    		],
    		"M2StaticMG",						// Classname of turret
    		"medium",							// Skill level of unit (easy, medium, hard, extreme, Random)
    		"Bandit2_DZ",					// Skin classname, use "Random" or classname here
    		"Random",							// Primary gun set number. "Random" for random weapon set
    		2,									// Number of magazines
    		"Random",							// Backpack classname, use "Random" or classname here
    		"Random",							// Gearset classname, use "Random" or classname here
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] call spawn_static;
    	
    	[
    		[									// Position(s) (can be multiple)
    			[8122.4,13465,0.001]
    		],
    		"M2StaticMG",						// Classname of turret
    		"medium",							// Skill level of unit (easy, medium, hard, extreme, Random)
    		"Bandit2_DZ",					// Skin classname, use "Random" or classname here
    		"Random",							// Primary gun set number. "Random" for random weapon set
    		2,									// Number of magazines
    		"Random",							// Backpack classname, use "Random" or classname here
    		"Random",							// Gearset classname, use "Random" or classname here
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] call spawn_static;
    
    
    
    	/*
    	Custom Chopper Patrol spawn Eg.
    
    	[
    		[725.391,4526.06,0],				// Position to patrol
    		[0,0,0],							// Position to spawn chopper at
    		2000,								// Radius of patrol
    		10,									// Number of waypoints to give
    		"UH1H_DZ",							// Classname of vehicle (make sure it has driver and two gunners)
    		"Random",							// Skill level of units (easy, medium, hard, extreme, Random)
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] spawn heli_patrol;
    
    	Place your heli patrols below
    	*/
    
    	[
    		[8074.88,13735.5,0.002],				// Position to patrol
    		[0,0,0],							// Position to spawn chopper at
    		900,								// Radius of patrol
    		10,									// Number of waypoints to give
    		"UH60M_EP1_DZE",					// Classname of vehicle (make sure it has driver and two gunners)
    		"Random",							// Skill level of units (easy, medium, hard, extreme, Random)
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] spawn heli_patrol;
    	
    	[
    		[8110.38,13752,0.002],				// Position to patrol
    		[0,0,0],							// Position to spawn chopper at
    		900,								// Radius of patrol
    		10,									// Number of waypoints to give
    		"UH60M_EP1_DZE",					// Classname of vehicle (make sure it has driver and two gunners)
    		"Random",							// Skill level of units (easy, medium, hard, extreme, Random)
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] spawn heli_patrol;
    
    
    
    	/* 
    	Custom Vehicle patrol spawns Eg. (Watch out they are stupid)
    
    	[
    		[725.391,4526.06,0],				// Position to patrol
    		[725.391,4526.06,0],				// Position to spawn at
    		200,								// Radius of patrol
    		10,									// Number of waypoints to give
    		"HMMWV_Armored",					// Classname of vehicle (make sure it has driver and gunner)
    		"Random",							// Skill level of units (easy, medium, hard, extreme, Random)
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] spawn vehicle_patrol;
    
    	Place your vehicle patrols below this line
    	*/
    
    	[
    		[8118,13492.4,0.002],				// Position to patrol
    		[8133.33,13721.5,0.788],				// Position to spawn at
    		200,								// Radius of patrol
    		10,									// Number of waypoints to give
    		"HMMWV_Armored",					// Classname of vehicle (make sure it has driver and gunner)
    		"Random",							// Skill level of units (easy, medium, hard, extreme, Random)
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] spawn vehicle_patrol;
    	
    	[
    		[8108.45,13592.2,0.002],				// Position to patrol
    		[8133.73,13686.3,0.669],				// Position to spawn at
    		200,								// Radius of patrol
    		10,									// Number of waypoints to give
    		"HMMWV_Armored",					// Classname of vehicle (make sure it has driver and gunner)
    		"Random",							// Skill level of units (easy, medium, hard, extreme, Random)
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] spawn vehicle_patrol;
    	
    	[
    		[8087.81,13466.3,0.001],				// Position to patrol
    		[8087.81,13466.3,0.001],				// Position to spawn at
    		200,								// Radius of patrol
    		10,									// Number of waypoints to give
    		"HMMWV_Armored",					// Classname of vehicle (make sure it has driver and gunner)
    		"Random",							// Skill level of units (easy, medium, hard, extreme, Random)
    		"Bandit"							// AI Type, "Hero" or "Bandit".
    	] spawn vehicle_patrol;
    
    
    
    	/*
    	Paradropped unit custom spawn Eg.
    
    	[
    		[911.21545,4532.7612,2.6292224],	// Position that units will be dropped by
    		[0,0,0],							// Starting position of the heli
    		400,								// Radius from drop position a player has to be to spawn chopper
    		"UH1H_DZ",							// Classname of chopper (Make sure it has 2 gunner seats!)
    		5,									// Number of units to be para dropped
    		"Random",							// Skill level of units (easy, medium, hard, extreme, Random)
    		"Random",							// Primary gun set number. "Random" for random weapon set.
    		4,									// Number of magazines
    		"Random",							// Backpack classname, use "Random" or classname here
    		"Bandit2_DZ",						// Skin classname, use "Random" or classname here
    		"Random",							// Gearset number. "Random" for random gear set.
    		"Bandit",							// AI Type, "Hero" or "Bandit".
    		true								// true: Aircraft will stay at position and fight. false: Heli will leave if not under fire. 
    	] spawn heli_para;
    
    	Place your paradrop spawns under this line
    	*/
    	
    	[
    		[8108.45,13592.2,0.002],			// Position that units will be dropped by
    		[0,0,0],							// Starting position of the heli
    		300,								// Radius from drop position a player has to be to spawn chopper
    		"UH60M_EP1_DZE",					// Classname of chopper (Make sure it has 2 gunner seats!)
    		10,									// Number of units to be para dropped
    		"Random",							// Skill level of units (easy, medium, hard, extreme, Random)
    		"Random",							// Primary gun set number. "Random" for random weapon set.
    		4,									// Number of magazines
    		"Random",							// Backpack classname, use "Random" or classname here
    		"Bandit2_DZ",					// Skin classname, use "Random" or classname here
    		"Random",							// Gearset number. "Random" for random gear set.
    		"Bandit",							// AI Type, "Hero" or "Bandit".
    		true								// true: Aircraft will stay at position and fight. false: Heli will leave if not under fire. 
    	] spawn heli_para;
    	
    // Loot-Boxen
    
    Pck_Box = compile preprocessFileLineNumbers "\z\addons\dayz_server\WAI\static\boxes\Pck_Box.sqf";
    Build_Box = compile preprocessFileLineNumbers "\z\addons\dayz_server\WAI\static\boxes\Build_Box.sqf";
     
    //PCK
    _box5 = createVehicle ["RUBasicWeaponsBox",[8108.45,13592.2,0.002], [], 0, "CAN_COLLIDE"];
    [_box5] call Pck_Box;
    _box6 = createVehicle ["RUBasicWeaponsBox",[8074.88,13735.5,0.002], [], 0, "CAN_COLLIDE"];
    [_box6] call Pck_Box;
    
    //Build
    _box7 = createVehicle ["RUBasicWeaponsBox",[7999.54,13663.2,0.002], [], 0, "CAN_COLLIDE"];
    [_box7] call Build_Box;
    _box8 = createVehicle ["RUBasicWeaponsBox",[8084.86,13694.7,0.002], [], 0, "CAN_COLLIDE"];
    [_box8] call Build_Box;
    	
    	diag_log format["WAI: Static mission for %1 loaded", missionName];
    
    };
    
  8. re-download it Thay I updated a few things

     

    Okay i'll test it.

     

    and here something from the normal (not static) missions

    13:36:30 Error in expression <se {
    if (_x getVariable ["ObjectID", 0] == 0) then {
    deleteVehicle _x;
    };
    };
    sle>
    13:36:30   Error position: <== 0) then {
    deleteVehicle _x;
    };
    };
    sle>
    13:36:30   Error Allgemeiner Fehler in Ausdruck
    13:36:30 File z\addons\dayz_server\WAI\compile\mission_winorfail.sqf, line 157
    
  9. Now i got these

     8:37:46 "WAI: Spawned a group of 6 AI (Bandit) at [8108.45,13592.2,0.002]"
     8:37:46 "WAI: Spawned a group of 4 AI (Bandit) at [8074.88,13735.5,0.002]"
     8:37:47 "WAI: Spawned a group of 6 AI (Bandit) at [8112.57,13644.4,0.001]"
     8:37:47 "WAI: Spawned a group of 6 AI (Bandit) at [7971.73,13675.5,0.001]"
     8:37:47 "WAI: Spawned a group of 6 AI (Bandit) at [7962.7,13612.2,0.002]"
     8:37:47 Error in expression <igear select 0;
    _geartools 			= _aigear select 1;
    _unit 				addweapon _weapon;
    
    >
     8:37:47   Error position: <select 1;
    _unit 				addweapon _weapon;
    
    >
     8:37:47   Error Nullteiler
     8:37:47 File z\addons\dayz_server\WAI\compile\spawn_static.sqf, line 120
     8:37:47 Error in expression <				addweapon _weapon;
    
    for "_i" from 1 to _mags do {
    _unit addMagazine _magazin>
     8:37:47   Error position: <to _mags do {
    _unit addMagazine _magazin>
     8:37:47   Error to: Typ Zeichenfolge, erwartet Zahl
     8:37:47 File z\addons\dayz_server\WAI\compile\spawn_static.sqf, line 123
    
  10. Ahh thank god not the only one  :)

     

    Me too

     7:57:04 "WAI: AI Config File Loaded"
     7:57:04 "WAI: AI Monitor Started"
     7:57:04 "WAI: Initialising static missions"
     7:57:04 "WAI: Initialising missions"
     7:57:04 Error in expression <m 1 to _unitnumber do {
    
    call {
    if(_gun == 0) 			exitWith { _aiweapon = ai_wep_a>
     7:57:04   Error position: <== 0) 			exitWith { _aiweapon = ai_wep_a>
     7:57:04   Error Allgemeiner Fehler in Ausdruck
     7:57:04 File z\addons\dayz_server\WAI\compile\spawn_group.sqf, line 65
     7:57:04 Error in expression <gun			= _gun select 0;
    };
    
×
×
  • Create New...