Wrong text element 'null'

SparxOne

Member
--------------------------------------------------
YES; i did read the FAQ and the READMEs
on opendayz.net and on github,
and i searched this thread for my issue.

Version of SAR_AI : 1.1.0
Version of Dayz : 1.7.6.1

Serverpackage
Type : Crosire "DayZCC"
Version : 5.9.2.0

Installed mods : "Sarge's AI" and "Debug Monitor"

Enabled debug modes: KRON_UPS_DEBUG

Describe your issue:
When ever enabling the debug monitor my .rpt gets spammed with the message (Wrong text element 'null')...
If i disable the Debug monitor this goes away. It is therefore coming from the debug monior but only happens when combined with "Sarge's AI".


-----------------------------------------------------------------------------------------------------------------
Paste an EXTRACT of the relevant parts of cfg files
(SAR_config, x_x_grid.cgf, x_x_grps.cfg) here:
No need i suppose ?


Paste the RELEVANT parts of your rpt file here:
Code:
 0:49:56 "----------------------------------------"
0:49:56 "Starting SAR_AI version 1.1.0"
0:49:56 "----------------------------------------"
0:49:56 UH1Wreck_DZ: MainTurret - unknown animation source MainTurret
0:49:56 UH1Wreck_DZ: MainGun - unknown animation source mainGun
0:49:56 UH1Wreck_DZ: Gatling - unknown animation source Gatling
0:49:56 "DEBUG: Spawning a crashed helicopter at [8633.15,7956.25]"
0:49:56 "DEBUG: Spawning a "BMP2Wreck" at [13460.8,3882.97] with loot type "Industrial" and 4 total loot drops"
0:49:56 "SAR_AI: Area & Trigger definition Started"
0:49:56 "Setting up SAR_AI for : chernarus"
0:49:58 "SAR_AI: Area & Trigger definition finalized"
0:49:58 "SAR_AI: Static Spawning for Helicopter patrols started"
0:49:59 "DEBUG: Spawning a "Mi24Wreck" at [9309.28,12405] with loot type "Supermarket" and 6 total loot drops"
0:50:00 "DEBUG: Spawning a "UralWreck" at [9879.43,8611.69] with loot type "Military" and 9 total loot drops"
0:50:01 Warning: z\addons\dayz_communityassets\models\compass.p3d:0 Error while trying to generate ST for points: 863, 853, 852
0:50:01 "DEBUG: Spawning a "LADAWreck" at [10071,8741.39] with loot type "Supermarket" and 5 total loot drops"
0:50:02 "DEBUG: Spawning a "BMP2Wreck" at [13135.8,13446.9] with loot type "Farm" and 6 total loot drops"
0:50:02 "DEBUG: Spawning a "LADAWreck" at [10779.3,11506.7] with loot type "Industrial" and 5 total loot drops"
0:50:02 "DEBUG: Spawning a "C130JWreck" at [2076.53,14757.8] with loot type "Industrial" and 11 total loot drops"
0:50:03 "DEBUG: Spawning a "BMP2Wreck" at [1757.61,5352.06] with loot type "Military" and 3 total loot drops"
0:50:03 "DEBUG: Spawning a "HMMWVWreck" at [2918.62,8227.38] with loot type "Farm" and 5 total loot drops"
0:50:04 "DEBUG: Spawning a "BMP2Wreck" at [8125.28,15244.6] with loot type "Supermarket" and 6 total loot drops"
0:50:04 "DEBUG: Spawning a "HMMWVWreck" at [13361.7,15168.3] with loot type "Industrial" and 5 total loot drops"
0:50:05 "DEBUG: Spawning a "BMP2Wreck" at [3546.48,8635.2] with loot type "Farm" and 4 total loot drops"
0:50:05 "DEBUG: Spawning a "BMP2Wreck" at [8649.09,8120.46] with loot type "Hospital" and 5 total loot drops"
0:50:05 "SAR_AI: Static Spawning for Helicopter patrols finished"
0:50:05 "SAR_AI: Static Spawning for infantry and heli patrols finished"
0:50:05 "DEBUG: Spawning a crashed helicopter at [4789.26,7816.93]"
0:50:06 "DEBUG: Spawning a crashed helicopter at [6307,6218.78]"
0:50:06 "DEBUG: Spawning a crashed helicopter at [4939.2,6996.31]"
0:50:06 "DEBUG: Spawning a crashed helicopter at [4942.81,12237]"
0:50:07 "DEBUG: Spawning a "C130JWreck" at [14154.7,14317.2] with loot type "Farm" and 7 total loot drops"
0:50:07 "DEBUG: Spawning a "BMP2Wreck" at [11847,9648.09] with loot type "Farm" and 4 total loot drops"
0:50:07 "DEBUG: Spawning a "C130JWreck" at [12038,15267.2] with loot type "Supermarket" and 11 total loot drops"
0:50:07 "DEBUG: Spawning a "T72Wreck" at [7778.77,14724.3] with loot type "Industrial" and 5 total loot drops"
0:50:08 "DEBUG: Spawning a "C130JWreck" at [7975.77,8439.31] with loot type "Military" and 7 total loot drops"
0:50:08 "DEBUG: Spawning a "Misc_cargo_cont_net3" at [7132.42,11463.3] with loot type "Farm" and 15 total loot drops"
0:50:08 "DEBUG: Spawning a "Misc_cargo_cont_net1" at [5570.19,10299] with loot type "Supermarket" and 5 total loot drops"
0:50:08 "DEBUG: Spawning a "Misc_cargo_cont_net2" at [11638,15284.7] with loot type "Supermarket" and 9 total loot drops"
0:50:08 "DEBUG: Spawning a "Misc_cargo_cont_net1" at [12702.3,13542.1] with loot type "Supermarket" and 3 total loot drops"
0:50:09 "CLEANUP: INITIALIZING CLEANUP SCRIPT"
0:51:18 "PLAYER: LOGIN STARTING: ******** [121189766]"
0:51:18 "PLAYER: LOGIN LOADED: ******** [Survivor1_DZ]"
0:51:20 "PLAYER: SETUP: Hit Event added"
0:51:20 "PLAYER: LOGIN RESULT: [297,[2160.47,2132.34,0.002]] [false]"
0:51:20 "PLAYER: LOGIN PUBLISHED: B 1-1-B:1 (*********) REMOTE"
0:51:26 Wrong text element 'null'
0:51:26 Wrong text element 'null'
0:51:26 Wrong text element 'null'
0:51:26 Wrong text element 'null'
0:51:27 Wrong text element 'null'
0:51:27 Wrong text element 'null'
0:51:27 Wrong text element 'null'
0:51:27 Wrong text element 'null'


Did you try to disable my mod and check if your issue is still there? NO
Did you try to disable OTHER mods to see which mod is causing the issue? YES
Did you read the FAQ and the READMEs on opendayz.net and on github? YES
Did you search this thread if anyone else had the issue as well ? YES (Some people had the issue but were not saying how to fix it...)

---------------------------------------------------------------------------------------------------------
 
Are you sure it's not happening as well when you disable my AI and only leave the Debug monitor on ?

The error messages that you describe happen after my AI has been fully loaded, so i don't think that has anything to do with my AI.

Did you try to use a different Debug Monitor?

Sarge
 
Ok i just tested different methods and here are the results...
Tested without the AI enabled and only the Debug Monitor On : I was getting the error message.
Tested without the AI enabled and only the Debug Monitor On but with edited code (Tried multiple editing) : Debug Monitor was off but no more error message.

The problem is therefore only coming from the Debug Monitor -_-, sorry for waisting your time...

I have not tried a different Debug Monitor, for the simple reason that the one i'm using is the one that displays it the way i like it :p

If you have any knowledge in the code of Debug Monitors, could you have a look at the code of mine and maybe tell me where the error comes from ? :)

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'>Murders:</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'>Hard 2 Play Server</t><br/>
 
    ",dayz_playerName,r_player_blood,round _humanity,_killsH,_killsB,_kills,_headShots];
sleep 1;
};

Thanks a lot for the help dear Sarge :)

EDIT : Finally tried a different Debug Monitor and the Error message is gone, seems like i'll have to stick with the new one...
 
Okay but i have one question though now :p

Is there anyway i could get back the interface of the old Debug Monitor working with the new one ?

Old Debug Monitor :
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'>Murders:</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'>Hard 2 Play Server</t><br/>
 
    ",dayz_playerName,r_player_blood,round _humanity,_killsH,_killsB,_kills,_headShots];
sleep 1;
};

New Debug Monitor :
Code:
    //Debug Info
            _headShots =            player getVariable["headShots",0];
            _kills =                player getVariable["zombieKills",0];
            _killsH =                player getVariable["humanKills",0];
            _killsB =                player getVariable["banditKills",0];
            _humanity =                player getVariable["humanity",0];
            _zombies =                count entities "zZombie_Base";
            _zombiesA =                {alive _x} count entities "zZombie_Base";
 
    hintSilent parseText format ["
    <t size='1.20' font='Bitstream' color='#5882FA'>%1</t><br/><br/>
    <t size='1.15' font='Bitstream' color='#5882FA'>Survived %7 Days</t><br/>
    <t size='1.15' font='Bitstream' align='left'>Zombies Killed: </t><t size='1.15' font='Bitstream' align='right'>%2</t><br/>
    <t size='1.15' font='Bitstream' align='left'>Headshots: </t><t size='1.15' font='Bitstream' align='right'>%3</t><br/>
    <t size='1.15' font='Bitstream' align='left'>Murders: </t><t size='1.15' font='Bitstream' align='right'>%4</t><br/>
    <t size='1.15' font='Bitstream' align='left'>Bandits Killed: </t><t size='1.15' font='Bitstream' align='right'>%5</t><br/>
    <t size='1.15' font='Bitstream' align='left'>Zombies (alive/total): </t><t size='1.15' font='Bitstream' align='right'>%9/%8</t><br/>
    <t size='1.15' font='Bitstream' align='left'>Humanity: </t><t size='1.15' font='Bitstream' align='right'>%6</t><br/>",
    (name player),
    (player getVariable['zombieKills', 0]),
    (player getVariable['headShots', 0]),
    (player getVariable['humanKills', 0]),
    (player getVariable['banditKills', 0]),
    (player getVariable['humanity', 0]),
    (dayz_skilllevel),
    (count entities "zZombie_Base"),
    ({alive _x} count entities "zZombie_Base")];
 
i have no clue mate and don't want to dig into that one :) How about you check with the authors of these mods ?

It shouldn't be a big issue to just adjust the optics and values to the old look and feel.

cheers, Sarge
 
i have no clue mate and don't want to dig into that one :) How about you check with the authors of these mods ?

It shouldn't be a big issue to just adjust the optics and values to the old look and feel.

cheers, Sarge

Ok no problem, was just asking to make sure i couldn't get helped here straight away :p

Thanks a lot for your time !

Cheers, SparxOne
 
I am getting the same problem do you have a fix? I have the same DEBUG monitor, I didn't know that this happens when one uses that debug monitor, so I was trying to find the source and I guess the DEBUG monitor really is the source. If you contacted the maker could you tell me how you fixed it?
 
I am getting the same problem do you have a fix? I have the same DEBUG monitor, I didn't know that this happens when one uses that debug monitor, so I was trying to find the source and I guess the DEBUG monitor really is the source. If you contacted the maker could you tell me how you fixed it?

Hi,

Yes i have contacted the maker and he has no fix, himself does not know how to sort it, i basically ended up using another Debug Monitor :)
 
Which debug monitor did you end up using? I added some extra variables to mine including FPS and the ratio of zombies alive to how many zombies have spawned and some colors.
 
Back
Top