Help with adding mods to DayZ Mod server

clifdayz thanks for the info. It is a 1.8.8 vanilla base. I have gotten that mission system setup and running. I will get your updates for classnames and try that.
 
Hey clifdayz, I am also getting a lot of errors thrown to my .RPT for my custom debug monitor.

This is my monitor code. (Not my code but don't know who to give credit to)

Code:
if (isNil "custom_monitor") then {custom_monitor = true;} else {custom_monitor = !custom_monitor;};

while {custom_monitor} 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'));
        };
      
    _killsZ =       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='1.5'font='Bitstream'align='center'>%10</t><br/>
  
    <t size='1.15' font='Bitstream' align='center' color='#5882FA'>%7 Players Online</t><br/><br/>

    <t size='1.20' font='Bitstream' color='#00FF00'>Survived %6 Days</t><br/><br/>

    <t size='1.15' font='Bitstream' align='left'>Zombies Killed: </t>
    <t size='1.15' font='Bitstream' align='right'>%1</t><br/>

    <t size='1.15' font='Bitstream' align='left'>Headshots: </t>
    <t size='1.15' font='Bitstream' align='right'>%2</t><br/>

    <t size='1.15' font='Bitstream' align='left'>Murders: </t>
    <t size='1.15' font='Bitstream' align='right'>%3</t><br/>

    <t size='1.15' font='Bitstream' align='left'>Bandits Killed: </t>
    <t size='1.15' font='Bitstream' align='right'>%4</t><br/><br/>

    <t size='1.15' font='Bitstream' align='left'>Humanity: </t>
    <t size='1.15' font='Bitstream' align='right'>%5</t><br/>

    <t size='1.15' font='Bitstream' align='left' color='#C70000'>Blood: </t>
    <t size='1.15' font='Bitstream' align='right' color='#C70000'>%8</t><br/><br/>

    <t size='1.05' font='Bitstream' align='center' color='#16DB57'>Restart in %9 minutes</t><br/>

    <img size='4' image='%11'/><br/>
  
    <t size='1.6' font='Bitstream' align='center' color='#FACC2E'>Walking Dead</t><br/>",
    _killsZ,
    _headShots,
    _killsH,
    _killsB,
    _humanity,
    (dayz_Survived),
    (count playableUnits),
    (r_player_blood),
    (round(240-(serverTime) / 60)),
    (name player),
    _pic];
sleep 1;
}

This is the error I am seeing:

Wrong text element 'null'
Wrong text element 'null'
Wrong text element 'null'
Wrong text element 'null'
Wrong text element 'null'
Error in expression <color='#FACC2E'>Walking Dead</t><br/>",
_killsZ,
_headShots,
_killsH,
_killsB,
_>
Error position: <_killsZ,
_headShots,
_killsH,
_killsB,
_>
Error Undefined variable in expression: _killsz
File mpmissions\dayz_1337.chernarus\Scripts\custom_monitor.sqf, line 51

The monitor seems to be working fine its just blowing up my .RPT file.

Thanks,
Jason
 
Back
Top