DOES ANYONE HAVE a decent custom debug monitor that doesnt conflict with building? epoch

Good script of debug monitor:

Code:
if (isNil "custom_monitor") then {custom_monitor = true;} else {custom_monitor = false;};
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];
     _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 size='2'font='Bitstream'align='center' color='#104E8B' >%1</t><br/>
    <t size='1.25'font='Bitstream'align='left'color='#104E8B'>Alive since :</t><t size='1'font='Bitstream'align='right'>%2 Days</t><br/>
    <t size='1.25'font='Bitstream'align='left'color='#EE0000'>Blood :</t><t size='1.25' font='Bitstream'align='right'>%3</t><br/>
    <t size='1'font='Bitstream'align='left'color='#ffcc00'>Humanity :</t><t size='1'font='Bitstream'align='right'>%4</t><br/>
    <t size='1'font='Bitstream'align='left'color='#ff0000'>Murder :</t><t size='1'font='Bitstream'align='right'>%5</t><br/>
    <t size='1'font='Bitstream'align='left'color='#16ba00'>Bandits kills :</t><t size='1'font='Bitstream'align='right'>%6</t><br/>
    <t size='1'font='Bitstream'align='left'color='#ffcc00'>Zombis kills :</t><t size='1'font='Bitstream'align='right'>%7</t><br/>
    <t size='1'font='Bitstream'align='left'color='#ffcc00'>Headshoot :</t><t size='1'font='Bitstream'align='right'>%8</t><br/>
    <t size='1'font='Bitstream'align='left'color='#ffcc00'>FPS :</t><t size='1'font='Bitstream'align='right'>%9</t><br/>
    <img size='3' image='%10'/><br/>  
    <t size='1.25'font='Bitstream'align='left'color='#104E8B'>Restart :</t><t size='1'font='Bitstream'align='right'>%11 Minits</t>
    ",dayz_playerName,(dayz_Survived),r_player_blood,(round(_humanity)),_killsH,_killsB,_kills,_headShots,floor(diag_fps),_pic,(round(360-(serverTime)/60))];
    sleep 1;
};

Edit the red number colored to refect in minits your server restart: (360-(serverTime)/60))];
In this case, the 360 mean server will restart each 6 hours.
If you use auto restart all 4 hours change the 360 by 240.
Keep in mind that this timer maybe wrong if you made an manual restart out of automatic restart sheduled.
Hope you will ike this debug monitor.
It's our [LS] debug monitor at the difference that our is translated in french...
 
Name this custom_monitor.sqf
Code:
waitUntil {alive player};

while {true} do
{
    _kills =         player getVariable["zombieKills",0];
    _killsH =         player getVariable["humanKills",0];
    _killsB =         player getVariable["banditKills",0];
    _humanity =        player getVariable["humanity",0];
  
    hintSilent parseText format ["
    <t size='1.00' font='Bitstream' align='center' color='#FFFFFF'>Post Apocalypse</t><br/>
    <t size='0.95' font='Bitstream' align='left' color='#01DEFE'>Unique ID:</t><t size='0.95 'font='Bitstream' align='right'>%2</t><br/>
    <t size='0.95' font='Bitstream' align='left' color='#FFBF00'>Players Online: </t><t size='0.95 'font='Bitstream' align='right'>%3</t><br/>
    <t size='0.95' font='Bitstream' align='left' color='#FFBF00'>Murders: </t><t size='0.95' font='Bitstream' align='right'>%4</t><br/>
    <t size='0.95' font='Bitstream' align='left' color='#FFBF00'>Bandits Killed: </t><t size='0.95' font='Bitstream' align='right'>%5</t><br/>
    <t size='0.95' font='Bitstream' align='left' color='#FFBF00'>Zombies Killed: </t><t size='0.95' font='Bitstream' align='right'>%6</t><br/>
    <t size='0.95' font='Bitstream' align='left' color='#FFBF00'>Humanity: </t><t size='0.95' font='Bitstream' align='right'>%7</t><br/>
    <t size='0.95' font='Bitstream' align='left' color='#FF0000'>Blood: </t><t size='0.95' font='Bitstream' align='right'>%8</t><br/>
    <t size='0.95' font='Bitstream' align='left' color='#FFBF00'>FPS: </t><t size='0.95' font='Bitstream' align='right'>%9</t><br/>
    <t size='0.95' font='Bitstream' align='center' color='#FFFFFF'>TS3: 72.34.46.80:8179</t><br/>
    <t size='1.00' font='Bitstream' align='center' color='#01DEFE'>Restart in %10 Minutes</t><br/>",

    dayz_playerName,dayz_playerUID,(count playableUnits),_killsH,_killsB,_kills,round _humanity,r_player_blood,(round diag_fps),(round(240-(serverTime) / 60))
    ];
sleep 1;
};
Change the 240 in (round(240-(serverTime) / 60)) to the time your server restarts in minutes!
Also the Post Apocalypse at the top you can change to whatever as well as the TS3: 72.34.46.80:8179

Make sure in your init.sqf you put this to run it
Put this at the very bottom
[] execVM "custom_monitor.sqf";

If you put the Custom_monitor in a folder like scripts just make it to this
[] execVM "Scripts\custom_monitor.sqf";
change the Scripts as the folder name!
 
Back
Top