I'm fairly new to this whole DayZ thing. I was wondering if anyone could take a look at my files for me. I have been at this for the past 5 hours, I have managed to get Sarge working, however I can't seem to login it gets to the character loading screen (100% of the bar is filled, then says please wait) finally after the count down I get random errors.
Most of them I have commented out due to me not having that addon or admin tool.
The Mission.SQM file I haven't touched, just the init.sqf file (based on instruction I was reading off of this forum, as well as the server clean up to protect the Sarge AI)
This is my Init file from my MPMissions:
// Mission Initialization
startLoadingScreen ["", "RscDisplayLoadCustom"];
cutText ["", "BLACK OUT"];
enableSaving [false, false];
// Variable Initialization
dayZ_instance = 1;
//hiveInUse = true;
dayzHiveRequest = [];
initialized = false;
dayz_previousID = 0;
// Settings
player setVariable ["BIS_noCoreConversations", true]; // Disable greeting menu
//enableRadio true; // Disable global chat radio messages
// Compile and call important functions
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf";
progressLoadingScreen 0.1;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf";
progressLoadingScreen 0.2;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf";
progressLoadingScreen 0.4;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf";
call compile preprocessFileLineNumbers "Scripts\compiles.sqf"; //Compile custom compiles
progressLoadingScreen 1.0;
// Set Tonemapping
"Filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4];
setToneMapping "Filmic";
//admintools
// playerstats = compile preprocessFileLineNumbers "debug\playerstats.sqf";
if (!isServer && isNull player) then {
waitUntil { !isNull player };
waitUntil { time > 3 };
};
if (!isServer && player != player) then {
waitUntil { player == player };
waitUntil { time > 3 };
};
// Run the server monitor
if (isServer) then {
// SHK
diag_log "SAR_AI - starting SHK_pos";
call compile preprocessfile "addons\SHK_pos\shk_pos_init.sqf";
_serverMonitor = [] execVM "\z\addons\dayz_server\system\server_monitor.sqf";
};
// Run the player monitor
if (!isDedicated) then {[] execVM "addons\kh_actions.sqf";
0 fadeSound 0;
waitUntil { !isNil "dayz_loadScreenMsg" };
dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");
_id = player addEventHandler ["Respawn", { _id = [] spawn player_death; }];
//_playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
_playerMonitor = [] execVM "addons\fixes\player_monitor.sqf";
_null = [] execVM "addons\kh\kh_actions.sqf";
// [] execVM "addons\proving_Ground\init.sqf";
};
// [] execVM "addons\R3F_ARTY_AND_LOG\init.sqf";
// UPSMON
call compile preprocessFileLineNumbers "addons\UPSMON\scripts\Init_UPSMON.sqf";
// run SAR_AI
[] execVM "addons\SARGE\SAR_AI_init.sqf";
// admintools
// [] execVM "admintools\Activate.sqf";
// overwrite dayz code shit
if (isServer) then {
// SARGE event handler to save relocated buildings
"SAR_savebuilding" addPublicVariableEventHandler {(_this select 1) spawn SAR_save2hive};
// overwriting the Dayz teleport check
"atp" addPublicVariableEventHandler {};
};
Directory set up looks like the following in inside the MPMissions
Dayz_1.Chernarus
Addons -> I have the following directories Fixes, Sarge, SHK_Pos, UPSMON
Gcam
Scripts
And this is my Description.ext file.
respawn = "BASE";
respawndelay = 5;
//loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa";
loadscreen = sarge.jpg;
onLoadMission = "DayZ Chernarus";
OnLoadIntro = "Welcome to Chernarus";
OnLoadIntroTime = False;
OnLoadMissionTime = False;
onPauseScript = "\z\addons\dayz_code\compile\player_onPause.sqf";
disabledAI = true;
disableChannels[] = {2,6};
enableItemsDropping = 0;
aiKills = 1;
diagRadio = 1;
diagHit = 1;
class Header
{
gameType = COOP;
//gameType = DM;
minPlayers = 1;
maxPlayers = 100;
};
class RscText
{
type = 0;
idc = -1;
x = 0;
y = 0;
h = 0.037;
w = 0.3;
style = 0x100;
font = Zeppelin32;
SizeEx = 0.03921;
colorText[] = {1,1,1,1};
colorBackground[] = {0, 0, 0, 0};
linespacing = 1;
};
class RscPicture
{
access=0;
type=0;
idc=-1;
style=48;
colorBackground[]={0,0,0,0};
colorText[]={1,1,1,1};
font="TahomaB";
sizeEx=0;
lineSpacing=0;
text="";
};
class RscLoadingText : RscText
{
style = 2;
x = 0.323532;
y = 0.666672;
w = 0.352944;
h = 0.039216;
sizeEx = 0.03921;
colorText[] = {0.543,0.5742,0.4102,1.0};
};
class RscProgress
{
x = 0.344;
y = 0.619;
w = 0.313726;
h = 0.0261438;
texture = "\ca\ui\data\loadscreen_progressbar_ca.paa";
colorFrame[] = {0,0,0,0};
colorBar[] = {1,1,1,1};
};
class RscProgressNotFreeze
{
idc = -1;
type = 45;
style = 0;
x = 0.022059;
y = 0.911772;
w = 0.029412;
h = 0.039216;
texture = "#(argb,8,8,3)color(0,0,0,0)";
};
class DayZ_loadingScreen
{
idd = -1;
duration = 10e10;
fadein = 0;
fadeout = 0;
name = "loading screen";
class controlsBackground
{
class blackBG : RscText
{
x = safezoneX;
y = safezoneY;
w = safezoneW;
h = safezoneH;
text = "";
colorText[] = {0,0,0,0};
colorBackground[] = {0,0,0,1};
};
/*
class nicePic : RscPicture
{
style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO
x = safezoneX + safezoneW/2 - 0.25;
y = safezoneY + safezoneH/2 - 0.2;
w = 0.5;
h = 0.4;
text = "img\nicePic.paa";
};
*/
};
class controls
{
class Title1 : RscLoadingText
{
text = "$STR_LOADING";
};
class CA_Progress : RscProgress
{
idc = 104;
type = 8;
style = 0;
texture = "\ca\ui\data\loadscreen_progressbar_ca.paa";
};
class CA_Progress2 : RscProgressNotFreeze
{
idc = 103;
};
class Name2: RscText
{
idc = 101;
x = 0.05;
y = 0.029412;
w = 0.9;
h = 0.04902;
text = "";
sizeEx = 0.05;
colorText[] = {0.543,0.5742,0.4102,1.0};
};
};
};
class RscTitles
{
};
#include "addons\SARGE\SAR_define.hpp"
Thank you for viewing this, and I'm sorry for the length of this post, I am one my 5th pot of coffee, and I'm pretty much drawing at thin air at this point as to why things are bugging out on me.
Most of them I have commented out due to me not having that addon or admin tool.
The Mission.SQM file I haven't touched, just the init.sqf file (based on instruction I was reading off of this forum, as well as the server clean up to protect the Sarge AI)
This is my Init file from my MPMissions:
// Mission Initialization
startLoadingScreen ["", "RscDisplayLoadCustom"];
cutText ["", "BLACK OUT"];
enableSaving [false, false];
// Variable Initialization
dayZ_instance = 1;
//hiveInUse = true;
dayzHiveRequest = [];
initialized = false;
dayz_previousID = 0;
// Settings
player setVariable ["BIS_noCoreConversations", true]; // Disable greeting menu
//enableRadio true; // Disable global chat radio messages
// Compile and call important functions
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf";
progressLoadingScreen 0.1;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf";
progressLoadingScreen 0.2;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf";
progressLoadingScreen 0.4;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf";
call compile preprocessFileLineNumbers "Scripts\compiles.sqf"; //Compile custom compiles
progressLoadingScreen 1.0;
// Set Tonemapping
"Filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4];
setToneMapping "Filmic";
//admintools
// playerstats = compile preprocessFileLineNumbers "debug\playerstats.sqf";
if (!isServer && isNull player) then {
waitUntil { !isNull player };
waitUntil { time > 3 };
};
if (!isServer && player != player) then {
waitUntil { player == player };
waitUntil { time > 3 };
};
// Run the server monitor
if (isServer) then {
// SHK
diag_log "SAR_AI - starting SHK_pos";
call compile preprocessfile "addons\SHK_pos\shk_pos_init.sqf";
_serverMonitor = [] execVM "\z\addons\dayz_server\system\server_monitor.sqf";
};
// Run the player monitor
if (!isDedicated) then {[] execVM "addons\kh_actions.sqf";
0 fadeSound 0;
waitUntil { !isNil "dayz_loadScreenMsg" };
dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");
_id = player addEventHandler ["Respawn", { _id = [] spawn player_death; }];
//_playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
_playerMonitor = [] execVM "addons\fixes\player_monitor.sqf";
_null = [] execVM "addons\kh\kh_actions.sqf";
// [] execVM "addons\proving_Ground\init.sqf";
};
// [] execVM "addons\R3F_ARTY_AND_LOG\init.sqf";
// UPSMON
call compile preprocessFileLineNumbers "addons\UPSMON\scripts\Init_UPSMON.sqf";
// run SAR_AI
[] execVM "addons\SARGE\SAR_AI_init.sqf";
// admintools
// [] execVM "admintools\Activate.sqf";
// overwrite dayz code shit
if (isServer) then {
// SARGE event handler to save relocated buildings
"SAR_savebuilding" addPublicVariableEventHandler {(_this select 1) spawn SAR_save2hive};
// overwriting the Dayz teleport check
"atp" addPublicVariableEventHandler {};
};
Directory set up looks like the following in inside the MPMissions
Dayz_1.Chernarus
Addons -> I have the following directories Fixes, Sarge, SHK_Pos, UPSMON
Gcam
Scripts
And this is my Description.ext file.
respawn = "BASE";
respawndelay = 5;
//loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa";
loadscreen = sarge.jpg;
onLoadMission = "DayZ Chernarus";
OnLoadIntro = "Welcome to Chernarus";
OnLoadIntroTime = False;
OnLoadMissionTime = False;
onPauseScript = "\z\addons\dayz_code\compile\player_onPause.sqf";
disabledAI = true;
disableChannels[] = {2,6};
enableItemsDropping = 0;
aiKills = 1;
diagRadio = 1;
diagHit = 1;
class Header
{
gameType = COOP;
//gameType = DM;
minPlayers = 1;
maxPlayers = 100;
};
class RscText
{
type = 0;
idc = -1;
x = 0;
y = 0;
h = 0.037;
w = 0.3;
style = 0x100;
font = Zeppelin32;
SizeEx = 0.03921;
colorText[] = {1,1,1,1};
colorBackground[] = {0, 0, 0, 0};
linespacing = 1;
};
class RscPicture
{
access=0;
type=0;
idc=-1;
style=48;
colorBackground[]={0,0,0,0};
colorText[]={1,1,1,1};
font="TahomaB";
sizeEx=0;
lineSpacing=0;
text="";
};
class RscLoadingText : RscText
{
style = 2;
x = 0.323532;
y = 0.666672;
w = 0.352944;
h = 0.039216;
sizeEx = 0.03921;
colorText[] = {0.543,0.5742,0.4102,1.0};
};
class RscProgress
{
x = 0.344;
y = 0.619;
w = 0.313726;
h = 0.0261438;
texture = "\ca\ui\data\loadscreen_progressbar_ca.paa";
colorFrame[] = {0,0,0,0};
colorBar[] = {1,1,1,1};
};
class RscProgressNotFreeze
{
idc = -1;
type = 45;
style = 0;
x = 0.022059;
y = 0.911772;
w = 0.029412;
h = 0.039216;
texture = "#(argb,8,8,3)color(0,0,0,0)";
};
class DayZ_loadingScreen
{
idd = -1;
duration = 10e10;
fadein = 0;
fadeout = 0;
name = "loading screen";
class controlsBackground
{
class blackBG : RscText
{
x = safezoneX;
y = safezoneY;
w = safezoneW;
h = safezoneH;
text = "";
colorText[] = {0,0,0,0};
colorBackground[] = {0,0,0,1};
};
/*
class nicePic : RscPicture
{
style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO
x = safezoneX + safezoneW/2 - 0.25;
y = safezoneY + safezoneH/2 - 0.2;
w = 0.5;
h = 0.4;
text = "img\nicePic.paa";
};
*/
};
class controls
{
class Title1 : RscLoadingText
{
text = "$STR_LOADING";
};
class CA_Progress : RscProgress
{
idc = 104;
type = 8;
style = 0;
texture = "\ca\ui\data\loadscreen_progressbar_ca.paa";
};
class CA_Progress2 : RscProgressNotFreeze
{
idc = 103;
};
class Name2: RscText
{
idc = 101;
x = 0.05;
y = 0.029412;
w = 0.9;
h = 0.04902;
text = "";
sizeEx = 0.05;
colorText[] = {0.543,0.5742,0.4102,1.0};
};
};
};
class RscTitles
{
};
#include "addons\SARGE\SAR_define.hpp"
Thank you for viewing this, and I'm sorry for the length of this post, I am one my 5th pot of coffee, and I'm pretty much drawing at thin air at this point as to why things are bugging out on me.