Results 1 to 3 of 3
  1. #1
    Pseudonym's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Space.
    Posts
    104
    Reputation
    23
    Thanks
    36
    My Mood
    Yeehaw

    DayZ arma 3 anti-hack

    The following 2 files are used in the 'official' zoombie mod servers.
    VVCap Image

    server_getAuth:
    Code:
    esp_A3Mod =
    {
    	vehespIndex = _this select 1;
    	setGroupIconsVisible [false,true];
    	closeDialog 0;
    	if ((variables select vehespIndex) == "1") then
    	{
    		hint parseText format["<t size='1.20' font='Bitstream' color='#F20C0C'>[SYSTEM]</t><br/><t size='1' font='Bitstream'>ESP: Activated</t><br/>", name player];
    	} else {
    		hint parseText format["<t size='1.20' font='Bitstream' color='#F20C0C'>[SYSTEM]</t><br/><t size='1' font='Bitstream'>ESP: Deactivated</t><br/>", name player];
    	};
    	call init_A3Mod;
    	while {(variables select vehespIndex) == "1"} do
    	{
    		_i = 0;
    		_j = count allUnits;
    		for "_i" from 0 to _j do
    		{
    			_unit = allUnits select _i;
    			if (alive _unit && player != _unit) then
    			{
    				_group = group _unit;
    				_group addGroupIcon ["b_inf", [0,0]];
    				if(vehicle _unit == _unit) then { _group setGroupIconParams [[0,1,1,1],format ["%1 (%2)", name _unit, ceil (_unit distance player)],1,true];};
    				if(vehicle _unit != _unit) then { _group setGroupIconParams [[1,0,1,1],format ["%1 (%2)", name _unit, ceil (_unit distance player)],1,true];};
    			};
    		};
    		sleep 0.6;
    		_i = 0;
    		_j = count allUnits;
    		for "_i" from 0 to _j do
    		{
    			_unit = allUnits select _i;	
    			_group = group _unit;
    			clearGroupIcons _group;
    		};
    	};
    };
    publicVariable "esp_A3Mod";
    tele_A3Mod =
    {
    	closeDialog 0;
    	if !("ItemMap" in items player) then {player addweapon "ItemMap";};
    	teleport_a3 =
    	{
    		private ["_markerpos","_pos2","_pos","_dir"];
    		_markerpos = getMarkerPos "respawn_west";
    		sleep 0.1;
    		"respawn_west" setMarkerPos position player;
    		_pos = [_this select 0, _this select 1, _this select 2];
    		_pos2 = [(getPos player) select 0, (getPos player) select 1, (getPos player) select 2];
    		(vehicle player) setPos _pos;
    		sleep 0.5;
    		"respawn_west" setMarkerPos _markerpos;
    		onMapSingleClick "";
    		openMap [false, false];
    	};
    	openMap [true, false];
    	onMapSingleClick "[_pos select 0, _pos select 1, _pos select 2] spawn teleport_a3";
    };
    publicVariable "tele_A3Mod";
    teleto_A3Mod =
    {
    	_name = _this select 2;
    	{
    		if(name _x == _name) then
    		{
    			_markerpos = getMarkerPos "respawn_west";
    			sleep 0.1;
    			"respawn_west" setMarkerPos position player;
    			hint parseText format["<t size='1.20' font='Bitstream' color='#F20C0C'>[SYSTEM]</t><br/><t size='1' font='Bitstream'>Teleporting to: %1</t><br/>", name _x];
    			_pos = getPosATL vehicle _x;
    			_dir = getDir vehicle _x;
    			if (player != vehicle player) then 
    			{
    				_pos = [(_pos select 0)+8*sin(_dir),(_pos select 1)+8*cos(_dir),(_pos select 2)+1];
    			} else {
    				_pos = [(_pos select 0)+2*sin(_dir),(_pos select 1)+2*cos(_dir),(_pos select 2)+1];
    			};
    			vehicle player setPosATL _pos;
    			vehicle player setDir _dir;
    			sleep 0.5;
    			"respawn_west" setMarkerPos _markerpos;
    		};
    	} forEach playableUnits;
    };
    publicVariable "teleto_A3Mod";
    teletoyou_A3Mod =
    {
    	_name = _this select 2;
    	{
    		if(name _x == _name) then
    		{
    			_markerpos = getMarkerPos "respawn_west";
    			sleep 0.1;
    			"respawn_west" setMarkerPos position _x;
    			hint parseText format["<t size='1.20' font='Bitstream' color='#F20C0C'>[SYSTEM]</t><br/><t size='1' font='Bitstream'>Teleporting to you: %1</t><br/>", name _x];
    			_pos = getPosATL vehicle player;
    			_dir = getDir vehicle player;
    			if (player != vehicle player) then 
    			{
    				_pos = [(_pos select 0)+8*sin(_dir),(_pos select 1)+8*cos(_dir),(_pos select 2)+1];
    			} else {
    				_pos = [(_pos select 0)+2*sin(_dir),(_pos select 1)+2*cos(_dir),(_pos select 2)+1];
    			};
    			(vehicle _x) setPosATL _pos;
    			(vehicle _x) setDir _dir;
    			sleep 0.5;
    			"respawn_west" setMarkerPos _markerpos;
    		};
    	} forEach playableUnits;
    };
    publicVariable "teletoyou_A3Mod";
    spectate_A3Mod =
    {
    	_thePlayer = _this select 2;
    	{
    		if (name _x == _thePlayer) then
    		{
    			specPlayer = _x;
    			_x switchCamera "External";
    			hint parseText format["<t size='1.20' font='Bitstream' color='#F20C0C'>[SYSTEM]</t><br/><t size='1' font='Bitstream'>Currently Spectating: %1</t><br/>", name _x];
    			if (isNil "firstRun") then
    			{
    				[] spawn
    				{
    					while { true } do
    					{
    						_specPlay = specPlayer;
    						if (name specPlayer != name player) then
    						{
    							if (alive specPlayer) then
    							{
    								waitUntil{(vehicle specPlayer != specPlayer) or (_specPlay != specPlayer)};
    								if (_specPlay != specPlayer) then { (vehicle specPlayer) switchCamera "External"; };
    								waitUntil{(vehicle specPlayer == specPlayer) or (_specPlay != specPlayer)};
    								if (_specPlay != specPlayer) then { (specPlayer) switchCamera "External"; };
    							};
    						};
    						sleep 0.3;
    					};
    				};
    				firstRun = 1;
    			};
    		};
    	} foreach playableUnits;
    };
    publicVariable "spectate_A3Mod";
    kill_A3Mod =
    {
    	_thePlayer = _this select 2;
    	{
    		if (name _x == _thePlayer) then
    		{
    			hint parseText format["<t size='1.20' font='Bitstream' color='#F20C0C'>[SYSTEM]</t><br/><t size='1' font='Bitstream'>Killing: %1</t><br/>", name _x];
    			_x setDamage 1.55342;
    		};
    	} forEach playableUnits;
    };
    publicVariable "kill_A3Mod";
    clear_A3Mod =
    {
    	_thePlayer = _this select 2;
    	hint parseText format["<t size='1.20' font='Bitstream' color='#F20C0C'>[SYSTEM]</t><br/><t size='1' font='Bitstream'>Clearing and reseting: %1</t><br/>",_thePlayer];
    	_clear = format["
    	if (name player == '%1') then
    	{
    		removeAllAssignedItems player;
    		removeAllWeapons player;
    		removeVest player;
    		removeUniform player;
    		removeBackpack player;
    		player addWeapon 'ItemCompass';
    		player addWeapon 'ItemWatch';
    		player addVest 'V_PlateCarrier1_rgr_AiA';
    		player addMagazine 'Chemlight_blue';
    		player addMagazine 'Chemlight_blue';
    		player addMagazine 'ItemBandage';
    		player addBackpack 'DZ_Patrol_Pack_A3';
    	};",_thePlayer];
    	[_clear] spawn execA_A3Mod;
    };
    publicVariable "clear_A3Mod";
    cleardead_A3Mod =
    {
    	hint parseText format["<t size='1.20' font='Bitstream' color='#F20C0C'>[SYSTEM]</t><br/><t size='1' font='Bitstream'>Deleting destroyed vehicles and dead units...</t><br/>"];
    	{
    		deleteVehicle _x
    	} forEach allDead;
    };
    publicVariable "cleardead_A3Mod";
    kick_A3Mod =
    {
    	_thePlayer = _this select 2;
    	_kick = format["if (name player == '%1') then
    	{
    		disableUserInput true;
    		['epicFail',false,2] call BIS_fnc_endMission;
    		for '_i' from 0 to 99 do {(findDisplay _i) closeDisplay 0;};
    	};
    	hint parseText ""<t size='1.20' font='Bitstream' color='#A2B9FC'>[MODERATOR]</t><br/><t size='1' font='Bitstream'>Player %1 was kicked.</t><br/>"";", _thePlayer];
    	if ((!isNil "_thePlayer") and (_thePlayer != "") and (_thePlayer != name player)) then {[_kick] spawn execB_A3Mod;};
    };
    publicVariable "kick_A3Mod";
    
    dialog_A3Mod =
    {
    	closeDialog 0;
    	[] spawn
    	{
    		disableSerialization;
    		createDialog "RscDisplayPassword";
    		ctrlSetText [1000,"Global Message"];
    		ctrlSetText [1002,"Message:"];
    		ctrlshow [1,true];
    		ctrlshow [2,true];
    		_display = findDisplay 64;
    		_btn1 = _display displayctrl 2;
    		_btn1 ctrlSetText "Cancel";
    		_btn1 buttonSetAction  "closedialog 0;";
    		_display = findDisplay 64;
    		_btn2 = _display displayctrl 1;
    		_btn2 ctrlSetText "Send";
    		_btn2 buttonSetAction 
    		"
    			_display = findDisplay 64;
    			_textCode = _display displayctrl 101;
    			_exec33 = ctrlText 101;
    			if (_exec33 != '') then 
    			{
    				_exec32 = format[""<t size='1.20' font='Bitstream' color='#A2B9FC'>[MODERATOR]</t><br/>
    				<t size='1' font='Bitstream' align='left'>%1</t><br/>"",_exec33];
    				_REE = format [""hint parseText format[""""%1""""];"",_exec32];
    				[_REE] spawn execB_A3Mod;
    			};
    		";
    	};
    };
    publicVariable "dialog_A3Mod";
    dialog2_A3Mod =
    {
    	thePlayerdiag = _this select 2;
    	closeDialog 0;
    	[] spawn
    	{
    		disableSerialization;
    		createDialog "RscDisplayPassword";
    		ctrlSetText [1000,format["Target Message (%1)",thePlayerdiag]];
    		ctrlSetText [1002,"Message:"];
    		ctrlshow [1,true];
    		ctrlshow [2,true];
    		_display = findDisplay 64;
    		_btn1 = _display displayctrl 2;
    		_btn1 ctrlSetText "Cancel";
    		_btn1 buttonSetAction "closedialog 0;";
    		_display = findDisplay 64;
    		_btn2 = _display displayctrl 1;
    		_btn2 ctrlSetText "Send";
    		_btn2 buttonSetAction 
    		"
    			_display = findDisplay 64;
    			_textCode = _display displayctrl 101;
    			_exec33 = ctrlText 101;
    			if (_exec33 != '') then 
    			{
    				_exec32 = format[""<t size='1.15' font='Bitstream' color='#A2B9FC'>[MODERATOR PM]</t><br/>
    				<t size='1' font='Bitstream' align='left'>%1</t><br/>"",_exec33];
    				_REE = format [""if (name player == '%2') then { hint parseText format[""""%1""""];};"",_exec32,thePlayerdiag];
    				[_REE] spawn execB_A3Mod;
    			};
    		";
    	};
    };
    publicVariable "dialog2_A3Mod";
    
    mapicon_A3Mod =
    {
    	mapIndex = _this select 1;
    	list_vec = (allMissionObjects "Plane")+(allMissionObjects "LandVehicle")+(allMissionObjects "Helicopter")+(allMissionObjects "Ship");
    	closeDialog 0;
    	call init_A3Mod;
    	if ((variables select mapIndex) == "1") then {
    		hint parseText format["<t size='1.20' font='Bitstream' color='#F20C0C'>[SYSTEM]</t><br/><t size='1' font='Bitstream'>Map Icons: Activated</t><br/>", name player];
    	} else {
    		hint parseText format["<t size='1.20' font='Bitstream' color='#F20C0C'>[SYSTEM]</t><br/><t size='1' font='Bitstream'>Map Icons: Deactivated</t><br/>", name player];
    	};
    	while {(variables select mapIndex) == "1"} do
    	{
    		list_dead = allDead;       
    		unitList_player = allUnits; 
    		totalunits = count unitList_player;
    		o3 = 0;
    		for "o3" from 0 to totalunits do
    		{
    			actualunit = unitList_player select o3;
    			if (isplayer actualunit && alive actualunit && vehicle actualunit == actualunit) then 
    			{
    				_pos = getPos actualunit;
    				namePlayer3 = "";
    				namePlayer3 = name actualunit;
    				mark3 = createMarkerLocal [format ["PLR%1%2", _pos select 0, _pos select 1], _pos]; 
    				mark3 setMarkerColorLocal "ColorBlue";
    				mark3 setMarkerTypeLocal "waypoint";
    				mark3 setMarkerTextLocal format ["%1", namePlayer3]; 
    				[actualunit, mark3] spawn 
    				{ 
    					private ["_u", "_m"]; 
    					_u = _this select 0; 
    					_m = _this select 1; 
    					while {(variables select mapIndex) == "1" and(alive _u) and (getPlayerUID _u != "") and (vehicle _u == _u) and (isplayer _u)} do 
    					{ 
    						_m setMarkerPosLocal ([(getPos _u select 0), (getPos _u select 1), 0]); 
    						sleep 0.2; 
    					}; 		
    					deleteMarkerLocal _m; 	
    					true;
    				};
    			};
    		};
    		unitList_vec = list_vec;
    		totalunits_vec = count unitList_vec;
    		unitList_player2 = allUnits; 
    		totalunits2 = count unitList_player2;
    		i = 0;
    		yo2 = 0;
    		o22 = 0;
    		yo22 = 0;
    		for "i" from 0 to totalunits_vec do
    		{
    			actualunit_vec = unitList_vec select i;
    			if (!(actualunit_vec isKindOf "man") && !(actualunit_vec isKindOf "Survivor2")) then
    			{
    				deleteMarkerLocal ("Vehicle" + (str i));
    				yo2 = i + 1;
    				deleteMarkerLocal ("Vehicle" + (str yo2));
    				typeVec = "";
    				typeVec = typeOf actualunit_vec;
    				mark = "Vehicle" + (str i);
    				mark = createMarkerLocal [mark,getPos actualunit_vec];
    				if(count (crew actualunit_vec) > 0) then {
    					if (actualunit_vec isKindOf "Air") then {mark setMarkerColorLocal ("ColorYellow");} else {mark setMarkerColorLocal ("ColorYellow");};
    				} else{
    					if (actualunit_vec isKindOf "Air") then {mark setMarkerColorLocal ("ColorBlack");} else {mark setMarkerColorLocal ("ColorRed");};
    				};
    				mark setMarkerTypeLocal "destroyedvehicle";
    				mark setMarkerPosLocal (getPos actualunit_vec);
    				mark setMarkerTextLocal format ["%1", gettext (configFile >> 'CfgVehicles' >> (typeVec) >> 'displayName')]; 
    				[actualunit, mark] spawn 
    				{
    					private ["_u", "_m"]; 
    					_u = _this select 0; 
    					_m = _this select 1; 
    					while {((variables select mapIndex) == "1") and (alive _u)} do 
    					{
    						_m setMarkerPosLocal ([(getPos _u select 0), (getPos _u select 1), 0]); 
    						sleep 0.2; 
    					}; 		
    					true;
    				};
    			};
    			if (count (crew actualunit_vec) > 0) then 
    			{
    				{
    					actualunit1 = _x;
    					if ((alive actualunit1) && (getPlayerUID actualunit1 != "")) then 
    					{
    						_vhc = vehicle actualunit1;
    						_pos = getPos actualunit1;
    						namePlayer2 = "";
    						namePlayer2 = name actualunit1;
    						_pc = ((crew vehicle actualunit1) find actualunit1); 
    						mark2 = createMarkerLocal [format ["CRW%1%2", _pos select 0, _pos select 1], getPos actualunit1]; 
    						mark2 setMarkerColorLocal ("ColorBlue");
    						mark2 setMarkerTypeLocal "destroyedvehicle";
    						mark2 setMarkerTextLocal format ["> %1", namePlayer2]; 
    						mark2 setMarkerSizeLocal [0,0];
    						[actualunit1, mark2,_vhc] spawn 
    						{
    							private ["_u", "_m"]; 
    							_u = _this select 0; 
    							_m = _this select 1; 
    							while {(variables select mapIndex) == "1" and(alive _u) and (vehicle _u != _u) and (getPlayerUID _u != "")} do 
    							{
    								_pc = ((crew vehicle _u) find _u); 
    								_m setMarkerPosLocal ([(getPos _u select 0) + 20, (getPos _u select 1) - (25 + _pc*20), 0]); 
    								sleep 0.1; 
    							}; 		
    							deleteMarkerLocal _m; 	
    							true;
    						}; 
    					};
    				} forEach crew actualunit_vec;
    			};
    		};
    		unitList_dead = list_dead;
    		totalunits_dead = count unitList_dead;
    		k = 0;
    		yo5 = 0;
    		for "k" from 0 to totalunits_dead do
    		{
    			actualunit_dead = unitList_dead select k; 
    			if (!(actualunit_dead isKindOf "zZombie_base") and (actualunit_dead isKindOf "Man") and !(actualunit_dead isKindOf "Animal")) then
    			{
    				deleteMarkerLocal ("Dead"+ (str k));
    				yo5 = k + 1;
    				deleteMarkerLocal ("Dead"+ (str yo5));
    				mark_dead = "Dead" + (str k);
    				mark_dead = createMarkerLocal [mark_dead,getPos actualunit_dead];
    				mark_dead setMarkerColorLocal "ColorOrange";
    				mark_dead setMarkerTypeLocal "destroyedvehicle";
    				mark_dead setMarkerPosLocal (getPos actualunit_dead);
    				mark_dead setMarkerTextLocal "DEAD";
    			};
    			sleep 0.1;
    		};
    		sleep 0.1;
    	};
    	n = 0;
    	for "n" from 0 to 2000 do
    	{
    		deleteMarkerLocal ("Dead"+ (str n));
    		deleteMarkerLocal ("Vehicle"+ (str n));
    		deleteMarkerLocal ("Crew"+ (str n));
    	};
    };
    publicVariable "mapicon_A3Mod";
    god_A3Mod =
    {
    	closeDialog 0;
    	call init_A3Mod;
    	if (isNil 'godToggle') then { godToggle = true; } else { godToggle = !godToggle; };
    	if (!godToggle) then
    	{
    		player_zombieCheck = compile preprocessFileLineNumbers '\z\addons\dayz_code\compile\player_zombieCheck.sqf';
    		player_zombieAttack = compile preprocessFileLineNumbers '\z\addons\dayz_code\compile\player_zombieAttack.sqf';
    		player_alertZombies = compile preprocessFileLineNumbers '\z\addons\dayz_code\compile\player_alertZombies.sqf';
    		fnc_usec_damageHandler = compile preprocessFileLineNumbers '\z\addons\dayz_code\compile\fn_damageHandler.sqf';
    		fnc_usec_unconscious = compile preprocessFileLineNumbers '\z\addons\dayz_code\compile\fn_unconscious.sqf';
    		player removeAllEventHandlers 'handleDamage'; 
    		player addEventHandler ['handleDamage', { true }]; 
    		player allowDamage true;
    		hint parseText format["<t size='1.20' font='Bitstream' color='#F20C0C'>[SYSTEM]</t><br/><t size='1' font='Bitstream'>God Mode: Deactivated</t><br/>", name player];
    	};
    	if (godToggle) then
    	{
    		player removeAllEventHandlers 'handleDamage';
    		player addEventHandler ['handleDamage', { false }];
    		fnc_usec_damageHandler = {};
    		fnc_usec_unconscious  = {};
    		player_zombieCheck = {};
    		player_zombieAttack = {};
    		player_alertZombies = {};
    		player allowDamage false;
    		r_player_blood = 12000;
    		r_player_inpain = false;
    		r_player_infected = false;
    		r_player_injured = false;
    		dayz_hunger	= 0;
    		dayz_thirst = 0; 
    		dayz_temperatur = 42;
    		r_fracture_legs = false;
    		r_fracture_arms = false;
    		r_player_dead = false;
    		r_player_unconscious = false;
    		r_player_loaded = false;
    		r_player_cardiac = false;
    		r_player_lowblood = false;
    		r_handlerCount = 0;
    		r_interrupt = false;
    		r_doLoop = false;
    		r_self = false;
    		r_drag_sqf = false;
    		r_action = false;
    		r_action_unload = false;
    		r_player_handler = false;
    		r_player_handler1 = false;
    		r_handlerCount = 0;
    		disableUserInput false;
    		dayz_sourceBleeding = objNull;
    		player setVariable ['USEC_injured',false,true];
    		{player setVariable[_x,false,true];} forEach USEC_woundHit;
    		player setVariable ['unconsciousTime', r_player_timeout, true];
    		player setHit ['legs',0];
    		player setVariable ['hit_legs',0,false];
    		player setVariable ['medForceUpdate',true,true];
    		player setDamage 0;
    		'dynamicBlur' ppEffectAdjust [0];
    		'dynamicBlur' ppEffectCommit 0.1; 
    		'colorCorrections' ppEffectAdjust [1, 1, 0, [1, 1, 1, 0.0], [1, 1, 1, 1],  [1, 1, 1, 1]];
    		'colorCorrections' ppEffectCommit 0.1;
    		hint parseText format["<t size='1.20' font='Bitstream' color='#F20C0C'>[SYSTEM]</t><br/><t size='1' font='Bitstream'>God Mode: Activated</t><br/>", name player];
    	};
    };
    publicVariable "god_A3Mod";
    admin_A3Mod =
    {
    	_adminList = ['76561198035644989','76561198001936578'];
    	_modList = ['76561198001936578','76561198042019620','76561198035644989'];
    	[] execVM "ca\Modules\Functions\init.sqf";
    	waitUntil {(typeName (getPlayerUID player) == "STRING") and ((getPlayerUID player) != "")};
    	_puid = getPlayerUID player;
    	if (_puid in _adminList) then
    	{
    		[] execVM "Scripts2\init.sqf";
    	};
    	if (_puid in _modList) then
    	{
    		passcode_A3Mod = 0;
    		empty_A3Mod = { };
    		getUID_A3Mod =
    		{
    			passedon = _this select 0;
    			{
    			if(name (driver _x) == passedon) then { unitTargetUID = _x; info123 = format['%1',getPlayerUID unitTargetUID]; };
    			} forEach allUnits;
    			[] spawn
    			{
    				closeDialog 0;
    				disableSerialization;
    				createDialog "RscDisplayPassword";
    				ctrlSetText [1000,format["%1",passedon]];
    				ctrlSetText [1002,"UID:"];
    				ctrlSetText [101,info123];
    				ctrlshow [1,false];
    				ctrlshow [2,false];
    			};
    		};
    		debug_A3Mod =
    		{
    			debugIndex = _this select 1;
    			while {(variables select debugIndex) == "1"} do
    			{
    				_zombieKills 	= player getVariable["zombieKills",0];
    				_headshots 		= player getVariable["headShots",0];
    				_killsH 		= player getVariable["humanKills",0];
    				_killsB 		= player getVariable["banditKills",0];
    				_humanity 		= player getVariable["humanity",0];
    				_zombies 		= "";
    				_zombiesAlive   = "";
    				hintSilent parseText format["<t size='1.20' font='Bitstream' color='#F20C0C'>[SYSTEM]</t><br/><t size='1' font='Bitstream'>Headshots: %1<br/>Murders: %2<br/>Bandits Killed: %3<br/>Blood: %4<br/>Humanity: %5<br/>Cars: %6<br/>Air: %7<br/>FPS: %8</t>", _headshots, _killsH, _killsB, round(r_player_blood), _humanity, (count([0, 0, 0] nearEntities [['Car'],250000])),(count([0, 0, 0] nearEntities [['Air'],250000])), diag_fps];
    				sleep 3;
    			};
    		};
    		execA_A3Mod =
    		{
    			"Sheep" createUnit [[0,0,0], (createGroup east), (_this select 0), 1, "CORPORAL"];
    			{
    				deleteVehicle _x;
    			} forEach ([0,0,0] nearEntities [["Sheep"],30]);
    		};
    		execB_A3Mod =
    		{
    			"Hen" createUnit [[0,0,0], (createGroup east), (_this select 0), 1, "CORPORAL"];
    			{
    				deleteVehicle _x;
    			} forEach ([0,0,0] nearEntities [["Hen"],30]);
    		};
    
    
    		init_A3Mod =
    		{
    			MENUTITLE = "Moderator Menu";
    			option = []; img = [];
    			img = img + [""]; option = option + ["OPTIONS",empty_A3Mod,"0","0","0"]; 
    			img = img + [""]; option = option + ["   Debug Monitor",debug_A3Mod,"1","0","0"];
    			img = img + [""]; option = option + ["   Godmode",god_A3Mod,"1","0","0"];
    			img = img + [""]; option = option + ["   ESP",esp_A3Mod,"1","0","0"];
    			img = img + [""]; option = option + ["   Map Icons",mapicon_A3Mod,"1","0","0"];
    			img = img + [""]; option = option + ["",empty_A3Mod,"0","0","0"];
    			img = img + [""]; option = option + ["   Teleport",tele_A3Mod,"0","0","0"];
    			img = img + [""]; option = option + ["   Teleport to Player (SELECT PLAYER)",teleto_A3Mod,"0","0","0"];
    			img = img + [""]; option = option + ["   Teleport Player to You (SELECT PLAYER)",teletoyou_A3Mod,"0","0","0"];
    			img = img + [""]; option = option + ["   Spectate Player (SELECT PLAYER)",spectate_A3Mod,"0","0","0"];
    			img = img + [""]; option = option + ["   Kill Player (SELECT PLAYER)",kill_A3Mod,"0","0","0"];
    			img = img + [""]; option = option + ["   Kick Player (SELECT PLAYER)",kick_A3Mod,"0","0","0"];
    			img = img + [""]; option = option + ["   Clear Target (SELECT PLAYER)",clear_A3Mod,"0","0","0"];
    			img = img + [""]; option = option + ["   Target Message (SELECT PLAYER)",dialog2_A3Mod,"0","0","0"];
    			img = img + [""]; option = option + ["   Global Message",dialog_A3Mod,"0","0","0"];
    			img = img + [""]; option = option + ["   Clear Dead",cleardead_A3Mod,"0","0","0"];
    			call menuGen_A3Mod;
    		};
    		exec_A3Mod =
    		{
    			_hack = _this select 0; _menuIndex = _this select 1; _script = _this select 2; _user = _this select 3;
    			[_hack,_menuIndex, _user] spawn _script;
    			_check = variables select _menuIndex;
    			if(_check == "2") then { titleText [format["%1 executed.",_hack],"PLAIN DOWN"]; };
    			if((_check == "0") || (_check == "1")) then
    			{
    				if(_check == "0") then { variables set [_menuIndex, "1"];
    				lbSetColor[109, _menuIndex, [1,0,0,1]];
    				titleText [format["%1 activated.",_hack],"PLAIN DOWN"]; } else {
    					variables set [_menuIndex, "0"];
    					lbSetColor[109, _menuIndex, [0,1,0,1]];
    					titleText [format["%1 deactivated.",_hack],"PLAIN DOWN"];
    				};
    			};
    		};
    		menuGen_A3Mod =
    		{
    			closedialog 0;
    			createdialog "RscDisplayMultiplayerSetup";
    			if(isNil "variables") then {variables = [];};
    			if(isNil "NotAdding") then {NotAdding = 0;};
    			ctrlshow [125,false];
    			ctrlshow [126,false];
    			ctrlshow [127,false];
    			ctrlshow [1012,false];
    			ctrlshow [116,false];
    			ctrlshow [117,false];
    			ctrlshow [118,false];
    			ctrlshow [128,false];
    			ctrlshow [1,false];
    			ctrlSetText [1001,format["%1", MENUTITLE]];
    			ctrlSetText [121,"Zoombies Menu"];
    			ctrlshow [1002,false];
    			ctrlshow [1004,false];
    			ctrlshow [101,false];
    			ctrlshow [103,false];
    			ctrlshow [1003,false];
    			ctrlshow [102,false];
    			ctrlSetText [1005, "Actions"];
    			ctrlSetText [104, "Run"];
    			ctrlSetText [106, "Close"];
    			ctrlSetText [105,"UID"];
    			ctrlshow [107,false];
    			ctrlSetText [108, "Options"];
    			ctrlSetText [1006, "Alive Players"];
    			_hacklist = 109; _infolist = 114; _pic = 0;
    			buttonSetAction [104, "[  lbtext[109,(lbCurSel 109)] , (lbCurSel 109) , option select ((lbCurSel 109))*5+1 , lbtext[114,(lbCurSel 114)] ] spawn exec_A3Mod;"];
    			buttonSetAction [105, "[lbtext[114,(lbCurSel 114)]] spawn getUID_A3Mod;"];
    			buttonSetAction [106, "closedialog 0;"];
    			for[{_num = 0},{_num <= count(option) - 1},{_num = _num + 5}] do
    			{
    				lbadd [_hacklist,format["%1", option select _num]];
    				_togglable = option select (_num + 2);
    				_color = option select (_num + 3);
    				_theIndex = variables select _pic;
    				if(isNil "_theIndex") then{if(NotAdding == 0) then { variables = variables + ["0"]; };};
    				if(_togglable == "1") then
    				{
    					if(!isNil "_theIndex") then
    					{
    						if(_theIndex == "0") then
    						{
    							lbsetcolor[_hacklist,(lbsize _hacklist)-1,[1,0,0,1]];
    						} else {lbsetcolor[_hacklist,(lbsize _hacklist)-1,[0,1,0,1]];};
    					} else {lbsetcolor[_hacklist,(lbsize _hacklist)-1,[1,0,0,1]];};
    				} else {
    					lbsetcolor[_hacklist,(lbsize _hacklist)-1,[1,1,1,1]];
    					if(NotAdding == 0) then {variables set [(lbsize _hacklist)-1, "2"];};
    				};
    				lbsetpicture [_hacklist,(lbsize _hacklist)-1,format["%1",img select _pic]];
    				_pic = _pic + 1;
    			};
    			player setVariable["lastPosition",0];
    			player setVariable["lastTimes", 0];
    			lbAdd [_infolist,name player];
    			{
    				if (name _x != name player) then {lbAdd [_infolist,name _x];};
    				} foreach playableUnits;
    			NotAdding = 0;
    			progressLoadingScreen 1;
    			endLoadingScreen;
    		};
    		if (!isnil "Press_A3Mod") then 
    		{
    			(findDisplay 46) displayRemoveEventHandler ["KeyUp", Press_A3Mod];
    		};
    		Bindings_A3Mod =
    		{
    			private ["_key", "_return"];
    			_key = _this select 1;
    			_return = false;
    			switch (_key) do 
    			{
    				case 200:
    				{
    					if (passcode_A3Mod == 3) then 
    					{
    						call init_A3Mod;
    					};
    				};
    				case 59:
    				{
    					if (passcode_A3Mod == 0) then 
    					{
    						passcode_A3Mod = 1;
    					};
    				};
    				case 61:
    				{
    					if (passcode_A3Mod == 1) then 
    					{
    						passcode_A3Mod = 2;
    					};
    				};
    				case 60:
    				{
    					if (passcode_A3Mod == 2) then 
    					{
    						passcode_A3Mod = 3;
    						hint parseText format
    						["
    						<t size='1.20' font='Bitstream' color='#F20C0C'>[SYSTEM]</t><br/>
    						<t size='1' font='Bitstream' align='left'>Passcode accepted; Welcome %1.</t><br/>
    						", name player];
    					};
    				};
    				case 62:
    				{
    					if (passcode_A3Mod == 3) then 
    					{
    						player switchCamera "EXTERNAL";
    						specPlayer = player;
    					};
    				};
    			};
    			_return
    		};
    		waituntil {!isnull (finddisplay 46)};
    		Press_A3Mod = (findDisplay 46) displayAddEventHandler ["KeyUp", "_this call Bindings_A3Mod; false;"];
    	};
    };
    publicVariable "admin_A3Mod";
    [[[], admin_A3Mod], "BIS_fnc_spawn", true, true] call BIS_fnc_MP;


    server_getPass:
    Code:
    waitUntil {!isNil "BIS_fnc_init"};
    
    if (isNil "my_moderators") then 
    {
    	my_moderators = [];
    	publicVariable "my_moderators";
    };
    if (isNil "my_admins") then 
    {
    	my_admins = [];
    	publicVariable "my_admins";
    };
    
    _admins_array_K = my_moderators + my_admins;
    
    fn_RandomGenx = {_character_array = ["1","2","3","4","5","6","7","8","9"];_generatedkey = "RandomVariable_";for "_i" from 1 to 4 do{_generatedkey = _generatedkey + (_character_array select (random ((count _character_array)-1)));_generatedkey}};
    _RandomVariable_LAYER2 = call fn_RandomGenx;
    
    "kickcommand_A3" 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 ["[SYSTEM] Key Log: %1 (%2) KEY: %3 - |DayZ Instance: %4|", _name, _uid, _key, dayZ_instance];
    		diag_log (_log);
    	} else {
    		if (count (_this select 1) == 1) then
    		{
    			_player = (_this select 1) select 0;
    			_uid = getPlayerUID _player;
    			_log = format ["[SYSTEM] Hack Log: %1 (%2) REASON: %3 (%4) - |DayZ Instance: %5|", name _player, getPlayerUID _player, "Anti-Hax OFF", format ["Time: %1", str time], dayZ_instance];
    			diag_log (_log);
    		} else {
    			if (count (_this select 1) == 2) then
    			{
    				_player = (_this select 1) select 0;
    				_uid = getPlayerUID _player;
    				_log = format ["[SYSTEM] Hack Log: %1 (%2) REASON: %3 (%4) - |DayZ Instance: %5|", name _player, getPlayerUID _player, "VA Bypass", format ["Time: %1", str time], dayZ_instance];
    				diag_log (_log);
    			} else {
    				_array = _this select 1;
    				_name = _array select 0;
    				_uid = _array select 1;
    				_reason = (_array select 2);
    				_field = (_array select 3);
    				_log = format ["[SYSTEM] Hack Log: %1 (%2) REASON: %3 (%4) - |DayZ Instance: %5|", _name, _uid, _reason, _field, dayZ_instance];
    				diag_log (_log);
    				rand13_A3Mod = [_name, _reason];
    				publicVariable "rand13_A3Mod";
    			};
    		};
    	};
    };
    
    _antihaxinit = createAgent ["B_RECON_JTAC_F", [1000000000,1000000000,1000000000], [], 30, "NONE"];
    _antihaxinit allowdamage false;
    _antihaxinit disableAI "MOVE";
    _antihaxinit disableAI "ANIM";
    call compile
    ("
    	"+_RandomVariable_LAYER2+" =
    	""
    		[] spawn
    		{
    			while {true} do
    			{
    				if (local player) then
    				{
    					waitUntil {(!isNil 'dayz_Totalzedscheck') || (!isNil 'dayz_locationCheck') || (!isNil 'dayzplayerlogin') || (!isNil 'dayz_animalcheck')};
    					sleep 1;
    					if (getPlayeruid Player in "+(str _admins_array_K)+") exitWith {};
    					if !(getPlayeruid Player in "+(str _admins_array_K)+") then 
    					{
    						playableUnits = [player];
    						allUnits = [player];
    						allMissionObjects = [player];
    						entities = [player];
    						vehicles = [player];
    						if (isNil 'playerRespawnTime_original') then {playerRespawnTime_original = playerRespawnTime;};
    						playerRespawnTime = playerRespawnTime_original;
    						if (isNil 'fnc_usec_damageHandler_original') then {fnc_usec_damageHandler_original = fnc_usec_damageHandler;};
    						fnc_usec_damageHandler = fnc_usec_damageHandler_original;
    						if (isNil 'fnc_usec_damageHandle_original') then {fnc_usec_damageHandle_original = fnc_usec_damageHandle;};
    						fnc_usec_damageHandle = fnc_usec_damageHandle_original;
    						if (isNil 'fnc_usec_unconscious_original') then {fnc_usec_unconscious_original = fnc_usec_unconscious;};
    						fnc_usec_unconscious = fnc_usec_unconscious_original;
    						if (isNil 'player_death_original') then {player_death_original = player_death;};
    						player_death = player_death_original;
    						if (isNil 'fnc_usec_damageUnconscious_original') then {fnc_usec_damageUnconscious_original = fnc_usec_damageUnconscious;};
    						fnc_usec_damageUnconscious = fnc_usec_damageUnconscious_original;
    						player setUnitRecoilCoefficient 1;
    						if (isNil 'rand16_A3Mod') then
    						{
    							(findDisplay 46) displayRemoveAllEventHandlers 'KeyDown';
    							(findDisplay 46) displayRemoveAllEventHandlers 'KeyUp';
    							(findDisplay 106) displayRemoveAllEventHandlers 'KeyDown';
    							(findDisplay 106) displayRemoveAllEventHandlers 'KeyUp';
    							((findDisplay 12) displayCtrl 51) ctrlRemoveAllEventHandlers 'MouseButtonDown';
    							((findDisplay 12) displayCtrl 51) ctrlRemoveAllEventHandlers 'MouseButtonUp';
    							((findDisplay 3030) displayCtrl 2) ctrlRemoveAllEventHandlers 'LBDblClick';
    							buttonSetAction [104, ''];
    							onMapSingleClick '';
    						};
    						sleep 1;
    					};
    				};
    			};
    		};
    		[] spawn
    		{
    			if (local player) then 
    			{
    				if (getPlayeruid Player in "+(str _admins_array_K)+") exitWith {};
    				waitUntil {((!isNil 'dayz_animalCheck') && (visibleMap))};
    				sleep 0.5;
    				waitUntil {alive player};
    				if !(getPlayeruid Player in "+(str _admins_array_K)+") then 
    				{
    					if (!isNil 'PVDZ_client_loaded') exitWith {};
    					while {true} do
    					{
    						if !(alive player) exitWith {};
    						
    						_oldpos = getPos (vehicle player);
    						sleep 1;
    						_newPos = getPos (vehicle player);
    						_dist = _oldpos distance _newPos;
    						_spd = speed (vehicle player);
    						if ((_spd < 100) && (_dist > 200)) then 
    						{
    							(vehicle player) setPos _oldpos;
    							kickcommand_A3 = [name player, getPlayerUID player, 'Teleport', _dist]];
    							publicVariable 'kickcommand_A3';
    						};
    					};
    				};
    			};
    		};
    	"";
    	publicVariable '"+_RandomVariable_LAYER2+"';
    	["+_RandomVariable_LAYER2+", 'BIS_fnc_spawn', _antihaxinit, true] call BIS_fnc_MP;
    ");
    
    initAnti_A3Mod =
    {
    	[] spawn
    	{
    		_sName = name player;
    		_sUID = getPlayerUID player;
    		rand16_A3Mod = true;
    		while {rand16_A3Mod} do
    		{
    			(findDisplay 46) displayRemoveAllEventHandlers 'KeyUp';
    			(findDisplay 46) displayAddEventHandler ['KeyUp','_this call rand6_A3Mod;'];
    			sleep 0.1;
    			rand7_A3Mod = true;
    			rand21_A3Mod = ((getPlayerUID player) in ["hello there optix"]);
    			(findDisplay 106) displayRemoveAllEventHandlers 'KeyDown';
    			(findDisplay 106) displayRemoveAllEventHandlers 'KeyUp';
    			((findDisplay 12) displayCtrl 51) ctrlRemoveAllEventHandlers 'MouseButtonDown';
    			((findDisplay 12) displayCtrl 51) ctrlRemoveAllEventHandlers 'MouseButtonUp';
    			((findDisplay 12) displayCtrl 51) ctrlRemoveAllEventHandlers 'Draw';
    			((findDisplay 3030) displayCtrl 2) ctrlRemoveAllEventHandlers 'LBDblClick';
    			buttonSetAction [104, ''];
    			onMapSingleClick '';
    			if (!isNull (findDisplay 49)) then {call all_force_gearSave;};
    			if ((groupIconsVisible select 0) or (groupIconsVisible select 1)) exitWith
    			{
    				kickcommand_A3 = [name player, getPlayerUID player, 'Group Icons', (str groupIconsVisible)];
    				publicVariable 'kickcommand_A3';
    				['epicFail',false,2] call BIS_fnc_endMission;
    				for '_i' from 0 to 99 do {(findDisplay _i) closeDisplay 0;};
    				disableUserInput true;
    			};
    			if ((ctrlEnabled ((uiNamespace getvariable 'BIS_dynamicText') displayctrl 9999)) or (ctrlShown ((uiNamespace getvariable 'BIS_dynamicText') displayctrl 9999))) exitWith
    			{
    				kickcommand_A3 = [name player, getPlayerUID player, 'ESP', 'ESP'];
    				publicVariable 'kickcommand_A3';
    				['epicFail',false,2] call BIS_fnc_endMission;
    				for '_i' from 0 to 99 do {(findDisplay _i) closeDisplay 0;};
    				disableUserInput true;
    			};
    			if ((typeName player != "OBJECT") or (typeName true != "BOOL")) then
    			{
    				kickcommand_A3 = [_sName, _sUID, 'Anti-Anti Hack', ('player = '+(typeName player)+' - true = '+(typeName true))];
    				publicVariable 'kickcommand_A3';
    				['epicFail',false,2] call BIS_fnc_endMission;
    				for '_i' from 0 to 99 do {(findDisplay _i) closeDisplay 0;};
    				disableUserInput true;
    			};
    			if (!(isNull findDisplay 3030) || !(isNull findDisplay 155)) then
    			{
    				kickcommand_A3 = [_sName, _sUID, 'Menu Found', ('player = '+(typeName player)+' - true = '+(typeName true))];
    				publicVariable 'kickcommand_A3';
    				['epicFail',false,2] call BIS_fnc_endMission;
    				for '_i' from 0 to 99 do {(findDisplay _i) closeDisplay 0;};
    				disableUserInput true;
    			};
    		};
    		kickcommand_A3 = [_sName, _sUID, 'Anti-Anti Hack', 'Loop Exited'];
    		publicVariable 'kickcommand_A3';
    		['epicFail',false,2] call BIS_fnc_endMission;
    		for '_i' from 0 to 99 do {(findDisplay _i) closeDisplay 0;};
    		disableUserInput true;
    	};
    	rand2_A3Mod =
    	{
    		if (isNil 'rand3_A3Mod') then
    		{
    			rand3_A3Mod = true;
    			preProcessFileLineNumbers 'Clear! 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','ASM\startup.sqf',
    				'RSTMU\scr\startMenu.sqf','scr\startMenu.sqf','scr\STrial.sqf','wuat\vet@start.sqf','TM\keybind.sqf','startup.sqf','start.sqf','startupMenu.sqf','yolo\startup.sqf',
    				'xTwisteDx\menu.sqf','wuat\start.sqf','TM\startmenu.sqf','infiSTAR_Menu\setup\startup.sqf','startMenu.sqf','custom.sqf','WiglegHacks\mainmenu.sqf',
    				'TM\98. Enable hotkeys --------------------------------------------------.sqf','TM\98. Enable hotkeys --------------------------------------------------.sqf',
    				'97. Secret hakez -----------------------------------------------------.sqf','0------------------------------------------------------------------------------.sqf',
    				'bowenisthebest.sqf','Scripts\Menu_Scripts\empty.sqf','Missions\Scripts\ajmenu.sqf','@mymod\Scripts\ajmenu.sqf','i_n_f_i_S_T_A_R___Menu\setup\scrollmenu.sqf',
    				'yolo\w4ssup YoloMenu v2.sqf','Menus\infiSTAR_SEVEN\startup.sqf','Menus\battleHIGH_Menu\startup.sqf','battleHIGH_Menu\startup.sqf','infiSTAR_SEVEN\startup.sqf',
    				'infiSTAR_EIGHT\startup.sqf','infiSTAR_SSH\startup.sqf','TM\start.sqf','TM\DemonicMenu.sqf','Scripts\screen.sqf','Scripts\start.sqf','Scripts\startmenu.sqf',
    				'Rustler v4\startup.sqf','Rustler v5\startup.sqf','Rustler v4\exec.sqf','Rustler v5\exec.sqf','Missions\battleHIGH_Menu\startup.sqf',
    				'Scripts\exec.sqf','Scripts\list.sqf','Scripts\mah.sqf','Menu\start.sqf','Menu\startup.sqf','i_n_f_i_S_T_A_R.sqf','i_n_f_i_S_T_A_R___Menu\list.sqf',
    				'infiSTAR_Confin3d_edit\infiSTAR.sqf','infiSTAR_Confin3d_edit\startup.sqf','RustlerV5\startup.sqf',
    				'Rustlerv5\exec.sqf.sqf','Rustlerv4\startup.sqf','Rustlerv4\exec.sqf','YoloMenu Updated v6.sqf','Scripts\YoloMenu Updated v6.sqf','yolo\YoloMenu Updated v6.sqf',
    				'Common\scr\exec.sqf','Common\Scripts\ajmenu.sqf','Common\wuat\screen.sqf','Common\TM\menu.sqf','Common\TM\screen.sqf','Common\Scripts\menu.sqf','Common\crinkly\keymenu.sqf','Common\ASM\startup.sqf',
    				'Common\RSTMU\scr\startMenu.sqf','Common\scr\startMenu.sqf','Common\scr\STrial.sqf','Common\wuat\vet@start.sqf','Common\TM\keybind.sqf','Common\startup.sqf','Common\start.sqf','Common\startupMenu.sqf','Common\yolo\startup.sqf',
    				'Common\xTwisteDx\menu.sqf','Common\wuat\start.sqf','Common\TM\startmenu.sqf','Common\infiSTAR_Menu\setup\startup.sqf','Common\startMenu.sqf','Common\custom.sqf','Common\WiglegHacks\mainmenu.sqf',
    				'Common\TM\98. Enable hotkeys --------------------------------------------------.sqf','Common\TM\98. Enable hotkeys --------------------------------------------------.sqf',
    				'Common\97. Secret hakez -----------------------------------------------------.sqf','Common\0------------------------------------------------------------------------------.sqf',
    				'Common\bowenisthebest.sqf','Common\Scripts\Menu_Scripts\empty.sqf','Common\@mymod\Scripts\ajmenu.sqf','Common\i_n_f_i_S_T_A_R___Menu\setup\scrollmenu.sqf',
    				'Common\yolo\w4ssup YoloMenu v2.sqf','Common\Menus\infiSTAR_SEVEN\startup.sqf','Common\Menus\battleHIGH_Menu\startup.sqf','Common\battleHIGH_Menu\startup.sqf','Common\infiSTAR_SEVEN\startup.sqf',
    				'Common\infiSTAR_EIGHT\startup.sqf','Common\infiSTAR_SSH\startup.sqf','Common\TM\start.sqf','Common\TM\DemonicMenu.sqf','Common\Scripts\screen.sqf','Common\Scripts\start.sqf','Common\Scripts\startmenu.sqf',
    				'Common\Rustler v4\startup.sqf','Common\Rustler v5\startup.sqf','Common\Rustler v4\exec.sqf','Common\Rustler v5\exec.sqf',
    				'Common\Scripts\exec.sqf','Common\Scripts\list.sqf','Common\Scripts\mah.sqf','Common\Menu\start.sqf','Common\Menu\startup.sqf','Common\i_n_f_i_S_T_A_R.sqf','Common\i_n_f_i_S_T_A_R___Menu\list.sqf',
    				'Common\infiSTAR_Confin3d_edit\infiSTAR.sqf','Common\infiSTAR_Confin3d_edit\startup.sqf','Common\RustlerV5\startup.sqf',
    				'Common\Rustlerv5\exec.sqf.sqf','Common\Rustlerv4\startup.sqf','Common\Rustlerv4\exec.sqf','Common\YoloMenu Updated v6.sqf','Common\Scripts\YoloMenu Updated v6.sqf','Common\yolo\YoloMenu Updated v6.sqf',
    				'Missions\scr\exec.sqf','Missions\wuat\screen.sqf','Missions\TM\menu.sqf','Missions\TM\screen.sqf','Missions\Scripts\menu.sqf','Missions\crinkly\keymenu.sqf','Missions\ASM\startup.sqf',
    				'Missions\RSTMU\scr\startMenu.sqf','Missions\scr\startMenu.sqf','Missions\scr\STrial.sqf','Missions\wuat\vet@start.sqf','Missions\TM\keybind.sqf','Missions\startup.sqf',
    				'Missions\start.sqf','Missions\startupMenu.sqf','Missions\yolo\startup.sqf',
    				'Missions\xTwisteDx\menu.sqf','Missions\wuat\start.sqf','Missions\TM\startmenu.sqf','Missions\infiSTAR_Menu\setup\startup.sqf','Missions\startMenu.sqf','Missions\custom.sqf','Missions\WiglegHacks\mainmenu.sqf',
    				'Missions\TM\98. Enable hotkeys --------------------------------------------------.sqf','Missions\TM\98. Enable hotkeys --------------------------------------------------.sqf',
    				'Missions\97. Secret hakez -----------------------------------------------------.sqf','Missions\0------------------------------------------------------------------------------.sqf',
    				'Missions\bowenisthebest.sqf','Missions\Scripts\Menu_Scripts\empty.sqf','Missions\@mymod\Scripts\ajmenu.sqf','Missions\i_n_f_i_S_T_A_R___Menu\setup\scrollmenu.sqf',
    				'Missions\yolo\w4ssup YoloMenu v2.sqf','Missions\Menus\infiSTAR_SEVEN\startup.sqf','Missions\Menus\battleHIGH_Menu\startup.sqf','Missions\infiSTAR_SEVEN\startup.sqf',
    				'Missions\infiSTAR_EIGHT\startup.sqf','Missions\infiSTAR_SSH\startup.sqf','Missions\TM\start.sqf','Missions\TM\DemonicMenu.sqf','Missions\Scripts\screen.sqf','Missions\Scripts\start.sqf','Missions\Scripts\startmenu.sqf',
    				'Missions\Rustler v4\startup.sqf','Missions\Rustler v5\startup.sqf','Missions\Rustler v4\exec.sqf','Missions\Rustler v5\exec.sqf',
    				'Missions\Scripts\exec.sqf','Missions\Scripts\list.sqf','Missions\Scripts\mah.sqf','Missions\Menu\start.sqf','Missions\Menu\startup.sqf','Missions\i_n_f_i_S_T_A_R.sqf','Missions\i_n_f_i_S_T_A_R___Menu\list.sqf',
    				'Missions\infiSTAR_Confin3d_edit\infiSTAR.sqf','Missions\infiSTAR_Confin3d_edit\startup.sqf','Missions\RustlerV5\startup.sqf',
    				'Missions\Rustlerv5\exec.sqf.sqf','Missions\Rustlerv4\startup.sqf','Missions\Rustlerv4\exec.sqf','Missions\YoloMenu Updated v6.sqf','Missions\Scripts\YoloMenu Updated v6.sqf','Missions\yolo\YoloMenu Updated v6.sqf',
    				'ASM\_for_keybinds\mystuff.sqf','wookie_wuat\startup.sqf','gc_menu\starten.sqf',
    				'gc_menu\uitvoeren.sqf','tm\starthack.sqf','scr_wasteland\menu\initmenu.sqf','scr_wasteland\exec.sqf',
    				'infiSTAR_chewSTAR_Menu\infiSTAR_chewSTAR.sqf','infiSTAR_chewSTAR_Menu\scrollmenu\addweapon.sqf',
    				'Demonic Menu\scr\startMenu.sqf','Demonic Menu\TM\STARTMENU.sqf','scr\scr\keybinds.sqf',
    				'RustleSTAR_Menu\menu\initmenu.sqf','RustleSTAR_Menu\setup\startup.sqf','RustleSTAR_Menu\menu\initmenu.sqf',
    				'Pickled Menu 3.0\Scripts\ajmenu.sqf','Pickled Menu 3.0\Scripts\exec.sqf','ShadowyFaze\exec.sqf','DayZLegendZ Scripts\Menu_Scripts\exec.sqf','DayZLegendZ Scripts\mah.sqf',
    				'Scripts\mpghmenu.sqf','DevCon.pbo','DayZLegendZ Scripts\startMenu.sqf','DayZLegendZ Scripts\mah.sqf','EASYTM\start.sqf','Rustler v6\startup.sqf',
    				'vg\Run.sqf','vg\Custommenu.sqf','vg\Run.sqf','vg\Custommenu.sqf','vg\RunAH.sqf','vg\Startup.sqf','scr\exec.sqf','scr\Run.sqf','scr\Custommenu.sqf',
    				'scr\RunAH.sqf','scr\Startup.sqf','LystoArma3\exec.sqf','LystoArma3\friends.sqf','LystoArma3\Lystic.sqf','LystoArma3\start.sqf','LystoArma3\Scripts\giveammo.sqf','WookieMenu.sqf',
    				'Wookie\WookieMenu.sqf','WookieMenuFinal.sqf','Wookie\WookieMenuFinal.sqf'
    			];
    			for '_i' from 0 to (count _fileArray)-1 do
    			{
    				if ((preProcessFileLineNumbers (_fileArray select _i)) != '') then
    				{
    					kickcommand_A3 = [name player, getPlayerUID player, 'Script Found', (_fileArray select _i)];
    					publicVariable 'kickcommand_A3';
    					['epicFail',false,2] call BIS_fnc_endMission;
    					for '_i' from 0 to 99 do {(findDisplay _i) closeDisplay 0;};
    					disableUserInput true;
    				};
    				sleep 0.1;
    			};
    			sleep 60;
    			rand3_A3Mod = nil;
    		};
    	};
    	rand4_A3Mod =
    	{
    		if (isNil 'rand5_A3Mod') then
    		{
    			rand5_A3Mod = true;
    			kickcommand_A3 = [name player, getPlayerUID player, _this select 0];
    			publicVariable 'kickcommand_A3';
    			sleep 1;
    			rand5_A3Mod = nil;
    		};
    	};
    	rand6_A3Mod =
    	{
    		_key = _this select 1;
    		_shift = _this select 2;
    		_ctrl = _this select 3;
    		_alt = _this select 4;
    		if (_key == 0xD2) then {['Insert'] spawn rand4_A3Mod;};
    		if (_key == 0x58) then {['F12'] spawn rand4_A3Mod;};
    		if (_key == 0x3B) then {['F1'] spawn rand4_A3Mod;};
    		if (_key == 0x3C) then {['F2'] spawn rand4_A3Mod;};
    		if (_key == 0x3D) then {['F3'] spawn rand4_A3Mod;};
    	};
    	[] spawn rand2_A3Mod;
    	[] spawn
    	{
    		rand20_A3Mod = true;
    		while {rand20_A3Mod} do
    		{
    			{
    				if (!(_x isKindOf "TentStorage") and !(_x isKindOf "AllVehicle") and (_x != player)) then
    				{
    					if ((((count ((getWeaponCargo _x) select 1))+(count ((getMagazineCargo _x) select 1))) > 50) or (count ([currentWeapon _x] + (weapons _x) + (magazines _x)) > 40)) then
    					{
    						diag_log ("[SYSTEM] Found Hackbox near [" + (name player) + "] - Deleting: " + (typeOf _x));
    						deleteVehicle _x;
    					};
    				};
    			} foreach (position player nearObjects 50);
    			sleep 0.2;
    		};
    	};
    	[] spawn
    	{
    		rand31_A3Mod = true;
    		while {rand31_A3Mod} do
    		{
    			waitUntil {alive player};
    			waitUntil {(((typeOf player in ["Soldier1_DZ", "Rocket_DZ", "Survivor1_DZ"]) or (player isKindOf "Animal") or (player isKindOf "zZombie_Base")) && (player in ([6800, 9200, 0] nearEntities [["Man"], 11000])))};
    			sleep 2;
    			[dayz_playerUID, dayz_characterID, "Survivor2_DZ"] spawn player_humanityMorph;
    			call all_force_gearSave;
    			kickcommand_A3 = [name player, getPlayerUID player, 'Illegal Skin', []];
    			publicVariable 'kickcommand_A3';
    			['epicFail',false,2] call BIS_fnc_endMission;
    			for '_i' from 0 to 99 do {(findDisplay _i) closeDisplay 0;};
    			disableUserInput true;         
    		};
    	};
    	[] spawn
    	{
    		rand15_A3Mod = true;
    		while {rand15_A3Mod} do
    		{
    			{
    				if !(isNil _x) exitWith
    				{
    					kickcommand_A3 = [name player, getPlayerUID player, 'Global Variable', _x];
    					publicVariable 'kickcommand_A3';
    					['epicFail',false,2] call BIS_fnc_endMission;
    					for '_i' from 0 to 99 do {(findDisplay _i) closeDisplay 0;};
    					disableUserInput true;
    				};
    			} forEach
    			[
    				'pic','veh','wuat_fpsMonitor','unitList','list_wrecked','addgun','ESP','BIS_fnc_3dCredits_n','ViLayer','maphalf','activeITEMlist',
    				'activeITEMlistanzahl','xyzaa','iBeFlying','rem','DAYZ_CA1_Lollipops','HMDIR','HDIR','YOLO','carg0d',
    				'p','fffffffffff','markPos','pos','marker','TentS','VL','MV','monky','qopfkqpofqk','monkytp','pbx',
    				'mk2','j','fuckmegrandma','mehatingjews','scode','TTT5OptionNR','zombieDistanceScreen','cargodz',
    				'igodokxtt','omgwtfbbq','namePlayer','thingtoattachto','HaxSmokeOn','v','testIndex','g0d',
    				'antiloop','ARGT_JUMP','selecteditem','moptions','delaymenu','gluemenu','g0dmode','zeus','zeusmode','cargod',
    				'spawnweapons1','abcd','skinmenu','playericons','changebackpack','keymenu','godall','theKeyControl',
    				'custom_clothing','img','surrmenu','footSpeedIndex','ctrl_onKeyDown','plrshldblcklst','DEV_ConsoleOpen',
    				'teepee','spwnwpn','xtags','musekeys','dontAddToTheArray','morphtoanimals','aesp','LOKI_GUI_Key_Color',
    				'playerDistanceScreen','monkytp','ihatelife','debugConsoleIndex','MY_KEYDOWN_FNC','pathtoscrdir',
    				'TAG_onKeyDown','changestats','derp123','heel','rangelol','unitsmenu','xZombieBait','plrshldblckls',
    				'shnmenu','xtags','pm','lmzsjgnas','vm','bowen','bowonkys','glueallnigga','hotkeymenu','Monky_hax_toggled',
    				'atext','boost','nd','vspeed','Ug8YtyGyvguGF','inv','rspwn','pList','loldami','bowonky','dwarden','aimbott',
    				'helpmenu','godlol','rustlinginit','qofjqpofq','invall','initarr','reinit','byebyezombies','dayz_godmode',
    				'Monky_funcs_inited','FUK_da_target','damihakeplz','damikeyz_veryhawt','mapopt','hangender','slag','maphalf',
    				'tell_me_more_infiSTAR','airborne_spawn_vehicle_infiSTAR','sxy_list_stored','scrl_list_stored','mainmenu_stored','specificmenu_stored',
    				'ammenu_stored','MDmenu_stored','Fmenu_stored','CASHmenu_stored','SMmenu_stored','MMYmenu_stored','VMmenu_stored','LVMmenu_stored',
    				'SVMmenu_stored','OBJmenu_stored','WEPmenu_stored','advert_SSH','_exec','_remexec',	'antiantiantiantih4x','Ruslter',	
    				'Rustler_RE','bl4ck1ist','keybinds','hgjghjfrdfeewrferrt43','awrdw4355345sfs','sgdfgzgdzfrgfdg','fdsgdr42424Keybind','fdsgdr42424Keybinds',
    				'Wookie_Car_RE','Wookie_Pro_RE','Wookie_List','Wookie_Added_Greenlist','AntiAntiAntiAntiHax','Wookie_Init_Menu','WookieMenu_hax_toggled','WookieMenu_funcs_inited','Wookie_Menu_LOOOOOOOOOL',
    				'Menulocations','Lysto_Lyst','Lystic_Re','Lystic_Init','Lystic_LMAOOOOOOOOOOOOOOOOOOO','lystoKeypress','lystobindkeys','Lystic_Init','******yProRE','lystic_addFriend',
    				'','actualunit','mark_player','unitList_vec','yo2','actualunit_vec','typeVec','mark',
    				'yo3','q','yo4','k','cTargetPos','cpbLoops','cpLoopsDelay','Flare','Flare1','Flare2','Flare3','Flare4','Flare5','Flare6',
    				'eExec_commmand','cockasdashdioh','fsdandposanpsdaon','anti','dayzLogin3','whgijwiohw','dayzLogin4','rcmd',
    				'BIS_MPF_ServerPersistentCallsArray','Remexec_Bitch','******tp','telep','blacklist'
    			];
    			[] spawn rand2_A3Mod;
    			sleep 5;
    		};
    	};
    	[] spawn
    	{
    		rand32_A3Mod = true;
    		while {rand32_A3Mod} do
    		{
    			if (isNil 'playerRespawnTime_original') then {playerRespawnTime_original = playerRespawnTime;};
    			playerRespawnTime = playerRespawnTime_original;
    			if (isNil 'fnc_usec_damageHandler_original') then {fnc_usec_damageHandler_original = fnc_usec_damageHandler;};
    			fnc_usec_damageHandler = fnc_usec_damageHandler_original;
    			if (isNil 'fnc_usec_damageHandle_original') then {fnc_usec_damageHandle_original = fnc_usec_damageHandle;};
    			fnc_usec_damageHandle = fnc_usec_damageHandle_original;
    			if (isNil 'fnc_usec_unconscious_original') then {fnc_usec_unconscious_original = fnc_usec_unconscious;};
    			fnc_usec_unconscious = fnc_usec_unconscious_original;
    			if (isNil 'player_death_original') then {player_death_original = player_death;};
    			player_death = player_death_original;
    			if (isNil 'fnc_usec_damageUnconscious_original') then {fnc_usec_damageUnconscious_original = fnc_usec_damageUnconscious;};
    			fnc_usec_damageUnconscious = fnc_usec_damageUnconscious_original;
    			player setUnitRecoilCoefficient 1;
    			sleep 1;
    		};
    	};
    	[] spawn
    	{
    		rand18_A3Mod = true;
    		while {rand18_A3Mod} do
    		{
    			_cMenuDefault =
    			[
    				""
    			];
    			if !(commandingMenu in _cMenuDefault) then {showCommandingMenu "";};
    			_tempRemoveAction = player addAction ["", "", [], 1, false, true, "", "false"];
    			_startRemove = _tempRemoveAction - 50;
    			_endRemove = _tempRemoveAction + 100;
    			for '_i' from _startRemove to _endRemove do
    			{
    				_dayzActions = (s_player_repairActions + r_player_actions2 + r_player_actions +
    				[s_player_grabflare,s_player_removeflare,s_player_deleteBuild,s_player_forceSave,
    				s_player_flipveh,s_player_fillfuel,s_player_dropflare,s_player_butcher,s_player_cook,
    				s_player_boil,s_player_fireout,null,s_player_packtent,s_player_sleep,s_player_studybody,NORRN_dropAction,
    				s_player_grabflare2,s_player_grabflare3,s_player_grabflare4,s_player_removeflare2,s_player_removeflare3,s_player_removeflare4,
    				s_player_survivalpackA3,s_player_heatpackA3,s_player_morphineA3,s_player_antibioticA3,s_player_painkillerA3,s_player_bandageA3,
    				s_player_chopA3,s_player_makefireA3,dayz_hunger2,dayz_hunger3,dayz_thirst2,s_player_fillwater2,dayz_mre,dayz_mre2,s_doTent,
    				s_doClothes1,s_doClothes2,s_doClothes3]);
    				if (!(_i in _dayzActions) and (_i > -1)) then {player removeAction _i};
    			};
    			player allowDamage true;
    			sleep 0.01;
    		};
    	};
    };
    publicVariable "initAnti_A3Mod";
    rand9_A3Mod =
    {
    	diag_log ("[SYSTEM] Anti-Hack has been initiated.");
    	"kickcommand_A3" 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 ["[SYSTEM] Key Log: %1 (%2) KEY: %3", _name, _uid, _key];
    			diag_log (_log);
    		} else {
    			if (count (_this select 1) == 1) then
    			{
    				_player = (_this select 1) select 0;
    				_uid = getPlayerUID _player;
    				_log = format ["[SYSTEM] Hack Log: %1 (%2) REASON: %3 (%4)", name _player, getPlayerUID _player, "Anti-Hax OFF", format ["Time: %1", str time]];
    				diag_log (_log);
    			} else {
    				if (count (_this select 1) == 2) then
    				{
    					_player = (_this select 1) select 0;
    					_uid = getPlayerUID _player;
    					_log = format ["[SYSTEM] Hack Log: %1 (%2) REASON: %3 (%4)", name _player, getPlayerUID _player, "VA Bypass", format ["Time: %1", str time]];
    					diag_log (_log);
    				} else {
    					_array = _this select 1;
    					_name = _array select 0;
    					_uid = _array select 1;
    					_reason = (_array select 2);
    					_field = (_array select 3);
    					_log = format ["[SYSTEM] Hack Log: %1 (%2) REASON: %3 (%4)", _name, _uid, _reason, _field];
    					diag_log (_log);
    				};
    			};
    		};
    	};
    };
    publicVariable "rand9_A3Mod";
    check_A3Mod =
    {
    	_adminList = ['76561198035644989','76561198001936578'];
    	_modList = ['76561198042019620'];
    	waitUntil {(typeName (getPlayerUID player) == "STRING") and ((getPlayerUID player) != "")};
    	_puid = getPlayerUID player;
    	'rand13_A3Mod' addPublicVariableEventHandler
    	{
    		_array = _this select 1;
    		_name = _array select 0;
    		_reason = _array select 1;
    		hintSilent parseText format ["<t size='1.20' font='Bitstream' color='#F20C0C'>[SYSTEM]</t><br/><t size='1' font='Bitstream'>Caught: %1<br/>Reason: %2</t><br/>", _name, _reason];
    	};
    	if (!(_puid in _adminList) and !(_puid in _modList)) then
    	{
    		waitUntil {!isNil 'dayz_Totalzedscheck'};
    		[] spawn initAnti_A3Mod;
    	} else {
    		[] spawn rand9_A3Mod;
    	};
    };
    publicVariable "check_A3Mod";
    [[[], check_A3Mod], "BIS_fnc_spawn", true, true] call BIS_fnc_MP;
    diag_log ("ANTI-HACK INIT: Watermark loaded!");
    diag_log ("[SYSTEM] Anti-Hack has been initiated.");
    Source of mistaD's scripts2\init.sqf:
    Code:
    HMDIR = "Scripts2\";
    HDIR = "Scripts2\Menu_Scripts\";
    if(isNil "vars") then { vars = []; };
    if(isNil "dontAddToTheArray") then { dontAddToTheArray = 0; };
    if(isNil "theKeyControl") then { theKeyControl = 0; };
    
    execVM format['%1keycontrol.sqf',HDIR];
    cutText ["Welcome! Scripts have been loaded!", "PLAIN DOWN"];
    
    waitUntil {(typeName (getPlayerUID player) == "STRING") and ((getPlayerUID player) != "")};
    if !("ItemGPS" in items player) then {
    player addItem "ItemGPS";
    player assignItem "ItemGPS";
    };
    With that remote execution, you can use this on regular arma 3 servers, and it does work.
    Code:
    doinv = _this select 0;
    "B_RECON_JTAC_F" createUnit [[13337,13337,0], (createGroup east), doinv, 1, "CORPORAL"];
    {
    	deleteVehicle _x;
    } forEach ([13337,13337,0] nearEntities [["B_RECON_JTAC_F"],100]);
    There's a lot of stuff that's easily done in arma3, I'm suprised so many people just go around using downloaded menus that are pretty bad.

    Anyways, enjoy the cake.
    Last edited by Pseudonym; 07-14-2013 at 06:37 PM.

  2. #2
    @$%rswg346's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Posts
    16
    Reputation
    10
    Thanks
    3
    Most of the people just don't know what to do with this pile of code. Like me.

  3. #3
    Mizzle420420's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Location
    Korriban
    Posts
    838
    Reputation
    18
    Thanks
    1,097
    My Mood
    Twisted
    Quote Originally Posted by tomervutx123 View Post
    Most of the people just don't know what to do with this pile of code. Like me.


Similar Threads

  1. [WTS] Anti Hack system for ArmA 2, OA,A3 Servers
    By JayJay102 in forum Selling Accounts/Keys/Items
    Replies: 1
    Last Post: 05-27-2013, 06:34 PM
  2. [WTS] Anti Hack System for all ArmA 2 Servers
    By JayJay102 in forum Selling Accounts/Keys/Items
    Replies: 2
    Last Post: 05-27-2013, 02:18 PM
  3. [Help Request] How to bypass Dayz Origins anti-hack?
    By alexw203 in forum DayZ Help & Requests
    Replies: 19
    Last Post: 05-06-2013, 11:31 AM
  4. [WTS] selling my dayz key from my legit arma dont hack i dont like dayz anymore.
    By seanmackz in forum DayZ Selling / Trading / Buying
    Replies: 0
    Last Post: 02-25-2013, 09:36 PM
  5. DayZ Arma 2 Hack
    By rbneville in forum DayZ Mod & Standalone Hacks & Cheats
    Replies: 2
    Last Post: 06-18-2012, 01:04 PM