Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
You can stop your debug monitor spamming your rpt logs by making sure you have it in the
section of init.sqfCode:if (!isDedicated) then {
if (!isDedicated) then {
if (!isDedicated) then {
//Conduct map operations
0 fadeSound 0;
waitUntil {!isNil "dayz_loadScreenMsg"};
dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");
//Run the player monitor
_id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
_playerMonitor = [] execFSM "admintools\player_monitor.fsm";
// [] execVM "\z\addons\dayz_code\system\antihack.sqf";
[] execVM "scripts\debug.sqf";
[] execVM "Scripts\kh_actions.sqf";
};
You can stop your debug monitor spamming your rpt logs by making sure you have it in the
section of init.sqfCode:if (!isDedicated) then {
16.07.2013 16:46:15: TGT*Peter (127.0.0.1:2304) 715ffefb2705c4504c79a4c318a930a6 - #4 "_vehicle = _currentVehicle;
_vehicle_refuel_id = _vehicle addAction ["Refuel", "Scripts\kh_vehicle_refuel.sqf", [], -1, false, "
16.07.2013 16:47:36: TGT*Peter (127.0.0.1:2304) 715ffefb2705c4504c79a4c318a930a6 - #52 ") then
{
_pic = (gettext (configFile >> 'cfgWeapons' >> (currentWeapon player) >> 'picture'));
}
else
{
_pic = (gettext (configF"
16.07.2013 16:47:36: TGT*Peter (127.0.0.1:2304) 715ffefb2705c4504c79a4c318a930a6 - #115 "y', 0]),
(round diag_fps),
_pic,
(dayz_survived),
(count playableUnits),
(count entities "zZombie_Base"),
({alive _x} count enti"
16.07.2013 16:47:36: TGT*Peter (127.0.0.1:2304) 715ffefb2705c4504c79a4c318a930a6 - #4 "_vehicle = _currentVehicle;
_vehicle_refuel_id = _vehicle addAction ["Refuel", "Scripts\kh_vehicle_refuel.sqf", [], -1, false, "
16.07.2013 16:48:30: TGT*Peter (127.0.0.1:2304) 715ffefb2705c4504c79a4c318a930a6 - #52 ") then
{
_pic = (gettext (configFile >> 'cfgWeapons' >> (currentWeapon player) >> 'picture'));
}
else
{
_pic = (gettext (configF"
16.07.2013 16:48:30: TGT*Peter (127.0.0.1:2304) 715ffefb2705c4504c79a4c318a930a6 - #115 "y', 0]),
(round diag_fps),
_pic,
(dayz_survived),
(count playableUnits),
(count entities "zZombie_Base"),
({alive _x} count enti"
ummmm its spamming the scripts log :s
is it normal ?
Apologies I was talking about rpt logs as I had that issue with an older another debug monitor which was posted somewhere here looks like you had it in the right section anyway though.
You need to add an exception to your battle eye filters to stop your script logs being hammered, really excessive BE logging can slow down performance on hosts that aren't fully dedicated like dayz.st.
Here is my code for a toggle debug monitor which I have adapted from many sources and made my own. Personally, I think it's a lot easier to install then some of the tutorials here. Just save config below as debug.sqf, put it in your mission folder and include the following line in the init.sqf file - Find where it says:and just add below that:Code:[] execVM "\z\addons\dayz_code\system\antihack.sqf";
Code:[] execVM "debug.sqf";
Config:
Code:dayz_spaceInterrupt = { private ["_dikCode", "_handled"]; _dikCode = _this select 1; _handled = false; if (_dikCode == 0x44) then { if (debugMonitor) then { debugMonitor = false; hintSilent ""; } else {[] spawn fnc_debug;}; }; _handled }; fnc_debug = { debugMonitor = true; while {debugMonitor} do { _pic = (gettext (configFile >> 'CfgVehicles' >> (typeof vehicle player) >> 'picture')); if (player == vehicle player) then { _pic = (gettext (configFile >> 'cfgWeapons' >> (currentWeapon player) >> 'picture')); } else { _pic = (gettext (configFile >> 'CfgVehicles' >> (typeof vehicle player) >> 'picture')); }; hintSilent parseText format [" <t color='#ff5200' size='1.30' font='Bitstream' align='center'>SERVER NAME</t><br/> <t color='#ffffff' size='1.15' font='Bitstream' align='center'>%1</t><br/><br/> <t size='1' font='Bitstream' align='left'>Zombies Killed: </t><t color='#ff5200' size='1' font='Bitstream' align='right'>%2</t><br/> <t color='#ffffff' size='1' font='Bitstream' align='left'>Survivors Killed: </t><t color='#ff5200' size='1' font='Bitstream' align='right'>%4</t><br/> <t color='#ffffff' size='1' font='Bitstream' align='left'>Bandits Killed: </t><t color='#ff5200' size='1' font='Bitstream' align='right'>%5</t><br/> <t color='#ffffff' size='1' font='Bitstream' align='left'>Blood: </t><t color='#ff5200' size='1' font='Bitstream' align='right'>%6</t><br/> <t color='#ffffff' size='1' font='Bitstream' align='left'>Humanity: </t><t color='#ff5200' size='1' font='Bitstream' align='right'>%7</t><br/><br/> <t color='#ffffff' size='1' font='Bitstream' align='left'>FPS: </t><t color='#ff5200' size='1' font='Bitstream' align='right'>%8</t><br/> <img size='4' image='%9'/><br/> <t color='#ff5200' size='1' font='Bitstream' align='center'>Press F10 to toggle</t><br/> <t size='0.8' font='Bitstream' align='center'>WEBSITE</t>", (name player), (player getVariable['zombieKills', 0]), (player getVariable['headShots', 0]), (player getVariable['humanKills', 0]), (player getVariable['banditKills', 0]), (player getVariable['USEC_BloodQty', r_player_blood]), (player getVariable['humanity', 0]), (round diag_fps), _pic]; sleep 1; }; }; [] spawn fnc_debug;
You would obviously change SERVERNAME and WEBSITE to your own details. You may also add other features like server restart time, days survived etc. Pic below (Note: I'm holding a M9SD):
![]()
if (isNil "custom_monitor") then {custom_monitor = true;} else {custom_monitor = !custom_monitor;};
while {custom_monitor} do
{
_kills = player getVariable["zombieKills",0];
_killsH = player getVariable["humanKills",0];
_killsB = player getVariable["banditKills",0];
_humanity = player getVariable["humanity",0];
_headShots = player getVariable["headShots",0];
hintSilent parseText format ["
<t size='2'font='Bitstream'align='center'>%1</t><br/>
<t size='1'font='Bitstream'align='left'>Blood:</t><t size='1' font='Bitstream'align='right'>%2</t><br/>
<t size='1'font='Bitstream'align='left'>Humanity:</t><t size='1'font='Bitstream'align='right'>%3</t><br/>
<t size='1'font='Bitstream'align='left'>Players Killed:</t><t size='1'font='Bitstream'align='right'>%4</t><br/>
<t size='1'font='Bitstream'align='left'>Bandits Killed:</t><t size='1'font='Bitstream'align='right'>%5</t><br/>
<t size='1'font='Bitstream'align='left'>Zombies Killed:</t><t size='1'font='Bitstream'align='right'>%6</t><br/>
<t size='1'font='Bitstream'align='left'>Headshots:</t><t size='1'font='Bitstream'align='right'>%7</t><br/>
<t size='2'font='Bitstream'align='center'>DX-Gaming.com</t><br/>
",dayz_playerName,r_player_blood,round _humanity,_killsH,_killsB,_kills,_headShots];
sleep 1;
};
when i try removing the player name for
Code:if (isNil "custom_monitor") then {custom_monitor = true;} else {custom_monitor = !custom_monitor;}; while {custom_monitor} do { _kills = player getVariable["zombieKills",0]; _killsH = player getVariable["humanKills",0]; _killsB = player getVariable["banditKills",0]; _humanity = player getVariable["humanity",0]; _headShots = player getVariable["headShots",0]; hintSilent parseText format [" <t size='2'font='Bitstream'align='center'>%1</t><br/> <t size='1'font='Bitstream'align='left'>Blood:</t><t size='1' font='Bitstream'align='right'>%2</t><br/> <t size='1'font='Bitstream'align='left'>Humanity:</t><t size='1'font='Bitstream'align='right'>%3</t><br/> <t size='1'font='Bitstream'align='left'>Players Killed:</t><t size='1'font='Bitstream'align='right'>%4</t><br/> <t size='1'font='Bitstream'align='left'>Bandits Killed:</t><t size='1'font='Bitstream'align='right'>%5</t><br/> <t size='1'font='Bitstream'align='left'>Zombies Killed:</t><t size='1'font='Bitstream'align='right'>%6</t><br/> <t size='1'font='Bitstream'align='left'>Headshots:</t><t size='1'font='Bitstream'align='right'>%7</t><br/> <t size='2'font='Bitstream'align='center'>DX-Gaming.com</t><br/> ",dayz_playerName,r_player_blood,round _humanity,_killsH,_killsB,_kills,_headShots]; sleep 1; };
my debug monitor screws up. i know it has to do with dayz_playername but removing that distorts everything else. do i remove <t size='2'font='Bitstream'align='center'>%1</t><br/> and do ",,r_player_blood........." ?
I got a dayz Overwatch server from XstreamGaming and I'm tring to get the debug monitor put on my server but i can not find the PBO where is it
Anyone figure out the combat roll problem when using the toggle code?
edit: nm fixed it, was because I had that already dayz_spaceInterupt defined in the mission side compiles.sqf I was using.