Jump to content

Re-Worked WAI 0.173 - Supported System


Recommended Posts

I posted this and it will go a very long way towards explaining how to do exactly what you want. If you can't work it out on your own and need help just look me up. I'm in my TS most evenings (west coast US time) and I do answer PM's.

Link to comment
Share on other sites

Yes, I was replying to you and I explained why you are having the effect you are. Let me simplify it some, setting scoring aside for the moment: the debug shows bandit CLASS kills *only*. The AI are not class names that will cause this number of kills to increase so it must be done manually in the mods code. Each AI kill you make causes the mod to tell the server to increase your bandit kills by one since the default DayZ code will not do this.

 

Think of it this way: the term "Bandit Kills" in your monitor could actually read "Number of human players with negative 2500 or lesser humanity I have killed". Anything other than that will not trigger the total to increment unless it's specifically told to do that by extra code, in this case the

ai_banditkills_gain = True;

is doing exactly that.

 

Ok.

 

You wouldn't happen to know how DZMS does it then? If not, I guess I just swing over to that post and ask them.

 

BTW thanks for clarifying and for the assistance

Link to comment
Share on other sites

Hey guys,

 

I read almost every post of the other thread, but couldn't find an answer to this problem:

 

RPT log got spammed with:

 

13:34:49 "WAI: AI Config File Loaded"
13:34:49 "WAI: AI Monitor Started"
13:34:49 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:34:49   Error position: <createUnit [_aiskin, [(_position select >
13:34:49   Error Type Any, expected Number
13:34:49 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:34:49 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:34:49   Error position: <createUnit [_aiskin, [(_position select >
13:34:49   Error Type Any, expected Number
13:34:49 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:34:49 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:34:49   Error position: <createUnit [_aiskin, [(_position select >
13:34:49   Error Type Any, expected Number
13:34:49 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:34:50 "WAI: Mission Config File Loaded"
13:34:50 "WAI: Spawned a group of 3 Bandits at [4774.04,2507.76]"
13:34:50 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:34:50   Error position: <createUnit [_aiskin, [(_position select >
13:34:50   Error Type Any, expected Number
13:34:50 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:34:50 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:34:50   Error position: <createUnit [_aiskin, [(_position select >
13:34:50   Error Type Any, expected Number
13:34:50 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:34:50 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:34:50   Error position: <createUnit [_aiskin, [(_position select >
13:34:50   Error Type Any, expected Number
13:34:50 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:34:50 "WAI: Starting AI Missions Moniter"
13:34:51 "WAI: Spawned a group of 3 Bandits at [6970.98,2640.33]"
13:34:51 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:34:51   Error position: <createUnit [_aiskin, [(_position select >
13:34:51   Error Type Any, expected Number
13:34:51 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:34:51 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:34:51   Error position: <createUnit [_aiskin, [(_position select >
13:34:51   Error Type Any, expected Number
13:34:51 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:34:51 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:34:51   Error position: <createUnit [_aiskin, [(_position select >
13:34:51   Error Type Any, expected Number
13:34:51 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:34:52 "TIME SYNC: Local Time set to [2013,8,3,12,34]"
13:34:53 "WAI: Spawned a group of 3 Bandits at [6566.51,2412.97]"
13:34:54 "WAI: Spawned a group of 3 Bandits at [10186.4,1936.04,3.44049]"
13:34:56 Error in expression <-mod=@Jon_EditorUpdate>
13:34:56   Error position: <=@Jon_EditorUpdate>
13:34:56   Error Missing ;
13:34:56 Error in expression <-mod=@Jon_EditorUpdate>
13:34:56   Error position: <=@Jon_EditorUpdate>
13:34:56   Error Missing ;
13:34:56 "WAI: Spawned a group of 3 Bandits at [10476.1,2412.23,9.6632]"
13:34:56 "WAI: Spawned a group of 3 Bandits at [953.237,4486.48,0.001]"
13:34:56 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:34:56   Error position: <createUnit [_aiskin, [(_position select >
13:34:56   Error Type Any, expected Number
13:34:56 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:34:56 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:34:56   Error position: <createUnit [_aiskin, [(_position select >
13:34:56   Error Type Any, expected Number
13:34:56 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:34:56 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:34:56   Error position: <createUnit [_aiskin, [(_position select >
13:34:56   Error Type Any, expected Number
13:34:56 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:34:56 "WAI: Spawned a group of 3 Bandits at [9164.43,3832.18]"
13:34:57 "WAI: Spawned a group of 3 Bandits at [12855,4457.42,0]"
13:34:57 "WAI: Spawned a group of 3 Bandits at [11299,5460.6,2.91008]"
13:34:57 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:34:57   Error position: <createUnit [_aiskin, [(_position select >
13:34:57   Error Type Any, expected Number
13:34:57 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:34:57 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:34:57   Error position: <createUnit [_aiskin, [(_position select >
13:34:57   Error Type Any, expected Number
13:34:57 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:34:57 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:34:57   Error position: <createUnit [_aiskin, [(_position select >
13:34:57   Error Type Any, expected Number
13:34:57 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:34:57 "WAI: Spawned a group of 3 Bandits at [13332.2,6258.89]"
13:34:57 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:34:57   Error position: <createUnit [_aiskin, [(_position select >
13:34:57   Error Type Any, expected Number
13:34:57 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:34:57 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:34:57   Error position: <createUnit [_aiskin, [(_position select >
13:34:57   Error Type Any, expected Number
13:34:57 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:34:57 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:34:57   Error position: <createUnit [_aiskin, [(_position select >
13:34:57   Error Type Any, expected Number
13:34:57 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:34:57 "WAI: Spawned a group of 3 Bandits at [13074.1,6975.22]"
13:34:58 "WAI: Spawned a group of 3 Bandits at [12161.3,7288.54,-0.000610352]"
13:34:58 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:34:58   Error position: <createUnit [_aiskin, [(_position select >
13:34:58   Error Type Any, expected Number
13:34:58 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:34:58 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:34:58   Error position: <createUnit [_aiskin, [(_position select >
13:34:58   Error Type Any, expected Number
13:34:58 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:34:58 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:34:58   Error position: <createUnit [_aiskin, [(_position select >
13:34:58   Error Type Any, expected Number
13:34:58 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:34:58 "WAI: Spawned a group of 3 Bandits at [12877.6,8081.6]"
13:34:58 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:34:58   Error position: <createUnit [_aiskin, [(_position select >
13:34:58   Error Type Any, expected Number
13:34:58 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:34:58 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:34:58   Error position: <createUnit [_aiskin, [(_position select >
13:34:58   Error Type Any, expected Number
13:34:58 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:34:58 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:34:58   Error position: <createUnit [_aiskin, [(_position select >
13:34:58   Error Type Any, expected Number
13:34:58 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:34:58 "WAI: Spawned a group of 3 Bandits at [11938.8,9118.7]"
13:34:58 "WAI: Spawned a group of 3 Bandits at [12734.7,9571.31,-2.67029e-005]"
13:34:59 "WAI: Spawned a group of 3 Bandits at [12871,10060.4,11.1378]"
13:34:59 "WAI: Spawned a group of 3 Bandits at [11130,12335.7,9.50177]"
13:34:59 "WAI: Spawned a group of 3 Bandits at [8710.19,11791,-3.05176e-005]"
13:34:59 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:34:59   Error position: <createUnit [_aiskin, [(_position select >
13:34:59   Error Type Any, expected Number
13:34:59 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:00 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:00   Error position: <createUnit [_aiskin, [(_position select >
13:35:00   Error Type Any, expected Number
13:35:00 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:00 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:00   Error position: <createUnit [_aiskin, [(_position select >
13:35:00   Error Type Any, expected Number
13:35:00 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:00 "WAI: Spawned a group of 3 Bandits at [6003.65,10296.4]"
13:35:00 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:00   Error position: <createUnit [_aiskin, [(_position select >
13:35:00   Error Type Any, expected Number
13:35:00 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:00 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:00   Error position: <createUnit [_aiskin, [(_position select >
13:35:00   Error Type Any, expected Number
13:35:00 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:00 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:00   Error position: <createUnit [_aiskin, [(_position select >
13:35:00   Error Type Any, expected Number
13:35:00 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:00 "WAI: Spawned a group of 3 Bandits at [2743.15,9997.41]"
13:35:00 "WAI: Spawned a group of 3 Bandits at [3826.78,8926.02,8.62714]"
13:35:00 "WAI: Spawned a group of 3 Bandits at [5366.35,8591.85,0]"
13:35:00 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:00   Error position: <createUnit [_aiskin, [(_position select >
13:35:00   Error Type Any, expected Number
13:35:00 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:00 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:00   Error position: <createUnit [_aiskin, [(_position select >
13:35:00   Error Type Any, expected Number
13:35:00 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:00 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:00   Error position: <createUnit [_aiskin, [(_position select >
13:35:00   Error Type Any, expected Number
13:35:00 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:01 "WAI: Spawned a group of 3 Bandits at [7038.36,7669.39]"
13:35:01 "WAI: Spawned a group of 3 Bandits at [10121.8,5479.5,0]"
13:35:01 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:01   Error position: <createUnit [_aiskin, [(_position select >
13:35:01   Error Type Any, expected Number
13:35:01 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:01 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:01   Error position: <createUnit [_aiskin, [(_position select >
13:35:01   Error Type Any, expected Number
13:35:01 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:01 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:01   Error position: <createUnit [_aiskin, [(_position select >
13:35:01   Error Type Any, expected Number
13:35:01 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:01 "WAI: Spawned a group of 3 Bandits at [4464.23,4616.37]"
13:35:01 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:01   Error position: <createUnit [_aiskin, [(_position select >
13:35:01   Error Type Any, expected Number
13:35:01 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:01 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:01   Error position: <createUnit [_aiskin, [(_position select >
13:35:01   Error Type Any, expected Number
13:35:01 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:01 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:01   Error position: <createUnit [_aiskin, [(_position select >
13:35:01   Error Type Any, expected Number
13:35:01 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:01 "WAI: Spawned a group of 3 Bandits at [5848.88,4707.17]"
13:35:01 "WAI: Spawned a group of 3 Bandits at [4930.34,5613.78,0]"
13:35:02 "WAI: Spawned a group of 3 Bandits at [4486.5,6420.53,0]"
13:35:02 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:02   Error position: <createUnit [_aiskin, [(_position select >
13:35:02   Error Type Any, expected Number
13:35:02 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:02 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:02   Error position: <createUnit [_aiskin, [(_position select >
13:35:02   Error Type Any, expected Number
13:35:02 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:02 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:02   Error position: <createUnit [_aiskin, [(_position select >
13:35:02   Error Type Any, expected Number
13:35:02 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:02 "WAI: Spawned a group of 3 Bandits at [4781.41,6797.93]"
13:35:02 "WAI: Spawned a group of 3 Bandits at [3066.65,7942.9,0]"
13:35:02 "WAI: Spawned a group of 3 Bandits at [1986.58,7351.69,0]"
13:35:02 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:02   Error position: <createUnit [_aiskin, [(_position select >
13:35:02   Error Type Any, expected Number
13:35:02 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:02 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:02   Error position: <createUnit [_aiskin, [(_position select >
13:35:02   Error Type Any, expected Number
13:35:02 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:02 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:02   Error position: <createUnit [_aiskin, [(_position select >
13:35:02   Error Type Any, expected Number
13:35:02 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:02 "WAI: Spawned a group of 3 Bandits at [2529.23,6347.82]"
13:35:02 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:02   Error position: <createUnit [_aiskin, [(_position select >
13:35:02   Error Type Any, expected Number
13:35:02 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:02 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:02   Error position: <createUnit [_aiskin, [(_position select >
13:35:02   Error Type Any, expected Number
13:35:02 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:02 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:02   Error position: <createUnit [_aiskin, [(_position select >
13:35:02   Error Type Any, expected Number
13:35:02 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:03 "WAI: Spawned a group of 3 Bandits at [2744.52,5288.1]"
13:35:03 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:03   Error position: <createUnit [_aiskin, [(_position select >
13:35:03   Error Type Any, expected Number
13:35:03 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:03 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:03   Error position: <createUnit [_aiskin, [(_position select >
13:35:03   Error Type Any, expected Number
13:35:03 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:03 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:03   Error position: <createUnit [_aiskin, [(_position select >
13:35:03   Error Type Any, expected Number
13:35:03 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:03 "WAI: Spawned a group of 3 Bandits at [2344.53,5388.1]"
13:35:03 "WAI: Spawned a group of 3 Bandits at [3336.45,3921.71,0]"
13:35:03 "WAI: Spawned a group of 3 Bandits at [3411.43,4930.87,0]"
13:35:04 "WAI: Spawned a group of 3 Bandits at [3734.57,5990.05,0]"
13:35:04 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:04   Error position: <createUnit [_aiskin, [(_position select >
13:35:04   Error Type Any, expected Number
13:35:04 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:04 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:04   Error position: <createUnit [_aiskin, [(_position select >
13:35:04   Error Type Any, expected Number
13:35:04 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:04 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:04   Error position: <createUnit [_aiskin, [(_position select >
13:35:04   Error Type Any, expected Number
13:35:04 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:04 "WAI: Spawned a group of 3 Bandits at [9572.35,8847.86]"
13:35:04 "WAI: Spawned a group of 3 Bandits at [10420.3,9844.52,0]"
13:35:04 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:04   Error position: <createUnit [_aiskin, [(_position select >
13:35:04   Error Type Any, expected Number
13:35:04 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:04 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:04   Error position: <createUnit [_aiskin, [(_position select >
13:35:04   Error Type Any, expected Number
13:35:04 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:04 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:04   Error position: <createUnit [_aiskin, [(_position select >
13:35:04   Error Type Any, expected Number
13:35:04 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:04 "WAI: Spawned a group of 3 Bandits at [10007.7,10376.3]"
13:35:04 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:04   Error position: <createUnit [_aiskin, [(_position select >
13:35:04   Error Type Any, expected Number
13:35:04 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:04 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:04   Error position: <createUnit [_aiskin, [(_position select >
13:35:04   Error Type Any, expected Number
13:35:04 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:04 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:04   Error position: <createUnit [_aiskin, [(_position select >
13:35:04   Error Type Any, expected Number
13:35:04 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:04 "WAI: Spawned a group of 3 Bandits at [11229.3,6583.42]"
13:35:04 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:04   Error position: <createUnit [_aiskin, [(_position select >
13:35:04   Error Type Any, expected Number
13:35:04 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:04 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:04   Error position: <createUnit [_aiskin, [(_position select >
13:35:04   Error Type Any, expected Number
13:35:04 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:04 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:04   Error position: <createUnit [_aiskin, [(_position select >
13:35:04   Error Type Any, expected Number
13:35:04 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:04 "WAI: Spawned a group of 3 Bandits at [9654.47,6562.87]"
13:35:04 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:04   Error position: <createUnit [_aiskin, [(_position select >
13:35:04   Error Type Any, expected Number
13:35:04 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:04 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:04   Error position: <createUnit [_aiskin, [(_position select >
13:35:04   Error Type Any, expected Number
13:35:04 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:04 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:04   Error position: <createUnit [_aiskin, [(_position select >
13:35:04   Error Type Any, expected Number
13:35:04 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:05 "WAI: Spawned a group of 3 Bandits at [13661.3,2914.51]"
13:35:05 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:05   Error position: <createUnit [_aiskin, [(_position select >
13:35:05   Error Type Any, expected Number
13:35:05 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:05 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:05   Error position: <createUnit [_aiskin, [(_position select >
13:35:05   Error Type Any, expected Number
13:35:05 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:05 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:05   Error position: <createUnit [_aiskin, [(_position select >
13:35:05   Error Type Any, expected Number
13:35:05 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:05 "WAI: Spawned a group of 3 Bandits at [11250.8,4274.08]"
13:35:05 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:05   Error position: <createUnit [_aiskin, [(_position select >
13:35:05   Error Type Any, expected Number
13:35:05 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:05 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:05   Error position: <createUnit [_aiskin, [(_position select >
13:35:05   Error Type Any, expected Number
13:35:05 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:05 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:05   Error position: <createUnit [_aiskin, [(_position select >
13:35:05   Error Type Any, expected Number
13:35:05 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:05 "WAI: Spawned a group of 3 Bandits at [6894.65,11438.8]"
13:35:05 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:05   Error position: <createUnit [_aiskin, [(_position select >
13:35:05   Error Type Any, expected Number
13:35:05 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:05 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:05   Error position: <createUnit [_aiskin, [(_position select >
13:35:05   Error Type Any, expected Number
13:35:05 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:05 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:05   Error position: <createUnit [_aiskin, [(_position select >
13:35:05   Error Type Any, expected Number
13:35:05 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:05 "WAI: Spawned a group of 3 Bandits at [11250.8,4274.08]"
13:35:05 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:05   Error position: <createUnit [_aiskin, [(_position select >
13:35:05   Error Type Any, expected Number
13:35:05 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:05 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:05   Error position: <createUnit [_aiskin, [(_position select >
13:35:05   Error Type Any, expected Number
13:35:05 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:05 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:05   Error position: <createUnit [_aiskin, [(_position select >
13:35:05   Error Type Any, expected Number
13:35:05 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:06 "WAI: Spawned a group of 3 Bandits at [6894.65,11438.8]"
13:35:06 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:06   Error position: <createUnit [_aiskin, [(_position select >
13:35:06   Error Type Any, expected Number
13:35:06 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:06 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:06   Error position: <createUnit [_aiskin, [(_position select >
13:35:06   Error Type Any, expected Number
13:35:06 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:06 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:06   Error position: <createUnit [_aiskin, [(_position select >
13:35:06   Error Type Any, expected Number
13:35:06 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:06 "WAI: Spawned a group of 3 Bandits at [6551.47,5595.67]"
13:35:06 "WAI: Spawned a group of 3 Bandits at [11458.5,7483.28,12.37]"
13:35:07 "WAI: Spawned a group of 3 Bandits at [12215.8,6270.99,3.8147e-006]"
13:35:07 "WAI: Spawned a group of 3 Bandits at [6490.11,2778.89,-7.62939e-006]"
13:35:07 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:07   Error position: <createUnit [_aiskin, [(_position select >
13:35:07   Error Type Any, expected Number
13:35:07 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:07 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:07   Error position: <createUnit [_aiskin, [(_position select >
13:35:07   Error Type Any, expected Number
13:35:07 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:07 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:07   Error position: <createUnit [_aiskin, [(_position select >
13:35:07   Error Type Any, expected Number
13:35:07 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:07 "WAI: Spawned a group of 3 Bandits at [10456.7,2247.21]"
13:35:08 "WAI: Spawned a group of 3 Bandits at [12248.7,9573.23,9.53674e-007]"
13:35:08 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:08   Error position: <createUnit [_aiskin, [(_position select >
13:35:08   Error Type Any, expected Number
13:35:08 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:08 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:08   Error position: <createUnit [_aiskin, [(_position select >
13:35:08   Error Type Any, expected Number
13:35:08 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:08 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:08   Error position: <createUnit [_aiskin, [(_position select >
13:35:08   Error Type Any, expected Number
13:35:08 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:08 "WAI: Spawned a group of 3 Bandits at [13365.2,12852.3]"
13:35:08 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:08   Error position: <createUnit [_aiskin, [(_position select >
13:35:08   Error Type Any, expected Number
13:35:08 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:08 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:08   Error position: <createUnit [_aiskin, [(_position select >
13:35:08   Error Type Any, expected Number
13:35:08 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:08 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:08   Error position: <createUnit [_aiskin, [(_position select >
13:35:08   Error Type Any, expected Number
13:35:08 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:08 "WAI: Spawned a group of 3 Bandits at [4673.81,10449]"
13:35:08 "WAI: Spawned a group of 4 Bandits at [4760.9,10160.1,0.0807495]"
13:35:08 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:08   Error position: <createUnit [_aiskin, [(_position select >
13:35:08   Error Type Any, expected Number
13:35:08 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:08 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:08   Error position: <createUnit [_aiskin, [(_position select >
13:35:08   Error Type Any, expected Number
13:35:08 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:08 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:08   Error position: <createUnit [_aiskin, [(_position select >
13:35:08   Error Type Any, expected Number
13:35:08 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:08 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:08   Error position: <createUnit [_aiskin, [(_position select >
13:35:08   Error Type Any, expected Number
13:35:08 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:08 "WAI: Spawned a group of 4 Bandits at [4607.54,9625.11]"
13:35:09 "WAI: Spawned a group of 4 Bandits at [5222.4,9780.64,0]"
13:35:09 "WAI: Spawned a group of 4 Bandits at [4763.52,10760.8,0]"
13:35:09 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:09   Error position: <createUnit [_aiskin, [(_position select >
13:35:09   Error Type Any, expected Number
13:35:09 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:09 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:09   Error position: <createUnit [_aiskin, [(_position select >
13:35:09   Error Type Any, expected Number
13:35:09 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:09 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:09   Error position: <createUnit [_aiskin, [(_position select >
13:35:09   Error Type Any, expected Number
13:35:09 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:09 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:09   Error position: <createUnit [_aiskin, [(_position select >
13:35:09   Error Type Any, expected Number
13:35:09 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:09 "WAI: Spawned a group of 4 Bandits at [4103.67,10876.2]"
13:35:09 "WAI: Spawned a group of 4 Bandits at [4147.14,10313.3,0]"
13:35:09 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:09   Error position: <createUnit [_aiskin, [(_position select >
13:35:09   Error Type Any, expected Number
13:35:09 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:09 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:09   Error position: <createUnit [_aiskin, [(_position select >
13:35:09   Error Type Any, expected Number
13:35:09 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:09 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:09   Error position: <createUnit [_aiskin, [(_position select >
13:35:09   Error Type Any, expected Number
13:35:09 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:09 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:09   Error position: <createUnit [_aiskin, [(_position select >
13:35:09   Error Type Any, expected Number
13:35:09 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:10 "WAI: Spawned a group of 4 Bandits at [4673.81,10449]"
13:35:10 "WAI: Spawned a group of 4 Bandits at [4760.9,10160.1,0.0807495]"
13:35:10 "WAI: Spawned a group of 4 Bandits at [4760.9,10160.1,0.0807495]"
13:35:10 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:10   Error position: <createUnit [_aiskin, [(_position select >
13:35:10   Error Type Any, expected Number
13:35:10 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:10 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:10   Error position: <createUnit [_aiskin, [(_position select >
13:35:10   Error Type Any, expected Number
13:35:10 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:10 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:10   Error position: <createUnit [_aiskin, [(_position select >
13:35:10   Error Type Any, expected Number
13:35:10 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:10 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:10   Error position: <createUnit [_aiskin, [(_position select >
13:35:10   Error Type Any, expected Number
13:35:10 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:10 "WAI: Spawned a group of 4 Bandits at [4607.54,9625.11]"
13:35:11 "WAI: Spawned a group of 4 Bandits at [5222.4,9780.64,0]"
13:35:11 "WAI: Spawned a group of 4 Bandits at [4763.52,10760.8,0]"
13:35:11 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:11   Error position: <createUnit [_aiskin, [(_position select >
13:35:11   Error Type Any, expected Number
13:35:11 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:11 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:11   Error position: <createUnit [_aiskin, [(_position select >
13:35:11   Error Type Any, expected Number
13:35:11 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:11 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:11   Error position: <createUnit [_aiskin, [(_position select >
13:35:11   Error Type Any, expected Number
13:35:11 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:11 Error in expression <{
_aiskin = _skin
};
_unit = _unitGroup createUnit [_aiskin, [(_position select >
13:35:11   Error position: <createUnit [_aiskin, [(_position select >
13:35:11   Error Type Any, expected Number
13:35:11 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53
13:35:11 "WAI: Spawned a group of 4 Bandits at [4103.67,10876.2]"
13:35:11 "WAI: Spawned a group of 4 Bandits at [4147.14,10313.3,0]"
13:35:11 "WAI: Paradrop Waiting for player"
13:35:11 "WAI: Paradrop Waiting for player"
13:35:11 "WAI: Paradrop Waiting for player"
13:35:11 "WAI: Paradrop Waiting for player"
13:35:36 "get: STRING (5739778), sent: STRING (5739778)"
13:35:36 "DISCONNECT: Stollenwerk (5739778) Object: B 1-1-B:1 (Stollenwerk) REMOTE, _characterID: 7605 at loc [-7238.9,19539.3,0.167175]"
13:35:36 "ERROR: server_playerSync: Cannot Sync Player Stollenwerk [7605]. Position in debug! [-7238.9,19539.3,0.167175]"
13:35:36 Client: Remote object 3:8 not found
13:36:50 "221 Active ground units"
13:36:50 "0 Active emplacement units"
13:36:50 "12 Active chopper patrol units (Crew)"
13:36:50 "0 Active vehicle patrol units (Crew)"
13:38:07 "CLEANUP: INITIALIZING CLEANUP SCRIPT"
 

 

CustomSpawns look like this (it's an example of a guy who posted this in the other thread)

 

[[4774.0439, 2507.7603], //Cherno3
3,        //Number Of units
0,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
0,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[6970.9785, 2640.334], //Cherno1
3,        //Number Of units
0,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
0,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[6566.5137, 2412.969], //Elektro1
3,        //Number Of units
0,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
0,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[10186.388, 1936.0364, 3.4404879], //Elektro2
3,        //Number Of units
0,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
0,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[10476.077, 2412.2297, 9.6632004], //Pusta
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
2,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[953.237,4486.48,0.001], //Tulga
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
2,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[9164.4277, 3832.1824], //Msta
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
3,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;


 

 

 

Line 53 is: 0,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.

 

Any ideas what could be wrong?

Thanks in advance!

Link to comment
Share on other sites

Thx, my last post was too long, so I shortened it.

 

Here is the whole file now:

//Custom Spawns file//
/*
Custom group spawns Eg.

[[953.237,4486.48,0.001], //position
4,                          //Number Of units
1,                          //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
"Random",                  //Primary gun set number. "Random" for random weapon set.
4,                          //Number of magazines
"",                          //Backpack "" for random or classname here.
"Bandit2_DZ",              //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

Place your custom group spawns below
*/

///////TEST SPAWNS///////


[[4774.0439, 2507.7603], //Cherno3
3,        //Number Of units
0,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
0,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[6970.9785, 2640.334], //Cherno1
3,        //Number Of units
0,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
0,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[6566.5137, 2412.969], //Elektro1
3,        //Number Of units
0,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
0,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[10186.388, 1936.0364, 3.4404879], //Elektro2
3,        //Number Of units
0,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
0,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[10476.077, 2412.2297, 9.6632004], //Pusta
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
2,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[953.237,4486.48,0.001], //Tulga
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
2,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[9164.4277, 3832.1824], //Msta
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
3,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[12855.01, 4457.4199, 0], //Solnichniy
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
3,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[11299.008, 5460.605, 2.91008], //Solnichniy Factory
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
2,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[13332.188, 6258.8921], //Nizhnoye
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
1,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[13074.077, 6975.2202], //Berezino1
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
0,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[12161.262, 7288.5391, -0.00061035156], //Berezino2
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
0,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[12877.6, 8081.5957], //Berezeno3
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
3,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[11938.791, 9118.6982], //Krasnostav
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
2,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[12734.678, 9571.3135, -2.6702881e-005], //Gvozdno
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
1,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[12870.976, 10060.382, 11.137758], //Grishino
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
4,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[11130.03, 12335.65, 9.50177], //Lopatino
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
2,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[8710.1924, 11791.018, -3.0517578e-005], //Vybor
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
3,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[6003.6455, 10296.365], //Kabanino
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
2,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[2743.1543, 9997.4131], //Novy Sobor
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
3,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[3826.7798, 8926.0244, 8.6271362], //Gulglovo
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
2,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[5366.3472, 8591.8545, 0], //Vyshnoye
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
2,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[7038.3643, 7669.3857], //Mogilevka
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
1,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[10121.785, 5479.5034, 0], //Staroye
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
1,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[4464.2275, 4616.3687], //Kozlovka
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
2,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[5848.8809, 4707.165], //Nadezhdino
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
3,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[4930.3384, 5613.7847, 0], //Pulkovo
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
2,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[4486.5034, 6420.5313, 0], //Pogorevka
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
2,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[4781.4141, 6797.9297], //Rogovo
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
3,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[3066.6545, 7942.9028, 0], //Pustoshka
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
2,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[1986.5758, 7351.6929, 0], //Myshkino
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
3,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[2529.2295, 6347.8228], //Sosnovka
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
2,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[2744.5173, 5288.1021], //Zelenogorsk1
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
4,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[2344.5273, 5388.1021], //Zelenogorsk2
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
4,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[3336.4529, 3921.7053, 0], //Pavlovo
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
3,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[3411.4346, 4930.8711, 0], //Bor
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
2,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[3734.5662, 5990.0493, 0], //Drozhino
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
3,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[9572.3516, 8847.8584], //Green Mountain
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
4,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[10420.348, 9844.5205, 0], //Gorka
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
3,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[10007.653, 10376.338], //Dubrovka
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
2,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[11229.258, 6583.4165], //Dubrovka NW
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
1,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[9654.4688, 6562.8745], //Polana
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
1,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[13661.255, 2914.5103], //Dolina
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
0,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[11250.809, 4274.082], //Shakhovka
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
1,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[6894.6455, 11438.785], //Skalisty Island
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
2,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[11250.809, 4274.082], //Rog
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
3,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[6894.6455, 11438.785], //Devil's Castle
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
3,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[6551.4741, 5595.6704], //Zub
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
2,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[11458.502, 7483.2754, 12.369965], //Orlovets Factory
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
1,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[12215.833, 6270.9868, 3.8146973e-006], //Dolina-Solnichniy
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
2,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[6490.1133, 2778.8921, -7.6293945e-006], //Cherno2
3,        //Number Of units
0,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
0,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[10456.71, 2247.2095], //SElektro3
3,        //Number Of units
0,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
1,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[12248.675, 9573.2344, 9.5367432e-007], //Cherno4
3,        //Number Of units
0,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
1,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[13365.159, 12852.25], //Berezino4
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
2,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[4673.8091, 10449.009], //Olsha
3,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
1,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[4760.895, 10160.055, 0.080749512], //NWAF1
4,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
4,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[4607.541, 9625.1084], //NWAF2
4,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
4,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[5222.3984, 9780.6406, 0], //NWAF3
4,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
4,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[4763.522, 10760.788, 0], //NWAF4
4,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
4,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[4103.6729, 10876.167], //NWAF5
4,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
4,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[4147.1416, 10313.281, 0], //NWAF6
4,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
4,         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[4673.8091, 10449.009], //NWAF7
4,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
"Random",         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[4760.895, 10160.055, 0.080749512], //NWAF8
4,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
"Random",         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[4760.895, 10160.055, 0.080749512], //NWAF9
4,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
"Random",         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[4607.541, 9625.1084], //"NWAF10
4,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
"Random",         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[5222.3984, 9780.6406, 0], //NWAF11
4,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
"Random",         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[4763.522, 10760.788, 0], //NWAF12
4,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
"Random",         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[4103.6729, 10876.167], //NWAF13
4,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
"Random",         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

[[4147.1416, 10313.281, 0], //NWAF14
4,        //Number Of units
1,           //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
"Random",         //Primary gun set number. "Random" for random weapon set.
4,        //Number of magazines
"",        //Backpack "" for random or classname here.
"Bandit2_DZ",     //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;


/////////TEST SPAWNS END///////////



/*
Custom static weapon spawns Eg. (with one position)

[[[911.21545,4532.7612,2.6292224]], //position(s) (can be multiple).
"M2StaticMG",             //Classname of turret
0.5,                      //Skill level 0-1. Has no effect if using custom skills
"Bandit2_DZ",              //Skin "" for random or classname here.
1,                          //Primary gun set number. "Random" for random weapon set. (not needed if ai_static_useweapon = False)
2,                          //Number of magazines. (not needed if ai_static_useweapon = False)
"",                          //Backpack "" for random or classname here. (not needed if ai_static_useweapon = False)
"Random"                  //Gearset number. "Random" for random gear set. (not needed if ai_static_useweapon = False)
] call spawn_static;

Custom static weapon spawns Eg. (with mutiple positions)

[[[911.21545,4532.7612,2.6292224],[921.21545,4532.7612,2.6292224]], //position(s) (can be multiple).
"M2StaticMG",             //Classname of turret
0.5,                      //Skill level 0-1. Has no effect if using custom skills
"Bandit2_DZ",              //Skin "" for random or classname here.
1,                          //Primary gun set number. "Random" for random weapon set. (not needed if ai_static_useweapon = False)
2,                          //Number of magazines. (not needed if ai_static_useweapon = False)
"",                          //Backpack "" for random or classname here. (not needed if ai_static_useweapon = False)
"Random"                  //Gearset number. "Random" for random gear set. (not needed if ai_static_useweapon = False)
] call spawn_static;

Place your custom static weapon spawns below
*/


/*
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)
1                        //Skill level of units
] spawn heli_patrol;

Place your heli patrols below
*/

///////////TEST HELI SPAWNS//////////////

[[2743.1543, 9997.0],    //Position to patrol Novy Sobor
[0,0,0],              // Postition to spawn chopper at
3000,     //Radius of patrol
15,                     //Number of waypoints to give
"UH1H_DZ",          //Classname of vehicle (make sure it has driver and two gunners)
1      //Skill level of units
] spawn heli_patrol;

[[12877.6, 8081.0],    //Position to patrol Berezeno3
[0,0,0],              // Postition to spawn chopper at
3000,     //Radius of patrol
15,                     //Number of waypoints to give
"UH1H_DZ",          //Classname of vehicle (make sure it has driver and two gunners)
1      //Skill level of units
] spawn heli_patrol;

[[6566.5137, 2412.0],    //Position to patrol Elektro1
[0,0,0],              // Postition to spawn chopper at
3000,     //Radius of patrol
15,                     //Number of waypoints to give
"UH1H_DZ",          //Classname of vehicle (make sure it has driver and two gunners)
1      //Skill level of units
] spawn heli_patrol;

[[953.237,4486.48,0],    //Position to patrol Balota AF
[0,0,0],              // Postition to spawn chopper at
3000,     //Radius of patrol
15,                     //Number of waypoints to give
"UH1H_DZ",          //Classname of vehicle (make sure it has driver and two gunners)
1      //Skill level of units
] spawn heli_patrol;

[[4147.1416, 10313.281,0],    //NWAF14
[0,0,0],              // Postition to spawn chopper at
3000,     //Radius of patrol
15,                     //Number of waypoints to give
"UH1H_DZ",          //Classname of vehicle (make sure it has driver and two gunners)
1      //Skill level of units
] spawn heli_patrol;

[[6490.1133, 2778.8921,0],    //Cherno4
[0,0,0],              // Postition to spawn chopper at
3000,     //Radius of patrol
15,                     //Number of waypoints to give
"UH1H_DZ",          //Classname of vehicle (make sure it has driver and two gunners)
1      //Skill level of units
] spawn heli_patrol;


//////////TEST HELI SPAWNS END/////////////



/*
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)
1                        //Skill level of units
] spawn vehicle_patrol;

Place your vehicle patrols below this line
*/





/*
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
1,                                 //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
"Random",                          //Primary gun set number. "Random" for random weapon set.
4,                                 //Number of magazines
"",                                //Backpack "" for random or classname here.
"Bandit2_DZ",                      //Skin "" for random or classname here.
"Random",                          //Gearset number. "Random" for random gear set.
True                               //True: Heli will stay at position and fight. False: Heli will leave if not under fire.
] spawn heli_para;

Place your paradrop spawns under this line
*/

//////////////TEST PARADROPS SPAWNS/////////////////
[[3563.458,4825.205,0],  //Zel
[0,0,0],                           //Starting position of the heli
600,                               //Radius from drop position a player has to be to spawn chopper
"UH1H_DZ",                         //Classname of chopper (Make sure it has 2 gunner seats!)
8,                                 //Number of units to be para dropped
1,                                 //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
"Random",                          //Primary gun set number. "Random" for random weapon set.
4,                                 //Number of magazines
"",                                //Backpack "" for random or classname here.
"Bandit2_DZ",                      //Skin "" for random or classname here.
"Random",                          //Gearset number. "Random" for random gear set.
False                               //True: Heli will stay at position and fight. False: Heli will leave if not under fire.
] spawn heli_para;

[[7713.484,5195.198,0],  //Mog
[0,0,0],                           //Starting position of the heli
600,                               //Radius from drop position a player has to be to spawn chopper
"UH1H_DZ",                         //Classname of chopper (Make sure it has 2 gunner seats!)
8,                                 //Number of units to be para dropped
1,                                 //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
"Random",                          //Primary gun set number. "Random" for random weapon set.
4,                                 //Number of magazines
"",                                //Backpack "" for random or classname here.
"Bandit2_DZ",                      //Skin "" for random or classname here.
"Random",                          //Gearset number. "Random" for random gear set.
True                               //True: Heli will stay at position and fight. False: Heli will leave if not under fire.
] spawn heli_para;

[[10255.1,8870.6,0],  //Gorka
[0,0,0],                           //Starting position of the heli
600,                               //Radius from drop position a player has to be to spawn chopper
"UH1H_DZ",                         //Classname of chopper (Make sure it has 2 gunner seats!)
8,                                 //Number of units to be para dropped
1,                                 //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
"Random",                          //Primary gun set number. "Random" for random weapon set.
4,                                 //Number of magazines
"",                                //Backpack "" for random or classname here.
"Bandit2_DZ",                      //Skin "" for random or classname here.
"Random",                          //Gearset number. "Random" for random gear set.
False                               //True: Heli will stay at position and fight. False: Heli will leave if not under fire.
] spawn heli_para;

[[4422.165,10302.33,0],  //NAF
[0,0,0],                           //Starting position of the heli
600,                               //Radius from drop position a player has to be to spawn chopper
"UH1H_DZ",                         //Classname of chopper (Make sure it has 2 gunner seats!)
8,                                 //Number of units to be para dropped
1,                                 //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
"Random",                          //Primary gun set number. "Random" for random weapon set.
4,                                 //Number of magazines
"",                                //Backpack "" for random or classname here.
"Bandit2_DZ",                      //Skin "" for random or classname here.
"Random",                          //Gearset number. "Random" for random gear set.
True                               //True: Heli will stay at position and fight. False: Heli will leave if not under fire.
] spawn heli_para;

///////TEST PARA DROPS END////////////////

Link to comment
Share on other sites

No, this is the wrong file. Post your Spawngroups file. This is CustomSpawns.

 

Remember, the error messages are very literal. If you are pointed towards a file and line you need to start *at that file and line* then work out from there. Be careful where you look as I think you are currently confused about where you should be.

Link to comment
Share on other sites

Who can read has an advantage.... :wacko:

I used SARGE AI for 6 months and just changed to WAI, so I still figuring things out.

I made a mistake and used the files from V0.16, after next server restart I will see if the issues still occur.

(Maybe the 0.17 file has fixed this already causing these errors?)

 

For now I got the posted issues no more therefore this one:

19:40:47 Error in expression <_ret = _this select _ret;           
};
_ret
>
19:40:47   Error position: <_ret
>
19:40:47   Error Undefined variable in expression: _ret
19:40:47 File z\addons\dayz_code\compile\BIS_fnc\fn_selectRandom.sqf, line 23
19:40:47 Error in expression <fnc_selectRandom;};
};
_gearmagazines = _aigear select 0;
_geartools = _aigear s>
19:40:47   Error position: <_aigear select 0;
_geartools = _aigear s>
19:40:47   Error Undefined variable in expression: _aigear
19:40:47 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 46
19:40:47 Error in expression <_aipack;
{_unit addMagazine _x} forEach _gearmagazines;
{_unit addweapon _x} for>
19:40:47   Error position: <_gearmagazines;
{_unit addweapon _x} for>
19:40:47   Error Undefined variable in expression: _gearmagazines

 

However here's the V0.16 spawngroup.sqf content:

private ["_mission","_aipack","_aicskill","_position","_unitnumber","_skill","_gun","_mags","_backpack","_skin","_gear","_aiweapon","_aigear","_aiskin","_skillarray","_unitGroup","_weapon","_magazine","_weaponandmag","_gearmagazines","_geartools","_unit"];
_position = _this select 0;
_unitnumber = _this select 1;
_skill = _this select 2;
_gun = _this select 3;
_mags = _this select 4;
_backpack = _this select 5;
_skin = _this select 6;
_gear = _this select 7;
if (count _this > 8) then {
    _mission = _this select 8;
} else {
    _mission = False;
};

_aiweapon = [];
_aigear = [];
_aiskin = "";
_aicskill = [];
_aipack = "";
_skillarray = ["aimingAccuracy","aimingShake","aimingSpeed","endurance","spotDistance","spotTime","courage","reloadSpeed","commanding","general"];
_unitGroup = createGroup east;

if (!isServer) exitWith {};

for "_x" from 1 to _unitnumber do {
    switch (_gun) do {
        case 0 : {_aiweapon = ai_wep0;};
        case 1 : {_aiweapon = ai_wep1;};
        case 2 : {_aiweapon = ai_wep2;};
        case 3 : {_aiweapon = ai_wep3;};
        case 4 : {_aiweapon = ai_wep4;};
        case "Random" : {_aiweapon = ai_wep_random call BIS_fnc_selectRandom;};
    };
    _weaponandmag = _aiweapon call BIS_fnc_selectRandom;
    _weapon = _weaponandmag select 0;
    _magazine = _weaponandmag select 1;
        switch (_gear) do {
        case 0 : {_aigear = ai_gear0;};
        case 1 : {_aigear = ai_gear1;};
        case 2 : {_aigear = ai_gear2;};
        case 3 : {_aigear = ai_gear3;};
        case 4 : {_aigear = ai_gear4;};
        case "Random" : {_aigear = ai_gear_random call BIS_fnc_selectRandom;};
    };
    _gearmagazines = _aigear select 0;
    _geartools = _aigear select 1;
    if (_skin == "") then {
        _aiskin = ai_skin call BIS_fnc_selectRandom;
    } else {
        _aiskin = _skin
    };
    _unit = _unitGroup createUnit [_aiskin, [(_position select 0),(_position select 1),(_position select 2)], [], 10, "PRIVATE"];
    [_unit] joinSilent _unitGroup;
    if (_backpack == "") then {
        _aipack = ai_packs call BIS_fnc_selectRandom;
    } else {
        _aipack = _backpack
    };
    _unit enableAI "TARGET";
    _unit enableAI "AUTOTARGET";
    _unit enableAI "MOVE";
    _unit enableAI "ANIM";
    _unit enableAI "FSM";
    _unit setCombatMode ai_combatmode;
    _unit setBehaviour ai_behaviour;
    removeAllWeapons _unit;
    removeAllItems _unit;
    _unit addweapon _weapon;
    for "_i" from 1 to _mags do {_unit addMagazine _magazine;};
    _unit addBackpack _aipack;
    {_unit addMagazine _x} forEach _gearmagazines;
    {_unit addweapon _x} forEach _geartools;
    if (ai_custom_skills) then {
        switch (_skill) do {
        case 0 : {_aicskill = ai_custom_array1;};
        case 1 : {_aicskill = ai_custom_array2;};
        case 2 : {_aicskill= ai_custom_array3;};
        case "Random" : {_aicskill = ai_skill_random call BIS_fnc_selectRandom;};
    };
        {_unit setSkill [(_x select 0),(_x select 1)]} forEach _aicskill;
    } else {
        {_unit setSkill [_x,_skill]} forEach _skillarray;
    };
    ai_ground_units = (ai_ground_units + 1);
    _unit addEventHandler ["Killed",{[_this select 0, _this select 1, "ground"] call on_kill;}];
    if (_mission) then {
        _unit setVariable ["missionclean", "ground"];
    };
};
_unitGroup selectLeader ((units _unitGroup) select 0);
[_unitGroup, _position, _mission] call group_waypoints;

diag_log format ["WAI: Spawned a group of %1 Bandits at %2",_unitnumber,_position];

Link to comment
Share on other sites

This error here:

19:40:47 File z\addons\dayz_code\compile\BIS_fnc\fn_selectRandom.sqf, line 23

is causing the error in your WAI when it attempts to return a random value. Since it's returning a blank value (not a zero, this means it returns a null value or absence of value) this causes an error in WAI trying to plug the value in. That's why you see this sort of error:

19:40:47   Error Undefined variable in expression: _aigear

When the code gets to the "Random" it can't return a usable value.

 

tl/dr: the problem isn't in WAI. You have core files broken that you've added into your compile folder.

Link to comment
Share on other sites

I've got one problem with the hero/bandit traders and the choppers. 

 

My players can get the chopper at the mission, but once they try to sell it, it somehow doens't recognize it as a helicopter. 

 

armed_chopper = [
"CH_47F_EP1_DZE",
"Mi17_DZE",
"UH1H_DZE",
"UH1Y_DZE",
"UH60M_EP1_DZE"
];
Link to comment
Share on other sites

When you have the correct classnames in your traders_data it must work.

Perhaps they landed the chopper not close enough to your trader?

Maybe you raise the selling distance in your init.sqf a bit?

Referring to this:

dayz_sellDistance_vehicle = 20;
dayz_sellDistance_boat = 30;
dayz_sellDistance_air = 40;

Link to comment
Share on other sites

Actually I'm busy on cofiguring the WAI files.

Question: I added some more ai_gear to the Aiconfig.sqf

Do I have to add ai_gear5 etc. to this section in the SpawnGroup.sqf and also in the SpawnStatic.sqf?

 

_weaponandmag = _aiweapon call BIS_fnc_selectRandom;
            _weapon = _weaponandmag select 0;
            _magazine = _weaponandmag select 1;
                    switch (_gear) do {
                    case 0 : {_aigear = ai_gear0;};
                    case 1 : {_aigear = ai_gear1;};
                    case 2 : {_aigear = ai_gear2;};
                    case 3 : {_aigear = ai_gear3;};
                    case 4 : {_aigear = ai_gear4;};

                    case 5 : {_aigear = ai_gear5;};    //LIKE THIS?
                    case "Random" : {_aigear = ai_gear_random call BIS_fnc_selectRandom;};

Link to comment
Share on other sites

Hi guys i need some help im running sauerland map on survival servers

now when ever i go to put in WAI into the server pbo all i get is waiting for authentication and the time going up and up you guys got any ideas why this might be happening?

 

WAI folder is in the server with  " [] ExecVM "\z\addons\dayz_server\WAI\init.sqf"; " in the place specified by the install instructions if i remove WAI server will word fine no other addons are added

 

 

private ["_nul","_result","_pos","_wsDone","_dir","_isOK","_countr","_objWpnTypes","_objWpnQty","_dam","_selection","_totalvehicles","_object","_idKey","_type","_ownerID","_worldspace","_intentory","_hitPoints","_fuel","_damage","_key","_vehLimit","_hiveResponse","_objectCount","_codeCount","_data","_status","_val","_traderid","_retrader","_traderData","_id","_lockable","_debugMarkerPosition","_vehicle_0","_bQty","_vQty","_BuildingQueue","_objectQueue","_superkey","_shutdown","_res","_hiveLoaded"];

dayz_versionNo =         getText(configFile >> "CfgMods" >> "DayZ" >> "version");
dayz_hiveVersionNo =     getNumber(configFile >> "CfgMods" >> "DayZ" >> "hiveVersion");

_hiveLoaded = false;

waitUntil{initialized}; //means all the functions are now defined

diag_log "HIVE: Starting";

waituntil{isNil "sm_done"}; // prevent server_monitor be called twice (bug during login of the first player)

if (isNil "server_initCount") then {
    server_initCount = 1;
} else {
    server_initCount = server_initCount + 1;
};
diag_log format["server_monitor.sqf execution count = %1", server_initCount];
    
// Custom Configs
if(isnil "MaxVehicleLimit") then {
    MaxVehicleLimit = 50;
};

if(isnil "MaxDynamicDebris") then {
    MaxDynamicDebris = 100;
};
if(isnil "MaxAmmoBoxes") then {
    MaxAmmoBoxes = 3;
};
if(isnil "MaxMineVeins") then {
    MaxMineVeins = 50;
};
// Custon Configs End

if (isServer and isNil "sm_done") then {

    serverVehicleCounter = [];
    _hiveResponse = [];

    for "_i" from 1 to 5 do {
        diag_log "HIVE: trying to get objects";
        _key = format["CHILD:302:%1:", dayZ_instance];
        _hiveResponse = _key call server_hiveReadWrite;  
        if ((((isnil "_hiveResponse") || {(typeName _hiveResponse != "ARRAY")}) || {((typeName (_hiveResponse select 1)) != "SCALAR")})) then {
            if ((_hiveResponse select 1) == "Instance already initialized") then {
                _superkey = profileNamespace getVariable "SUPERKEY";
                _shutdown = format["CHILD:400:%1:", _superkey];
                _res = _shutdown call server_hiveReadWrite;
                diag_log ("HIVE: attempt to kill.. HiveExt response:"+str(_res));
            } else {
                diag_log ("HIVE: connection problem... HiveExt response:"+str(_hiveResponse));
            
            };
            _hiveResponse = ["",0];
        }
        else {
            diag_log ("HIVE: found "+str(_hiveResponse select 1)+" objects" );
            _i = 99; // break
        };
    };
    
    _BuildingQueue = [];
    _objectQueue = [];
    
    if ((_hiveResponse select 0) == "ObjectStreamStart") then {
    
        // save superkey
        profileNamespace setVariable ["SUPERKEY",(_hiveResponse select 2)];
        saveProfileNamespace;
        
        _hiveLoaded = true;
    
        diag_log ("HIVE: Commence Object Streaming...");
        _key = format["CHILD:302:%1:", dayZ_instance];
        _objectCount = _hiveResponse select 1;
        _bQty = 0;
        _vQty = 0;
        for "_i" from 1 to _objectCount do {
            _hiveResponse = _key call server_hiveReadWriteLarge;
            //diag_log (format["HIVE dbg %1 %2", typeName _hiveResponse, _hiveResponse]);
            if ((_hiveResponse select 2) isKindOf "ModularItems") then {
                _BuildingQueue set [_bQty,_hiveResponse];
                _bQty = _bQty + 1;
            } else {
                _objectQueue set [_vQty,_hiveResponse];
                _vQty = _vQty + 1;
            };
        };
        diag_log ("HIVE: got " + str(_bQty) + " Epoch Objects and " + str(_vQty) + " Vehicles");
    };
    
    // # NOW SPAWN OBJECTS #
    _totalvehicles = 0;
    {
        _idKey =         _x select 1;
        _type =            _x select 2;
        _ownerID =         _x select 3;

        _worldspace =     _x select 4;
        _intentory =    _x select 5;
        _hitPoints =    _x select 6;
        _fuel =            _x select 7;
        _damage =         _x select 8;
        
        _dir = 0;
        _pos = [0,0,0];
        _wsDone = false;
        if (count _worldspace >= 2) then
        {
            _dir = _worldspace select 0;
            if (count (_worldspace select 1) == 3) then {
                _pos = _worldspace select 1;
                _wsDone = true;
            }
        };            
        
        if (!_wsDone) then {
            if (count _worldspace >= 1) then { _dir = _worldspace select 0; };
            _pos = [getMarkerPos "center",0,4000,10,0,2000,0] call BIS_fnc_findSafePos;
            if (count _pos < 3) then { _pos = [_pos select 0,_pos select 1,0]; };
            diag_log ("MOVED OBJ: " + str(_idKey) + " of class " + _type + " to pos: " + str(_pos));
        };
        

        if (_damage < 1) then {
            //diag_log format["OBJ: %1 - %2", _idKey,_type];
            
            //Create it
            _object = createVehicle [_type, _pos, [], 0, "CAN_COLLIDE"];
            _object setVariable ["lastUpdate",time];
            _object setVariable ["ObjectID", _idKey, true];

            _lockable = 0;
            if(isNumber (configFile >> "CfgVehicles" >> _type >> "lockable")) then {
                _lockable = getNumber(configFile >> "CfgVehicles" >> _type >> "lockable");
            };

            // fix for leading zero issues on safe codes after restart
            if (_lockable == 4) then {
                _codeCount = (count (toArray _ownerID));
                if(_codeCount == 3) then {
                    _ownerID = format["0%1", _ownerID];
                };
                if(_codeCount == 2) then {
                    _ownerID = format["00%1", _ownerID];
                };
                if(_codeCount == 1) then {
                    _ownerID = format["000%1", _ownerID];
                };
            };

            if (_lockable == 3) then {
                _codeCount = (count (toArray _ownerID));
                if(_codeCount == 2) then {
                    _ownerID = format["0%1", _ownerID];
                };
                if(_codeCount == 1) then {
                    _ownerID = format["00%1", _ownerID];
                };
            };

            _object setVariable ["CharacterID", _ownerID, true];
            
            clearWeaponCargoGlobal  _object;
            clearMagazineCargoGlobal  _object;
            // _object setVehicleAmmo DZE_vehicleAmmo;
            
            _object setdir _dir;
            _object setposATL _pos;
            _object setDamage _damage;
            
            if ((typeOf _object) in dayz_allowedObjects) then {
                if (DZE_GodModeBase) then {
                    _object addEventHandler ["HandleDamage", {false}];
                } else {
                    _object addMPEventHandler ["MPKilled",{_this call object_handleServerKilled;}];
                };
                // Test disabling simulation server side on buildables only.
                _object enableSimulation false;
                // used for inplace upgrades and lock/unlock of safe
                _object setVariable ["OEMPos", _pos, true];
                
            };

            if (count _intentory > 0) then {
                if (_type in DZE_LockedStorage) then {
                    // Fill variables with loot
                    _object setVariable ["WeaponCargo", (_intentory select 0)];
                    _object setVariable ["MagazineCargo", (_intentory select 1)];
                    _object setVariable ["BackpackCargo", (_intentory select 2)];
                } else {

                    //Add weapons
                    _objWpnTypes = (_intentory select 0) select 0;
                    _objWpnQty = (_intentory select 0) select 1;
                    _countr = 0;                    
                    {
                        if(_x in (DZE_REPLACE_WEAPONS select 0)) then {
                            _x = (DZE_REPLACE_WEAPONS select 1) select ((DZE_REPLACE_WEAPONS select 0) find _x);
                        };
                        _isOK =     isClass(configFile >> "CfgWeapons" >> _x);
                        if (_isOK) then {
                            _object addWeaponCargoGlobal [_x,(_objWpnQty select _countr)];
                        };
                        _countr = _countr + 1;
                    } forEach _objWpnTypes;
                
                    //Add Magazines
                    _objWpnTypes = (_intentory select 1) select 0;
                    _objWpnQty = (_intentory select 1) select 1;
                    _countr = 0;
                    {
                        if (_x == "BoltSteel") then { _x = "WoodenArrow" }; // Convert BoltSteel to WoodenArrow
                        if (_x == "ItemTent") then { _x = "ItemTentOld" };
                        _isOK =     isClass(configFile >> "CfgMagazines" >> _x);
                        if (_isOK) then {
                            _object addMagazineCargoGlobal [_x,(_objWpnQty select _countr)];
                        };
                        _countr = _countr + 1;
                    } forEach _objWpnTypes;

                    //Add Backpacks
                    _objWpnTypes = (_intentory select 2) select 0;
                    _objWpnQty = (_intentory select 2) select 1;
                    _countr = 0;
                    {
                        _isOK =     isClass(configFile >> "CfgVehicles" >> _x);
                        if (_isOK) then {
                            _object addBackpackCargoGlobal [_x,(_objWpnQty select _countr)];
                        };
                        _countr = _countr + 1;
                    } forEach _objWpnTypes;
                };
            };    
            
            if (_object isKindOf "AllVehicles") then {
                {
                    _selection = _x select 0;
                    _dam = _x select 1;
                    if (_selection in dayZ_explosiveParts and _dam > 0.8) then {_dam = 0.8};
                    [_object,_selection,_dam] call object_setFixServer;
                } forEach _hitpoints;

                _object setFuel _fuel;

                if (!((typeOf _object) in dayz_allowedObjects)) then {
                    
                    //_object setvelocity [0,0,1];
                    _object call fnc_veh_ResetEH;        
                    
                    if(_ownerID != "0" and !(_object isKindOf "Bicycle")) then {
                        _object setvehiclelock "locked";
                    };
                    
                    _totalvehicles = _totalvehicles + 1;

                    // total each vehicle
                    serverVehicleCounter set [count serverVehicleCounter,_type];
                };
            };

            //Monitor the object
            PVDZE_serverObjectMonitor set [count PVDZE_serverObjectMonitor,_object];
        };
    } forEach (_BuildingQueue + _objectQueue);
    // # END SPAWN OBJECTS #


    // preload server traders menu data into cache
    if !(DZE_ConfigTrader) then {
        {
            // get tids
            _traderData = call compile format["menu_%1;",_x];
            if(!isNil "_traderData") then {
                {
                    _traderid = _x select 1;

                    _retrader = [];

                    _key = format["CHILD:399:%1:",_traderid];
                    _data = "HiveEXT" callExtension _key;

                    //diag_log "HIVE: Request sent";
            
                    //Process result
                    _result = call compile format ["%1",_data];
                    _status = _result select 0;
            
                    if (_status == "ObjectStreamStart") then {
                        _val = _result select 1;
                        //Stream Objects
                        //diag_log ("HIVE: Commence Menu Streaming...");
                        call compile format["ServerTcache_%1 = [];",_traderid];
                        for "_i" from 1 to _val do {
                            _data = "HiveEXT" callExtension _key;
                            _result = call compile format ["%1",_data];
                            call compile format["ServerTcache_%1 set [count ServerTcache_%1,%2]",_traderid,_result];
                            _retrader set [count _retrader,_result];
                        };
                        //diag_log ("HIVE: Streamed " + str(_val) + " objects");
                    };

                } forEach (_traderData select 0);
            };
        } forEach serverTraders;
    };

    if (_hiveLoaded) then {
        //  spawn_vehicles
        _vehLimit = MaxVehicleLimit - _totalvehicles;
        if(_vehLimit > 0) then {
            diag_log ("HIVE: Spawning # of Vehicles: " + str(_vehLimit));
            for "_x" from 1 to _vehLimit do {
                [] spawn spawn_vehicles;
            };
        } else {
            diag_log "HIVE: Vehicle Spawn limit reached!";
        };


    };
    
    //  spawn_roadblocks
    diag_log ("HIVE: Spawning # of Debris: " + str(MaxDynamicDebris));
    for "_x" from 1 to MaxDynamicDebris do {
        [] spawn spawn_roadblocks;
    };
    //  spawn_ammosupply at server start 1% of roadblocks
    diag_log ("HIVE: Spawning # of Ammo Boxes: " + str(MaxAmmoBoxes));
    for "_x" from 1 to MaxAmmoBoxes do {
        [] spawn spawn_ammosupply;
    };
    // call spawning mining veins
    diag_log ("HIVE: Spawning # of Veins: " + str(MaxMineVeins));
    for "_x" from 1 to MaxMineVeins do {
        [] spawn spawn_mineveins;
    };

    if(isnil "dayz_MapArea") then {
        dayz_MapArea = 10000;
    };
    if(isnil "HeliCrashArea") then {
        HeliCrashArea = dayz_MapArea / 2;
    };
    if(isnil "OldHeliCrash") then {
        OldHeliCrash = false;
    };

   

    // [_guaranteedLoot, _randomizedLoot, _frequency, _variance, _spawnChance, _spawnMarker, _spawnRadius, _spawnFire, _fadeFire]
    if(OldHeliCrash) then {
        _nul = [3, 4, (50 * 60), (15 * 60), 0.75, 'center', HeliCrashArea, true, false] spawn server_spawnCrashSite;
    };

    if (isDedicated) then {
        // Epoch Events
        _id = [] spawn server_spawnEvents;
        // server cleanup
        [] spawn {
            private ["_id"];
            sleep 200; //Sleep Lootcleanup, don't need directly cleanup on startup + fix some performance issues on serverstart
            waitUntil {!isNil "server_spawnCleanAnimals"};
            _id = [] execFSM "\z\addons\dayz_server\system\server_cleanup.fsm";
        };

        // spawn debug box
        _debugMarkerPosition = getMarkerPos "respawn_west";
        _debugMarkerPosition = [(_debugMarkerPosition select 0),(_debugMarkerPosition select 1),1];
        _vehicle_0 = createVehicle ["DebugBox_DZ", _debugMarkerPosition, [], 0, "CAN_COLLIDE"];
        _vehicle_0 setPos _debugMarkerPosition;
        _vehicle_0 setVariable ["ObjectID","1",true];

        // max number of spawn markers
        if(isnil "spawnMarkerCount") then {
            spawnMarkerCount = 10;
        };

        actualSpawnMarkerCount = 0;

        // count valid spawn marker positions
        for "_i" from 0 to spawnMarkerCount do {
            if (!([(getMarkerPos format["spawn%1", _i]), [0,0,0]] call BIS_fnc_areEqual)) then {
                actualSpawnMarkerCount = actualSpawnMarkerCount + 1;
            } else {
                // exit since we did not find any further markers
                _i = spawnMarkerCount + 99;
            };
            
        };
        diag_log format["Total Number of spawn locations %1", actualSpawnMarkerCount];
        
        endLoadingScreen;
    };
[] ExecVM "\z\addons\dayz_server\WAI\init.sqf";
    allowConnection = true;    
    sm_done = true;
    publicVariable "sm_done";
};
 

 

Link to comment
Share on other sites

  • 2 weeks later...

Is there anyway to spawn in AI Snipers that would have a long spotting range and would mock people as they're passing by. I would also like to make them camp - like laying in the grass waiting for it's victim. Looking forward to seeing a guide if it is possible. Thank you!

Link to comment
Share on other sites

Hi Can you help me set up one mission on the military island on NAPF server, I don't  even know how worldspace works or how to get it for specific location,

 

I need help with the following please:

 

1. I already have WAI working on my server; what i want is to create one single giant mission on the Island (military island north - Napf map)

2. I want it to spawn one per server restart. even better if I can have an option to make this event only happen once a server restart during night only (so use the time function)

3. I want to be able to select what gear the AI have and crates contain.

4. I want alot of AI , chopper called when player enters, want it to be heavy battle.

 

Please contact me if you can help? would very much appreciate it. 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
×
×
  • Create New...