Jump to content

Question

https://epochmod.com/forum/topic/43153-released-custom-spawn-loadout-dependend-on-humanity/#comment-285478

-- OLD THREAT -- SOLVED!

Hello guys,

I have a question about spawning my gear on login. I want my default gear dependend on the amount of humanity. i'm currently working in the file: z\dayz_server\compile\server_playerLogin.sqf
But i cant get a reach on how to get that variable in the server. I dont know how to atleast. I've tried alot of variables like:
player getVariable['humanity',0]; which gives me <NULL>
and trying to debug _playerObj and_primary without luck.. server just crashes without any notification.
Here was my line of code to debug that:

diag_log format["object _playerObj: %1",_playerObj];
diag_log format["object _primary: %1",_primary];

does anyone know how to get that humanity variable ? i want to make a switch statement in the if statement here:

 

if (!_isNew) then {
	//RETURNING CHARACTER
	_inventory = _primary select 4;
	_backpack = _primary select 5;
	_survival = _primary select 6;
	_CharacterCoins = _primary select 7;
	_model = _primary select 8;
	_group = _primary select 9;
	_playerCoins = _primary select 10;
	_BankCoins = _primary select 11;
	_hiveVer = _primary select 12;
	if !(_model in AllPlayers) then {_model = "Survivor2_DZ";};
} else {
	_isInfected = if (DZE_PlayerZed) then {_primary select 3} else {0};
	_model = _primary select 4;
	_group = _primary select 5;
	_playerCoins = _primary select 6;
	_BankCoins = _primary select 7;
	_hiveVer = _primary select 8;	
	if (isNil "_model") then {
		_model = "Survivor2_DZ";
	} else {
		if (_model == "") then {_model = "Survivor2_DZ";};
	};
	//Record initial inventory only if not player zombie 
	if (_isInfected != 1) then {
		_config = configFile >> "CfgSurvival" >> "Inventory" >> "Default";
		_mags = getArray (_config >> "magazines");
		_wpns = getArray (_config >> "weapons");
		_bcpk = getText (_config >> "backpack");
		// Switch statement right here
		if (!isNil "DefaultMagazines") then {_mags = DefaultMagazines;};
		if (!isNil "DefaultWeapons") then {_wpns = DefaultWeapons;};
		if (!isNil "DefaultBackpack") then {_bcpk = DefaultBackpack;};
	
		//Wait for HIVE to be free
		_key = format["CHILD:203:%1:%2:%3:",_charID,[_wpns,_mags],[_bcpk,[],[]]];
		_key call server_hiveWrite;
	};

Something like:
 

if (!_isNew) then {
	//RETURNING CHARACTER
	_inventory = _primary select 4;
	_backpack = _primary select 5;
	_survival = _primary select 6;
	_CharacterCoins = _primary select 7;
	_model = _primary select 8;
	_group = _primary select 9;
	_playerCoins = _primary select 10;
	_BankCoins = _primary select 11;
	_hiveVer = _primary select 12;
	if !(_model in AllPlayers) then {_model = "Survivor2_DZ";};
} else {
	_isInfected = if (DZE_PlayerZed) then {_primary select 3} else {0};
	_model = _primary select 4;
	_group = _primary select 5;
	_playerCoins = _primary select 6;
	_BankCoins = _primary select 7;
	_hiveVer = _primary select 8;	
	if (isNil "_model") then {
		_model = "Survivor2_DZ";
	} else {
		if (_model == "") then {_model = "Survivor2_DZ";};
	};
	
	//Record initial inventory only if not player zombie 
	if (_isInfected != 1) then {
		_config = configFile >> "CfgSurvival" >> "Inventory" >> "Default";
		_mags = getArray (_config >> "magazines");
		_wpns = getArray (_config >> "weapons");
		_bcpk = getText (_config >> "backpack");
		// * CUSTOM LOADOUT SWITCHCASE! *
		switch (true) do {
			case(_humanity >= 5000): {
				DefaultMagazines = ["itemMap" //etc...];
			};
		};
		if (!isNil "DefaultMagazines") then {_mags = DefaultMagazines;};
		if (!isNil "DefaultWeapons") then {_wpns = DefaultWeapons;};
		if (!isNil "DefaultBackpack") then {_bcpk = DefaultBackpack;};
	
		//Wait for HIVE to be free
		_key = format["CHILD:203:%1:%2:%3:",_charID,[_wpns,_mags],[_bcpk,[],[]]];
		_key call server_hiveWrite;
	};
};


 

Share this post


Link to post
Share on other sites

27 answers to this question

Recommended Posts

  • 0

@chargedlight1 if is for epoch 1.6 you can try in your init.sqf

find:

// Uncomment the lines below to change the default loadout
//DefaultMagazines = ["ItemMap","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"];

replace by:

PlayerHumanity = (player getVariable"humanity");

if (PlayerHumanity >= 5000) then {
//hero
DefaultMagazines = ["ItemMap","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"];
};	
if (PlayerHumanity < 2500) then {
//bndit
DefaultMagazines = ["ItemMap","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"];
}else{
DefaultMagazines = ["ItemMap","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"];
};	

 

Share this post


Link to post
Share on other sites
  • 0
Spoiler

PlayerHumanity = (player getVariable "humanity");
// console.log js xD
diag_log format["Variable PlayerHumanity %1",PlayerHumanity];
if (PlayerHumanity >= 5000) then {
//hero
    diag_log format["LOADOUT: Hero"];
    DefaultMagazines = ["ItemMap","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"];
};    
if (PlayerHumanity < 2500) then {
//bndit
    diag_log format["LOADOUT: Bandit"];
    DefaultMagazines = ["ItemMap","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"];
}else{
    diag_log format["LOADOUT: DEFAULT! ERROR!"];
    DefaultMagazines = ["ItemMap","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"];
};    

Currently this is my code... The PlayerHumanity variable is undifined ;(


this is the error

 

Spoiler

14:50:10 Error in expression <log format["Variable PlayerHumanity %1",PlayerHumanity];
if (PlayerHumanity >= 5>
14:50:10   Error position: <PlayerHumanity];
if (PlayerHumanity >= 5>
14:50:10   Error Undefined variable in expression: playerhumanity
14:50:10 File mpmissions\DayZ_Epoch_11.Chernarus\init.sqf, line 50

 

Share this post


Link to post
Share on other sites
  • 0

make this

 

private ["_isHero","_humanity","_isBandit"};
_humanity = player getVariable ["humanity",0];
_isBandit = _humanity < -5000;
_isHero = _humanity > 5000;

if (_isHero) then {
    DefaultMagazines = ["ItemMap","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"];
	};	
    
if (_isBandit) then {

    DefaultMagazines = ["ItemMap","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"];
    }else{
    DefaultMagazines = ["ItemMap","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"];
	};	

 

Share this post


Link to post
Share on other sites
  • 0

Same error: 

15:02:41 Error in expression <getVariable ["humanity",0];
_isBandit = _humanity < -5000;
_isHero = _humanity >>
15:02:41   Error position: <_humanity < -5000;
_isHero = _humanity >>
15:02:41   Error Undefined variable in expression: _humanity

This was the reason i went deeper into the code to write the solution there. Same problem there. 
( Deeper file was:  z\dayz_server\compile\server_playerLogin.sqf )

However i did found out that in the file  z\dayz_server\compile\server_playerSetup.sqf
That the variable is getting set over there. 
_playerObj setVariable ["humanity",_humanity,true];

But then the variables (

 DefaultMagazines = ["ItemMap","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"];

are already have been used to create the model. So these aren't getting used anymore from that point.

Share this post


Link to post
Share on other sites
  • 0

@coresync No i did not.. 

After i added those like this:

 

Spoiler

private ["_isHero","_humanity","_isBandit"];


_humanity = player getVariable ["humanity",0];
_isBandit = _humanity < -5000;
_isHero = _humanity > 5000;

// console.log js xD
diag_log format["Variable PlayerHumanity %1",_humanity];
if (_isHero) then {
//hero
    diag_log format["LOADOUT: Hero"];
    DefaultMagazines = ["ItemMap","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"];
};    
if (_isBandit) then {
//bndit
    diag_log format["LOADOUT: Bandit"];
    DefaultMagazines = ["ItemMap","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"];
}else{
    diag_log format["LOADOUT: DEFAULT! ERROR!"];
    DefaultMagazines = ["ItemMap","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"];
};    

The error is still the same. 

15:12:14 Error in expression <getVariable ["humanity",0];
_isBandit = _humanity < -5000;
_isHero = _humanity >>
15:12:14   Error position: <_humanity < -5000;
_isHero = _humanity >>
15:12:14   Error Undefined variable in expression: _humanity
15:12:14 File mpmissions\DayZ_Epoch_11.Chernarus\init.sqf, line 51


Now i also need to know what this: "_private" does. Is it simmular to this: http://stackoverflow.com/questions/4361553/what-is-the-difference-between-public-private-and-protected ?

Share this post


Link to post
Share on other sites
  • 0

as Init.sqf Requested:


init.sqf:

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_antiWallHack = 1; //DayZ AntiWallhack / 1 = enabled // 0 = disabled, Adds items to the map to plug holes.
dayz_REsec = 1; // 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 = false; //Turns on forced animation for weapon switch. (hotkeys 1,2,3) False = enable animations, True = disable animations
dayz_POIs = true;
dayz_infectiousWaterholes = true;
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"

//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 = 3; //1 = blood on the ground, 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
};

//Temp settings
dayz_DamageMultiplier = 2; //1 - 0 = Disabled, anything over 1 will multiply damage. Damage Multiplier for Zombies.
dayz_maxGlobalZeds = 150; //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
private ["_isHero","_humanity","_isBandit"];


_humanity = player getVariable ["humanity",0];
_isBandit = _humanity < -5000;
_isHero = _humanity > 5000;

// console.log js xD
diag_log format["Variable PlayerHumanity %1",_humanity];
if (_isHero) then {
//hero
    diag_log format["LOADOUT: Hero"];
    DefaultMagazines = ["ItemMap","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"];
};    
if (_isBandit) then {
//bndit
    diag_log format["LOADOUT: Bandit"];
    DefaultMagazines = ["ItemMap","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"];
}else{
    diag_log format["LOADOUT: DEFAULT! ERROR!"];
    DefaultMagazines = ["ItemMap","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_noRotate = [];
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_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 = [30,45]; // 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 = [4000,15,120]; // [blood amount given, infection chance %, cooldown in seconds]
MaxDynamicDebris = 15; // 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",5,"crash_spawner"],["any","any","any","any",30,"bombcrate"],["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

if (!isDedicated) then {
    enableSaving [false, false];
    startLoadingScreen ["","RscDisplayLoadCustom"];
    progressLoadingScreen 0;
    dayz_loadScreenMsg = localize 'str_login_missionFile';
    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 "Custom\compiles.sqf";
progressLoadingScreen 0.2;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\init.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 each machine early
initialized = true;

setTerrainGrid 50; //grass draw distance (50=no grass, 25=normal, 12.5=far)
if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\REsec.sqf";};
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\traders\chernarus11.sqf"; //Add trader agents
    call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf";
    //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important)
    if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; };
    //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\LegacyTownGenerator\MainLootableObjects.sqf"; };

if (!isDedicated) then {

    if (dayz_antiWallHack != 0) then {
        //Enables Map Plug items
        execVM "\z\addons\dayz_code\system\mission\chernarus\security\init.sqf";
        //Enables Plant lib fixes
        call compile preprocessFileLineNumbers "\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_enableRules && (profileNamespace getVariable ["streamerMode",0] == 0)) then { dayz_rulesHandle = execVM "rules.sqf"; };
    if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; };
    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";
    _nil = [] execVM "custom\remote\remote.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;
};

 

Share this post


Link to post
Share on other sites
  • 0

try this

Ok, open rules.sqf and add this complete code

private ["_messages","_timeout","_isHero","_humanity","_isBandit"];

waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")};

_humanity = player getVariable ["humanity",0];
_isBandit = _humanity < -5000;
_isHero = _humanity > 5000;

if (_isHero) then {
    DefaultMagazines = ["ItemMap","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"];
	};	
    
if (_isBandit) then {

    DefaultMagazines = ["ItemMap","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"];
    }else{
    DefaultMagazines = ["ItemMap","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"];
	};	

_messages = [
	["DayZ Epoch", "Welcome "+(name player)],
	["World", worldName],
	["Teamspeak", "some TS info"],
	["Website/Forums", "some website info"],
	["Server Rules", "Duping, glitching or using any<br />exploit will result in a<br />permanent ban."],
	["Server Rules", "No talking in side."],
	["Server Rules", "Hackers will be banned permanently<br />Respect others"],
	["News", "Some random new info!<br />Random news<br />"]
];
 
_timeout = 5;
{
	private ["_title","_content","_titleText"];
	uiSleep 2;
	_title = _x select 0;
	_content = _x select 1;
	_titleText = format[("<t font='TahomaB' size='0.40' color='#a81e13' align='right' shadow='1' shadowColor='#000000'>%1</t><br /><t shadow='1'shadowColor='#000000' font='TahomaB' size='0.60' color='#FFFFFF' align='right'>%2</t>"), _title, _content];
	[
		_titleText,
		[safezoneX + safezoneW - 0.8,0.50],     //DEFAULT: 0.5,0.35
		[safezoneY + safezoneH - 0.8,0.7],      //DEFAULT: 0.8,0.7
		_timeout,
		0.5
	] spawn BIS_fnc_dynamicText;
	uiSleep (_timeout * 1.1);
} forEach _messages;

and try again

Share this post


Link to post
Share on other sites
  • 0
Spoiler

=====================================================================
== D:\my epoch server\arma2oaserver.exe
== arma2oaserver.exe  -port=2302 "-config=instance_11_Chernarus\config.cfg" "-cfg=instance_11_Chernarus\basic.cfg" "-profiles=instance_11_Chernarus" -name=instance_11_Chernarus "[email protected]_Epoch;@DayZ_Epoch_Server;"
=====================================================================
Exe timestamp: 2016/11/04 19:59:06
Current time:  2017/01/12 15:41:09

Version 1.63.131129
Updating base class ->NonStrategic, by ca\config.bin/CfgVehicles/HouseBase/
Updating base class ->HouseBase, by ca\config.bin/CfgVehicles/Ruins/
Updating base class ->DestructionEffects, by ca\config.bin/CfgVehicles/House/DestructionEffects/
Updating base class ->FlagCarrierCore, by ca\ca_pmc\config.bin/CfgVehicles/FlagCarrier/
Updating base class ->VehicleMagazine, by ca\weapons\config.bin/CfgMagazines/14Rnd_FFAR/
Updating base class Default->RifleCore, by ca\weapons\config.bin/cfgWeapons/Rifle/
Updating base class ->LauncherCore, by ca\weapons\config.bin/cfgWeapons/RocketPods/
Updating base class ->RocketPods, by ca\weapons\config.bin/cfgWeapons/FFARLauncher/
Updating base class ->UH60_Base, by ca\air\config.bin/CfgVehicles/MH60S/
Updating base class ->Car, by ca\wheeled2\lada\config.bin/CfgVehicles/Lada_base/
Updating base class Small_items->ReammoBox, by dayz_equip\config.cpp/CfgVehicles/CardboardBox/
Updating base class StreetLamp_EP1->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_Lamp_Small_EP1/
Updating base class StreetLamp_EP1->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_Lamp_Street1_EP1/
Updating base class StreetLamp_EP1->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_Lamp_Street2_EP1/
Updating base class StreetLamp_EP1->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_Lampa_Ind_EP1/
Updating base class StreetLamp_EP1->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_PowLines_Conc2L_EP1/
Updating base class StreetLamp_BaseMediumOrange->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_lampa_sidl/
Updating base class StreetLamp_BaseMediumOrange->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_lampa_sidl_2/
Updating base class StreetLamp_BaseMediumOrange->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_lampa_sidl_3/
Updating base class StreetLamp_BaseWeakYellow->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_lampa_ind/
Updating base class StreetLamp_BaseWeakYellow->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_lampa_ind_zebr/
Updating base class RscStandardDisplay->, by z\addons\dayz_code\config.bin/RscDisplayStart/
Updating base class RscShortcutButton->RscShortcutButtonMain, by z\addons\dayz_code\config.bin/RscDisplayMain/controls/CA_Exit/
Updating base class CA_IGUI_Title->RscText, by z\addons\dayz_code\config.bin/RscDisplayGear/Controls/Gear_Title/
Updating base class Available_items_Text->RscText, by z\addons\dayz_code\config.bin/RscDisplayGear/Controls/CA_ItemName/
Updating base class CA_Gear_slot_item7->CA_Gear_slot_item1, by z\addons\dayz_code\config.bin/RscDisplayGear/Controls/G_GearItems/Controls/CA_Gear_slot_item8/
Updating base class CA_Gear_slot_item7->CA_Gear_slot_item1, by z\addons\dayz_code\config.bin/RscDisplayGear/Controls/G_GearItems/Controls/CA_Gear_slot_item9/
Updating base class CA_Gear_slot_item7->CA_Gear_slot_item1, by z\addons\dayz_code\config.bin/RscDisplayGear/Controls/G_GearItems/Controls/CA_Gear_slot_item10/
Updating base class CA_Gear_slot_item7->CA_Gear_slot_item1, by z\addons\dayz_code\config.bin/RscDisplayGear/Controls/G_GearItems/Controls/CA_Gear_slot_item11/
Updating base class CA_Gear_slot_item7->CA_Gear_slot_item1, by z\addons\dayz_code\config.bin/RscDisplayGear/Controls/G_GearItems/Controls/CA_Gear_slot_item12/
Updating base class CA_Gear_slot_handgun_item5->CA_Gear_slot_handgun_item1, by z\addons\dayz_code\config.bin/RscDisplayGear/Controls/G_GearItems/Controls/CA_Gear_slot_handgun_item6/
Updating base class CA_Gear_slot_handgun_item5->CA_Gear_slot_handgun_item1, by z\addons\dayz_code\config.bin/RscDisplayGear/Controls/G_GearItems/Controls/CA_Gear_slot_handgun_item7/
Updating base class CA_Gear_slot_handgun_item5->CA_Gear_slot_handgun_item1, by z\addons\dayz_code\config.bin/RscDisplayGear/Controls/G_GearItems/Controls/CA_Gear_slot_handgun_item8/
Updating base class CA_Gear_slot_special1->CA_Gear_slot_handgun_item1, by z\addons\dayz_code\config.bin/RscDisplayGear/Controls/G_GearItems/Controls/CA_Gear_slot_inventory1/
Updating base class CA_Gear_slot_inventory7->CA_Gear_slot_inventory1, by z\addons\dayz_code\config.bin/RscDisplayGear/Controls/G_GearItems/Controls/CA_Gear_slot_inventory8/
Updating base class CA_Gear_slot_inventory7->CA_Gear_slot_inventory1, by z\addons\dayz_code\config.bin/RscDisplayGear/Controls/G_GearItems/Controls/CA_Gear_slot_inventory9/
Updating base class CA_Gear_slot_inventory7->CA_Gear_slot_inventory1, by z\addons\dayz_code\config.bin/RscDisplayGear/Controls/G_GearItems/Controls/CA_Gear_slot_inventory10/
Updating base class CA_Gear_slot_inventory7->CA_Gear_slot_inventory1, by z\addons\dayz_code\config.bin/RscDisplayGear/Controls/G_GearItems/Controls/CA_Gear_slot_inventory11/
Updating base class CA_Gear_slot_inventory7->CA_Gear_slot_inventory1, by z\addons\dayz_code\config.bin/RscDisplayGear/Controls/G_GearItems/Controls/CA_Gear_slot_inventory12/
Updating base class CA_Gear_slot_item1->CA_Gear_slot_handgun, by z\addons\dayz_code\config.bin/RscDisplayGear/Controls/G_GearItems/Controls/CA_Gear_slot_special1/
Updating base class RscIGUIShortcutButton->RscActiveText, by z\addons\dayz_code\config.bin/RscDisplayGear/Controls/ButtonClose/
Updating base class RscText->, by z\addons\dayz_code\config.bin/RscTitles/Default/
Updating base class ->RadioProtocolEmpty, by z\addons\dayz_code\config.bin/RadioProtocolBase/
Updating base class RadioProtocolBase->RadioProtocolEmpty, by z\addons\dayz_code\config.bin/RadioProtocol_EP1_EN/
Updating base class RadioProtocolBase->RadioProtocolEmpty, by z\addons\dayz_code\config.bin/RadioProtocol_EP1_TK/
Updating base class RadioProtocolBase->RadioProtocolEmpty, by z\addons\dayz_code\config.bin/RadioProtocol_WMN_EP1_TK/
Updating base class RadioProtocolBase->RadioProtocolEmpty, by z\addons\dayz_code\config.bin/RadioProtocolEN/
Updating base class RadioProtocolBase->RadioProtocolEmpty, by z\addons\dayz_code\config.bin/RadioProtocolRU/
Updating base class RadioProtocolBase->RadioProtocolEmpty, by z\addons\dayz_code\config.bin/RadioProtocolCZ/
Updating base class RadioProtocolBase->RadioProtocolEmpty, by z\addons\dayz_code\config.bin/RadioProtocol_BAF/
Updating base class ->ViewOptics, by z\addons\dayz_code\config.bin/CfgVehicles/Mi17_base/Turrets/MainTurret/ViewOptics/
Updating base class ->ViewOptics, by z\addons\dayz_code\config.bin/CfgVehicles/UH1H_base/Turrets/MainTurret/ViewOptics/
Updating base class ->ViewOptics, by z\addons\dayz_code\config.bin/CfgVehicles/UH1_Base/Turrets/MainTurret/ViewOptics/
Updating base class Strategic->, by z\addons\dayz_code\config.bin/CfgVehicles/Bomb/
Updating base class HighCommand->Logic, by z\addons\dayz_code\config.bin/CfgVehicles/HighCommandSubordinate/
Updating base class ReammoBox->House, by z\addons\dayz_code\config.bin/CfgVehicles/RUBasicAmmunitionBox/
Updating base class NonStrategic->BuiltItems, by z\addons\dayz_code\config.bin/CfgVehicles/Fort_RazorWire/
Updating base class ->DefaultEventhandlers, by z\addons\dayz_code\config.bin/CfgVehicles/CSJ_GyroP/EventHandlers/
Updating base class AnimationSources->AnimationSources, by z\addons\dayz_code\config.bin/CfgVehicles/CSJ_GyroC/AnimationSources/
Updating base class ->DefaultEventhandlers, by z\addons\dayz_code\config.bin/CfgVehicles/CSJ_GyroC/EventHandlers/
Updating base class BuiltItems->Generator_Base, by z\addons\dayz_code\config.bin/CfgVehicles/Generator_DZ/
Updating base class VehicleMagazine->CA_Magazine, by z\addons\dayz_code\config.bin/CfgMagazines/29Rnd_30mm_AGS30/
Updating base class VehicleMagazine->CA_Magazine, by z\addons\dayz_code\config.bin/CfgMagazines/48Rnd_40mm_MK19/
Updating base class 4000Rnd_762x51_M134->CA_Magazine, by z\addons\dayz_code\config.bin/CfgMagazines/2000Rnd_762x51_M134/
Updating base class VehicleMagazine->CA_Magazine, by z\addons\dayz_code\config.bin/CfgMagazines/100Rnd_127x99_M2/
Updating base class VehicleMagazine->CA_Magazine, by z\addons\dayz_code\config.bin/CfgMagazines/50Rnd_127x107_DSHKM/
Updating base class 4000Rnd_762x51_M134->CA_Magazine, by z\addons\dayz_code\config.bin/CfgMagazines/pook_1300Rnd_762x51_M60/
Updating base class 100Rnd_762x51_M240->CA_Magazine, by z\addons\dayz_code\config.bin/CfgMagazines/pook_250Rnd_762x51/
Updating base class 6Rnd_Grenade_Camel->CA_Magazine, by z\addons\dayz_code\config.bin/CfgMagazines/pook_12Rnd_Grenade_Camel/
Updating base class VehicleMagazine->CA_Magazine, by z\addons\dayz_code\config.bin/CfgMagazines/3Rnd_GyroGrenade/
Updating base class DropWeapon->None, by z\addons\dayz_code\config.bin/CfgActions/PutWeapon/
Updating base class DropMagazine->None, by z\addons\dayz_code\config.bin/CfgActions/PutMagazine/
Updating base class Land_HouseV_1I2->House, by zero_buildings\config.cpp/CfgVehicles/Land_HouseV_1L2/
Updating base class Land_HouseV_1I2->House, by zero_buildings\config.cpp/CfgVehicles/Land_HouseV_3I3/
Updating base class House->DZE_OpenHouse, by warehouse\config.bin/CfgVehicles/Land_Ind_Pec_03/
15:41:14 Initializing Steam server - Game Port: 2302, Steam Query Port: 2303
15:41:15 Connected to Steam servers
15:41:28 Server error: Player without identity Chargedlight1 (id 327551275)
15:41:28 Server error: Player without identity Chargedlight1 (id 327551275)
15:41:28 Server error: Player without identity Chargedlight1 (id 327551275)
15:41:28 Server error: Player without identity Chargedlight1 (id 327551275)
15:41:28 Server error: Player without identity Chargedlight1 (id 327551275)
15:41:28 Server error: Player without identity Chargedlight1 (id 327551275)
15:41:28 Server error: Player without identity Chargedlight1 (id 327551275)
15:41:28 Server error: Player without identity Chargedlight1 (id 327551275)
15:41:28 Server error: Player without identity Chargedlight1 (id 327551275)
15:41:28 Server error: Player without identity Chargedlight1 (id 327551275)
15:41:28 Server error: Player without identity Chargedlight1 (id 327551275)
15:41:28 Server error: Player without identity Chargedlight1 (id 327551275)
15:41:28 Server error: Player without identity Chargedlight1 (id 327551275)
15:41:28 Server error: Player without identity Chargedlight1 (id 327551275)
15:41:28 Server error: Player without identity Chargedlight1 (id 327551275)
15:41:29 Server error: Player without identity Chargedlight1 (id 327551275)
15:41:29 Server error: Player without identity Chargedlight1 (id 327551275)
15:41:29 Server error: Player without identity Chargedlight1 (id 327551275)
15:41:29 Server error: Player without identity Chargedlight1 (id 327551275)
15:41:29 Server error: Player without identity Chargedlight1 (id 327551275)
15:41:29 Server error: Player without identity Chargedlight1 (id 327551275)
15:41:34 Strange convex component81 in zero_buildings\models\housev_3i3_i.p3d:geometryFire
15:41:42 Strange convex component288 in warehouse\models\warehouse.p3d:geometry
15:41:42 Strange convex component289 in warehouse\models\warehouse.p3d:geometry
15:41:42 Strange convex component290 in warehouse\models\warehouse.p3d:geometry
15:41:42 Strange convex component291 in warehouse\models\warehouse.p3d:geometry
15:41:42 Strange convex component292 in warehouse\models\warehouse.p3d:geometry
15:41:42 Strange convex component293 in warehouse\models\warehouse.p3d:geometry
15:41:42 Strange convex component294 in warehouse\models\warehouse.p3d:geometry
15:41:42 Strange convex component295 in warehouse\models\warehouse.p3d:geometry
15:41:42 Strange convex component296 in warehouse\models\warehouse.p3d:geometry
15:41:42 Strange convex component297 in warehouse\models\warehouse.p3d:geometry
15:41:42 Strange convex component298 in warehouse\models\warehouse.p3d:geometry
15:41:42 Strange convex component299 in warehouse\models\warehouse.p3d:geometry
15:41:42 Strange convex component300 in warehouse\models\warehouse.p3d:geometry
15:41:42 Strange convex component301 in warehouse\models\warehouse.p3d:geometry
15:41:42 Strange convex component302 in warehouse\models\warehouse.p3d:geometry
15:41:42 Strange convex component303 in warehouse\models\warehouse.p3d:geometry
15:41:42 Strange convex component304 in warehouse\models\warehouse.p3d:geometry
15:41:42 Strange convex component305 in warehouse\models\warehouse.p3d:geometry
15:41:42 Strange convex component306 in warehouse\models\warehouse.p3d:geometry
15:41:42 Strange convex component307 in warehouse\models\warehouse.p3d:geometry
15:41:42 Strange convex component308 in warehouse\models\warehouse.p3d:geometry
15:41:42 Strange convex component309 in warehouse\models\warehouse.p3d:geometry
15:41:42 Strange convex component310 in warehouse\models\warehouse.p3d:geometry
15:41:42 Strange convex component311 in warehouse\models\warehouse.p3d:geometry
15:41:42 Strange convex component312 in warehouse\models\warehouse.p3d:geometry
15:41:42 Strange convex component313 in warehouse\models\warehouse.p3d:geometry
15:41:42 Strange convex component314 in warehouse\models\warehouse.p3d:geometry
15:41:42 Strange convex component315 in warehouse\models\warehouse.p3d:geometry
15:41:42 Strange convex component316 in warehouse\models\warehouse.p3d:geometry
15:41:42 Strange convex component317 in warehouse\models\warehouse.p3d:geometry
15:41:42 Strange convex component252 in warehouse\models\warehouse.p3d:geometryFire
15:41:42 Strange convex component253 in warehouse\models\warehouse.p3d:geometryFire
15:41:42 Strange convex component254 in warehouse\models\warehouse.p3d:geometryFire
15:41:42 Strange convex component255 in warehouse\models\warehouse.p3d:geometryFire
15:41:42 Strange convex component256 in warehouse\models\warehouse.p3d:geometryFire
15:41:42 Strange convex component257 in warehouse\models\warehouse.p3d:geometryFire
15:41:42 Strange convex component258 in warehouse\models\warehouse.p3d:geometryFire
15:41:42 Strange convex component259 in warehouse\models\warehouse.p3d:geometryFire
15:41:42 Strange convex component260 in warehouse\models\warehouse.p3d:geometryFire
15:41:42 Strange convex component261 in warehouse\models\warehouse.p3d:geometryFire
15:41:42 Strange convex component262 in warehouse\models\warehouse.p3d:geometryFire
15:41:42 Strange convex component263 in warehouse\models\warehouse.p3d:geometryFire
15:41:42 Strange convex component264 in warehouse\models\warehouse.p3d:geometryFire
15:41:42 Strange convex component265 in warehouse\models\warehouse.p3d:geometryFire
15:41:42 Strange convex component266 in warehouse\models\warehouse.p3d:geometryFire
15:41:42 Strange convex component267 in warehouse\models\warehouse.p3d:geometryFire
15:41:42 Strange convex component268 in warehouse\models\warehouse.p3d:geometryFire
15:41:42 Strange convex component269 in warehouse\models\warehouse.p3d:geometryFire
15:41:42 Strange convex component270 in warehouse\models\warehouse.p3d:geometryFire
15:41:42 Strange convex component271 in warehouse\models\warehouse.p3d:geometryFire
15:41:42 Strange convex component272 in warehouse\models\warehouse.p3d:geometryFire
15:41:42 Strange convex component273 in warehouse\models\warehouse.p3d:geometryFire
15:41:42 Strange convex component274 in warehouse\models\warehouse.p3d:geometryFire
15:41:42 Strange convex component275 in warehouse\models\warehouse.p3d:geometryFire
15:41:42 Strange convex component276 in warehouse\models\warehouse.p3d:geometryFire
15:41:42 Strange convex component277 in warehouse\models\warehouse.p3d:geometryFire
15:41:42 Strange convex component278 in warehouse\models\warehouse.p3d:geometryFire
15:41:42 Strange convex component279 in warehouse\models\warehouse.p3d:geometryFire
15:41:42 Strange convex component280 in warehouse\models\warehouse.p3d:geometryFire
15:41:42 Strange convex component281 in warehouse\models\warehouse.p3d:geometryFire
15:41:42 Strange convex component249 in warehouse\models\warehouse.p3d:geometryView
15:41:42 Strange convex component250 in warehouse\models\warehouse.p3d:geometryView
15:41:42 Strange convex component251 in warehouse\models\warehouse.p3d:geometryView
15:41:42 Strange convex component252 in warehouse\models\warehouse.p3d:geometryView
15:41:42 Strange convex component253 in warehouse\models\warehouse.p3d:geometryView
15:41:42 Strange convex component254 in warehouse\models\warehouse.p3d:geometryView
15:41:42 Strange convex component255 in warehouse\models\warehouse.p3d:geometryView
15:41:42 Strange convex component256 in warehouse\models\warehouse.p3d:geometryView
15:41:42 Strange convex component257 in warehouse\models\warehouse.p3d:geometryView
15:41:42 Strange convex component258 in warehouse\models\warehouse.p3d:geometryView
15:41:42 Strange convex component259 in warehouse\models\warehouse.p3d:geometryView
15:41:42 Strange convex component260 in warehouse\models\warehouse.p3d:geometryView
15:41:42 Strange convex component261 in warehouse\models\warehouse.p3d:geometryView
15:41:42 Strange convex component262 in warehouse\models\warehouse.p3d:geometryView
15:41:42 Strange convex component263 in warehouse\models\warehouse.p3d:geometryView
15:41:42 Strange convex component264 in warehouse\models\warehouse.p3d:geometryView
15:41:42 Strange convex component265 in warehouse\models\warehouse.p3d:geometryView
15:41:42 Strange convex component266 in warehouse\models\warehouse.p3d:geometryView
15:41:42 Strange convex component267 in warehouse\models\warehouse.p3d:geometryView
15:41:42 Strange convex component268 in warehouse\models\warehouse.p3d:geometryView
15:41:42 Strange convex component269 in warehouse\models\warehouse.p3d:geometryView
15:41:42 Strange convex component270 in warehouse\models\warehouse.p3d:geometryView
15:41:42 Strange convex component271 in warehouse\models\warehouse.p3d:geometryView
15:41:42 Strange convex component272 in warehouse\models\warehouse.p3d:geometryView
15:41:42 Strange convex component273 in warehouse\models\warehouse.p3d:geometryView
15:41:42 Strange convex component274 in warehouse\models\warehouse.p3d:geometryView
15:41:42 Strange convex component275 in warehouse\models\warehouse.p3d:geometryView
15:41:42 Strange convex component276 in warehouse\models\warehouse.p3d:geometryView
15:41:42 Strange convex component277 in warehouse\models\warehouse.p3d:geometryView
15:41:42 Strange convex component278 in warehouse\models\warehouse.p3d:geometryView
15:41:50 "PRELOAD_ Functions\init [[<No group>:0 (FunctionsManager)],any]"
15:41:50 "MPframework inited"
15:41:50 "dayz_preloadFinished reset"
15:41:51 "infiSTAR.de - Waiting for BIS_fnc_init..."
15:41:51 "Epoch detected"
15:41:51 "infiSTAR.de - BIS_fnc_init done - AntiHack STARTING...!"
15:41:51 Warning Message: Script low_admins.sqf not found
15:41:51 Warning Message: Script normal_admins.sqf not found
15:41:51 Warning Message: Script super_admins.sqf not found
15:41:51 Warning Message: Script blacklist.sqf not found
15:41:51 "infiSTAR.de - iproductVersion: 08-Jan-2017 16-03-03-v1437 | Server productVersion: ["ArmA 2 OA","ArmA2OA",163,131129] | worldName: Chernarus | dayz_instance: 11 | missionName: DayZ_Epoch_11"
15:41:51 "infiSTAR.de - _fnc_RandomGen: {
_abc = ['z','y','x','w','v','u','t','s','r','q','p','o','n','m','l','k','j','i','h','g','f','e','d','c','b','a'];
_gen = _abc select (random ((count _abc)-1));
_arr = ['H','g','H','s','D','N','d','W','j','8','I','j','2','7','F','v','Z','R','y','2','n','T','X','v','L','S','5','h','y','g'];
for '_i' from 0 to (8+(round(random 3))) do {_gen = _gen + str(round(random 9)) + (_arr select (random ((count _arr)-1)));};
_gen
}"
15:41:51 "infiSTAR.de - _simple: u481d8W4S8W1h9H9D0Z3j2S52"
15:41:51 "infiSTAR.de - _dialogIds: i2j5v3h873T2D9S3j6s1F"
15:41:51 "infiSTAR.de - _badtxts: r121X8I3Z6v5H1T3n1n"
15:41:51 "infiSTAR.de - _randvar1: w3D970S8L6I7X6H0H1Z1H1g"
15:41:51 "infiSTAR.de - _randvar2: t3X6j6h7j9L1D9H273Z1v"
15:41:51 "infiSTAR.de - _randvar0: b671j5g0W328j7v4d6Z0Z454j"
15:41:51 "infiSTAR.de - _randvar3: j6T674v7g7Z8W5L7y9H4D"
15:41:51 "infiSTAR.de - _randvar4: u5n683d578I5d8h376v72752R"
15:41:51 "infiSTAR.de - _randvar5: p350g9j5T654g8j7g5H7S3H"
15:41:51 "infiSTAR.de - _randvar6: i2N8n3Z7R4y1n873X5v7y7j87"
15:41:51 "infiSTAR.de - _randvar8: y5n8h027R6n4g4T3L5n"
15:41:51 "infiSTAR.de - _randvar9: b3v2N8h7Z5T6T8d8n6j"
15:41:51 "infiSTAR.de - _randvar11: g4F1v6X457D570v2y285T"
15:41:51 "infiSTAR.de - _randvar12: a8W6X0g371j3D0n689N2R956n"
15:41:51 "infiSTAR.de - _randvar13: z1F8n3j5R1D2g7h2H3d9F45"
15:41:51 "infiSTAR.de - _randvar19: f8g6g4F2H8X525y4j8R3L5Z"
15:41:51 "infiSTAR.de - _randvar20: q3n8H7s271y2n1H2n3L5d3H5g"
15:41:51 "infiSTAR.de - _randvar27: y6h9W1j0H7X4j2D5I1h5D9R"
15:41:51 "infiSTAR.de - _randvar26: n7v3y6Z8H3h2L627D6N9d3R22"
15:41:51 "infiSTAR.de - _randvar25: s4n1j7X5g0D1S8h4T4D0R276H"
15:41:51 "infiSTAR.de - _randvar31: g773T3I2v8h2j026y873R423y"
15:41:51 "infiSTAR.de - _randvar33: i3S1v9N2D6h3T189v674Z55"
15:41:51 "infiSTAR.de - _randvar34: k4y8j8H5F4n4T6s8T2s2g3S"
15:41:51 "infiSTAR.de - _randvar35: h7g2g4S2N7D3S4g4X1T8N8s"
15:41:51 "infiSTAR.de - _randvar36: b3R0j9S1L3272485y6R"
15:41:51 "infiSTAR.de - _randvar372637: t5T5j3j1v3F7T6D1N7y6H4j8W"
15:41:51 "infiSTAR.de - _randvar38: a9I2H4j4T6T5H724Z55"
15:41:51 "infiSTAR.de - _randvar39: o5h3L5N7y1v7v322g77322g4I"
15:41:51 "infiSTAR.de - _clickOnMapTimer: l9v828v7F4H4T922F0I1H8I"
15:41:51 "infiSTAR.de - _clickOnMapCaught: t9N3d9X3g8y128v4L2W6y4s"
15:41:51 "infiSTAR.de - _fnc_handlerandvar10: v1I3L4F7j3X6L4v8H6H2832"
15:41:51 "infiSTAR.de - _remark: c1h3S5R7j8F9y7I478y2W"
15:41:51 "infiSTAR.de - _AHpos: g4n8S6X728H926D3j3D4j"
15:41:51 "infiSTAR.de - _loadedcheckpos: y8j5N3I9v8S957j459T2g7S"
15:41:51 "infiSTAR.de - _loadedchecktime: a8h6D4y5d2g3T88371D6L"
15:41:51 "infiSTAR.de - _MenuChecksRunningx: i3j1y6H3g8D8S3n5S926y"
15:41:51 "infiSTAR.de - _oneachframe: v6I274g8y2D6d4R1d2R7L25"
15:41:51 "infiSTAR.de - _anotherloop: n1Z3I3L527L3L6g85721n"
15:41:51 "infiSTAR.de - _clientoncetwo: a7L85452N5S3d3S5v2d1D72"
15:41:51 "infiSTAR.de - _lastUnlock: n3v5h2778525I3Z372d"
15:41:51 "infiSTAR.de - _AdminReqCheck: o1Z3y6D223h5n5h651y32"
15:41:51 "infiSTAR.de - _antidupeCheckVar: e3j6L559Z377X626v7y3X9n"
15:41:51 "infiSTAR.de - _antiantihack1_rndvar: n7F3j4j853y0F3D5I8S47"
15:41:51 "infiSTAR.de - _antiantihack2_rndvar: v1y1j852F7F6y1y3H1y2n65"
15:41:51 "infiSTAR.de - _antidupePVResVar: v6N7y476y085N4d1h2S1D"
15:41:51 "infiSTAR.de - _antidupePVCheckVar: PVAHR_0_o5S0j62480S453N2N324v"
15:41:51 "infiSTAR.de - _randvar3726372610: PVAHR_0_z1W8j7v35628v2v2s8Z3g"
15:41:51 "infiSTAR.de - AntiHack LOADED!"
15:41:51 "infiSTAR.de - CREATING AdminMenu"
15:41:51 "infiSTAR.de - AdminMenu LOADED!"
15:41:51 "infiSTAR.de - ADDING PublicVariableEventHandlers"
15:41:51 "infiSTAR.de - AntiHack FULLY LOADED"
15:41:52 "Res3tting B!S effects..."
15:41:53 "infiSTAR.de PlayerConnected: ["76561198011895990","Chargedlight1"]"
15:41:53 "infiSTAR.de - Player-Log: Chargedlight1(76561198011895990) - 3h 04min | ******ADMIN******"
15:41:53 "infiSTAR.de PlayerConnected: ["","__SERVER__"]"
15:41:54 Warning Message: No entry 'bin\config.bin/CfgMagazines.ItemTunaCooked'.
15:41:54 Warning Message: No entry '.picture'.
15:41:54 Warning Message: '/' is not a value
15:41:54 Warning Message: No entry '.scope'.
15:41:54 Warning Message: '/' is not a value
15:41:54 Warning Message: Error: creating magazine ItemTunaCooked with scope=private
15:41:54 Warning Message: No entry '.displayName'.
15:41:54 Warning Message: '/' is not a value
15:41:54 Warning Message: No entry '.displayNameShort'.
15:41:54 Warning Message: '/' is not a value
15:41:54 Warning Message: No entry '.nameSound'.
15:41:54 Warning Message: '/' is not a value
15:41:54 Warning Message: No entry '.Library'.
15:41:54 Warning Message: No entry '.libTextDesc'.
15:41:54 Warning Message: '/' is not a value
15:41:54 Warning Message: No entry '.type'.
15:41:54 Warning Message: '/' is not a value
15:41:54 Warning Message: No entry '.count'.
15:41:54 Warning Message: '/' is not a value
15:41:54 Warning Message: No entry '.maxLeadSpeed'.
15:41:54 Warning Message: '/' is not a value
15:41:54 Warning Message: No entry '.initSpeed'.
15:41:54 Warning Message: '/' is not a value
15:41:54 Warning Message: No entry '.reloadAction'.
15:41:54 Warning Message: '/' is not a value
15:41:54 Warning Message: No entry '.modelSpecial'.
15:41:54 Warning Message: '/' is not a value
15:41:54 Warning Message: No entry '.ammo'.
15:41:54 Warning Message: '/' is not a value
15:41:54 Warning Message: No entry 'bin\config.bin/CfgMagazines.cinder_wall_kit'.
15:41:54 Warning Message: No entry '.picture'.
15:41:54 Warning Message: '/' is not a value
15:41:54 Warning Message: No entry '.scope'.
15:41:54 Warning Message: '/' is not a value
15:41:54 Warning Message: Error: creating magazine cinder_wall_kit with scope=private
15:41:54 Warning Message: No entry '.displayName'.
15:41:54 Warning Message: '/' is not a value
15:41:54 Warning Message: No entry '.displayNameShort'.
15:41:54 Warning Message: '/' is not a value
15:41:54 Warning Message: No entry '.nameSound'.
15:41:54 Warning Message: '/' is not a value
15:41:54 Warning Message: No entry '.Library'.
15:41:54 Warning Message: No entry '.libTextDesc'.
15:41:54 Warning Message: '/' is not a value
15:41:54 Warning Message: No entry '.type'.
15:41:54 Warning Message: '/' is not a value
15:41:54 Warning Message: No entry '.count'.
15:41:54 Warning Message: '/' is not a value
15:41:54 Warning Message: No entry '.maxLeadSpeed'.
15:41:54 Warning Message: '/' is not a value
15:41:54 Warning Message: No entry '.initSpeed'.
15:41:54 Warning Message: '/' is not a value
15:41:54 Warning Message: No entry '.reloadAction'.
15:41:54 Warning Message: '/' is not a value
15:41:54 Warning Message: No entry '.modelSpecial'.
15:41:54 Warning Message: '/' is not a value
15:41:54 Warning Message: No entry '.ammo'.
15:41:54 Warning Message: '/' is not a value
15:41:54 Warning Message: No entry 'bin\config.bin/CfgMagazines.Bandit2_DZ'.
15:41:54 Warning Message: No entry '.picture'.
15:41:54 Warning Message: '/' is not a value
15:41:54 Warning Message: No entry '.scope'.
15:41:54 Warning Message: '/' is not a value
15:41:54 Warning Message: Error: creating magazine Bandit2_DZ with scope=private
15:41:54 Warning Message: No entry '.displayName'.
15:41:54 Warning Message: '/' is not a value
15:41:54 Warning Message: No entry '.displayNameShort'.
15:41:54 Warning Message: '/' is not a value
15:41:54 Warning Message: No entry '.nameSound'.
15:41:54 Warning Message: '/' is not a value
15:41:54 Warning Message: No entry '.Library'.
15:41:54 Warning Message: No entry '.libTextDesc'.
15:41:54 Warning Message: '/' is not a value
15:41:54 Warning Message: No entry '.type'.
15:41:54 Warning Message: '/' is not a value
15:41:54 Warning Message: No entry '.count'.
15:41:54 Warning Message: '/' is not a value
15:41:54 Warning Message: No entry '.maxLeadSpeed'.
15:41:54 Warning Message: '/' is not a value
15:41:54 Warning Message: No entry '.initSpeed'.
15:41:54 Warning Message: '/' is not a value
15:41:54 Warning Message: No entry '.reloadAction'.
15:41:54 Warning Message: '/' is not a value
15:41:54 Warning Message: No entry '.modelSpecial'.
15:41:54 Warning Message: '/' is not a value
15:41:54 Warning Message: No entry '.ammo'.
15:41:54 Warning Message: '/' is not a value
15:41:55 Warning Message: You cannot play/edit this mission; it is dependent on downloadable content that has been deleted.
mbg_buildings_3
15:41:56 "z\addons\dayz_code\system\REsec.sqf:Monitoring Remote Exe..."
15:41:58 "HIVE: Starting"
15:41:58 ["TIME SYNC: Local Time set to:",[2012,8,2,13,41],"Fullmoon:",true,"Date given by HiveExt.dll:",[2017,1,12,13,41]]
15:41:58 "SERVER FPS: 19  PLAYERS: 1"
15:41:58 "HIVE: Request sent"
15:41:58 "HIVE: Streamed 101 objects"
15:42:04 "HIVE: BENCHMARK - Server_monitor.sqf finished streaming 101 objects in 5.74001 seconds (unscheduled)"
15:42:04 "Total Number of spawn locations 6"
15:42:04 "[DZAI] Initializing DZAI version 2.2.1 Release Build 20141208 using base path z\addons\dayz_server\DZAI."
15:42:04 "CLEANUP: INITIALIZING Vehicle SCRIPT"
15:42:04 "[DZAI] Reading DZAI configuration file."
15:42:04 "[DZAI] DZAI configuration file loaded."
15:42:04 "[DZAI] Compiling DZAI functions."
15:42:04 ["z\addons\dayz_server\system\scheduler\sched_sync.sqf","TIME SYNC: Local Time set to:",[2012,8,2,13,42],"Fullmoon:",true,"Date given by HiveExt.dll:",[2017,1,12,13,42]]
15:42:04 Warning Message: Script z\addons\dayz_server\WAI\customsettings.sqf not found
15:42:04 "WAI: AI Config File Loaded"
15:42:04 "WAI: Initialising static missions"
15:42:04 "WAI: AI Monitor Started"
15:42:04 "WAI: Initialising missions"
15:42:04 "WAI: Static mission loaded"
15:42:05 "[DZAI] DZAI functions compiled."
15:42:05 "[DZAI] Epoch classnames loaded."
15:42:05 "[DZAI] DZAI settings: Debug Level: 0. DebugMarkers: false. WorldName: chernarus. ModName: epoch (Ver: dayz epoch 1.0.6). DZAI_dynamicWeaponList: true. VerifyTables: true."
15:42:05 "[DZAI] AI spawn settings: Static: false. Dynamic: false. Random: false. Air: false. Land: false."
15:42:05 "[DZAI] AI settings: DZAI_findKiller: true. DZAI_useHealthSystem: true. DZAI_weaponNoise: false. DZAI_zombieEnemy: false."
15:42:05 "[DZAI] DZAI loading completed in 1.171 seconds."
15:42:07 Strange convex component93 in zero_buildings\models\mil_house_i.p3d:geometryView
15:42:07 Strange convex component94 in zero_buildings\models\mil_house_i.p3d:geometryView
15:42:07 Strange convex component95 in zero_buildings\models\mil_house_i.p3d:geometryView
15:42:07 Strange convex component96 in zero_buildings\models\mil_house_i.p3d:geometryView
15:42:07 Strange convex component99 in zero_buildings\models\mil_house_i.p3d:geometryView
15:42:07 Strange convex component100 in zero_buildings\models\mil_house_i.p3d:geometryView
15:42:07 Strange convex component101 in zero_buildings\models\mil_house_i.p3d:geometryView
15:42:07 Strange convex component102 in zero_buildings\models\mil_house_i.p3d:geometryView
15:42:07 Strange convex component103 in zero_buildings\models\mil_house_i.p3d:geometryView
15:42:07 Strange convex component104 in zero_buildings\models\mil_house_i.p3d:geometryView
15:42:07 Strange convex component105 in zero_buildings\models\mil_house_i.p3d:geometryView
15:42:07 Strange convex component106 in zero_buildings\models\mil_house_i.p3d:geometryView
15:42:07 Strange convex component107 in zero_buildings\models\mil_house_i.p3d:geometryView
15:42:07 Strange convex component108 in zero_buildings\models\mil_house_i.p3d:geometryView
15:42:07 Strange convex component109 in zero_buildings\models\mil_house_i.p3d:geometryView
15:42:07 Strange convex component110 in zero_buildings\models\mil_house_i.p3d:geometryView
15:42:07 Strange convex component111 in zero_buildings\models\mil_house_i.p3d:geometryView
15:42:07 Strange convex component112 in zero_buildings\models\mil_house_i.p3d:geometryView
15:42:07 Strange convex component113 in zero_buildings\models\mil_house_i.p3d:geometryView
15:42:07 Strange convex component114 in zero_buildings\models\mil_house_i.p3d:geometryView
15:42:07 Strange convex component115 in zero_buildings\models\mil_house_i.p3d:geometryView
15:42:07 Strange convex component116 in zero_buildings\models\mil_house_i.p3d:geometryView
15:42:07 Strange convex component117 in zero_buildings\models\mil_house_i.p3d:geometryView
15:42:07 Strange convex component118 in zero_buildings\models\mil_house_i.p3d:geometryView
15:42:07 Strange convex component119 in zero_buildings\models\mil_house_i.p3d:geometryView
15:42:07 Strange convex component120 in zero_buildings\models\mil_house_i.p3d:geometryView
15:42:07 Strange convex component121 in zero_buildings\models\mil_house_i.p3d:geometryView
15:42:07 Strange convex component122 in zero_buildings\models\mil_house_i.p3d:geometryView
15:42:07 Strange convex component123 in zero_buildings\models\mil_house_i.p3d:geometryView
15:42:07 Strange convex component124 in zero_buildings\models\mil_house_i.p3d:geometryView
15:42:07 Strange convex component125 in zero_buildings\models\mil_house_i.p3d:geometryView
15:42:07 Strange convex component126 in zero_buildings\models\mil_house_i.p3d:geometryView
15:42:07 Strange convex component127 in zero_buildings\models\mil_house_i.p3d:geometryView
15:42:07 Strange convex component128 in zero_buildings\models\mil_house_i.p3d:geometryView
15:42:07 Strange convex component129 in zero_buildings\models\mil_house_i.p3d:geometryView
15:42:07 Strange convex component130 in zero_buildings\models\mil_house_i.p3d:geometryView
15:42:07 Strange convex component131 in zero_buildings\models\mil_house_i.p3d:geometryView
15:42:07 Strange convex component132 in zero_buildings\models\mil_house_i.p3d:geometryView
15:42:07 Strange convex component133 in zero_buildings\models\mil_house_i.p3d:geometryView
15:42:07 Strange convex component134 in zero_buildings\models\mil_house_i.p3d:geometryView
15:42:19 "EPOCH EVENTS INIT"
15:42:19 "CRASHSPAWNER: Starting crash site spawner. Frequency: 25±20 min. Spawn chance: 0.75"
15:42:20 "INFO - Player: PID#3(Chargedlight1)(UID:76561198011895990/CID:26) Status: LOGGING IN"
15:42:20 "DEBUG: Spawning a care package (Misc_cargo_cont_net3) at [13116.2,11263.9,0] with 10 items."
15:42:20 "INFO - Player: PID#3(Chargedlight1)(UID:76561198011895990/CID:26) Status: LOGGING IN"
15:42:20 "CRASHSPAWNER: Spawning crash site (CrashSite_EU) at [8218.46,9737.68,0] with 6 items."
15:42:20 "Spawning an infected camp (Camp2_Small) at [6781.19,10583.5,0]"
15:42:22 "DEBUG: Spawning a care package (Misc_cargo_cont_net1) at [11727,12422.5,0] with 5 items."
15:42:23 "DEBUG: Spawning a care package (Misc_cargo_cont_net2) at [8360.63,6881.78,0] with 5 items."
15:42:23 "[DZAI] Verified 153 unique classnames in 2.14 seconds."
15:42:24 "DEBUG: Spawning a care package (Misc_cargo_cont_net1) at [5641.85,8022.34,0] with 3 items."
15:42:24 "Spawning an infected camp (Camp2_Small) at [4273.84,13674.1,0]"
15:42:24 "DEBUG: Spawning a care package (Misc_cargo_cont_net2) at [5491.36,10454.1,0] with 6 items."
15:42:24 "Chernarus static spawn configuration loaded."
15:42:24 "DEBUG: Spawning a care package (Misc_cargo_cont_net1) at [10706,8377.25,0] with 5 items."
15:42:26 "Spawning an infected camp (Camp3_Small) at [1668.44,4767.43,0]"
15:42:26 "INFO: Chosen waterholes to be infectious - ["Stary","Gvozdno","Vysota","Sosnovy","NorthNadezdinho","NorthPusta","Topolka","NorthTopolka","Pogorevka","PobedaDam"]"
15:42:29 "HIVE: Vehicle Spawn limit reached!"
15:42:29 "HIVE: Spawning # of Debris: 15"
15:42:33 No owner
15:42:35 "Humanity variable right here: 50000"
15:42:35 "THIS FIRST? OR ... HUMANITY"
15:42:35 "INFO - Player: PID#3(Chargedlight1)(UID:76561198011895990/CID:26) Status: LOGIN PUBLISHING, Location Nizhnoye [131:74]"
15:42:36 "HIVE: Spawning # of Ammo Boxes: 3"
15:42:37 Server: Object 3:16 not found (message 70)
15:42:37 Server: Object 3:14 not found (message 70)
15:42:37 Server: Object 3:15 not found (message 70)
15:42:37 Server: Object 3:17 not found (message 70)
15:42:37 "infiSTAR.de fnc_AdminFirstReq: [1234,B 1-1-B:1 (Chargedlight1) REMOTE,"76561198011895990"]"
15:42:37 "infiSTAR.de ******ADMIN-LOGIN******: Chargedlight1(76561198011895990)"
15:42:37 "infiSTAR.de fnc_AdminReqProceed: [1234,B 1-1-B:1 (Chargedlight1) REMOTE,"76561198011895990"]"
15:42:37 "INFO - Player: Chargedlight1(UID:76561198011895990/CID:26) Status: CLIENT LOADED & PLAYING"
15:42:38 "HIVE: Spawning # of Veins: 50"
15:42:39 Warning: looped for animation: ca\anims\characters\data\anim\sdr\mov\erc\stp\non\non\amovpercmstpsnonwnondnon_amovpercmstpsraswpstdnon_end.rtm differs (looped now 0)! MoveName: amovpercmstpsnonwnondnon_amovpercmstpsraswpstdnon_end
15:42:42 "HIVE: BENCHMARK - Server finished spawning 0 DynamicVehicles, 15 Debris, 3 SupplyCrates and 50 MineVeins in 36.834 seconds (scheduled)"
15:43:21 [DZMS]: Starting DayZ Mission System.
15:43:21 [DZMS]: DZAI Found! Using DZAI's Relations!
15:43:21 [DZMS]: WickedAI Found! Using WickedAI's Relations!
15:43:21 [DZMS]: Multiple Relations Detected! Unwanted AI Behaviour May Occur!
15:43:21 [DZMS]: If Issues Arise, Decide on a Single AI System! (DayZAI, SargeAI, or WickedAI)
15:43:21 [DZMS]: Currently Running Version: 1.1FIN
15:43:21 [DZMS]: Mission and Extended Configuration Loaded!
15:43:21 [DZMS]: chernarus Detected. Map Specific Settings Adjusted!
15:43:21 [DZMS]: Loading ExecVM Functions.
15:43:21 [DZMS]: Loading Compiled Functions.
15:43:21 [DZMS]: Loading All Other Functions.
15:43:21 [DZMS]: Mission Functions Script Loaded!
15:43:21 [DZMS]: Mission Marker Loop for JIPs Starting!
15:43:21 [DZMS]: Minor Mission Clock Starting!
15:43:21 [DZMS]: Major Mission Clock Starting!

Still doesnt work.. the rules.sqf ist getting executed at all it seems like. Or atleast it doesn't log into the RPT.

Here is my code

 

Spoiler

private ["_messages","_timeout","_isHero","_humanity","_isBandit"];

diag_log format["Dayz_loginCompleted! ******************************"];
waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")};

_humanity = player getVariable ["humanity",0];

diag_log format["HUMANITY! ****************************** : %1",_humanity];

_isBandit = _humanity < -5000;
_isHero = _humanity > 5000;

if (_isHero) then {

diag_log format["hero!****************************** : %1",_humanity];
    DefaultMagazines = ["ItemMap","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"];
    };    
    
if (_isBandit) then {

    diag_log format["bandit!****************************** : %1",_humanity];
    DefaultMagazines = ["ItemMap","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"];
    }else{
    
    diag_log format["default!****************************** : %1",_humanity];
    DefaultMagazines = ["ItemMap","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"];
    };    


_messages = [
    ["DayZ Epoch", "Welcome "+(name player)],
    ["World", worldName],
    ["Teamspeak", "some TS info"],
    ["Website/Forums", "some website info"],
    ["Server Rules", "Duping, glitching or using any<br />exploit will result in a<br />permanent ban."],
    ["Server Rules", "No talking in side."],
    ["Server Rules", "Hackers will be banned permanently<br />Respect others"],
    ["News", "Some random new info!<br />Random news<br />"]
];
 
_timeout = 5;
{
    private ["_title","_content","_titleText"];
    uiSleep 2;
    _title = _x select 0;
    _content = _x select 1;
    _titleText = format[("<t font='TahomaB' size='0.40' color='#a81e13' align='right' shadow='1' shadowColor='#000000'>%1</t><br /><t shadow='1'shadowColor='#000000' font='TahomaB' size='0.60' color='#FFFFFF' align='right'>%2</t>"), _title, _content];
    [
        _titleText,
        [safezoneX + safezoneW - 0.8,0.50],     //DEFAULT: 0.5,0.35
        [safezoneY + safezoneH - 0.8,0.7],      //DEFAULT: 0.8,0.7
        _timeout,
        0.5
    ] spawn BIS_fnc_dynamicText;
    uiSleep (_timeout * 1.1);
} forEach _messages;

i dont really understand why it doesn't load.

I moved the previous from the init.sqf to a seperate file.

Here is my init.sqf:

 

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_antiWallHack = 1; //DayZ AntiWallhack / 1 = enabled // 0 = disabled, Adds items to the map to plug holes.
dayz_REsec = 1; // 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 = false; //Turns on forced animation for weapon switch. (hotkeys 1,2,3) False = enable animations, True = disable animations
dayz_POIs = true;
dayz_infectiousWaterholes = true;
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"

//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 = 3; //1 = blood on the ground, 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
};

//Temp settings
dayz_DamageMultiplier = 2; //1 - 0 = Disabled, anything over 1 will multiply damage. Damage Multiplier for Zombies.
dayz_maxGlobalZeds = 150; //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

dayz_paraSpawn = false; // Halo spawn
DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zones
DZE_noRotate = [];
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_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 = [30,45]; // 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 = [4000,15,120]; // [blood amount given, infection chance %, cooldown in seconds]
MaxDynamicDebris = 15; // 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",5,"crash_spawner"],["any","any","any","any",30,"bombcrate"],["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

if (!isDedicated) then {
    enableSaving [false, false];
    startLoadingScreen ["","RscDisplayLoadCustom"];
    progressLoadingScreen 0;
    dayz_loadScreenMsg = localize 'str_login_missionFile';
    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 "Custom\compiles.sqf";
progressLoadingScreen 0.2;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\init.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 each machine early
initialized = true;

setTerrainGrid 50; //grass draw distance (50=no grass, 25=normal, 12.5=far)
if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\REsec.sqf";};
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\traders\chernarus11.sqf"; //Add trader agents
    call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf";
    //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important)
    if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; };
    //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\LegacyTownGenerator\MainLootableObjects.sqf"; };

if (!isDedicated) then {

    if (dayz_antiWallHack != 0) then {
        //Enables Map Plug items
        execVM "\z\addons\dayz_code\system\mission\chernarus\security\init.sqf";
        //Enables Plant lib fixes
        call compile preprocessFileLineNumbers "\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_enableRules && (profileNamespace getVariable ["streamerMode",0] == 0)) then { dayz_rulesHandle = execVM "rules.sqf"; };
    if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; };
    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";
    _nil = [] execVM "custom\remote\remote.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;
};


Isnt it also the case that in the rules.sqf the loaded variables already have been used by then? Since in the init.sqf the server loads the rules.sqf as almost the last file.
- Chargedlight1

Share this post


Link to post
Share on other sites
  • 0

@chargedlight1

go to your init.sqf

remove this lines or just leave commented

// Uncomment the lines below to change the default loadout
//DefaultMagazines = ["ItemMap","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"];

at bottom of init.sqf paste:

[] ExecVM "custom\startloadouts.sqf";

 

create the path mpmissions\your instance\custom\

now place into this new path

startloadouts.sqf

private ["_isHero","_humanity","_isBandit"};
_humanity = player getVariable ["humanity",0];
_isBandit = _humanity < -5000;
_isHero = _humanity > 5000;
adminsandmodersList= ["7656119825757****"];  //An array of adms replace with your admins ids


if((getPlayerUID player) in adminsandmodersList) then {
DefaultMagazines = ["ItemMap","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"];
	};

if (_isHero) then {
    DefaultMagazines = ["ItemMap","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"];
	};	
    
if (_isBandit) then {

    DefaultMagazines = ["ItemMap","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"];
};
 if (!_isHero and !_isBandit) then {	
    DefaultMagazines = ["ItemMap","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"];
	};	

 

Share this post


Link to post
Share on other sites
  • 0
7 minutes ago, juandayz said:

@chargedlight1

go to your init.sqf

remove this lines

// Uncomment the lines below to change the default loadout
//DefaultMagazines = ["ItemMap","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"];

at bottom of init.sqf paste:

[] ExecVM "custom\startloadouts.sqf";

 

create the path mpmissions\your instance\custom\

now place into this new path

startloadouts.sqf

private ["_isHero","_humanity","_isBandit"};
_humanity = player getVariable ["humanity",0];
_isBandit = _humanity < -5000;
_isHero = _humanity > 5000;
adminsandmodersList= ["7656119825757****"];  //An array of adms replace with your admins ids


if((getPlayerUID player) in adminsandmodersList) then {
DefaultMagazines = ["ItemMap","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"];
	};

if (_isHero) then {
    DefaultMagazines = ["ItemMap","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"];
	};	
    
if (_isBandit) then {

    DefaultMagazines = ["ItemMap","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"];
    }else{
    DefaultMagazines = ["ItemMap","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"];

 

Isn't it: 

private ["_isHero","_humanity","_isBandit"};
->
private ["_isHero","_humanity","_isBandit"];
Didn't notice since my server gave an error

Share this post


Link to post
Share on other sites
  • 0

Back to the old error again @juandayz

16:08:37 Error in expression <getVariable ["humanity",0];
_isBandit = _humanity < -5000;
_isHero = _humanity >>
16:08:37   Error position: <_humanity < -5000;
_isHero = _humanity >>
16:08:37   Error Undefined variable in expression: _humanity


maybe i can like check if a player is a freshspawn. then remove all his old contents. then replace it with new ones. Missions are getting spawned with: Add_magazine "Type of ammo for gun." Right? Because i think that these variables are getting adjusted toolate, Everything has loaded in. Loadouts are getting configured in the server. not on the client side. 
Removing all of their content and replacing it with the decired contents solved this problem. 

Not the fact that my code cant find my humanity.. which is very odd in my opinion. I see other posts where that is getting used aswell.

Share this post


Link to post
Share on other sites
  • 0

you also can replace with this at top of define variables

private ["_isHero","_isBandit"};

_isHero = (player getVariable["humanity",0]) >= 5000;
_isBandit = (player getVariable["humanity",0]) <= 5000;

adminsandmodersList= ["7656119825757****"];  //An array of adms replace with your admins ids

 

Share this post


Link to post
Share on other sites
  • 0

so its looks:

Spoiler
private ["_isHero","_isBandit"];

_isHero = (player getVariable["humanity",0]) >= 5000;
_isBandit = (player getVariable["humanity",0]) <= 5000;

adminsandmodersList= ["7656119825757****"];  //An array of adms replace with your admins ids


if((getPlayerUID player) in adminsandmodersList) then {
DefaultMagazines = ["ItemMap","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"];
	}else{

if (_isHero) then {
    DefaultMagazines = ["ItemMap","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"];
	}else{
    
if (_isBandit) then {

    DefaultMagazines = ["ItemMap","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"];
}else{
 if (!_isHero && !_isBandit) then {	
    DefaultMagazines = ["ItemMap","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"];
	};
};
};
};

 

 

Share this post


Link to post
Share on other sites
  • 0

For those who tried to help me and are qurious how i fixed this problem:

In the z/dayz_server/compile/server_playerLogin.sqf i pasted this piece of code underneath the _charID which is important. 
I created another connection attempt in hive 102.. no idea what it exactly does ( I assume just a simple querry like :(SELECT * FROM Character_DATA where CharachterID = _charID (example: 15) ). but here you go. The variable humanity comes out of the database!
 


//Process request
_newPlayer = _primary select 1;
_isNew = count _primary < 10; //_result select 1;
_charID = _primary select 2;

//Do Connection Attempt
// humanity
_doLoop = 0;
while {_doLoop < 5} do {
	_key = format["CHILD:102:%1:",_charID];
	_primcharvar = _key call server_hiveReadWrite;
	if (count _primcharvar > 0) then {
		if ((_primcharvar select 0) != "ERROR") then {
			_doLoop = 9;
		};
	};
	_doLoop = _doLoop + 1;
};

_humanity = _primcharvar select 5;

diag_log format["_humanity var: %1",_humanity];

# DONT FORGET TO ADD: __humanity & _primcharvar to the PRIVATE on top of this file.
if i add the if statements from @juandayz i did like so:
 

/* PROCESS */
_hiveVer = 0;

if (!_isNew) then {
	//RETURNING CHARACTER
	_inventory = _primary select 4;
	_backpack = _primary select 5;
	_survival = _primary select 6;
	_CharacterCoins = _primary select 7;
	_model = _primary select 8;
	_group = _primary select 9;
	_playerCoins = _primary select 10;
	_BankCoins = _primary select 11;
	_hiveVer = _primary select 12;
	if !(_model in AllPlayers) then {_model = "Survivor2_DZ";};
} else {
	_isInfected = if (DZE_PlayerZed) then {_primary select 3} else {0};
	_model = _primary select 4;
	_group = _primary select 5;
	_playerCoins = _primary select 6;
	_BankCoins = _primary select 7;
	_hiveVer = _primary select 8;	
	if (isNil "_model") then {
		_model = "Survivor2_DZ";
	} else {
		if (_model == "") then {_model = "Survivor2_DZ";};
	};
	
	//Record initial inventory only if not player zombie 
	if (_isInfected != 1) then {
		_config = configFile >> "CfgSurvival" >> "Inventory" >> "Default";
		_mags = getArray (_config >> "magazines");
		_wpns = getArray (_config >> "weapons");
		_bcpk = getText (_config >> "backpack");
		
		_isBandit = _humanity < -5000;
		_isHero = _humanity > 5000;

		if (_humanity > 5000) then {
			DefaultMagazines = ["ItemMap","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"];
			};	
			
		if (_humanity < -5000) then {

			DefaultMagazines = ["ItemMap","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"];
			}else{
			DefaultMagazines = ["ItemMap","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"];
		
		};
		if (!isNil "DefaultMagazines") then {_mags = DefaultMagazines;};
		if (!isNil "DefaultWeapons") then {_wpns = DefaultWeapons;};
		if (!isNil "DefaultBackpack") then {_bcpk = DefaultBackpack;};
	
		//Wait for HIVE to be free
		_key = format["CHILD:203:%1:%2:%3:",_charID,[_wpns,_mags],[_bcpk,[],[]]];
		_key call server_hiveWrite;
	};
};

You should be glad that you dont life right next to me. All the birds flew out of the trees of my succes scream.

- Chargedlight1

 

Share this post


Link to post
Share on other sites
  • 0

@chargedlight1  this is a great contribution by you!!  i think you can start a new thread in epoch 1,6 mods or 1.6 tools about it.. to not loose it in time.

 

and you can add a donor list

private ["_player","_UID"];
_player = player;
_UID = getPlayerUID _player;
//Donor Loadout
DonorList = ["",""]; // Donors IDS
GrandDonorList = ["",""];
        if(_UID inGrandDonorList) then {
            DefaultMagazines = "";
            DefaultWeapons = "";
            DefaultBackpack = "DZ_Backpack_EP1";
            DefaultBackpackWeapon = "";
        }else{
           
            if(_UID in DonorList) then {
                DefaultMagazines = "";
                DefaultWeapons = "";
                DefaultBackpack = "DZ_ALICE_Pack_EP1";
                DefaultBackpackWeapon = "";
            
            };
        };

 

Share this post


Link to post
Share on other sites
  • 0

or add this bunch of code :laugh:

Spoiler
private ["_player","_UID","_isHero","_isBandit"];
_player = player;
_UID = getPlayerUID _player;


AdminList = ["11111111111","222222222222"]; //adms ids
ModList = ["11111111111","222222222222"]; //moderators ids
DonorList = ["11111111111","222222222222"]; //donors ids
GrandDonorList = ["11111111111","222222222222"]; //granddonors ids
_isHero = (player getVariable["humanity",0]) >= 5000;
_isBandit = (player getVariable["humanity",0]) <= -2500;
	
	

if (_UID in AdminList) then {
	DefaultMagazines = "";
	DefaultWeapons = "";
	DefaultBackpack = "DZ_LargeGunBag_EP1";
	DefaultBackpackWeapon = "";
}else{

	if(_UID in ModList) then {
		DefaultMagazines = "";
		DefaultWeapons = "";
		DefaultBackpack = "DZ_Backpack_EP1";
		DefaultBackpackWeapon = "";
	}else{
		
		if(_UID in GrandDonorList) then {
			DefaultMagazines = "";
			DefaultWeapons = "";
			DefaultBackpack = "DZ_Backpack_EP1";
			DefaultBackpackWeapon = "";
		}else{
			
			if(_UID in DonorList) then {
				DefaultMagazines = "";
				DefaultWeapons = "";
				DefaultBackpack = "DZ_ALICE_Pack_EP1";
				DefaultBackpackWeapon = "";
			}else{
			if (_isHero && !(_UID in GrandDonorList) or !(_UID in AdminList) or !(_UID in ModList) or !(_UID in DonorList)  ) then {
    DefaultMagazines = "";
    DefaultWeapons = "";
    DefaultBackpack = "DZ_Patrol_Pack_EP1";
    DefaultBackpackItems = []; // Can include both weapons and magazines i.e. ["PDW_DZ","30Rnd_9x19_UZI"];
	}else{
    
if (_isBandit && !(_UID in GrandDonorList) or !(_UID in AdminList) or !(_UID in ModList) or !(_UID in DonorList)  ) then {

    DefaultMagazines = "";
    DefaultWeapons = "";
    DefaultBackpack = "DZ_Patrol_Pack_EP1";
    DefaultBackpackItems = []; // Can include both weapons and magazines i.e. ["PDW_DZ","30Rnd_9x19_UZI"];
}else{
 if (!_isHero && !_isBandit && !(_UID in GrandDonorList) or !(_UID in AdminList) or !(_UID in ModList) or !(_UID in DonorList)) then {	
    DefaultMagazines = "";
    DefaultWeapons = "";
    DefaultBackpack = "";
    DefaultBackpackItems = []; // Can include both weapons and magazines i.e. ["PDW_DZ","30Rnd_9x19_UZI"];
	};
			
				
			};
		};
	};
};
};
};

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Similar Content

    • By EditedSnowHD
      Hy,
      I recently started playing A2 Epoch again after quite some time and the last few days i was wondering were it all started for me..
      Then i remembered (also is in my 'about me' on this forum) that it was a server hosted by a fellow Dutchie named [AOS] Emmen.
      Well my question(s) is/are simple: What was your first ever (long term) server called that you played on? and is it still around to this day? And what made it so special?
       
      I hope you guys can still remember your roots.
       
    • By chargedlight1
      Please fill this poll, there are 5 questions for the dream server i want to create for people.

      https://www.quotev.com/quiz/9018953/Opinions-for-THE-perfect-server

      If you have any addition, please comment it down below! 

      - Chargedlight1
    • By Medstone
      Hi,
      I'm new for Epoch because I cannot find many servers using AIII launcher. But I choose one and very like this mod. Unfortunately I found only Altis and Tanoa maps, no other like Chernarus for example, which is very good map for Dayz kinda gameplay (for obvious reasons). Why's that?
    • By leegreaves
      Just a quick question. I tried to add two map edits to my server (server side) the other day. When connecting It would hang constantly at Authenticating/Retrying to Authenticate. Would anyone know why this is occurring? I know the sqf files for these map edits are correct as ive checked them multiple times to make sure but still get a hang at authenticating. What I did noticed though was after exiting out of the game (using Task Manager as im basically stuck at authentication stage) my servers RPT log mentions about my character having a character id of 0 (zero) - which I obviously havent as I checked my character data in my database and no characters have an id of 0. Now when I revert the changes back prior to these map additions - I am able to connect successfully as usual. Strange Huh?
      Only thing I can think of is the way im calling it. In my variables.sqf im calling it as execVM "\path\to\map\file.sqf"; Should I try using "[] execVM" instead and place that line at the bottom of my variables.sqf? Im most likely gonna have a go at trying that but im only asking as all my other map additions (and there are around 10 or 12 of them) are working and get loaded. Another thing is I added a diag_log to the bottom of the sqf file that is causing me problems and the server RPT log showed it as loaded. So my conundrum is this map addon is obviously loading but is somehow causing authentication to hang and has a side effect of causing my character to have a character id of 0 in my database - and yet there is no evidence of any character having an id of 0, and of course when i revert any changes made. everything works fine as should do.
    • By ExclusiveColors
      Hello,
      Nexus Community is beginning it's journey across the holidays and we are looking for some talented lads to help us make this movement. As for in game staff we already have plenty, we are looking for people that want to help us program, script, and design. If you're looking for something to wake up to, if your looking for something to build and be a part of join us. 
      I can tell you this much, Nexus as a whole is going to shape out over the next two months. It's up to you guys if you wanna jump on the train or not.
       
      Best
      Regards,
      Founder, ExclusiveColors
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...