Slighty Nicer Debug Monitor

@P1-Kashwak @Citidel

It is working ;) A friend of mine helped me out. I will post the code later.

Cititdel the start is right but you need the size of the map an a variable to calculate the coordinates.
 
I got it working by using the pbo someone on here posted. Just remember to update the bliss instance ID.
 
@Robstar87
Try launching dayz with -showScriptErrors
Watch the server during loading mission file etc, u might notice a pop-up (only stays afew seconds) with an error

Otherwise u can check out your clients rpt logs... believe its in your APPDATA folder for Arma OA
 
Is there a way to make it more transparent ?
Or even better, to add a hotkey to show/hide it (with the code if possible because I don't know anything about it)
 
3407A2472FE24037FE0489E7BEE67C4CCBC4CD64


ok, changed it up. got the display working and formatted like the dialog.

Setup is a touch easier:
description.ext changes:
Add below - class RscPicture { };
Code:
#include "Dialogs\Common\DialogColorConstants.hpp"
#include "Dialogs\DialogColorScheme.hpp"
#include "Dialogs\Common\DialogControlClasses.hpp"
class RscTitles {
#include "Dialogs\DB2DZ.hpp"
};

player_spawn_2.sqf changes:
Add where hint silent is:
Code:
call {execVM "Dialogs\DB2DZ.sqf"};
and comment out the Hint (or remove it).

If you want to change the text:
open DB2DZ.sqf and locate: parseText format
the section after that is exactly like the current debug script but re-formatted to fit in the smaller box. Also make sure you change _servername to your server name!

Code:
<t size='1' font='Bitstream' align='center'>%10</t>
<t size='1.25' font='Bitstream' ><br />%1<br /><br /></t>
<t size='1' font='Bitstream' align='left' color='#ff0000' >Blood: </t><t size='1' font='Bitstream' align='right' >%2</t>
<t size='1' font='Bitstream' align='left' ><br />Humanity: </t><t size='1' font='Bitstream' align='right' >%3</t>
<t size='1' font='Bitstream' align='left' ><br />Headshots: </t><t size='1' font='Bitstream' align='right' >%4</t>
<t size='1' font='Bitstream' align='left' ><br />Murders:  </t><t size='1' font='Bitstream' align='right' >%5</t>
<t size='1' font='Bitstream' align='left' ><br />Bandits Killed: </t><t size='1' font='Bitstream' align='right' >%6</t>
<t size='1' font='Bitstream' align='left' ><br />Zombies Killed: </t><t size='1' font='Bitstream' align='right' >%7</t>
<t size='1' font='Bitstream' align='left' ><br />Zombies (alive/total): <t size='1' font='Bitstream' align='right' >%9/%8</t>"
,dayz_playerName,r_player_blood,round(_humanity),_headShots,_killsH,_killsB,_kills,_zombies,_zombiesA,_servername

___________________________________________________________
HTML BOX!

I can add a HTML box so you can have a HTML page splash then flip to the main window after hiding the HTML box.

Basically you would call the HTML page via a script:
Code:
call {execVM "Dialogs\DB2DZ_HTML.sqf"};
that would rely on the same framework so just an extra file + the HTML file for splash screens. have a small delay on it fading out and it would be good to go.

What Size is reasonable? about the size of the Debug Box? or something bigger?
___________________________________________________________
Seems I have a few errors to work though and a few more changes to make.

Known issues:
mini-map doesn't work /sigh
Code:
JUST COMMENT OUT THE RSCMAPCONTROL SECTIONS AND IT WILL BE FINE, WILL REMOVE
Issue with script not restarting when you disconnect to lobby
ADD THIS TO init.sqf IN THE "if (!isDedicated) then {" SECTION - should correct the issue.​

I used you method and I'm really happy with the end result, best debug monitor I have used on my server so far!

The only problem is some things don't match up:

arma2oa 2013-01-28 13-32-41-07.png

how would I go about making the boxes line up better?

Also how could I go about changing the transparency and also customizing the placement to say the top right corner.

Finally, I know you said this can support html or something along the lines so how would I go about adding another box like an iframe or something and putting in like a news feed , a teamspeak applet server stats or something else?
 
Hello,

First off well done on the work i have successfully implemented this into my server.

One issue has arisen which is just tedious and i have no idea where to start.

We run a DAYZ+ server and since implementing this new debug monitor our ABORT button is no longer functioning, Any ideas?
 
@Robstar87
Try launching dayz with -showScriptErrors
Watch the server during loading mission file etc, u might notice a pop-up (only stays afew seconds) with an error

Otherwise u can check out your clients rpt logs... believe its in your APPDATA folder for Arma OA

i fixed it....went with a better server provider and got everything working how i wanted it to work :) thanks for your reply dude
 
Have it running, what line do I edit in the code, form the install options back on page two to add my server name instead of playername to the top of the debug menu

Thanks in advanced!
 
does anyone know a list of the fonts that are actually working? i tried vbs2_markings_stencil and NewsGothicCn and neither of them are working, i get the error newsgothiccn not found error
 
Hi everyone

First of thanks to Torndeco for this tutorial, works great and looks neat as well.

To my problem.
I am trying to add a image to the debug monitor, but i am a bit at a loss!
Is there a required image size/type? if so what are they?

I have tried with a 139x87 pixel .jpg file located as so: \fixes\images\valhalla.jpg - using this code:
Code:
hintSilent parseText format["<t shadow='true' color='#FFA500' size='1.25' font='Bitstream' >%7<br /><br /></t><t color='#FF0000' size='1' font='Bitstream' align='left' >Blood: </t><t color='#FF0000' size='1' font='Bitstream' align='right' >%3</t><t color='#008000' size='1' font='Bitstream' align='left' ><br />Humanity: </t><t color='#008000' size='1' font='Bitstream' align='right' >%5</t><t color='#C0C0C0' size='1' font='Bitstream' align='left' ><br /><br />Headshots: </t><t color='#C0C0C0' size='1' font='Bitstream' align='right' >%2</t><t color='#C0C0C0' size='1' font='Bitstream' align='left' ><br /><br />Murders:  </t><t color='#C0C0C0' size='1' font='Bitstream' align='right' >%4</t><t color='#C0C0C0' size='1' font='Bitstream' align='left' ><br />Bandits Killed: </t><t color='#C0C0C0' size='1' font='Bitstream' align='right' >%6</t><t color='#C0C0C0' size='1' font='Bitstream' align='left' ><br />Zombies Killed: </t><t color='#C0C0C0' size='1' font='Bitstream' align='right' >%1</t><br /><img shadow='true' image="images\valhalla.jpg" /><br /><t shadow='true' color='#FFA500' size='1.25' font='Bitstream' align='center'>- with MEDEVAC -<br /><br /></t>",_kills,_headShots,r_player_blood,_killsH,round(_humanity),_killsB,dayz_playerName];

What am i doing wrong? or is it just not possible?

Best regards Odin of Valhalla
 
Back
Top