Jump to content

Recommended Posts

I had a problem with which I had never encountered before. I have experience installing servers since 2014. But I ran into a problem that I can not solve on my own. The problem is that the server transport does not retain the last position, that is, after the restart, the entire transport appears on the previous position (Place respawn). 

So I installed InfiStar Anti-Hack, but when I try to save the transport, I see an error message in the server log.

SERVER LOG:

2017-06-07 00:46:32 HiveExt: [Information] Method: 308 Params: 11:AH64D:0:0:[239.363,[1175.84,2229.98,-0.004]]:[]:[]:1:any:
2017-06-07 00:46:32 HiveExt: [Error] Error executing |CHILD:308:11:AH64D:0:0:[239.363,[1175.84,2229.98,-0.00445652]]:[]:[]:1:any:|
2017-06-07 00:46:33 HiveExt: [Information] Method: 388 Params: any:
2017-06-07 00:46:33 HiveExt: [Error] Error executing |CHILD:388:any:|

Please, help!
 

Link to comment
Share on other sites

Spoiler

/*    
    For DayZ Epoch
    Addons Credits: Jetski Yanahui by Kol9yN, Zakat, Gerasimow9, YuraPetrov, zGuba, A.Karagod, IceBreakr, Sahbazz
*/

//Server settings
dayZ_instance = 11; //Instance ID of this server
dayZ_serverName = ""; //Shown to all players in the bottom left of the screen (country code + server number)

//Game settings
dayz_antihack = 0; // DayZ Antihack / 1 = enabled // 0 = disabled
dayz_REsec = 0; // DayZ RE Security / 1 = enabled // 0 = disabled
dayz_enableRules = false; //Enables a nice little news/rules feed on player login (make sure to keep the lists quick).
dayz_quickSwitch = true; //Turns on forced animation for weapon switch. (hotkeys 1,2,3) False = enable animations, True = disable animations
dayz_POIs = false; //Adds Point of Interest map additions (negatively impacts FPS)
dayz_infectiousWaterholes = false; //Randomly adds some bodies, graves and wrecks by ponds (negatively impacts FPS)
dayz_ForcefullmoonNights = true; // Forces night time to be full moon.
dayz_randomMaxFuelAmount = 500; //Puts a random amount of fuel in all fuel stations.

//DayZMod presets
dayz_presets = "Custom"; //"Custom","Classic","Vanilla","Elite"

[] execVM "faction.sqf";

[] execVM "AHconfig.sqf";

[] execVM "szone.sqf"; 

[] execVM "service_point\service_point.sqf";

//[] execVM "=BTC=_Logistic\=BTC=_Logistic_Init.sqf";    

//[] execVM "initnnn.sqf";

[] execVM "sectorfng\sectorfng_init.sqf";

[] execVM "scripts\startloot.sqf";

[] execVM "scripts\player_takeClothes.sqf";

[] call fnc_usec_selfActions;

[] execVM "scripts\fn_selfActions.sqf";

//Only need to edit if you are running a custom server.
if (dayz_presets == "Custom") then {
    dayz_enableGhosting = false; //Enable disable the ghosting system.
    dayz_ghostTimer = 60; //Sets how long in seconds a player must be disconnected before being able to login again.
    dayz_spawnselection = 1; //(Chernarus only) Turn on spawn selection 0 = random only spawns, 1 = spawn choice based on limits
    dayz_spawncarepkgs_clutterCutter = 0; //0 = loot hidden in grass, 1 = loot lifted, 2 = no grass
    dayz_spawnCrashSite_clutterCutter = 0;    // heli crash options 0 = loot hidden in grass, 1 = loot lifted, 2 = no grass
    dayz_spawnInfectedSite_clutterCutter = 0; // infected base spawn 0 = loot hidden in grass, 1 = loot lifted, 2 = no grass 
    dayz_bleedingeffect = 2; //1 = blood on the ground (negatively impacts FPS), 2 = partical effect, 3 = both
    dayz_OpenTarget_TimerTicks = 2 * 2; //how long can a player be freely attacked for after attacking someone unprovoked
    dayz_nutritionValuesSystem = true; //true, Enables nutrition system, false, disables nutrition system.
    dayz_classicBloodBagSystem = true; // disable blood types system and use the single classic ItemBloodbag
    dayz_enableFlies = false; // Enable flies on dead bodies (negatively impacts FPS).
};

//Temp settings
dayz_DamageMultiplier = 2; //1 - 0 = Disabled, anything over 1 will multiply damage. Damage Multiplier for Zombies.
dayz_maxGlobalZeds = 100; //Limit the total zeds server wide.
dayz_temperature_override = false; // Set to true to disable all temperature changes.

enableRadio false;
enableSentences false;

// EPOCH CONFIG VARIABLES START //
#include "\z\addons\dayz_code\configVariables.sqf" // Don't remove this line
// See the above file for a full list including descriptions and default values
// Uncomment the lines below to change the default loadout
//DefaultMagazines = ["HandRoadFlare","ItemBandage","ItemPainkiller","8Rnd_9x18_Makarov","8Rnd_9x18_Makarov"];
//DefaultWeapons = ["Makarov_DZ","ItemFlashlight"];
//DefaultBackpack = "DZ_Patrol_Pack_EP1";
//DefaultBackpackItems = []; // Can include both weapons and magazines i.e. ["PDW_DZ","30Rnd_9x19_UZI"];
dayz_paraSpawn = false; // Halo spawn
DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zones
DZE_BuildOnRoads = false; // Allow building on roads
DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status
DZE_R3F_WEIGHT = true; // Enable R3F weight. Players carrying too much will be overburdened and forced to move slowly.
DZE_slowZombies = true; // Force zombies to always walk
DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects.
DZE_GodModeBase = false; // Make player built base objects indestructible
DZE_requireplot = 1; // Require a plot pole to build  0 = Off, 1 = On
DZE_PlotPole = [90,90]; // Radius owned by plot pole [Regular objects,Other plotpoles]. Difference between them is the minimum buffer between bases.
DZE_BuildingLimit = 150; // Max number of built objects allowed in DZE_PlotPole radius
DZE_SelfTransfuse = true; // Allow players to bloodbag themselves
DZE_selfTransfuse_Values = [12000,15,120]; // [blood amount given, infection chance %, cooldown in seconds]
MaxDynamicDebris = 100; // Max number of random road blocks to spawn around the map
MaxVehicleLimit = 100; // Max number of random vehicles to spawn around the map
spawnArea = 1400; // Distance around markers to find a safe spawn position
spawnShoremode = 1; // Random spawn locations  1 = on shores, 0 = inland
EpochUseEvents = true; //Enable event scheduler. Define custom scripts in dayz_server\modules to run on a schedule.
EpochEvents = [["any","any","any","any",30,"crash_spawner"],["any","any","any","any",0,"crash_spawner"],["any","any","any","any",15,"supply_drop"]];
// EPOCH CONFIG VARIABLES END //

diag_log 'dayz_preloadFinished reset';
dayz_preloadFinished=nil;
onPreloadStarted "diag_log [diag_tickTime,'onPreloadStarted']; dayz_preloadFinished = false;";
onPreloadFinished "diag_log [diag_tickTime,'onPreloadFinished']; dayz_preloadFinished = true;";
with uiNameSpace do {RscDMSLoad=nil;}; // autologon at next logon

_verCheck = (getText (configFile >> "CfgMods" >> "DayZ" >> "version") == "DayZ Epoch 1.0.6.1");
if (!isDedicated) then {
    enableSaving [false, false];    startLoadingScreen ["","RscDisplayLoadCustom"];
    progressLoadingScreen 0;
    dayz_loadScreenMsg = localize 'str_login_missionFile';
    if (_verCheck) then {
        progress_monitor = [] execVM "DZE_Hotfix_1.0.6.1A\system\progress_monitor.sqf";
    } else {
        progress_monitor = [] execVM "\z\addons\dayz_code\system\progress_monitor.sqf";
    };
    0 cutText ['','BLACK',0];
    0 fadeSound 0;
    0 fadeMusic 0;
};

initialized = false;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf";
progressLoadingScreen 0.05;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf";
progressLoadingScreen 0.1;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf";
progressLoadingScreen 0.15;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf";
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\AHconfig";
call compile preprocessFileLineNumbers "addons\bike\init.sqf";
if (_verCheck) then {
    #include "DZE_Hotfix_1.0.6.1A\init\compiles.sqf"
    
fnc_usec_selfActions = compile preprocessFileLineNumbers "scripts\fn_selfActions.sqf";

};
progressLoadingScreen 0.25;
call compile preprocessFileLineNumbers "server_traders.sqf";
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus11.sqf"; //Add trader city objects locally on every machine early
if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; //Add POI objects locally on every machine early
call compile preprocessFileLineNumbers "admintools\config.sqf"; // Epoch admin Tools config file
call compile preprocessFileLineNumbers "admintools\variables.sqf"; // Epoch admin Tools variables
initialized = true;

setTerrainGrid 25;

execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf";

if (isServer) then {
    call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf";
    call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf";
    execVM "\z\addons\dayz_server\traders\chernarus11.sqf"; //Add trader agents
    
    //Get the server to setup what waterholes are going to be infected and then broadcast to everyone.
    if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";};
    
    // Lootable objects from CfgTownGeneratorDefault.hpp
    if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; };
};
    
    if (toLower(worldName) == "chernarus") then {
        diag_log "WARNING: Clearing annoying benches from Chernarus";
        ([4654,9595,0] nearestObject 145259) setDamage 1;
        ([4654,9595,0] nearestObject 145260) setDamage 1;
    };
    
    if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; };
    execFSM "\z\addons\dayz_code\system\player_monitor.fsm";
    [false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf";
    if (DZE_R3F_WEIGHT) then {execVM "\z\addons\dayz_code\external\R3F_Realism\R3F_Realism_Init.sqf";};
    waitUntil {scriptDone progress_monitor};
    cutText ["","BLACK IN", 3];
    3 fadeSound 1;
    3 fadeMusic 1;
    endLoadingScreen;
};

Here is init.sqf

Link to comment
Share on other sites

Your init.sqf is completely wrong, that is not how you do all the loading of stuff at the start, including fn_selfActions.

Remove these:

[] execVM "faction.sqf";

[] execVM "AHconfig.sqf";

[] execVM "szone.sqf"; 

[] execVM "service_point\service_point.sqf";

//[] execVM "=BTC=_Logistic\=BTC=_Logistic_Init.sqf";    

//[] execVM "initnnn.sqf";

[] execVM "sectorfng\sectorfng_init.sqf";

[] execVM "scripts\startloot.sqf";

[] execVM "scripts\player_takeClothes.sqf";

[] call fnc_usec_selfActions;

[] execVM "scripts\fn_selfActions.sqf";

Also, AHConfig is serverside, not client side.

Link to comment
Share on other sites

Just now, salival said:

Your init.sqf is completely wrong, that is not how you do all the loading of stuff at the start, including fn_selfActions.

Remove these:


[] execVM "faction.sqf";

[] execVM "AHconfig.sqf";

[] execVM "szone.sqf"; 

[] execVM "service_point\service_point.sqf";

//[] execVM "=BTC=_Logistic\=BTC=_Logistic_Init.sqf";    

//[] execVM "initnnn.sqf";

[] execVM "sectorfng\sectorfng_init.sqf";

[] execVM "scripts\startloot.sqf";

[] execVM "scripts\player_takeClothes.sqf";

[] call fnc_usec_selfActions;

[] execVM "scripts\fn_selfActions.sqf";

Also, AHConfig is serverside, not client side.

So where i am must to put other scripts? I make copy of AH and put it to root, and to mpmission, cuz i can`t save cars and buildings...

Link to comment
Share on other sites

Just now, Ghostman said:

where you have your folder with infistar root server or in mpmissions/DayZ_Epoch_11.Chernarus

floder of AH is root, but i can`t save spawned objets, so i made a copy of this and put it to mpmission too

Link to comment
Share on other sites

Just now, Ghostman said:

for run infistar

[] execVM "\a2_infiSTAR\AH.sqf";

dayz_server/init/server_sunctions.sqf very bottom

try reinstal server and use clean init, because  You have misplaced the paths

It was clean version of server... I just add some scripts.

Link to comment
Share on other sites

see my init

Spoiler

p2c_clientFolder = "p2c\client";
execVM format["%1\p2c_clientInit.sqf",p2c_clientFolder];
//Server settings
dayZ_instance = 11; //Instance ID of this server
dayZ_serverName = "PVE!!!"; //Shown to all players in the bottom left of the screen (country code + server number)

//Game settings
dayz_antihack = 0; // DayZ Antihack / 1 = enabled // 0 = disabled
dayz_REsec = 0; // DayZ RE Security / 1 = enabled // 0 = disabled
dayz_enableRules = true; //Enables a nice little news/rules feed on player login (make sure to keep the lists quick).
dayz_quickSwitch = true; //Turns on forced animation for weapon switch. (hotkeys 1,2,3) False = enable animations, True = disable animations
dayz_POIs = false; //Adds Point of Interest map additions (negatively impacts FPS)
dayz_infectiousWaterholes = false; //Randomly adds some bodies, graves and wrecks by ponds (negatively impacts FPS)
dayz_ForcefullmoonNights = true; // Forces night time to be full moon.
dayz_randomMaxFuelAmount = 600; //Puts a random amount of fuel in all fuel stations.
DZE_garagist = ["Misc_cargo_cont_small_EP1","Profiteer4","Worker3","RU_Profiteer4","Hooker1","Worker2"];
debugMonitor = true;
/*ns_blowout = true;                     // true / false
ns_blowout_dayz = true;                // true / false
ns_blow_delaymod = 0.75;             // Blowout delay
ns_blow_itemapsi = "NVGoggles_DZE"; // ItemAPSI replacement
ns_blow_playerdamage = 5000;         // Damage players without ns_blow_itemapsi can get per blowout
ns_blow_emp = true;*/

enableRadio false;
enableSentences false;

#include "init\configVariables.sqf" // Don't remove this line

diag_log 'dayz_preloadFinished reset';
dayz_preloadFinished=nil;
onPreloadStarted "diag_log [diag_tickTime,'onPreloadStarted']; dayz_preloadFinished = false;";
onPreloadFinished "diag_log [diag_tickTime,'onPreloadFinished']; dayz_preloadFinished = true;";
with uiNameSpace do {RscDMSLoad=nil;}; // autologon at next logon

_verCheck = (getText (configFile >> "CfgMods" >> "DayZ" >> "version") == "DayZ Epoch 1.0.6.1");
if (!isDedicated) then {
    enableSaving [false, false];    startLoadingScreen ["","RscDisplayLoadCustom"];
    progressLoadingScreen 0;
    dayz_loadScreenMsg = localize 'str_login_missionFile';
    if (_verCheck) then {
        progress_monitor = [] execVM "DZE_Hotfix_1.0.6.1A\system\progress_monitor.sqf";
    } else {
        progress_monitor = [] execVM "\z\addons\dayz_code\system\progress_monitor.sqf";
    };
    0 cutText ['','BLACK',0];
    0 fadeSound 0;
    0 fadeMusic 0;
    
    //execVM "Nuke\Effects\effects.sqf";
};

initialized = false;
call compile preprocessFileLineNumbers "init\variables.sqf";
call compile preprocessFileLineNumbers "init\myvariables.sqf";

progressLoadingScreen 0.07;
spawnArea = 900; // Distance around markers to find a safe spawn position
spawnShoremode = 0; // Random spawn locations  1 = on shores, 0 = inland
EpochUseEvents = true; //Enable event scheduler. Define custom scripts in dayz_server\modules to run on a schedule.

EpochEvents = [
["any","any","any","any",8,"Treausre"],
["any","any","any","any",11,"Construction"],
["any","any","any","any",14,"Supply"],
["any","any","any","any",17,"Military"],
["any","any","any","any",20,"drug_bust"],
["any","any","any","any",23,"Treausre"],
["any","any","any","any",26,"Construction"],
["any","any","any","any",29,"Supply"],
["any","any","any","any",31,"Military"],
["any","any","any","any",34,"gems"],
["any","any","any","any",37,"weed"],
["any","any","any","any",40,"drug_bust"],
["any","any","any","any",43,"weed"],
["any","any","any","any",47,"gems"]        //    Remember last one doesnt have a comma (  ,  )
];

//DayZMod presets
dayz_presets = "Custom"; //"Custom","Classic","Vanilla","Elite"

//Only need to edit if you are running a custom server.
if (dayz_presets == "Custom") then {
    dayz_enableGhosting = true; //Enable disable the ghosting system.
    dayz_ghostTimer = 30; //Sets how long in seconds a player must be disconnected before being able to login again. default 60
    dayz_spawnselection = 1; //(Chernarus only) Turn on spawn selection 0 = random only spawns, 1 = spawn choice based on limits
    dayz_spawncarepkgs_clutterCutter = 0; //0 = loot hidden in grass, 1 = loot lifted, 2 = no grass
    dayz_spawnCrashSite_clutterCutter = 0;    // heli crash options 0 = loot hidden in grass, 1 = loot lifted, 2 = no grass
    dayz_spawnInfectedSite_clutterCutter = 0; // infected base spawn 0 = loot hidden in grass, 1 = loot lifted, 2 = no grass
    dayz_bleedingeffect = 2; //1 = blood on the ground (negatively impacts FPS), 2 = partical effect, 3 = both
    dayz_OpenTarget_TimerTicks = 60 * 10; //how long can a player be freely attacked for after attacking someone unprovoked
    dayz_nutritionValuesSystem = true; //true, Enables nutrition system, false, disables nutrition system.
    dayz_classicBloodBagSystem = true; // disable blood types system and use the single classic ItemBloodbag
    dayz_enableFlies = false; // Enable flies on dead bodies (negatively impacts FPS).
};

// Loot
dayz_maxMaxWeaponHolders = 70; // def 80

// Traders
Z_VehicleDistance = 50;
DZE_ConfigTrader = true; // custom traders
DZE_serverLogTrades = true; // log traders

// Zombies
dayz_maxLocalZombies = 15; // Default = 15
dayz_maxNearByZombies = 30; // Default = 30
dayz_maxGlobalZeds = 1000; // Default = 1000
dayz_canDelete = 100;
dayz_DamageMultiplier = 2; //1 - 0 = Disabled, anything over 1 will multiply damage. Damage Multiplier for Zombies.
DZE_slowZombies = true; // Force zombies to always walk

//Animals
dayz_maxAnimals = 8; // Default: 8
dayz_maxGlobalAnimals = 8;
dayz_tameDogs = false; // Allow taming dogs with raw meat. Note dog behavior is experimental and buggy.

//Objects
dayz_maxPlants = 0;
dayz_maxGlobalPlants = 0;
MaxVehicleLimit = 100; // Max number of random vehicles to spawn around the map
MaxDynamicDebris = 0; // Max number of random road blocks to spawn around the map
MaxHeliCrashes = 2;
MaxMineVeins = 5; // Max number of random mine veins to spawn around the map
DynamicVehicleDamageLow = 10; // Default: 0
DynamicVehicleDamageHigh = 30; // Default: 100
DynamicVehicleFuelLow = 15;
DynamicVehicleFuelHigh = 80;
DZE_GemOccurance = [["ItemTopaz",7], ["ItemObsidian",6], ["ItemSapphire",5], ["ItemAmethyst",4], ["ItemEmerald",3], ["ItemCitrine",2], ["ItemRuby",1]]; //Sets how rare each gem is in the order shown when mining (whole numbers only)
DZE_maintainClasses = ["MBG_Warehouse_InEditor","HeliHCivil","HeliH","HeliHRescue","MAP_Heli_H_army","MAP_Heli_H_cross","Land_MBG_Garage_Single_D","USMC_WarfareBVehicleServicePoint","MAP_Ind_Garage01","ModularItems","DZE_Housebase","LightPole_DZ","BuiltItems","Generator_DZ","DZ_buildables","Plastic_Pole_EP1_DZ","Fence_corrugated_DZ","CanvasHut_DZ","ParkBench_DZ","MetalGate_DZ","StickFence_DZ","DesertCamoNet_DZ","ForestCamoNet_DZ","DesertLargeCamoNet_DZ","ForestLargeCamoNet_DZ","DeerStand_DZ","Scaffolding_DZ","FireBarrel_DZ","M240Nest_DZ"];

// Tuning
dayz_maxMaxModels = 70; // def 80 max quantity of Man models (player or Z, dead or alive) around players. Below this limit we can spawn Z // max quantity of loot piles around players. Below this limit we can spawn some loot

// Player parameters
DefaultMagazines = ["17Rnd_9x19_glock17","17Rnd_9x19_glock17","ItemBandage","ItemBandage"];
DefaultWeapons = ["G17_FL_DZ","ItemFlashlight","ItemMap","Binocular","ItemToolbox"];
DefaultBackpack = "DZ_Assault_Pack_EP1";
DefaultBackpackWeapon = "";

DZE_HumanityTargetDistance = 128; // Distance to show name tags (red for bandit, blue for hero, green for friend)
DZE_NameTags = 1; // Name displays when looking at player up close  0 = Off, 1= On, 2 = Player choice
DZE_ForceNameTagsInTrader = true; // Show names on traders
DZE_PlayerZed = false; // Enable spawning as a player zombie when players die with infected status
DZE_R3F_WEIGHT = false; // Enable R3F weight. Players carrying too much will be overburdened and forced to move slowly.
DZE_SelfTransfuse = true; // Allow players to bloodbag themselves
DZE_selfTransfuse_Values = [12000,15,60]; // [blood amount given, infection chance %, cooldown in seconds]
dayz_paraSpawn = false; // Halo spawn
DZE_BackpackAntiTheft = true; // Prevent stealing from backpacks in trader zones

// Gamedesign
DZE_DeathMsgDynamicText = true; // Display death messages as dynamicText in the top left with weapon icons.
DZE_DeathMsgChat = "global"; //"none","global","side","system" Display death messages in selected chat channel.
dayz_knifeDulling = false; // Enable knife dulling. Knives need to be sharpened after so many uses.
dayz_matchboxCount = true; // Enable match stick count. After five uses matches run out and must be replaced.
dayz_toolBreaking = true; //Sledgehammer, crowbar and pickaxe have a chance to break when used.
dayz_waterBottleBreaking = false; // Water bottles have a chance to break when boiling and require duct tape to fix
DZE_HeliLift = false; // no standart heli lift
DZE_HaloSpawnHeight = 500; // This is the altitude fresh spawn players start at when HALO spawn is enabled.
DZE_StaticConstructionCount = 1; // Steps required to build. If greater than 0 this applies to all objects.
DZE_GodModeBase = true; // Make player built base objects indestructible
DZE_requireplot = 1; // Require a plot pole to build  0 = Off, 1 = On
DZE_plotManagementMustBeClose = true; //Players must be within 10m of pole to be added as a plot friend.
DZE_buildMaxHeightDistance = 30;
DZE_PlotPole = [150,450]; // Radius owned by plot pole [Regular objects,Other plotpoles]. Difference between them is the minimum buffer between bases.
DZE_BuildingLimit = 2000; // Max number of built objects allowed in DZE_PlotPole radius
DZE_NoBuildNear = ["Land_A_FuelStation_Build"];
DZE_permanentPlot = true;
DZE_PlotOwnership = false; // No base capturing
DZE_BuildOnRoads = true; // Allow building on roads
dayz_temperature_override = false; // Set to true to disable all temperature changes.
DZE_maintainCurrencyRate = 100; // Maintain price
DZE_modularBuild = true;
DZE_LockableStorage = ["VaultStorage","VaultStorageLocked","LockboxStorageLocked","LockboxStorage"];
DZE_salvageLocked = false;
respawn_west_original = getMarkerPos "respawn_west"; //Prevent problems caused by cheaters moving respawn_west marker with setMarkerPos or deleteMarker
DZE_AntiWallLimit = 3;

DZE_safeVehicle  = ["AH6X_DZ","CH_47F_EP1_DZE","AH6J_EP1_DZ","UH1H_DZ","Mi17_TK_EP1","MMT_Civ","Old_bike_TK_INS_EP1","Old_bike_TK_CIV_EP1","WarfareReammoTruck_RU","ParachuteWest","ParachuteEast","ParachuteC","AGS_TK_INS_EP1","BAF_GMG_Tripod_D","BAF_L2A1_Tripod_W","DSHkM_Mini_TriPod_TK_INS_EP1","DSHKM_TK_INS_EP1","KORD","KORD_high","KORD_high_TK_EP1","M2HD_mini_TriPod","M2StaticMG","M2StaticMG_US_EP1","MK19_TriPod","Stinger_Pod_US_EP1","ZU23_TK_GUE_EP1"];
DayZ_SafeObjects = ["HeliHCivil","HeliH","HeliHRescue","MAP_Heli_H_army","MAP_Heli_H_cross","Land_MBG_Garage_Single_D","Base_Fire_DZ","WoodenGate_1","WoodenGate_2","WoodenGate_3","WoodenGate_4","Land_Fire_DZ","TentStorage","TentStorage0","TentStorage1","TentStorage2","TentStorage3","TentStorage4","StashSmall","StashSmall1","StashSmall2","StashSmall3","StashSmall4","StashMedium","StashMedium1","StashMedium2","StashMedium3","StashMedium4","Wire_cat1","Sandbag1_DZ","Fence_DZ","Generator_DZ","Hedgehog_DZ","BearTrap_DZ","DomeTentStorage","DomeTentStorage0","DomeTentStorage1","DomeTentStorage2","DomeTentStorage3","DomeTentStorage4","CamoNet_DZ","Trap_Cans","TrapTripwireFlare","TrapBearTrapSmoke","TrapTripwireGrenade","TrapTripwireSmoke","TrapBearTrapFlare","TentStorageDomed","VaultStorageLocked","BagFenceRound_DZ","TrapBear","Fort_RazorWire","WoodGate_DZ","Land_HBarrier1_DZ","Land_HBarrier3_DZ","Land_HBarrier5_DZ","Fence_corrugated_DZ","M240Nest_DZ","CanvasHut_DZ","ParkBench_DZ","MetalGate_DZ","OutHouse_DZ","Wooden_shed_DZ","WoodShack_DZ","StorageShed_DZ","Plastic_Pole_EP1_DZ","StickFence_DZ","LightPole_DZ","FuelPump_DZ","DesertCamoNet_DZ","ForestCamoNet_DZ","DesertLargeCamoNet_DZ","ForestLargeCamoNet_DZ","SandNest_DZ","DeerStand_DZ","MetalPanel_DZ","WorkBench_DZ","WoodFloor_DZ","WoodLargeWall_DZ","WoodLargeWallDoor_DZ","WoodLargeWallWin_DZ","WoodSmallWall_DZ","WoodSmallWallWin_DZ","WoodSmallWallDoor_DZ","LockboxStorageLocked","WoodFloorHalf_DZ","WoodFloorQuarter_DZ","WoodStairs_DZ","WoodStairsSans_DZ","WoodStairsRails_DZ","WoodSmallWallThird_DZ","WoodLadder_DZ","Land_DZE_GarageWoodDoor","Land_DZE_LargeWoodDoor","Land_DZE_WoodDoor","Land_DZE_GarageWoodDoorLocked","Land_DZE_LargeWoodDoorLocked","Land_DZE_WoodDoorLocked","CinderWallHalf_DZ","CinderWall_DZ","CinderWallDoorway_DZ","CinderWallDoor_DZ","CinderWallDoorLocked_DZ","CinderWallSmallDoorway_DZ","CinderWallDoorSmall_DZ","CinderWallDoorSmallLocked_DZ","MetalFloor_DZ","WoodRamp_DZ","GunRack_DZ","FireBarrel_DZ","WoodCrate_DZ","Scaffolding_DZ","DesertTentStorage","DesertTentStorage0","DesertTentStorage1","DesertTentStorage2","DesertTentStorage3","DesertTentStorage4"];

DZE_restrictRemoval = ["Plastic_Pole_EP1_DZ","M240Nest_DZ"];
dayz_groupSystem = true;
dayz_markGroup = 2; // Players can see their group members on the map 0=never, 1=always, 2=With GPS only;
dayz_markSelf = 1; // Players can see their own position on the map 0=never, 1=always, 2=With GPS only
dayz_markBody = 1; // Players can see their corpse position on the map 0=never, 1=always, 2=With GPS only
dayz_requireRadio = false; // Require players to have a radio on their toolbelt to create a group, be in a group and receive invites.

/*DZE_Garage = ["Land_MBG_Garage_Single_D"];//MAP_Ind_Garage01
DZE_Helipad = ["HeliHCivil","HeliH","HeliHRescue","MAP_Heli_H_army","MAP_Heli_H_cross"];
DZE_GarageForbidden = ["T55_TK_EP1","Su25_TK_EP1","WarfareReammoTruck_RU","BTR90_DZ","T34_TK_EP1","Old_bike_TK_INS_EP1","M2HD_mini_TriPod","M2StaticMG_US_EP1","AGS_TK_INS_EP1","BAF_GMG_Tripod_D","BAF_L2A1_Tripod_W","DSHkM_Mini_TriPod_TK_INS_EP1","DSHKM_TK_INS_EP1","KORD","KORD_high_TK_EP1","MK19_TriPod"];
MaxGaragesPerPlayer = 2;
MaxGarageVehicles = 3;
MaxGarageVehicles = 10;*/
AllowedStaticVehicles = ["M2HD_mini_TriPod","M2StaticMG_US_EP1","AGS_TK_INS_EP1","BAF_GMG_Tripod_D","BAF_L2A1_Tripod_W","DSHkM_Mini_TriPod_TK_INS_EP1","DSHKM_TK_INS_EP1","KORD","KORD_high_TK_EP1","MK19_TriPod"];
DZE_TempMissionVehicles = ["Su25_TK_EP1","T34_TK_EP1","T55_TK_EP1","JetSkiYanahui_Yellow"];
DZE_SafeZoneNoBuildItems = ["VaultStorageLocked","LockboxStorageLocked","Plastic_Pole_EP1_DZ"];
DZE_SafeZonePosArray = [
    [[6325.6772,7807.7412,0],1000,true],//stary
    [[4063.4226,11664.19,0],1000,true],//bash
    [[11447.472,11364.504,0],1000,true],//klen
    [[10049.321,5429.9766,0],1000,true],//Staroye
    [[1606.6443,7803.5156,0],1000,true],//bandit
    [[12944.227,12766.889,0],1000,true],//hero
    [[4928.18,2393.08,0],1000,true],//Balota
    [[4537.67,10270.7,0],1000,true],//NWAir
    [[7236.27,3030.13,0],1000,true],//Hilltop
    [[12060,12640,0],1000,true]//NE air dealer
];
// Bank & money
Z_SingleCurrency = true;
Z_AllowTakingMoneyFromBackpack = false; // When buying items with DEFAULT CURRENCY to any inventory. Do you allow the trader to take money from your backpack.
Z_AllowTakingMoneyFromVehicle = false; // When buying items with DEFAULT CURRENCY to any inventory. Do you allow the trader to take money from your vehicle.
CurrencyName = "Coins"; // If using single currency this is the currency display name.
Z_moneyVariable = "cashMoney"; // If using single currency this is the variable name used to store player wealth.
Z_bankVariable = "moneySpecial"; // If using single currency this is the variable name used to store object bank wealth.
Z_globalVariable = "GlobalMoney"; // If using single currency this is the variable name used to store coins globally.
DZE_MoneyStorageClasses = []; // If using single currency this is an array of object classes players can store coins in.
Bank_Object = ["RU_Functionary2"]; // Object to get option to bank
LimitOnBank = true; // false = no limits, true = banks are limited on the value below
MaxBankMoney = 25000000;
MGOnline = ["Notebook"];
//Ambience = true;
MGrass = false;

// default viewDistance
setViewDistance 1000;
PlayerViewDistance = 1000;
setTerrainGrid 50; //grass draw distance (50=no grass, 25=normal, 12.5=far)

progressLoadingScreen 0.05;
call compile preprocessFileLineNumbers "init\publicEH.sqf";

progressLoadingScreen 0.1;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf";
progressLoadingScreen 0.12;
call compile preprocessFileLineNumbers "init\compiles.sqf";
if (_verCheck) then {
    #include "DZE_Hotfix_1.0.6.1A\init\compiles.sqf"
};
//call compile preprocessFileLineNumbers "init\mycompiles.sqf";
progressLoadingScreen 0.15;
call compile preprocessFileLineNumbers "scripts\deploy\addons\bike\init.sqf";
progressLoadingScreen 0.20;
call compile preprocessFileLineNumbers "logistic\init.sqf";
progressLoadingScreen 0.25;
call compile preprocessFileLineNumbers "server_traders.sqf";
call compile preprocessFileLineNumbers "bon_recruit_units\init.sqf";
//call compile preprocessFileLineNumbers "Nuke\settings.sqf";
//call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus11.sqf"; //Add trader city objects locally on each machine early
call compile preprocessFileLineNumbers "init\chernarus11.sqf";

initialized = true;

0 setFog 0;
0 setOvercast 0;
0 setRain 0;

//execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf";

// Lootable objects from CfgTownGeneratorDefault.hpp
dayz_townGenerator = false;

if (isServer) then {
    call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf";
    call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf";
    execVM "\z\addons\dayz_server\traders\chernarus11.sqf"; //Add trader agents
    
    //Get the server to setup what waterholes are going to be infected and then broadcast to everyone.
    if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";};
    
    // Lootable objects from CfgTownGeneratorDefault.hpp
    if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; };
    execVM "andre_convoy\andre_convoy.sqf";
    //execVM "Nuke\server_Nuke.sqf";
};

if (!isDedicated) then {
    //Enables Plant lib fixes
    //execVM "\z\addons\dayz_code\system\antihack.sqf";
    
    if (toLower(worldName) == "chernarus") then {
        diag_log "WARNING: Clearing annoying benches from Chernarus";
        ([4654,9595,0] nearestObject 145259) setDamage 1;
        ([4654,9595,0] nearestObject 145260) setDamage 1;
    };
    
    if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; };
    [] execVM "custom\bankp.sqf";
    call compile preprocessFileLineNumbers "spawn\init.sqf";
    execFSM "Custom\player_monitor.fsm";
    
    if (DZE_R3F_WEIGHT) then {execVM "\z\addons\dayz_code\external\R3F_Realism\R3F_Realism_Init.sqf";};
    call compile preprocessFileLineNumbers "custom\Menu\crafting\Init.sqf";
    execVM "rpgfix.sqf";
    
    // Custom hud
    [] execVM "scripts\HUD\init_hud.sqf";
 
    // Safezone script
    //[] execVM "Scripts\safezone\safezone.sqf";
    [] execVM "Scripts\safezone\safezone16.sqf";
    
    // Bank & Money
    [] execVM "Scripts\Coins\init.sqf";
    
    // Service point
    [] execVM "Scripts\service\service_point.sqf";

    // NOS car system
    [] execVM "Scripts\nitro\NosActivator.sqf";

    // SafezoneMarkers
    [] execVM "scripts\Markers\Markers.sqf";
    
    // DynamicTraderMarkers
    [] execVM "scripts\Markers\player_tradermarkers.sqf";
    
    //heliconvoy
    execVM "Scripts\heliconvoy_loadout.sqf";
    
    execVM "player_tradermarkers.sqf";

    execvm "custom\Keymaker\createkey_init.sqf";
    
    [] execVM "admineventsclientside\init_adminevents.sqf";
    
    //[] execVM "Custom\dupe\WeaponDupeFix.sqf";
    
    // Prevent weapon dupe
    //[] execVM "custom\AntiDupes\WeaponDupeFix.sqf";
    
    _nil = [] execVM "custom\remote\remote_messages.sqf";
    _nil = [] execVM "custom\remote\remote.sqf";
    
    waitUntil {scriptDone progress_monitor};
    cutText ["","BLACK IN", 3];
    3 fadeSound 1;
    3 fadeMusic 1;
    endLoadingScreen;
};


    /*//blowout
    if (isServer) then { _bul = [ns_blow_emp] execVM "custom\blowout\module\blowout_server.sqf"; };
    if (!isDedicated) then { _bul = [] execVM "custom\blowout\module\blowout_client.sqf";};*/

 

 

Link to comment
Share on other sites

2 minutes ago, Ghostman said:

see my init

  Hide contents

p2c_clientFolder = "p2c\client";
execVM format["%1\p2c_clientInit.sqf",p2c_clientFolder];
//Server settings
dayZ_instance = 11; //Instance ID of this server
dayZ_serverName = "PVE!!!"; //Shown to all players in the bottom left of the screen (country code + server number)

//Game settings
dayz_antihack = 0; // DayZ Antihack / 1 = enabled // 0 = disabled
dayz_REsec = 0; // DayZ RE Security / 1 = enabled // 0 = disabled
dayz_enableRules = true; //Enables a nice little news/rules feed on player login (make sure to keep the lists quick).
dayz_quickSwitch = true; //Turns on forced animation for weapon switch. (hotkeys 1,2,3) False = enable animations, True = disable animations
dayz_POIs = false; //Adds Point of Interest map additions (negatively impacts FPS)
dayz_infectiousWaterholes = false; //Randomly adds some bodies, graves and wrecks by ponds (negatively impacts FPS)
dayz_ForcefullmoonNights = true; // Forces night time to be full moon.
dayz_randomMaxFuelAmount = 600; //Puts a random amount of fuel in all fuel stations.
DZE_garagist = ["Misc_cargo_cont_small_EP1","Profiteer4","Worker3","RU_Profiteer4","Hooker1","Worker2"];
debugMonitor = true;
/*ns_blowout = true;                     // true / false
ns_blowout_dayz = true;                // true / false
ns_blow_delaymod = 0.75;             // Blowout delay
ns_blow_itemapsi = "NVGoggles_DZE"; // ItemAPSI replacement
ns_blow_playerdamage = 5000;         // Damage players without ns_blow_itemapsi can get per blowout
ns_blow_emp = true;*/

enableRadio false;
enableSentences false;

#include "init\configVariables.sqf" // Don't remove this line

diag_log 'dayz_preloadFinished reset';
dayz_preloadFinished=nil;
onPreloadStarted "diag_log [diag_tickTime,'onPreloadStarted']; dayz_preloadFinished = false;";
onPreloadFinished "diag_log [diag_tickTime,'onPreloadFinished']; dayz_preloadFinished = true;";
with uiNameSpace do {RscDMSLoad=nil;}; // autologon at next logon

_verCheck = (getText (configFile >> "CfgMods" >> "DayZ" >> "version") == "DayZ Epoch 1.0.6.1");
if (!isDedicated) then {
    enableSaving [false, false];    startLoadingScreen ["","RscDisplayLoadCustom"];
    progressLoadingScreen 0;
    dayz_loadScreenMsg = localize 'str_login_missionFile';
    if (_verCheck) then {
        progress_monitor = [] execVM "DZE_Hotfix_1.0.6.1A\system\progress_monitor.sqf";
    } else {
        progress_monitor = [] execVM "\z\addons\dayz_code\system\progress_monitor.sqf";
    };
    0 cutText ['','BLACK',0];
    0 fadeSound 0;
    0 fadeMusic 0;
    
    //execVM "Nuke\Effects\effects.sqf";
};

initialized = false;
call compile preprocessFileLineNumbers "init\variables.sqf";
call compile preprocessFileLineNumbers "init\myvariables.sqf";

progressLoadingScreen 0.07;
spawnArea = 900; // Distance around markers to find a safe spawn position
spawnShoremode = 0; // Random spawn locations  1 = on shores, 0 = inland
EpochUseEvents = true; //Enable event scheduler. Define custom scripts in dayz_server\modules to run on a schedule.

EpochEvents = [
["any","any","any","any",8,"Treausre"],
["any","any","any","any",11,"Construction"],
["any","any","any","any",14,"Supply"],
["any","any","any","any",17,"Military"],
["any","any","any","any",20,"drug_bust"],
["any","any","any","any",23,"Treausre"],
["any","any","any","any",26,"Construction"],
["any","any","any","any",29,"Supply"],
["any","any","any","any",31,"Military"],
["any","any","any","any",34,"gems"],
["any","any","any","any",37,"weed"],
["any","any","any","any",40,"drug_bust"],
["any","any","any","any",43,"weed"],
["any","any","any","any",47,"gems"]        //    Remember last one doesnt have a comma (  ,  )
];

//DayZMod presets
dayz_presets = "Custom"; //"Custom","Classic","Vanilla","Elite"

//Only need to edit if you are running a custom server.
if (dayz_presets == "Custom") then {
    dayz_enableGhosting = true; //Enable disable the ghosting system.
    dayz_ghostTimer = 30; //Sets how long in seconds a player must be disconnected before being able to login again. default 60
    dayz_spawnselection = 1; //(Chernarus only) Turn on spawn selection 0 = random only spawns, 1 = spawn choice based on limits
    dayz_spawncarepkgs_clutterCutter = 0; //0 = loot hidden in grass, 1 = loot lifted, 2 = no grass
    dayz_spawnCrashSite_clutterCutter = 0;    // heli crash options 0 = loot hidden in grass, 1 = loot lifted, 2 = no grass
    dayz_spawnInfectedSite_clutterCutter = 0; // infected base spawn 0 = loot hidden in grass, 1 = loot lifted, 2 = no grass
    dayz_bleedingeffect = 2; //1 = blood on the ground (negatively impacts FPS), 2 = partical effect, 3 = both
    dayz_OpenTarget_TimerTicks = 60 * 10; //how long can a player be freely attacked for after attacking someone unprovoked
    dayz_nutritionValuesSystem = true; //true, Enables nutrition system, false, disables nutrition system.
    dayz_classicBloodBagSystem = true; // disable blood types system and use the single classic ItemBloodbag
    dayz_enableFlies = false; // Enable flies on dead bodies (negatively impacts FPS).
};

// Loot
dayz_maxMaxWeaponHolders = 70; // def 80

// Traders
Z_VehicleDistance = 50;
DZE_ConfigTrader = true; // custom traders
DZE_serverLogTrades = true; // log traders

// Zombies
dayz_maxLocalZombies = 15; // Default = 15
dayz_maxNearByZombies = 30; // Default = 30
dayz_maxGlobalZeds = 1000; // Default = 1000
dayz_canDelete = 100;
dayz_DamageMultiplier = 2; //1 - 0 = Disabled, anything over 1 will multiply damage. Damage Multiplier for Zombies.
DZE_slowZombies = true; // Force zombies to always walk

//Animals
dayz_maxAnimals = 8; // Default: 8
dayz_maxGlobalAnimals = 8;
dayz_tameDogs = false; // Allow taming dogs with raw meat. Note dog behavior is experimental and buggy.

//Objects
dayz_maxPlants = 0;
dayz_maxGlobalPlants = 0;
MaxVehicleLimit = 100; // Max number of random vehicles to spawn around the map
MaxDynamicDebris = 0; // Max number of random road blocks to spawn around the map
MaxHeliCrashes = 2;
MaxMineVeins = 5; // Max number of random mine veins to spawn around the map
DynamicVehicleDamageLow = 10; // Default: 0
DynamicVehicleDamageHigh = 30; // Default: 100
DynamicVehicleFuelLow = 15;
DynamicVehicleFuelHigh = 80;
DZE_GemOccurance = [["ItemTopaz",7], ["ItemObsidian",6], ["ItemSapphire",5], ["ItemAmethyst",4], ["ItemEmerald",3], ["ItemCitrine",2], ["ItemRuby",1]]; //Sets how rare each gem is in the order shown when mining (whole numbers only)
DZE_maintainClasses = ["MBG_Warehouse_InEditor","HeliHCivil","HeliH","HeliHRescue","MAP_Heli_H_army","MAP_Heli_H_cross","Land_MBG_Garage_Single_D","USMC_WarfareBVehicleServicePoint","MAP_Ind_Garage01","ModularItems","DZE_Housebase","LightPole_DZ","BuiltItems","Generator_DZ","DZ_buildables","Plastic_Pole_EP1_DZ","Fence_corrugated_DZ","CanvasHut_DZ","ParkBench_DZ","MetalGate_DZ","StickFence_DZ","DesertCamoNet_DZ","ForestCamoNet_DZ","DesertLargeCamoNet_DZ","ForestLargeCamoNet_DZ","DeerStand_DZ","Scaffolding_DZ","FireBarrel_DZ","M240Nest_DZ"];

// Tuning
dayz_maxMaxModels = 70; // def 80 max quantity of Man models (player or Z, dead or alive) around players. Below this limit we can spawn Z // max quantity of loot piles around players. Below this limit we can spawn some loot

// Player parameters
DefaultMagazines = ["17Rnd_9x19_glock17","17Rnd_9x19_glock17","ItemBandage","ItemBandage"];
DefaultWeapons = ["G17_FL_DZ","ItemFlashlight","ItemMap","Binocular","ItemToolbox"];
DefaultBackpack = "DZ_Assault_Pack_EP1";
DefaultBackpackWeapon = "";

DZE_HumanityTargetDistance = 128; // Distance to show name tags (red for bandit, blue for hero, green for friend)
DZE_NameTags = 1; // Name displays when looking at player up close  0 = Off, 1= On, 2 = Player choice
DZE_ForceNameTagsInTrader = true; // Show names on traders
DZE_PlayerZed = false; // Enable spawning as a player zombie when players die with infected status
DZE_R3F_WEIGHT = false; // Enable R3F weight. Players carrying too much will be overburdened and forced to move slowly.
DZE_SelfTransfuse = true; // Allow players to bloodbag themselves
DZE_selfTransfuse_Values = [12000,15,60]; // [blood amount given, infection chance %, cooldown in seconds]
dayz_paraSpawn = false; // Halo spawn
DZE_BackpackAntiTheft = true; // Prevent stealing from backpacks in trader zones

// Gamedesign
DZE_DeathMsgDynamicText = true; // Display death messages as dynamicText in the top left with weapon icons.
DZE_DeathMsgChat = "global"; //"none","global","side","system" Display death messages in selected chat channel.
dayz_knifeDulling = false; // Enable knife dulling. Knives need to be sharpened after so many uses.
dayz_matchboxCount = true; // Enable match stick count. After five uses matches run out and must be replaced.
dayz_toolBreaking = true; //Sledgehammer, crowbar and pickaxe have a chance to break when used.
dayz_waterBottleBreaking = false; // Water bottles have a chance to break when boiling and require duct tape to fix
DZE_HeliLift = false; // no standart heli lift
DZE_HaloSpawnHeight = 500; // This is the altitude fresh spawn players start at when HALO spawn is enabled.
DZE_StaticConstructionCount = 1; // Steps required to build. If greater than 0 this applies to all objects.
DZE_GodModeBase = true; // Make player built base objects indestructible
DZE_requireplot = 1; // Require a plot pole to build  0 = Off, 1 = On
DZE_plotManagementMustBeClose = true; //Players must be within 10m of pole to be added as a plot friend.
DZE_buildMaxHeightDistance = 30;
DZE_PlotPole = [150,450]; // Radius owned by plot pole [Regular objects,Other plotpoles]. Difference between them is the minimum buffer between bases.
DZE_BuildingLimit = 2000; // Max number of built objects allowed in DZE_PlotPole radius
DZE_NoBuildNear = ["Land_A_FuelStation_Build"];
DZE_permanentPlot = true;
DZE_PlotOwnership = false; // No base capturing
DZE_BuildOnRoads = true; // Allow building on roads
dayz_temperature_override = false; // Set to true to disable all temperature changes.
DZE_maintainCurrencyRate = 100; // Maintain price
DZE_modularBuild = true;
DZE_LockableStorage = ["VaultStorage","VaultStorageLocked","LockboxStorageLocked","LockboxStorage"];
DZE_salvageLocked = false;
respawn_west_original = getMarkerPos "respawn_west"; //Prevent problems caused by cheaters moving respawn_west marker with setMarkerPos or deleteMarker
DZE_AntiWallLimit = 3;

DZE_safeVehicle  = ["AH6X_DZ","CH_47F_EP1_DZE","AH6J_EP1_DZ","UH1H_DZ","Mi17_TK_EP1","MMT_Civ","Old_bike_TK_INS_EP1","Old_bike_TK_CIV_EP1","WarfareReammoTruck_RU","ParachuteWest","ParachuteEast","ParachuteC","AGS_TK_INS_EP1","BAF_GMG_Tripod_D","BAF_L2A1_Tripod_W","DSHkM_Mini_TriPod_TK_INS_EP1","DSHKM_TK_INS_EP1","KORD","KORD_high","KORD_high_TK_EP1","M2HD_mini_TriPod","M2StaticMG","M2StaticMG_US_EP1","MK19_TriPod","Stinger_Pod_US_EP1","ZU23_TK_GUE_EP1"];
DayZ_SafeObjects = ["HeliHCivil","HeliH","HeliHRescue","MAP_Heli_H_army","MAP_Heli_H_cross","Land_MBG_Garage_Single_D","Base_Fire_DZ","WoodenGate_1","WoodenGate_2","WoodenGate_3","WoodenGate_4","Land_Fire_DZ","TentStorage","TentStorage0","TentStorage1","TentStorage2","TentStorage3","TentStorage4","StashSmall","StashSmall1","StashSmall2","StashSmall3","StashSmall4","StashMedium","StashMedium1","StashMedium2","StashMedium3","StashMedium4","Wire_cat1","Sandbag1_DZ","Fence_DZ","Generator_DZ","Hedgehog_DZ","BearTrap_DZ","DomeTentStorage","DomeTentStorage0","DomeTentStorage1","DomeTentStorage2","DomeTentStorage3","DomeTentStorage4","CamoNet_DZ","Trap_Cans","TrapTripwireFlare","TrapBearTrapSmoke","TrapTripwireGrenade","TrapTripwireSmoke","TrapBearTrapFlare","TentStorageDomed","VaultStorageLocked","BagFenceRound_DZ","TrapBear","Fort_RazorWire","WoodGate_DZ","Land_HBarrier1_DZ","Land_HBarrier3_DZ","Land_HBarrier5_DZ","Fence_corrugated_DZ","M240Nest_DZ","CanvasHut_DZ","ParkBench_DZ","MetalGate_DZ","OutHouse_DZ","Wooden_shed_DZ","WoodShack_DZ","StorageShed_DZ","Plastic_Pole_EP1_DZ","StickFence_DZ","LightPole_DZ","FuelPump_DZ","DesertCamoNet_DZ","ForestCamoNet_DZ","DesertLargeCamoNet_DZ","ForestLargeCamoNet_DZ","SandNest_DZ","DeerStand_DZ","MetalPanel_DZ","WorkBench_DZ","WoodFloor_DZ","WoodLargeWall_DZ","WoodLargeWallDoor_DZ","WoodLargeWallWin_DZ","WoodSmallWall_DZ","WoodSmallWallWin_DZ","WoodSmallWallDoor_DZ","LockboxStorageLocked","WoodFloorHalf_DZ","WoodFloorQuarter_DZ","WoodStairs_DZ","WoodStairsSans_DZ","WoodStairsRails_DZ","WoodSmallWallThird_DZ","WoodLadder_DZ","Land_DZE_GarageWoodDoor","Land_DZE_LargeWoodDoor","Land_DZE_WoodDoor","Land_DZE_GarageWoodDoorLocked","Land_DZE_LargeWoodDoorLocked","Land_DZE_WoodDoorLocked","CinderWallHalf_DZ","CinderWall_DZ","CinderWallDoorway_DZ","CinderWallDoor_DZ","CinderWallDoorLocked_DZ","CinderWallSmallDoorway_DZ","CinderWallDoorSmall_DZ","CinderWallDoorSmallLocked_DZ","MetalFloor_DZ","WoodRamp_DZ","GunRack_DZ","FireBarrel_DZ","WoodCrate_DZ","Scaffolding_DZ","DesertTentStorage","DesertTentStorage0","DesertTentStorage1","DesertTentStorage2","DesertTentStorage3","DesertTentStorage4"];

DZE_restrictRemoval = ["Plastic_Pole_EP1_DZ","M240Nest_DZ"];
dayz_groupSystem = true;
dayz_markGroup = 2; // Players can see their group members on the map 0=never, 1=always, 2=With GPS only;
dayz_markSelf = 1; // Players can see their own position on the map 0=never, 1=always, 2=With GPS only
dayz_markBody = 1; // Players can see their corpse position on the map 0=never, 1=always, 2=With GPS only
dayz_requireRadio = false; // Require players to have a radio on their toolbelt to create a group, be in a group and receive invites.

/*DZE_Garage = ["Land_MBG_Garage_Single_D"];//MAP_Ind_Garage01
DZE_Helipad = ["HeliHCivil","HeliH","HeliHRescue","MAP_Heli_H_army","MAP_Heli_H_cross"];
DZE_GarageForbidden = ["T55_TK_EP1","Su25_TK_EP1","WarfareReammoTruck_RU","BTR90_DZ","T34_TK_EP1","Old_bike_TK_INS_EP1","M2HD_mini_TriPod","M2StaticMG_US_EP1","AGS_TK_INS_EP1","BAF_GMG_Tripod_D","BAF_L2A1_Tripod_W","DSHkM_Mini_TriPod_TK_INS_EP1","DSHKM_TK_INS_EP1","KORD","KORD_high_TK_EP1","MK19_TriPod"];
MaxGaragesPerPlayer = 2;
MaxGarageVehicles = 3;
MaxGarageVehicles = 10;*/
AllowedStaticVehicles = ["M2HD_mini_TriPod","M2StaticMG_US_EP1","AGS_TK_INS_EP1","BAF_GMG_Tripod_D","BAF_L2A1_Tripod_W","DSHkM_Mini_TriPod_TK_INS_EP1","DSHKM_TK_INS_EP1","KORD","KORD_high_TK_EP1","MK19_TriPod"];
DZE_TempMissionVehicles = ["Su25_TK_EP1","T34_TK_EP1","T55_TK_EP1","JetSkiYanahui_Yellow"];
DZE_SafeZoneNoBuildItems = ["VaultStorageLocked","LockboxStorageLocked","Plastic_Pole_EP1_DZ"];
DZE_SafeZonePosArray = [
    [[6325.6772,7807.7412,0],1000,true],//stary
    [[4063.4226,11664.19,0],1000,true],//bash
    [[11447.472,11364.504,0],1000,true],//klen
    [[10049.321,5429.9766,0],1000,true],//Staroye
    [[1606.6443,7803.5156,0],1000,true],//bandit
    [[12944.227,12766.889,0],1000,true],//hero
    [[4928.18,2393.08,0],1000,true],//Balota
    [[4537.67,10270.7,0],1000,true],//NWAir
    [[7236.27,3030.13,0],1000,true],//Hilltop
    [[12060,12640,0],1000,true]//NE air dealer
];
// Bank & money
Z_SingleCurrency = true;
Z_AllowTakingMoneyFromBackpack = false; // When buying items with DEFAULT CURRENCY to any inventory. Do you allow the trader to take money from your backpack.
Z_AllowTakingMoneyFromVehicle = false; // When buying items with DEFAULT CURRENCY to any inventory. Do you allow the trader to take money from your vehicle.
CurrencyName = "Coins"; // If using single currency this is the currency display name.
Z_moneyVariable = "cashMoney"; // If using single currency this is the variable name used to store player wealth.
Z_bankVariable = "moneySpecial"; // If using single currency this is the variable name used to store object bank wealth.
Z_globalVariable = "GlobalMoney"; // If using single currency this is the variable name used to store coins globally.
DZE_MoneyStorageClasses = []; // If using single currency this is an array of object classes players can store coins in.
Bank_Object = ["RU_Functionary2"]; // Object to get option to bank
LimitOnBank = true; // false = no limits, true = banks are limited on the value below
MaxBankMoney = 25000000;
MGOnline = ["Notebook"];
//Ambience = true;
MGrass = false;

// default viewDistance
setViewDistance 1000;
PlayerViewDistance = 1000;
setTerrainGrid 50; //grass draw distance (50=no grass, 25=normal, 12.5=far)

progressLoadingScreen 0.05;
call compile preprocessFileLineNumbers "init\publicEH.sqf";

progressLoadingScreen 0.1;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf";
progressLoadingScreen 0.12;
call compile preprocessFileLineNumbers "init\compiles.sqf";
if (_verCheck) then {
    #include "DZE_Hotfix_1.0.6.1A\init\compiles.sqf"
};
//call compile preprocessFileLineNumbers "init\mycompiles.sqf";
progressLoadingScreen 0.15;
call compile preprocessFileLineNumbers "scripts\deploy\addons\bike\init.sqf";
progressLoadingScreen 0.20;
call compile preprocessFileLineNumbers "logistic\init.sqf";
progressLoadingScreen 0.25;
call compile preprocessFileLineNumbers "server_traders.sqf";
call compile preprocessFileLineNumbers "bon_recruit_units\init.sqf";
//call compile preprocessFileLineNumbers "Nuke\settings.sqf";
//call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus11.sqf"; //Add trader city objects locally on each machine early
call compile preprocessFileLineNumbers "init\chernarus11.sqf";

initialized = true;

0 setFog 0;
0 setOvercast 0;
0 setRain 0;

//execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf";

// Lootable objects from CfgTownGeneratorDefault.hpp
dayz_townGenerator = false;

if (isServer) then {
    call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf";
    call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf";
    execVM "\z\addons\dayz_server\traders\chernarus11.sqf"; //Add trader agents
    
    //Get the server to setup what waterholes are going to be infected and then broadcast to everyone.
    if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";};
    
    // Lootable objects from CfgTownGeneratorDefault.hpp
    if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; };
    execVM "andre_convoy\andre_convoy.sqf";
    //execVM "Nuke\server_Nuke.sqf";
};

if (!isDedicated) then {
    //Enables Plant lib fixes
    //execVM "\z\addons\dayz_code\system\antihack.sqf";
    
    if (toLower(worldName) == "chernarus") then {
        diag_log "WARNING: Clearing annoying benches from Chernarus";
        ([4654,9595,0] nearestObject 145259) setDamage 1;
        ([4654,9595,0] nearestObject 145260) setDamage 1;
    };
    
    if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; };
    [] execVM "custom\bankp.sqf";
    call compile preprocessFileLineNumbers "spawn\init.sqf";
    execFSM "Custom\player_monitor.fsm";
    
    if (DZE_R3F_WEIGHT) then {execVM "\z\addons\dayz_code\external\R3F_Realism\R3F_Realism_Init.sqf";};
    call compile preprocessFileLineNumbers "custom\Menu\crafting\Init.sqf";
    execVM "rpgfix.sqf";
    
    // Custom hud
    [] execVM "scripts\HUD\init_hud.sqf";
 
    // Safezone script
    //[] execVM "Scripts\safezone\safezone.sqf";
    [] execVM "Scripts\safezone\safezone16.sqf";
    
    // Bank & Money
    [] execVM "Scripts\Coins\init.sqf";
    
    // Service point
    [] execVM "Scripts\service\service_point.sqf";

    // NOS car system
    [] execVM "Scripts\nitro\NosActivator.sqf";

    // SafezoneMarkers
    [] execVM "scripts\Markers\Markers.sqf";
    
    // DynamicTraderMarkers
    [] execVM "scripts\Markers\player_tradermarkers.sqf";
    
    //heliconvoy
    execVM "Scripts\heliconvoy_loadout.sqf";
    
    execVM "player_tradermarkers.sqf";

    execvm "custom\Keymaker\createkey_init.sqf";
    
    [] execVM "admineventsclientside\init_adminevents.sqf";
    
    //[] execVM "Custom\dupe\WeaponDupeFix.sqf";
    
    // Prevent weapon dupe
    //[] execVM "custom\AntiDupes\WeaponDupeFix.sqf";
    
    _nil = [] execVM "custom\remote\remote_messages.sqf";
    _nil = [] execVM "custom\remote\remote.sqf";
    
    waitUntil {scriptDone progress_monitor};
    cutText ["","BLACK IN", 3];
    3 fadeSound 1;
    3 fadeMusic 1;
    endLoadingScreen;
};


    /*//blowout
    if (isServer) then { _bul = [ns_blow_emp] execVM "custom\blowout\module\blowout_server.sqf"; };
    if (!isDedicated) then { _bul = [] execVM "custom\blowout\module\blowout_client.sqf";};*/

 

 

I made Zip file with my server.... Can u help me? PLS

https://drive.google.com/open?id=0B-2ivwOj2q_od2MtMmtXUDVCRDQ

Link to comment
Share on other sites

Just now, Ghostman said:

you have corupted all file plz reinstall your server and And start over AND WHY U AH AND AH CONFIG IN INSTANCE?

When i put root filese like this: z\addons\dayz_server

Then server is not starting and RPT says it can`t find root files...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...