Is this a problem? here is my rpt.log

Peipo118

Member
8:48:33 "SAR_AI: Area & Trigger definition Started"
8:48:33 "Setting up SAR_AI for : chernarus"
8:48:34 "SAR_AI: Area & Trigger definition finalized"
8:48:34 "SAR_AI: Static Spawning for Helicopter patrols started"
8:48:34 Warning: z\addons\dayz_communityassets\models\compass.p3d:0 Error while trying to generate ST for points: 863, 853, 852
8:48:36 "SAR_AI: Static Spawning for Helicopter patrols finished"
8:48:36 Error in expression <ndom, [(_rndpos select 0) - 30, _rndpos select 1, 0], [], 0.5, "FORM"];

[_this,>
8:48:36 Error position: <select 1, 0], [], 0.5, "FORM"];

[_this,>
8:48:36 Error Zero divisor
8:48:36 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 142
8:48:36 Error in expression <ndom, [(_rndpos select 0) - 30, _rndpos select 1, 0], [], 0.5, "FORM"];

[_this,>
8:48:36 Error position: <select 1, 0], [], 0.5, "FORM"];

[_this,>
8:48:36 Error Zero divisor
8:48:36 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 142
8:48:36 Error in expression <ndom, [(_rndpos select 0) - 30, _rndpos select 1, 0], [], 0.5, "FORM"];

[_this,>
8:48:36 Error position: <select 1, 0], [], 0.5, "FORM"];

[_this,>
8:48:36 Error Zero divisor
8:48:36 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 142
8:48:36 Error in expression <roup, [(_rndpos select 0) + 10, _rndpos select 1, 0], [], 0.5, "FORM"];

[_leade>
8:48:36 Error position: <select 1, 0], [], 0.5, "FORM"];

[_leade>
8:48:36 Error Zero divisor
8:48:36 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 104
8:48:36 Error in expression <ndom, [(_rndpos select 0) - 30, _rndpos select 1, 0], [], 0.5, "FORM"];

[_this,>
8:48:36 Error position: <select 1, 0], [], 0.5, "FORM"];

[_this,>
8:48:36 Error Zero divisor
8:48:36 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 142
8:48:36 Error in expression <ndom, [(_rndpos select 0) - 30, _rndpos select 1, 0], [], 0.5, "FORM"];

[_this,>
8:48:36 Error position: <select 1, 0], [], 0.5, "FORM"];

[_this,>
8:48:36 Error Zero divisor
8:48:36 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 142
8:48:36 Error in expression <ndom, [(_rndpos select 0) + 30, _rndpos select 1, 0], [], 0.5, "FORM"];

[_this,>
8:48:36 Error position: <select 1, 0], [], 0.5, "FORM"];

[_this,>
8:48:36 Error Zero divisor
8:48:36 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 159
8:48:36 Error in expression <ndom, [(_rndpos select 0) + 30, _rndpos select 1, 0], [], 0.5, "FORM"];

[_this,>
8:48:36 Error position: <select 1, 0], [], 0.5, "FORM"];

[_this,>
8:48:36 Error Zero divisor
8:48:36 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 159
8:48:36 Error in expression <ndom, [(_rndpos select 0) + 30, _rndpos select 1, 0], [], 0.5, "FORM"];

[_this,>
8:48:36 Error position: <select 1, 0], [], 0.5, "FORM"];

[_this,>
8:48:36 Error Zero divisor
8:48:36 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 159
8:48:36 Error in expression <ndom, [(_rndpos select 0) + 30, _rndpos select 1, 0], [], 0.5, "FORM"];

[_this,>
8:48:36 Error position: <select 1, 0], [], 0.5, "FORM"];

[_this,>
8:48:36 Error Zero divisor
8:48:36 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 159
8:48:36 Error in expression <ndom, [(_rndpos select 0) + 30, _rndpos select 1, 0], [], 0.5, "FORM"];

[_this,>
8:48:36 Error position: <select 1, 0], [], 0.5, "FORM"];

[_this,>
8:48:36 Error Zero divisor
8:48:36 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 159
8:48:36 Error in expression <ndom, [(_rndpos select 0) + 30, _rndpos select 1, 0], [], 0.5, "FORM"];

[_this,>
8:48:36 Error position: <select 1, 0], [], 0.5, "FORM"];

[_this,>
8:48:36 Error Zero divisor
8:48:36 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 159
8:48:36 Error in expression <ndom, [(_rndpos select 0) + 30, _rndpos select 1, 0], [], 0.5, "FORM"];

[_this,>
8:48:36 Error position: <select 1, 0], [], 0.5, "FORM"];

[_this,>
8:48:36 Error Zero divisor
8:48:36 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 159
8:48:36 Error in expression <ndom, [(_rndpos select 0) + 30, _rndpos select 1, 0], [], 0.5, "FORM"];

[_this,>
8:48:36 Error position: <select 1, 0], [], 0.5, "FORM"];

[_this,>
8:48:36 Error Zero divisor
8:48:36 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 159
8:48:36 Error in expression <ndom, [(_rndpos select 0) + 30, _rndpos select 1, 0], [], 0.5, "FORM"];

[_this,>
8:48:36 Error position: <select 1, 0], [], 0.5, "FORM"];

[_this,>
8:48:36 Error Zero divisor
8:48:36 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 159
8:48:36 Error in expression <ndom, [(_rndpos select 0) + 30, _rndpos select 1, 0], [], 0.5, "FORM"];

[_this,>
8:48:36 Error position: <select 1, 0], [], 0.5, "FORM"];

[_this,>
8:48:36 Error Zero divisor
8:48:36 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 159
8:48:37 "SAR_AI: Static Spawning for infantry and heli patrols finished"
8:48:37 "DEBUG FPS : 7.83929"
 
yepp thats a problem. recheck your config file, most likely there is sth wrong with your static ai setup.

Sarge
 
Could you tell me if this code is correct then? Thank you for your quick answer that script is amazing! ;)

// Military fortification Stary sobor
_this = createMarker ["SAR_marker_militarycamp", [6477.5576, 7417.252]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [200, 200];
_this setMarkerDir 120.050;
SAR_marker_militarycamp = _this;

// Survivor city
_this = createMarker ["SAR_marker_survivorcity",[10665.235, 8017] ];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [200, 200];
_this setMarkerDir 120.050;
SAR_marker_survivorcity = _this;

// Bandits
_this = createMarker ["SAR_marker_bandits",[3127.8435, 7956.0977] ];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [200, 200];
_this setMarkerDir 120.050;
SAR_marker_bandits = _this;

//test soldiers
_this = createMarker ["SAR_marker_test",[7424.97,13442.1] ];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [200, 200];
_this setMarkerDir 120.050;
SAR_marker_test = _this;


// ----------------------------------------------------------------------------------------
// End of area marker definition section
// ----------------------------------------------------------------------------------------

diag_log format["SAR_AI: Area & Trigger definition finalized"];
diag_log format["SAR_AI: Static Spawning for Helicopter patrols started"];

//
// Static, predefined heli patrol areas with configurable units
//
// Parameters used:
// Areaname
// 1,2,3 = soldier, survivors, bandits
//
// respawn
// true or false

//Heli Patrol NWAF
[SAR_marker_helipatrol_nwaf,1,false] call SAR_AI_heli;



diag_log format["SAR_AI: Static Spawning for Helicopter patrols finished"];

//---------------------------------------------------------------------------------
// Static, predefined infantry patrols in defined areas with configurable units
//---------------------------------------------------------------------------------
// Example: [SAR_marker_DEBUG,1,0,1,"",true] call SAR_AI;
//
// SAR_marker_DEBUG = areaname (must have been defined further up, and MUST NOT BE similar to SAR_area_ ! THIS IS IMPORTANT!
// 1 = type of group (1 = soldiers, 2 = survivors, 3 = bandits)
// 0 = amount of snipers in the group
// 1 = amount of rifleman in the group
// "" = action, possible values: "noupsmon","fortify","ambush","patrol"
// true = respawning group, true or false

// Example entries:
// SARGE DEBUG - Debug group
// military, 0 snipers, 1 riflemen, patrol
//[SAR_marker_DEBUG,1,0,1,"fortify",true] call SAR_AI;

//[SAR_marker_DEBUG1,1,0,2,"patrol",false] call SAR_AI;
//[SAR_marker_DEBUG1,2,0,2,"patrol",false] call SAR_AI;

//---------------------------------------------------------------------------------

// add here if needed

//Military camp
[SAR_marker_castle,1,5,10,"fortify",false] call SAR_AI;
//Survivorcity
[SAR_marker_survivorcity,2,0,20,"fortify",true] call SAR_AI;
//Bandits
[SAR_marker_bandits,3,0,15,"fortify",false] call SAR_AI;
//test
[SAR_marker_test,1,0,15,"fortify",false] call SAR_AI;
// ---- end of configuration area ----

diag_log format["SAR_AI: Static Spawning for infantry and heli patrols finished"];
 
I am so stupid thanks... Could this have had an effect on the other static spawns too? Because the test spawns i placed didnt work either so maybe all the static spawns were broken because of this mistake?
 
They are still not spawning in correctly but thx for your support your scripts are great and i am sure i will find a solution ;) here are some other errors i will try to fix because they seem to be ´grammar´ based . Your help stays much appreciated though :)
14:57:45 "UPSMON started"
14:57:45 Error in expression <er ["SAR_marker_test",[[7105.99,14586] ];
_this setMarkerShape "RECTANGLE";
_thi>
14:57:45 Error position: <;
_this setMarkerShape "RECTANGLE";
_thi>
14:57:45 Error Missing ]
14:57:45 File mpmissions\__cur_mp.chernarus\addons\SARGE\map_config\SAR_cfg_grps_chernarus.sqf, line 186
14:57:45 Error in expression <er ["SAR_marker_test",[[7105.99,14586] ];
_this setMarkerShape "RECTANGLE";
_thi>
14:57:45 Error position: <;
_this setMarkerShape "RECTANGLE";
_thi>
14:57:45 Error Missing ]
14:57:45 File mpmissions\__cur_mp.chernarus\addons\SARGE\map_config\SAR_cfg_grps_chernarus.sqf, line 186
 
Back
Top