Skip to content

noxsicarius/Custom-Debug-Monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 

Repository files navigation

Custom Debug Monitor

This is a debug menu I have created and I figured it would be of use to some of you so here it is.

Debug Monitor

Table of Contents:

###Uninstall old version For any version before 2016

  1. Open your init.sqf

  2. Find this line:

    call compile preprocessFileLineNumbers "custom\compiles.sqf";

    and repplace it with this:

    call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf";

    it should now look similar to this:

    //Load in compiled functions
    call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf";				//Initilize the Variables (IMPORTANT: Must happen very early)
    progressLoadingScreen 0.1;
    call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf";				//Initilize the publicVariable event handlers
    progressLoadingScreen 0.2;
    call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf";	//Functions used by CLIENT for medical
    progressLoadingScreen 0.4;
    // BELOW IS THE LINE WE CHANGED 
    call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf";				//Compile regular functions
    progressLoadingScreen 0.5;
    call compile preprocessFileLineNumbers "server_traders.sqf";				//Compile trader configs
    progressLoadingScreen 1.0;
  3. Find this and delete it:

    if (isNil 'debugMonitor') then 
    {
    	debugMonitor = true;
    	_nill = execvm "custom\debug_monitor.sqf";
    };
  4. Save the init.sqf

  5. Delete the following files from the missionFolder\custom folder *dayz_spaceInterrupt.sqf *debug_monitor.sqf *compiles.sqf

###Install

  1. Click Download Zip on the right sidebar of this Github page.

    Recommended PBO tool for all "pack", "repack", or "unpack" steps: PBO Manager

  2. Log into your server via FTP or your host's File Manager. Locate, download, and unpack your MPMissions/Your_Mission.pbo, and open the resulting folder.

    Note: "Your_Mission.pbo" is a placeholder name. Your mission might be called "DayZ_Epoch_11.Chernarus", "DayZ_Epoch_13.Tavi", or "dayz_mission" depending on hosting and chosen map.

  3. Extract the downloaded folder.

  4. Copy the custom folder (in the download) into your mission folder.

  5. Navigate to your mission folder and open the init.sqf

  6. Find this line:

    //Load in compiled functions

    and tplace this ABOVE it:

    debugMonitor = true;
  7. Find this line:

    progressLoadingScreen 1.0;

    And place this line ABOVE it:

    call compile preprocessFileLineNumbers "custom\debug_monitor\compiles.sqf";
  8. Open the init.sqf in the root of your mission folder and paste the following at the bottom of the if(!isDedicated) code:

    _nill = execvm "custom\debug_monitor\debug_monitor.sqf";

    It should now look like this:

    if (!isDedicated) then {
    	
    	**Some code found here**
    	
    	_nill = execvm "custom\debug_monitor\debug_monitor.sqf";
    };

About

This is a debug menu I have created and I figured it would be of use to some of you so here it is.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages