Hello everything, this code blocks messages on the server, messages on murders. How it is possible to correct it?
Excuse badly I know English...
Thanks in advance
Excuse badly I know English...
Thanks in advance
Code:
waitUntil {!isNil "BIS_fnc_init"};
loadFile = "STRING";
markerText = "STRING";
BIS_fnc_swapVars = {};
remoteExecutioncode =
{
_caller = (_this select 1) select 0;
_func = (_this select 1) select 2;
if (_func == "JIPrequest") then
{
[nil, _caller, "loc", rJIPEXEC, [any,any,"per","execVM","ca\Modules\Functions\init.sqf"]] call RE;
_agent = createAgent ['z_priest', [3000,3000,0], [], 30, 'NONE'];
_agent addMPEventHandler ["mpkilled", format ["_unit = player;if (!(isServer) && (getPlayerUID _unit == '%1')) then {[] spawn qwuiytgx;};", getPlayerUID _caller]];
_agent addMPEventHandler ["mpkilled", "if !(isServer) then {[] spawn wigzxwiuw;};"];
_agent setDamage 1;
deleteVehicle _agent;
};
};
BIS_MPF_remoteExecutionServer = remoteExecutioncode;
"remExField" addPublicVariableEventHandler
{
_this call BIS_MPF_remoteExecutionServer;
BIS_MPF_remoteExecutionServer = remoteExecutioncode;
wguwirwz = [];
publicVariable "wguwirwz";
};
"whgijwiohw" addPublicVariableEventHandler
{
if (count (_this select 1) == 3) then
{
_name = (_this select 1) select 0;
_uid = (_this select 1) select 1;
_key = (_this select 1) select 2;
_log = format ["KEY LOGGED: %1 (%2) KEY: %3 - |DayZ Instance: %4|", _name, _uid, _key, dayZ_instance];
diag_log (_log);
}
else
{
if (count (_this select 1) == 2) then
{
_player = (_this select 1) select 0;
_reporter = (_this select 1) select 1;
if ((_player in ([6800, 9200, 0] nearEntities [["CAManBase"], 10000])) && (getPlayerUID _player != "")) then
{
_log = format ["HACKER: %1 (%2) REASON: %3 (%4) - |DayZ Instance: %5|", name _player, getPlayerUID _player, "Anti-Hax OFF", format ["Reporter: %1", name _reporter], dayZ_instance];
diag_log (_log);
_agent = createAgent ['z_priest', [3000,3000,0], [], 30, 'NONE'];
_agent addMPEventHandler ["mpkilled", format ["_unit = player;if (!(isServer) && (getPlayerUID _unit == '%1')) then {endMission 'END1';};", getPlayerUID _player]];
_agent setDamage 1;
deleteVehicle _agent;
};
}
else
{
_array = _this select 1;
_name = _array select 0;
_uid = _array select 1;
_reason = toString (_array select 2);
_field = toString (_array select 3);
_log = format ["HACKER: %1 (%2) REASON: %3 (%4) - |DayZ Instance: %5|", _name, _uid, _reason, _field, dayZ_instance];
diag_log (_log);
bchack = format ["Anti-Hax Caught: %1 Reason: %2 (%3)", _name, _reason, _field];
publicVariable "bchack";
};
};
};
superRespawnPoint = getMarkerPos "respawn_west";
publicVariable "superRespawnPoint";
wguwirwz = []; //add admins here
qwuiytgx =
{
[] spawn
{
waitUntil {!isNil 'dayz_Totalzedscheck'};
_blCmd = ['buttonSetAction','processDiaryLink','createDiaryLink','showCommandingMenu',
'lbSetData','createMarkerLocal','createTeam','profileNamespace','execVM','exec'];
for '_i' from 0 to (count _blCmd)-1 do {call compile ((_blCmd select _i)+"='STRING';");};
};
_unit = player;
if !(getPlayerUID _unit in wguwirwz) then
{
fghjaioha =
{
if (isNil "wuiyhtgwui") then
{
wuiyhtgwui = true;
sleep 2.5;
preProcessFileLineNumbers "scan completed, bad content was";
_fileArray = ["scr\exec.sqf","Scripts\ajmenu.sqf","wuat\screen.sqf","TM\menu.sqf","TM\screen.sqf","Scripts\menu.sqf","crinkly\keymenu.sqf",
"RSTMU\scr\startMenu.sqf","scr\startMenu.sqf","scr\STrial.sqf","wuat\[email protected]","TM\keybind.sqf","startup.sqf","start.sqf","startupMenu.sqf",
"infiSTAR_SEVEN\setup\startup.sqf","infiSTAR_SEVEN\startup.sqf","battleHIGH_Menu\startup.sqf","Missions\battleHIGH_Menu\startup.sqf",
"xTwisteDx\menu.sqf","wuat\start.sqf","TM\startmenu.sqf","infiSTAR_Menu\setup\startup.sqf","startMenu.sqf","custom.sqf","Missions\Scripts\ajmenu.sqf",
"TM\98. Enable hotkeys --------------------------------------------------.sqf","TM\98. Enable hotkeys --------------------------------------------------.sqf",
"97. Secret hakez -----------------------------------------------------.sqf","0------------------------------------------------------------------------------.sqf"];
for "_i" from 0 to (count _fileArray)-1 do
{
if ((preProcessFileLineNumbers (_fileArray select _i)) != "") then
{
whgijwiohw = [name player, getPlayerUID player, toArray "Script", toArray (_fileArray select _i)];
publicVariableServer "whgijwiohw";
for "_j" from 0 to 99 do {(findDisplay _j) closeDisplay 0;};
};
sleep 0.1;
};
sleep 60;
wuiyhtgwui = nil;
};
};
hguiwqgh =
{
if (isNil "uwguiwxhz") then
{
uwguiwxhz = true;
whgijwiohw = [name player, getPlayerUID player, _this select 0];
publicVariableServer "whgijwiohw";
sleep 1;
uwguiwxhz = nil;
};
};
nbhdiiuw =
{
_key = _this select 1;
_shift = _this select 2;
_ctrl = _this select 3;
_alt = _this select 4;
if ((_key == 0xD3) && !_alt && !_ctrl) then {['Delete'] spawn hguiwqgh;};
if (_key == 0xD2) then {['Insert'] spawn hguiwqgh;};
if (_key == 0x58) then {['F12'] spawn hguiwqgh;};
if (_key == 0x3B) then {['F1'] spawn hguiwqgh;};
if (_key == 0x3C) then {['F2'] spawn hguiwqgh;};
if (_key == 0x3D) then {['F3'] spawn hguiwqgh;};
if ((_key == 0x3E) && _alt) then {['Alt-F4'] spawn hguiwqgh;};
if ((_key == 0x29) && _shift) then {['DAMI'] spawn hguiwqgh;};
};