How to Install Sarge ai. Help Please

klandry

New Member
Hello , Ive Followed Sarge Ai Script ,

And It Seem that arent working.

I tryed to reset server and .... Waiting On Host.

If you Have Installed It. Please I need the Way that you done it. Followed All Instruction and Nothings Happens and Server Crash On Reset .

I Already have My Little Salvations Spot In Chernarus Map , So i need To get that working and Not Crash Server Afther Adding them Into The Dayz_mission.pbo
 
i am having same sort of issue but when i log into my server after installing sarges AI i die randomly for no reason, just drop dead, it worked perfectly on my Utes server but terribly on my Cherarus
 
Okay,
You can download my chernarus mission file and follow these steps.
Download my NPCS mission file (Chernarus AI Framework).
1.- Download my mission file.
2.- Rename my mission file name to "Your server mission file name".
3.- Delete in FTP file manager your mission file and after upload the new mision file.
4.- Start the server and WAIT 1 OR 2 MINUTES to join to your server.
--------------------------------------------------------------------------------------------------------------------------
Or edit your own mission file.
Download SARGE AI Framework first: DOWNLOAD NOW.

1.- Unpack your pbo file with PBO MANAGER (Download PBO manager Right here).
Example: dayz_14960.chernarus.pbo.
1.5.- You have a new folder named "dayz_XXXXX.yourmapname" .
Example: dayz_14960.chernarus.
2.- Add inside the new folder, the entire addons folder of SAR_AI-master folder.
Example:
2w3nacz.jpg
3.- In the same folder, open init.sqf file and add this lines at the end of the code.
Code:
call compile preprocessFileLineNumbers "addons\UPSMON\scripts\Init_UPSMON.sqf";[/FONT][/FONT][/FONT]
 
[FONT=arial][FONT=arial][FONT=arial]call compile preprocessFileLineNumbers "addons\SHK_pos\shk_pos_init.sqf";[/FONT][/FONT][/FONT]
 
[FONT=arial][FONT=arial][FONT=arial][] execVM "addons\SARGE\SAR_AI_init.sqf";

4.- Now open description.ext file and add this line at the end of the code.
Code:
#include "addons\SARGE\SAR_define.hpp"

5,. When you saved the files with the new code, go to the step 6.

6.- Repack the main folder (dayz_XXXXX.yourmapname) using PBO MANAGER.

7.- You created a pbo file named "dayz_XXXXX.yourmapname.pbo", Make you sure you made a pbo file.

8.- Open PBO Manager program and open your mission file.

9.- Clic in the padlock icon on the top and after clic on apply.

10.- Delete in FTP file manager your mission file and after upload the new mision file.

11.- Start the server and WAIT 1 OR 2 MINUTES to join to your server.

13.- Thats all. :)

If you have questions or need help, please reply in this thread.
 
Remember.
The addons folder is inside the PBO mission file, not outside.
AND
If you don't follow the step 11, You going to have the "Waiting for Host" screen.

I hope I have helped. :D
 
nice one, thx mcer!

Just an addition: If you intend to use heli patrols, you will need to adjust your server_cleanup.fsm as explained in my readmes.

Sarge
 
Me and my buddy are still running with Dayz.st
Q: What is This ( Dayz_XXXX.chernarus.pbo )
A : The XXXX Value are The Bliss Number ?

Mines current Mission Is Saved as Dayz_chernarus.pbo , So if i do Understand . I need to add the Bliss ( XXXX) To get it work correctly?
Or The ( XXXX ) Value Are The Mission Updates **Backup** I do Understand all things explained but i just dont get this things ( Dayz_XXXX.chernarus.pbo)
 
I still having them working corretly In my server Already Got their Loot Edited and Things like that , All i Wanted to know it's how To Change Their Position , Like Alright you Add the sample right here With

// Helflengurg Catle fortification
_this = createMarker ["SAR_area_admin", [8153.08,21278.6,0]]; <------------ This WorldSpaceLocation.
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [200, 200];
_this setMarkerDir 120.050;
SAR_marker_castle = _this;

//Admin Base Protection
[SAR_marker_castle,1,4,10,"fortify",true] call SAR_AI;
I know that the First Value Is Bandit Surivor or Soldier , Then amount of sniper , rifleman.

Like this is 5 Sector In Neaf = First Series = North /south , Second Series = west East , third = Height
[12090.6,12694.7,0.001]]
[12191.4,12666.2,0.001]]
[12144.7,12696.0,0.001]]
[12314.8,12620.8,0.001]]
[12381.1,12621.5,0.001]]

So If i want to Change Their Location or add some more to the Airfield This Will be =

// Military Base Protection Neaf
_this = createMarker ["SAR_area_omg", [12090.6,12694.7,0.001]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [50, 100]; <---- Patrol Area Max willl mean 50m North South Then 100m East West
_this setMarkerDir 120.050; <---- Looking Degre Which i dont really matter
SAR_marker_omg = _this; <--- This , if i change Form Castle To *omg* Ill have to Put This Into The Definition line

//Military Base Protection Neaf
[SAR_marker_omg,1,5,25,"patrol",true] call SAR_AI; <--- will = Soldier , 5 sniper , 25 rifleman patrolling airfield

All i need to Know exactly . because the script is already installed It's What is The Dayz_xxxx <--- What it mean bliss id ?

And How do i get These to work , Where is my mistake exactly ? Does the Height Value need to be at 0.1? instead of 0.001 ?
 
Oh yes and sarge , There is no need to Set Fsm If they are already Stealing chopper , Me and my buddy meeted 2 group near kabanino and we tought their were all dead and we got sniped so bad and quickly They took off our Uh-1Y and Start chasing Poeple with missile xD We had to Grab Some As50 To Take it down lmao
 
Me and my buddy are still running with Dayz.st
Q: What is This ( Dayz_XXXX.chernarus.pbo )
A : The XXXX Value are The Bliss Number ?

Mines current Mission Is Saved as Dayz_chernarus.pbo , So if i do Understand . I need to add the Bliss ( XXXX) To get it work correctly?
Or The ( XXXX ) Value Are The Mission Updates **Backup** I do Understand all things explained but i just dont get this things ( Dayz_XXXX.chernarus.pbo)

Is the number of BLISS, but not necessarily required to put the number on your mission if the original file is not written.

Try not to edit the original name of your mission file.
 
I still having them working corretly In my server Already Got their Loot Edited and Things like that , All i Wanted to know it's how To Change Their Position , Like Alright you Add the sample right here With

// Helflengurg Catle fortification
_this = createMarker ["SAR_area_admin", [8153.08,21278.6,0]]; <------------ This WorldSpaceLocation.
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [200, 200];
_this setMarkerDir 120.050;
SAR_marker_castle = _this;

//Admin Base Protection
[SAR_marker_castle,1,4,10,"fortify",true] call SAR_AI;
I know that the First Value Is Bandit Surivor or Soldier , Then amount of sniper , rifleman.

Like this is 5 Sector In Neaf = First Series = North /south , Second Series = west East , third = Height
[12090.6,12694.7,0.001]]
[12191.4,12666.2,0.001]]
[12144.7,12696.0,0.001]]
[12314.8,12620.8,0.001]]
[12381.1,12621.5,0.001]]

So If i want to Change Their Location or add some more to the Airfield This Will be =

// Military Base Protection Neaf
_this = createMarker ["SAR_area_omg", [12090.6,12694.7,0.001]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [50, 100]; <---- Patrol Area Max willl mean 50m North South Then 100m East West
_this setMarkerDir 120.050; <---- Looking Degre Which i dont really matter
SAR_marker_omg = _this; <--- This , if i change Form Castle To *omg* Ill have to Put This Into The Definition line

//Military Base Protection Neaf
[SAR_marker_omg,1,5,25,"patrol",true] call SAR_AI; <--- will = Soldier , 5 sniper , 25 rifleman patrolling airfield

All i need to Know exactly . because the script is already installed It's What is The Dayz_xxxx <--- What it mean bliss id ?

And How do i get These to work , Where is my mistake exactly ? Does the Height Value need to be at 0.1? instead of 0.001 ?
Send me your SAR_cfg_grps_chernarus.sqf File to me for try to find the error.
 
I still having them working corretly In my server Already Got their Loot Edited and Things like that , All i Wanted to know it's how To Change Their Position , Like Alright you Add the sample right here With

// Helflengurg Catle fortification
_this = createMarker ["SAR_area_admin", [8153.08,21278.6,0]]; <------------ This WorldSpaceLocation.
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [200, 200];
_this setMarkerDir 120.050;
SAR_marker_castle = _this;

//Admin Base Protection
[SAR_marker_castle,1,4,10,"fortify",true] call SAR_AI;
I know that the First Value Is Bandit Surivor or Soldier , Then amount of sniper , rifleman.

Like this is 5 Sector In Neaf = First Series = North /south , Second Series = west East , third = Height
[12090.6,12694.7,0.001]]
[12191.4,12666.2,0.001]]
[12144.7,12696.0,0.001]]
[12314.8,12620.8,0.001]]
[12381.1,12621.5,0.001]]

So If i want to Change Their Location or add some more to the Airfield This Will be =

// Military Base Protection Neaf
_this = createMarker ["SAR_area_omg", [12090.6,12694.7,0.001]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [50, 100]; <---- Patrol Area Max willl mean 50m North South Then 100m East West
_this setMarkerDir 120.050; <---- Looking Degre Which i dont really matter
SAR_marker_omg = _this; <--- This , if i change Form Castle To *omg* Ill have to Put This Into The Definition line

//Military Base Protection Neaf
[SAR_marker_omg,1,5,25,"patrol",true] call SAR_AI; <--- will = Soldier , 5 sniper , 25 rifleman patrolling airfield

All i need to Know exactly . because the script is already installed It's What is The Dayz_xxxx <--- What it mean bliss id ?

And How do i get These to work , Where is my mistake exactly ? Does the Height Value need to be at 0.1? instead of 0.001 ?
Change
Code:
_this = createMarker ["SAR_area_omg", [12090.6,12694.7,0.001]];
To
Code:
_this = createMarker ["SAR_AREA_OMG1", [12090.6,12694.7,0.001]];
Only this line.
 
well i cant attach the files, so ill code it , This is the original Script + Base Protection

Code:
// SAR DEBUG AREA - at NWAF
_this = createMarker ["SAR_marker_DEBUG", [12047.952, 12707.831]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 1;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [150, 70];
_this setMarkerDir 59.354115;
SAR_marker_DEBUG = _this;
 
// Military Base Protection Neaf
_this = createMarker ["SAR_area_omg", [12090.6,12694.7,0.001]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [50, 100];
_this setMarkerDir 120.050;
SAR_marker_omg = _this;
 
// SAR DEBUG AREA - at Skaly
_this = createMarker ["SAR_marker_DEBUG1", [12356.466, 12615.837]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 1;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [250, 100];
SAR_marker_DEBUG1 = _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,true] call SAR_AI_heli;
 
//Heli Patrol NEAF
[SAR_marker_helipatrol_neaf,1,true] call SAR_AI_heli;
 
// Heli patrol south coast
[SAR_marker_helipatrol_southcoast,1,true] call SAR_AI_heli;
[SAR_marker_helipatrol_southcoast,1,true] call SAR_AI_heli;
 
// heli patrol east coast
[SAR_marker_helipatrol_eastcoast,1,true] call SAR_AI_heli;
[SAR_marker_helipatrol_eastcoast,1,true] 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,3,20,"patrol",false] call SAR_AI;
//[SAR_marker_DEBUG1,1,2,30,"patrol",false] call SAR_AI;
 
//---------------------------------------------------------------------------------
 
// add here if needed
 
//Military Base Protection Neaf
[SAR_marker_omg,1,5,25,"patrol",true] call SAR_AI;
 
 
// ---- end of configuration area ----
 
diag_log format["SAR_AI: Static Spawning for infantry and heli patrols finished"];
 
Back
Top