What am I doing wrong here? My debug monitor isn't displaying all info. Can you fix my script?

DangerRuss

OpenDayZ Rockstar!
Just trying to add a very simple debug monitor to my server that includes your blood, days survived, fps, and time until next restart (6hours). Only it says "any days".

Code:
if (isNil "custom_monitor") then {custom_monitor = true;} else {custom_monitor = !custom_monitor;};
 
while {custom_monitor} do
{
    _clientfps =round diag_fps;
    _tL = ((21600 - time) / 60);
    _tL = round(_tL);
    hintSilent parseText format ["
    <t size='2'font='Bitstream'align='center'color='#993300'>W.I.C.K.E.D.</t><br/>
    <t size='1'font='Bitstream'align='left'>Blood:</t><t size='1' font='Bitstream'align='right'>%1</t><br/>
    <t size='1'font='Bitstream'align='left'>Survived:</t><t size='1'font='Bitstream'align='right'>%2 Days</t><br/>
    <t size='1'font='Bitstream'align='left'>FPS:</t><t size='1'font='Bitstream'align='right'>%3</t><br/>
    <t size='1'font='Bitstream'align='left'>Time until restart:</t><t size='0.75'font='Bitstream'align='right' color='#FFCC00'>%4mins</t><br/>
    <t size='1.5'font='Bitstream'align='center'color='#336600'>%5</t><br/>
 
    ",r_player_blood,dayz_Survived,(_clientfps),(_tL),dayz_playerName];
sleep 1;
};
 
I figured it out guys, this was a bit obscure and I think had I not found it, you guys would never have figured it out. The reason is, my server provider is currently only running Namalsk on version 0.741 and not 0.75. So it is not currently running with the dayz 1.7.7.1 update. This means I had to change the line
Code:
,dayz_Survived
to
Code:
,dayz_skilllevel
which was how the code was used before dayz 1.7.7.1
 
is there any way that you know of to change the background color on the debug monitor? Im running an always night Namalsk, and the brown is too bright, it clashes.
 
Back
Top