This commit is contained in:
2022-04-21 16:15:41 +03:00
commit 9d4fc88901
601 changed files with 66252 additions and 0 deletions

View File

@ -0,0 +1,81 @@
[] spawn {
private["_serverName","_serverSubtitle","_teamspeak","_time","_hours","_minutes","_restartTime"];
/************************* CONFIG *************************/
_serverName = "SERVER NAME HERE";
_serverSubtitle = "WEBSITE/MESSAGE HERE"; // DELETE line 40 if you don't want this to show
_teamspeak = "Teamspeak: TEAMSPEAK IP HERE"; // DELETE line 50 if you don't want this to show
_restartTime = 180; //total time before server restart (3hrs = 180 minutes)
/************************* CONFIG *************************/
if (isNil "DebugMonitorActive") then {DebugMonitorActive = true;};
EAT_DebugMonitorToggle = {
DebugMonitorActive = !DebugMonitorActive;
if !(DebugMonitorActive) exitWith {hintSilent '';};
};
waitUntil {!isNull (findDisplay 46)};
Ins_KEY = (findDisplay 46) displayAddEventHandler ["KeyDown","if ((_this select 1) == 210) then {call EAT_DebugMonitorToggle;};"];
while {true} do {
if (DebugMonitorActive) then {
_time = (round(_restartTime-(serverTime)/60)); //Want it to count up instead of down? use _time = (round serverTime)/60;
_hours = (floor(_time/60));
_minutes = (_time - (_hours * 60));
switch(_minutes) do
{
case 9: {_minutes = "09"};
case 8: {_minutes = "08"};
case 7: {_minutes = "07"};
case 6: {_minutes = "06"};
case 5: {_minutes = "05"};
case 4: {_minutes = "04"};
case 3: {_minutes = "03"};
case 2: {_minutes = "02"};
case 1: {_minutes = "01"};
case 0: {_minutes = "00"};
};
// Want to change the colors? http://www.w3schools.com/colors/colors_picker.asp
// Use the #xxxxxx color code you get on that website and place it with any of the
//<t size..... lines below format: color='#xxxxxx'
// You can delete any of the <t size..... lines that you do not want
// THE LAST LINE MUST HAVE A ",
hintSilent parseText format ["
<t size='1.25' font='Bitstream' align='center' color='#5882FA'>%1</t><br/>
<t size='1.05' font='Bitstream' align='center' color='#5882FA'>%2</t><br/>
<t size='0.95' font='Bitstream' align='left' color='#FFBF00'></t><t size='0.95 'font='Bitstream' align='right'></t><br/>
<t size='0.95' font='Bitstream' align='left' color='#FFBF00'>Players Online: </t><t size='0.95 'font='Bitstream' align='right'>%3</t><br/>
<t size='0.95' font='Bitstream' align='left' color='#FFBF00'>Murders: </t><t size='0.95' font='Bitstream' align='right'>%4</t><br/>
<t size='0.95' font='Bitstream' align='left' color='#FFBF00'>Bandits Killed: </t><t size='0.95' font='Bitstream' align='right'>%5</t><br/>
<t size='0.95' font='Bitstream' align='left' color='#FFBF00'>Zombies Killed: </t><t size='0.95' font='Bitstream' align='right'>%6</t><br/>
<t size='0.95' font='Bitstream' align='left' color='#FFBF00'>Humanity: </t><t size='0.95' font='Bitstream' align='right'>%7</t><br/>
<t size='0.95' font='Bitstream' align='left' color='#FFBF00'>Blood: </t><t size='0.95' font='Bitstream' align='right'>%8</t><br/>
<t size='0.95' font='Bitstream' align='left' color='#FFBF00'>FPS: </t><t size='0.95' font='Bitstream' align='right'>%9</t><br/>
<t size='0.95' font='Bitstream' align='left' color='#FFBF00'></t><t size='0.95 'font='Bitstream' align='right'></t><br/>
<t size='1.15' font='Bitstream'align='center' color='#5882FA'>%10</t><br/>
<t size='1.15' font='Bitstream'align='center' color='#5882FA'>Server restart in %11:%12</t><br/>", //ONLY last line needs the ",
_serverName, // Used on line 40 for server title
_serverSubtitle, // Used on line 41 for server subtitle
(count playableUnits), // Used on line 43 for player count
(player getVariable['humanKills', 0]), // Used on line 44 for murder count
(player getVariable['banditKills', 0]), // Used on line 45 for bandit kill count
(player getVariable['zombieKills', 0]), // Used on line 46 for zombie kill count
(player getVariable['humanity', 0]), // Used on line 47 for humanity count
(player getVariable['USEC_BloodQty', r_player_blood]), // Used on line 48 for player blood amount
(round diag_fps), // Used on line 49 for frames per second
_teamspeak, // Used on line 51 for frames per second
_hours, // Used on line 52 to display hours
_minutes // Used on line 52 to display minutes
];
};
//Don't modify this part
uiSleep 0.5;
};
};

View File

@ -0,0 +1,74 @@
[] spawn {
_serverName = "SERVER NAME";
_teamspeak = "000.000.000.000"; // DELETE line 50 if you don't want this to show
_restartTime = 180; //total time before server restart (3hrs = 180 minutes)
_pic = "";
if (isNil "DebugMonitorActive") then {DebugMonitorActive = true;};
EAT_DebugMonitorToggle = {
DebugMonitorActive = !DebugMonitorActive;
hintSilent '';
};
waitUntil {!isNull (findDisplay 46)};
Ins_KEY = (findDisplay 46) displayAddEventHandler ["KeyDown","if ((_this select 1) == 210) then {call EAT_DebugMonitorToggle;};"];
while {true} do {
if (DebugMonitorActive) then {
_time = (round(_restartTime-(serverTime)/60));
_hours = (floor(_time/60));
_minutes = (_time - (_hours * 60));
if (player == vehicle player) then {
_pic = (getText (configFile >> "cfgWeapons" >> (currentWeapon player) >> "picture"));
} else {
_pic = (getText (configFile >> "CfgVehicles" >> (typeOf vehicle player) >> "picture"));
};
switch(_minutes) do
{
case 9: {_minutes = "09"};
case 8: {_minutes = "08"};
case 7: {_minutes = "07"};
case 6: {_minutes = "06"};
case 5: {_minutes = "05"};
case 4: {_minutes = "04"};
case 3: {_minutes = "03"};
case 2: {_minutes = "02"};
case 1: {_minutes = "01"};
case 0: {_minutes = "00"};
};
hintSilent parseText format ["
<t size='1.2' font='Bitstream' align='center' color='#718d67'>%12</t><br/>
<t size='1' font='Bitstream' align='center' color='#e5e5e5'>%1 Players Online: </t><br/>
<img size='3' align='Center' image='%11'/><br/>
<t size='1' font='Bitstream' align='left' color='#f00c0c'>Blood: </t><t size='1' font='Bitstream' align='right' color='#f00c0c'>%5</t><br/>
<t size='1' font='Bitstream' align='left' color='#007feb'>Humanity: </t><t size='1' font='Bitstream' align='right' color='#007feb'>%6</t><br/>
<t size='1' font='Bitstream' align='left' color='#e5e5e5'>FPS: </t><t size='1' font='Bitstream' align='right' color='#e5e5e5'>%7</t><br/>
<t size='1' font='Bitstream' align='left' color='#e5e5e5'>Murders: </t><t size='1' font='Bitstream' align='right' color='#e5e5e5'>%3</t><br/>
<t size='1' font='Bitstream' align='left' color='#e5e5e5'>Bandit Kills: </t><t size='1' font='Bitstream' align='right' color='#e5e5e5'>%4</t><br/>
<t size='1' font='Bitstream' align='left' color='#e5e5e5'>Zombie Kills: </t><t size='1' font='Bitstream' align='right' color='#e5e5e5'>%2</t><br/>
<t size='1' font='Bitstream' align='left' color='#ffd863'>Server restart in: </t><t size='1' font='Bitstream' align='right' color='#ffd863'>%8:%9</t><br/><br/>
<t size='.80' font='Bitstream' align='left' color='#5882FA'>Teamspeak: </t><t size='.80' font='Bitstream' align='right' color='#5882FA'>%13</t>",
(count playableUnits), // 1
(player getVariable['zombieKills', 0]), // 2
(player getVariable['humanKills', 0]), // 3
(player getVariable['banditKills', 0]), // 4
(player getVariable['USEC_BloodQty', r_player_blood]), // 5
(player getVariable['humanity', 0]), // 6
(round diag_fps), // 7
_hours, // 8
_minutes, // 9
dayz_playerName, // 10
_pic, // 11
_serverName, // 12
_teamspeak // 13
];
uiSleep 1;
};
};
};