I need help with my epoch safe zone

Are you sure that the file you created in the AGN folder is saved in the correct format (.sqf)? If you're useing notepad++ to create the file, you need to select "all types" when saving and manually write "agn_SafeZoneCommander.sqf". If you have done this correctly, could please you paste you're init.sqf file from your mission.pbo?
 
here is my init file

/*
For DayZ Epoch
Addons Credits: Jetski Yanahui by Kol9yN, Zakat, Gerasimow9, YuraPetrov, zGuba, A.Karagod, IceBreakr, Sahbazz
*/
startLoadingScreen ["","RscDisplayLoadCustom"];
cutText ["","BLACK OUT"];
enableSaving [false, false];

//REALLY IMPORTANT VALUES
dayZ_instance = 11; //The instance
dayzHiveRequest = [];
initialized = false;
dayz_previousID = 0;
server_name = "OMN";

//disable greeting menu
player setVariable ["BIS_noCoreConversations", true];
//disable radio messages to be heard and shown in the left lower corner of the screen
enableRadio false;
// May prevent "how are you civillian?" messages from NPC
enableSentences false;

// DayZ Epoch config
DZE_MissionLootTable = true;
DZE_DiagFpsFast = true;
DZE_DiagVerbose = true;
DZE_ForceNameTags = true;
DZE_HumanityTargetDistance = 10;
spawnShoremode = 1; // Default = 1 (on shore)
spawnArea= 1500; // Default = 1500

MaxHeliCrashes= 7; // Default = 5
MaxVehicleLimit = 700; // Default = 50
MaxDynamicDebris = 0; // Default = 100
dayz_MapArea = 14000; // Default = 10000
dayz_maxLocalZombies = 30; // Default = 30

dayz_maxGlobalZombiesInit = 20;
dayz_maxGlobalZombiesIncrease = 10;
dayz_maxZeds = 400;
DZE_requireplot = 0;
DZE_BuildingLimit = 1500; // Default 150
DZE_teleport = [20000,20000,20000,20000,20000];
DZE_TRADER_SPAWNMODE = false;
dayz_paraSpawn = false;

dayz_minpos = -1;
dayz_maxpos = 16000;
setViewDistance 1100;

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

dayz_maxAnimals = 5; // Default: 8
dayz_tameDogs = true;
dayz_zedsAttackVehicles = false;
//Default Loadout
DefaultMagazines = ["FoodCanFrankBeans","ItemSodaCoke","ItemPainkiller","15Rnd_9x19_M9","15Rnd_9x19_M9","15Rnd_9x19_M9","ItemBandage"];
DefaultWeapons = ["ItemFlashlight","M9","ItemCompass","ItemHatchet","ItemKnife","ItemMap","ItemMatchbox_DZE"];
DefaultBackpack = "DZ_Backpack_EP1";
DefaultBackpackWeapon = "";
DZE_AllowForceSave = true;
DynamicVehicleDamageLow = 0; // Default: 0
DynamicVehicleDamageHigh = 100; // Default: 100
DZE_GodModeBase = true;
DZE_DamageBeforeMaint = 0;
DZE_StaticConstructionCount = 1;

DZE_BuildOnRoads = true; // Default: False

EpochEvents = [
["any","any","any","any",15,"supply_drop"],
//["any","any","any","any",26,"mercenary"],
//["any","any","any","any",24,"building"],
//["any","any","any","any",22,"medical"],
//["any","any","any","any",20,"scavenger_hunt"],
["any","any","any","any",10,"crash_spawner"],
["any","any","any","any",21,"crash_spawner"]
];
dayz_fullMoonNights = true;

//Load in compiled functions
call compile preprocessFileLineNumbers "variables.sqf"; //Initilize the Variables (IMPORTANT: Must happen very early)
call compile preprocessFileLineNumbers "custom\JAEM\variables.sqf";
progressLoadingScreen 0.1;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf"; //Initilize the publicVariable event handlers
progressLoadingScreen 0.2;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf"; //Functions used by CLIENT for medical
progressLoadingScreen 0.4;
call compile preprocessFileLineNumbers "compiles.sqf"; //Compile regular functions
progressLoadingScreen 0.5;
call compile preprocessFileLineNumbers "server_traders.sqf"; //Compile trader configs
progressLoadingScreen 1.0;

"filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";

if (isServer) then {
call compile preprocessFileLineNumbers "\z\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\dynamic_vehicle.sqf";
//Compile vehicle configs

// Add trader citys
_nil = [] execVM "\z\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\mission.sqf";
_serverMonitor = [] execVM "\z\addons\dayz_code\system\server_monitor.sqf";

[] execVM "debug\addmarkers.sqf";
[] execVM "debug\addmarkers75.sqf";
};

if (!isDedicated) then {
//Conduct map operations
0 fadeSound 0;
waitUntil {!isNil "dayz_loadScreenMsg"};
dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");

//Run the player monitor
_id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
_playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";

//anti Hack
//[] execVM "\z\addons\dayz_code\system\antihack.sqf";

//No Side Chat
_nil = [] execVM "custom\sidechat.sqf";

//Welcome Credits
[] execVM "custom\server_credits.sqf";

//Lights
//[21,04,false,true,false,50,200,300,[0.698, 0.556, 0.419],"Generator_DZ",0.1] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf";

//Evac Chopper
_nil = [] execVM "custom\JAEM\EvacChopper_init.sqf";
};

//#include "\z\addons\dayz_code\system\REsec.sqf"

//Start Dynamic Weather
execVM "\z\addons\dayz_code\external\DynamicWeatherEffects.sqf";


#include "\z\addons\dayz_code\system\BIS_Effects\init.sqf"

// UPSMON
call compile preprocessFileLineNumbers "addons\UPSMON\scripts\Init_UPSMON.sqf";

// SHK
call compile preprocessfile "addons\SHK_pos\shk_pos_init.sqf";

// run SAR_AI
[] execVM "addons\SARGE\SAR_AI_init.sqf";

// brute force fix
[] execVM "fixes\bruteforcefix.sqf";

//R3F Towing and shit (or whatever you want to title it)
execVM "R3F_ARTY_AND_LOG\init.sqf"

//Extra Buildings
[] execvm 'buildings\rustytank.sqf';
[] execvm 'buildings\firehouse.sqf';
[] execvm 'buildings\jonbase.sqf';
[] execvm 'buildings\Northwestaf.sqf';
[] execvm 'buildings\neaf.sqf';
[] execvm 'buildings\zelenagorsk.sqf';
[] execvm 'buildings\blackforest.sqf';
[] execvm 'buildings\klen.sqf';
[] execvm 'buildings\launchers.sqf';
[] execvm 'buildings\grishino.sqf';
[] execvm 'buildings\basebarracks.sqf';
[] execvm 'buildings\base2.sqf';
[] execvm 'buildings\target.sqf';
[] execvm 'buildings\balotar1.sqf';
[] execVM "buildings\excbridge.sqf";

//Events
//[] execVM "custom\events\raceday.sqf"; //Coastal Race Day - By Bungle (OFF)

//Safezone
[] execVM "AGN\agn_SafeZoneCommander.sqf";
 
I'll take a look as soon as I get home in a few hours, the only thing that stands out after a quick look seems to that you wrote
Code:
[] execVM "AGN\agn_SafeZoneCommander.sqf";

instead of
Code:
[] execvm 'AGN\agn_SafeZoneCommander.sqf';

May have nothing to do with it, but try changing the " to ', it's worth a shot... as a rule of thumb I usualy do everything exactly as stated in tutorials
 
It doesn't work for me either. It just stopped working. I'm running infiSTAR antihack if that helps. Also tried using Maca's safezones but the godmode portion of that script didn't work either. The anti-theft part did however... Strange.
 
I run an epoch chernarus server from Nitrado which gives infiSTAR free in the package. I called my admin just now, and our safe zones seem to be working without a hitch. It may be helpfull to know what host you guys rent from
 
I don't think infistar should cause any kind of problem with the safe zones script, but it might be worth a try to remove infistar from your server files and give it a go. Or better yet, get your default server files and script in only the safe zones to make sure that it's not a compatibility issue with some other scripts. Unfortunatly I can't help much from work
 
Yeah I am afraid I might have to do that. No test server makes things a bit tricky though. Suppose a fresh install can't help.
 
Without a test server you would have to shut down the server once most of your players are logged off... Kinda of a pain. You could get a very cheap 4 slot test server up and running in a few minutes though and be able to play around with your files a bit
 
nevermind i fixed it thanks for your help guys

hese is how i fixed it

in the init.sqf in your mission file

put this at the bottom

//Safezone
[] execvm 'AGN\agn_SafeZoneCommander.sqf';

enjoy :)
 
nevermind i fixed it thanks for your help guys

hese is how i fixed it

in the init.sqf in your mission file

put this at the bottom

//Safezone
[] execvm 'AGN\agn_SafeZoneCommander.sqf';

enjoy :)

So, you basically did this:


I'll take a look as soon as I get home in a few hours, the only thing that stands out after a quick look seems to that you wrote
Code:
[] execVM "AGN\agn_SafeZoneCommander.sqf";

instead of
Code:
[] execvm 'AGN\agn_SafeZoneCommander.sqf';

May have nothing to do with it, but try changing the " to ', it's worth a shot... as a rule of thumb I usualy do everything exactly as stated in tutorials

o_O
 
Back
Top