Debug Monitor

Thanks keep up the good work, sorry for my incompetence.

Oh no biggy dude! You'll get it in due time! Everyone has to start somewhere...My god I remember trying to wrap my brain around this crap my first time staring at code. Shit I couldn't figure anything out. It'll come to you in due time :)
 
just a B-T-DUBS, with this new compiles way you fixed the RPT spam so i mean good job (Testing it now btw) Still testing one second
 
HOLY SHIT WORKS LIKE A FUCKING CHARM, PERFECT PERFECT PERFECT!!!!!!!!!!!!!!!!!!!!!! NO RPT SPAM AS WELL O MY GOD UR A GOD SIR, a GOD at coding.
 
HOLY SHIT WORKS LIKE A FUCKING CHARM, PERFECT PERFECT PERFECT!!!!!!!!!!!!!!!!!!!!!! NO RPT SPAM AS WELL O MY GOD UR A GOD SIR, a GOD at coding.

Not even close to any sort of higher being xD Plenty of fellas out there are way better than me
 
Why does the FPS monitor update so quickly? And why does my server name at the bottom get cut off matt? It works flawlessly but I mean what is going on?
 
Why does the FPS monitor update so quickly? And why does my server name at the bottom get cut off matt? It works flawlessly but I mean what is going on?

Of the debug? Fps updates every second, it's just how it was designed. But the debug uses a hint box which is only so big, so if you are adding an extra line, it may be too large to show on screen
 
What is happening is the debug is updating at least twice every second, which is not the problem it is my server name after. My server name is getting cut off by something, idk wat, it only show half of it. Kinda confused.
 
BTW Matt, do you know how to whitelist a action that is not initiated in fn_selfActions.sqf instead from the init. For example, R3F towing/heli-lifting and BTC fast roping? It wont let me access the actions in game due to the antihack, i know this for sure cuz i disabled the ah.sqf and it worked then i enabled it and it didnt work.
 
What is happening is the debug is updating at least twice every second, which is not the problem it is my server name after. My server name is getting cut off by something, idk wat, it only show half of it. Kinda confused.

What server name? One located on the debug, or the one at the bottom of the screen?
 
BTW Matt, do you know how to whitelist a action that is not initiated in fn_selfActions.sqf instead from the init. For example, R3F towing/heli-lifting and BTC fast roping? It wont let me access the actions in game due to the antihack, i know this for sure cuz i disabled the ah.sqf and it worked then i enabled it and it didnt work.

and no clue, every AH i've used has never interfered with that.
 
look at my debug design, at the end u can see the server name in two different text things so i can have two different colors but for some reason the second half is disappearing / appearing randomly.
Code:
while {debugMonitor} 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];
        _zombies =              count entities "zZombie_Base";
        _zombiesA =    {alive _x} count entities "zZombie_Base";
        _banditCount = {(isPlayer _x) && ((_x getVariable ["humanity",0]) < 0)} count playableUnits;
        _heroCount  = {(isPlayer _x) && ((_x getVariable ["humanity",0]) >= 5000)} count playableUnits;
        _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='1.15'font='Bitstream'align='center' color='#F7FE2E' >%1</t><br/>
        <t size='1'font='Bitstream'align='center' color='#5882FA'>Survived %15 Days</t><br/>
        <t size='1'font='Bitstream'align='left' color='#EE0000' >Blood Left:</t><t size='1' font='Bitstream'align='right' color='#EE0000' >%2</t><br/>
        <t size='1'font='Bitstream'align='left' color='#006FFF' >Humanity:</t><t size='1'font='Bitstream'align='right' color='#FFFFFF' >%3</t><br/>
        <t size='1'font='Bitstream'align='left' color='#F7FE2E' >Bambis Killed:</t><t size='1'font='Bitstream'align='right' color='#A41717' >%4</t><br/>
        <t size='1'font='Bitstream'align='left' color='#F7FE2E' >Bandits Killed:</t><t size='1'font='Bitstream'align='right' color='#A41717' >%5</t><br/>
        <t size='1'font='Bitstream'align='left' color='#F7FE2E' >Zeds Killed:</t><t size='1'font='Bitstream'align='right' color='#A41717' >%6</t><br/>
        <t size='1'font='Bitstream'align='left' color='#F7FE2E' >Headshots:</t><t size='1'font='Bitstream'align='right' color='#A41717' >%7</t><br/>
        <t size='1' font='Bitstream' align='left' color='#F7FE2E' >Zed Count (alive/total): </t><t size='1' font='Bitstream' align='right' color='#A41717' >%9/%8</t><br/>
        <t size='1'font='Bitstream'align='left' color='#F7FE2E' >Bandit Count:</t><t size='1'font='Bitstream'align='right' color='#A41717' >%11</t><br/>
        <t color='#F7FE2E' size='1' font='Bitstream' align='left'>Next Restart: </t><t color='#A41717' size='1' font='Bitstream' align='right'>%14 min</t><br/>
        <t size='1' font='Bitstream' align='left' color='#F7FE2E' >FPS: </t><t size='1' font='Bitstream' align='right' color='#A41717' >%10</t><br/>
        <img size='3' image='%13'/><br/>
        <t size='1'font='Bitstream'align='left'color='#00FF6F'>Press Right Control to toggle!</t><br/><br/>
        <t size='1'font='Bitstream'align='left'color='#F7FE2E'>Bambo</t><t size='1'font='Bitstream'align='right'color='#A41717'>Squad</t><br/><br/>
 
        ",(dayz_playerName),(r_player_blood),(round(_humanity)),(_killsH),(_killsB),(_kills),(_headShots),(count entities "zZombie_Base"),({alive _x} count entities "zZombie_Base"),(round diag_fps),(_banditCount),(_heroCount),(_pic),(360-(round(serverTime/60))),(dayz_Survived)];
    sleep 1;
 
look at my debug design, at the end u can see the server name in two different text things so i can have two different colors but for some reason the second half is disappearing / appearing randomly.
Code:
while {debugMonitor} 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];
        _zombies =              count entities "zZombie_Base";
        _zombiesA =    {alive _x} count entities "zZombie_Base";
        _banditCount = {(isPlayer _x) && ((_x getVariable ["humanity",0]) < 0)} count playableUnits;
        _heroCount  = {(isPlayer _x) && ((_x getVariable ["humanity",0]) >= 5000)} count playableUnits;
        _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='1.15'font='Bitstream'align='center' color='#F7FE2E' >%1</t><br/>
        <t size='1'font='Bitstream'align='center' color='#5882FA'>Survived %15 Days</t><br/>
        <t size='1'font='Bitstream'align='left' color='#EE0000' >Blood Left:</t><t size='1' font='Bitstream'align='right' color='#EE0000' >%2</t><br/>
        <t size='1'font='Bitstream'align='left' color='#006FFF' >Humanity:</t><t size='1'font='Bitstream'align='right' color='#FFFFFF' >%3</t><br/>
        <t size='1'font='Bitstream'align='left' color='#F7FE2E' >Bambis Killed:</t><t size='1'font='Bitstream'align='right' color='#A41717' >%4</t><br/>
        <t size='1'font='Bitstream'align='left' color='#F7FE2E' >Bandits Killed:</t><t size='1'font='Bitstream'align='right' color='#A41717' >%5</t><br/>
        <t size='1'font='Bitstream'align='left' color='#F7FE2E' >Zeds Killed:</t><t size='1'font='Bitstream'align='right' color='#A41717' >%6</t><br/>
        <t size='1'font='Bitstream'align='left' color='#F7FE2E' >Headshots:</t><t size='1'font='Bitstream'align='right' color='#A41717' >%7</t><br/>
        <t size='1' font='Bitstream' align='left' color='#F7FE2E' >Zed Count (alive/total): </t><t size='1' font='Bitstream' align='right' color='#A41717' >%9/%8</t><br/>
        <t size='1'font='Bitstream'align='left' color='#F7FE2E' >Bandit Count:</t><t size='1'font='Bitstream'align='right' color='#A41717' >%11</t><br/>
        <t color='#F7FE2E' size='1' font='Bitstream' align='left'>Next Restart: </t><t color='#A41717' size='1' font='Bitstream' align='right'>%14 min</t><br/>
        <t size='1' font='Bitstream' align='left' color='#F7FE2E' >FPS: </t><t size='1' font='Bitstream' align='right' color='#A41717' >%10</t><br/>
        <img size='3' image='%13'/><br/>
        <t size='1'font='Bitstream'align='left'color='#00FF6F'>Press Right Control to toggle!</t><br/><br/>
        <t size='1'font='Bitstream'align='left'color='#F7FE2E'>Bambo</t><t size='1'font='Bitstream'align='right'color='#A41717'>Squad</t><br/><br/>
 
        ",(dayz_playerName),(r_player_blood),(round(_humanity)),(_killsH),(_killsB),(_kills),(_headShots),(count entities "zZombie_Base"),({alive _x} count entities "zZombie_Base"),(round diag_fps),(_banditCount),(_heroCount),(_pic),(360-(round(serverTime/60))),(dayz_Survived)];
    sleep 1;

You might have too much crap cluttering the hint box, try removing a line that you deem unneccessary and see how that affects it.
 
Back
Top