Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2015
335
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.35 KB | None | 0 0
  1. PVOZ_clicLAYERCHK = true;
  2. PVOZ_clic_disconnect = {
  3. if (_this select 2 == 'misc') then {
  4. PVOZ_enn2 = [name player,getPlayerUID player,_this select 0,_this select 1,'misc'];
  5. publicVariableServer 'PVOZ_enn2';
  6. } else {
  7. PVOZ_enn2 = [name player,getPlayerUID player,_this select 0];
  8. publicVariableServer 'PVOZ_enn2';
  9. };
  10. if (isNil 'PVOZ_clic_disconnected') then {
  11. PVOZ_clic_disconnected = true;
  12. disableUserInput true;
  13. startLoadingScreen ["You are being disconnected.","DayZ_loadingScreen"];
  14. endLoadingScreen;sleep 0.1;
  15. disableUserInput false;
  16. (findDisplay 46) closeDisplay 0;
  17. };
  18. };
  19. [] spawn {
  20. if (!hasInterface) exitWith {};
  21. CAKE = true;
  22. disableSerialization;
  23. _RE = compile preprocessFile ('\ca\Modules\MP\data\scripts\remExWrite.sqf');
  24. NotNullPVOZ_02nc = compile preprocessFileLineNumbers ('fixes\compile\fn_damageHandler.sqf');
  25. if (isNil 'inSafeZone') then {inSafeZone = false};
  26. while {1 == 1} do {
  27. RE = _RE;
  28. BIS_MPF_remoteExecutionServer = {
  29. _MPF = compile preprocessFile ('\ca\Modules\MP\data\scripts\remExServer.sqf');
  30. _array = _this select 1;
  31. _objet = _array select 1;
  32. _input = _array select 2;
  33. if (isNil '_input') exitWith {};
  34. if (_input in ['switchmove','playmove','say','jipexec','execVM','spawn','titleCut','titleText','hint','globalChat']) exitWith {_this call _MPF};
  35. if (_input in ['loc','locper','perloc','per']) exitWith {
  36. _perFn = _array select 3;
  37. if (_perFn in ['hideObject','titleText']) exitWith {
  38. if (_perFn == 'hideObject') then {
  39. if ((!isNull _objet) && !(isPlayer _objet)) exitWith {_this call _MPF};
  40. } else {_this call _MPF};
  41. };
  42. if (count _array > 3) exitWith {
  43. _perCo = _array select 4;
  44. if ((_perFn == 'JIPexec') && (typename _perCo == 'ARRAY')) exitWith {if (_perCo select 3 == 'execVM') exitWith {_this call _MPF}};
  45. if ((_perFn == 'execVM') && (typename _perCo == 'STRING')) exitWith {if (_perCo == 'ca\Modules\Functions\init.sqf') exitWith {_this call _MPF}};
  46. };
  47. };
  48. };
  49. 'remExField' addPublicVariableEventHandler {_this call BIS_MPF_remoteExecutionServer};
  50. 'remExFP' addPublicVariableEventHandler {_this call BIS_MPF_remoteExecutionServer};
  51. grpNull = (group player);
  52. fnc_usec_damageHandler = {
  53. _unit = (_this select 0);
  54. _hit = (_this select 1);
  55. _damage = (_this select 2);
  56. _source = (_this select 3);
  57. _ammo = (_this select 4);
  58. _maxdmg = 35;
  59. if (_unit == player) then {
  60. if (((!(isNil {_source})) AND {(!(isNull _source))})) then {
  61. _wpst = weaponState _source;
  62. INT_DISTANCE = round(_unit distance _source);
  63. if (isPlayer _source) then {
  64. INT_NAME = (name _source);
  65. } else {
  66. INT_NAME = "NPC";
  67. };
  68. INT_WEAPON = switch (true) do {
  69. case ((vehicle _source) != _source) : { format ["%1",getText(configFile >> "CfgVehicles" >> (typeOf (vehicle _source)) >> "displayName")] };
  70. case ((_wpst select 0 == "") AND {(_wpst select 4 == 0)}) : { format ["%1", primaryWeapon _source] };
  71. case (_wpst select 0 != "") : { format ["%1", _wpst select 0] };
  72. default { format ["%1",(typeOf (vehicle _source))] };
  73. };
  74. };
  75. };
  76. _explosives = ['R_MEEWS_HEAT','PipeBomb','FuelExplosion','HelicopterExploSmall','HelicopterExploBig','SmallSecondary','Bo_FAB_250','TimedExplosion'];
  77. if (!(isPlayer _unit)||(_unit == _source)||(isNull _source)||(_unit distance _source > 3000)||(name _source == name _unit)) exitWith {
  78. if (!(isNull _source)&&(_unit distance _source < 3000)) then {
  79. _this call NotNullPVOZ_02nc;
  80. };
  81. };
  82. if (!(name _source in ['Error: No vehicle','Error: No unit'])&&(isPlayer _source)) then {
  83. if (_source == vehicle _source) then {
  84. _wep = (currentWeapon _source);
  85. _wep2 = toArray _wep;
  86. _weapon = (getNumber (configFile >> 'CfgWeapons' >> (currentWeapon _source) >> 'type'));
  87. if (count _wep2 > 7) then {_wep2 resize 7;_wep2;if ((toString _wep2) in ['BAF_AS5','USSR_ch']) then {_maxdmg = 50;};};
  88. if (_weapon == 2) then {_maxdmg = 10;};
  89. if (_wep == 'MAAWS' || _wep == 'RPG7V' || _ammo == 'PipeBomb') then {_maxdmg = 3000;};
  90. } else {
  91. _maxdmg = 50;
  92. };
  93. if (_damage > _maxdmg) exitWith {
  94. _log = format ['attacked %2 with %3(%7) for a (%4) hit, with %5 damage. | PLAYER KICKED! |',name _source,name player,_ammo,_hit,_damage,_source,(weaponState _source) select 0];
  95. PVOZ_enn2 = [name _source, getPlayerUID _source, 'Suspicious damage', _log, 'kick'];
  96. publicVariableServer 'PVOZ_enn2';
  97. };
  98. };
  99. if ((name _source in ['Error: No vehicle','Error: No unit'])||(_ammo in _explosives)) exitWith {if (_ammo == 'Pipebomb') then {_this call NotNullPVOZ_02nc;};};
  100. _MAAWS = (((currentWeapon _source) == 'MAAWS')||(_ammo == 'R_MEEWS_HEAT') || ((currentWeapon _source) == 'RPG7V') || (_ammo == 'R_PG7V_AT'));
  101. if ((_damage > 60)&&(!_MAAWS)) exitWith {};
  102. _this call NotNullPVOZ_02nc;
  103. };
  104. sleep 5;
  105. };
  106. };
  107. if (getPlayerUID player in ["76561197972604937","76561197960283029","76561198210493088","76561197960359396","76561198117798896","76561197961994781","76561197983672104","76561197993001681","76561198153119227","76561198153302036","76561197981047330","76561198186428150"]) then {
  108. call compile ('loadFile '+str 'anti-hack loaded. Welcome, admin! Errors'+';');
  109. 'PVOZ_4pci_AHALERTS' addPublicVariableEventHandler {
  110. _array = _this select 1;
  111. _msg = _array select 0;
  112.  
  113. if (isNil 'PVOZ_AdminAlerts') then {PVOZ_AdminAlerts=true};
  114. if (PVOZ_AdminAlerts) then {
  115. _msg spawn AH_fnc_dynTextMsg;
  116. systemChat ('LOG: '+str (_msg)+'');
  117. };
  118. };
  119. };
  120. if !(getPlayerUID player in ["76561197972604937","76561197960283029","76561198210493088","76561197960359396","76561198117798896","76561197961994781","76561197983672104","76561197993001681","76561198153119227","76561198153302036","76561197981047330","76561198186428150"]) then {
  121. [] spawn {
  122. {
  123. if (_x in ['entities','vehicles','playableUnits']) then {
  124. call compile (_x+'=[player];');
  125. } else {
  126. call compile (_x+'={};');
  127. };
  128. } forEach (["DoNotDisable_vehicles","DoNotDisable_playableUnits","DoNotDisable_group","DoNotDisable_allMissionObjects","DoNotDisable_entities","DoNotDisable_screenToWorld","DoNotDisable_openMap","onEachFrame","taskHint","createDiaryRecord","createTask","createSimpleTask","createDiaryLink","createTeam","processDiaryLink","allUnits","buttonSetAction","lbSetData","saveStatus","loadStatus","saveVar","rcallVarcode","addWeaponCargo","addMagazineCargo","setVehicleAmmo","setVehicleAmmoDef","setWeaponReloadingTime","processInitCommands","addMPEventHandler","addWaypoint","setWaypointStatements","BattleFieldClearance","onMapSingleClick","inputAction","setMarkerDirLocal","setMarkerAlphaLocal","setMarkerPosLocal","setMarkerTextLocal","setMarkerTypeLocal","setMarkerColorLocal","setMarkerBrushLocal","setMarkerSizeLocal","setMarkerShapeLocal","createMarker","markerText","setMarkerAlpha","setMarkerBrush","setMarkerColor","setMarkerDir","setMarkerPos","setMarkerShape","setMarkerSize","setMarkerText","setMarkerType","deleteMarker","BIS_fnc_dynamicText","BIS_fnc_spawnCrew","BIS_fnc_spawnGroup","BIS_fnc_help","BIS_fnc_3Dcredits","BIS_fnc_crows","BIS_fnc_customGPS","BIS_fnc_destroyCity","BIS_fnc_playVideo","BIS_fnc_spawnEnemy","BIS_fnc_AAN","BIS_fnc_taskPatrol","BIS_fnc_taskDefend","BIS_fnc_taskAttack","BIS_fnc_supplydrop","BIS_fnc_spotter","BIS_fnc_listPlayers","BIS_fnc_spawnvehicle","BIS_fnc_dirIndicator","BIS_fnc_customGPSvideo"]);
  129. };
  130. [] spawn {
  131. PVOZ_clic_WpnLooping=false;
  132. PVOZ_clic_VarLooping=false;
  133. PVOZ_clic_FileLooping=false;
  134. _bad_wpn_list = [];
  135. _vgfarr = [];
  136. _dis = ['RscDisplayInventory','RscDisplayMainMap','RscDisplayDiary','RscDisplayOptions','RscDisplayGetReady','RscDisplayOptionsVideo','RscDisplayOptionsAudio','RscDisplayOptionsLayout','RscDisplayMicSensitivityOptions','RscDisplayConfigure','RscDisplayConfigureControllers','RscDisplayCustomizeController','RscDisplayJoystickSchemes','RscDisplayConfigureAction','RscDisplayGameOptions','RscMiniMap','RscMiniMapSmall','RscDisplayControlSchemes','RscDisplayFieldManual','RscDisplayPassword','RscDisplayServerGetReady','RscDisplayRespawn','RscDisplayClient'];
  137. if (isNil 'dayz_temperatur') then {dayz_temperatur=42};
  138. if (isNil 'dayz_humanitytarget') then {dayz_humanitytarget = ''};
  139. _bakCLIENTT = time;
  140. _spaceInterrupt = str(dayz_spaceInterrupt);
  141. if (isNil 'deathHandled') then {deathHandled=false};
  142. waitUntil {sleep 1; !isNil 'var_hax_arr'};
  143. ASDF123 = 0;
  144. while {1 == 1} do {
  145. if !(PVOZ_clic_VarLooping) then {
  146. [] spawn {PVOZ_clic_VarLooping = true;uiSleep 90;PVOZ_clic_VarLooping = false};
  147. {
  148. if !(isNil _x) then {
  149. PVOZ_enn2 = [name player,getPlayerUID player,'Global Var',_x];
  150. publicVariableServer 'PVOZ_enn2';
  151. publicVariableServer 'CAKE';
  152. (findDisplay 46) closeDisplay 0;
  153. };
  154. } forEach var_hax_arr;
  155. {
  156. if !(isNil _x) then {
  157. PVOZ_enn2 = [name player,getPlayerUID player,'Global Var',format ['Game function modified: %1',_x]];
  158. publicVariableServer 'PVOZ_enn2';
  159. publicVariableServer 'CAKE';
  160. (findDisplay 46) closeDisplay 0;
  161. };
  162. } forEach var_FNC_arr;
  163. };
  164. if !(PVOZ_clic_FileLooping) then {
  165. [] spawn {PVOZ_clic_FileLooping = true;uiSleep 600;PVOZ_clic_FileLooping = false};
  166. {
  167. _loadfile = call compile ('loadFile '+str(_x)+';');
  168. if (_loadfile != '') then {
  169. PVOZ_enn2 = [name player,getPlayerUID player,'Hack File',_x];
  170. publicVariableServer 'PVOZ_enn2';
  171. publicVariableServer 'CAKE';
  172. (findDisplay 46) closeDisplay 0;
  173. };
  174. } forEach (file_ARR_scan+_vgfarr);
  175. };
  176. if ((player getVariable ['bodyName','ah_check']) == 'ah_check') then {player setVariable ['bodyName',name player,true]};
  177. if (player getVariable ['CharacterID','0'] != dayz_characterID) then {player setVariable ['CharacterID',dayz_characterID,true]};
  178. if ((unitRecoilCoefficient player) != 1) then {
  179. PVOZ_enn2 = [name player,getPlayerUID player,'Memory Hack','No Recoil '+str(currentWeapon player)];
  180. publicVariableServer 'PVOZ_enn2';
  181. publicVariableServer 'CAKE';
  182. (findDisplay 46) closeDisplay 0;
  183. };
  184. if ((abs (player ammo (currentWeapon player)) > 200)&&(vehicle player == player)&&!(currentWeapon player in ['MeleeBaseBallBatBarbed','MeleeBaseBallBatNails','MeleeBaseBallBat','MeleeHatchet','MeleeHatchet_DZE','MeleeCrowbar','MeleeCrowbar_DZE','MeleeMachete','MeleeMachete_DZE','MeleeSledge','MeleeFishingPole','ChainSaw','ChainSawB','ChainSawG','ChainSawP','ChainSawR'])) then {
  185. PVOZ_enn2 = [name player,getPlayerUID player,'Memory Hack','Infinite Ammo '+str(currentWeapon player)];
  186. publicVariableServer 'PVOZ_enn2';
  187. publicVariableServer 'CAKE';
  188. (findDisplay 46) closeDisplay 0;
  189. };
  190. if (_spaceInterrupt != str(dayz_spaceInterrupt)) then {
  191. PVOZ_enn2 = [name player,getPlayerUID player,'Global Var',format ['spaceInterrupt MODIFIED TO (%1)',dayz_spaceInterrupt]];
  192. publicVariableServer 'PVOZ_enn2';
  193. publicVariableServer 'CAKE';
  194. (findDisplay 46) closeDisplay 0;
  195. };
  196. if (typeName(player) != 'OBJECT') then {
  197. PVOZ_enn2 = [name player,getPlayerUID player,'BadType',(str(typeName player))];
  198. publicVariableServer 'PVOZ_enn2';
  199. publicVariableServer 'CAKE';
  200. (findDisplay 46) closeDisplay 0;
  201. };
  202. if (str(player) == '<NULL-object>') then {
  203. PVOZ_enn2 = [name player,getPlayerUID player,'BadType','<NULL-object>'];
  204. publicVariableServer 'PVOZ_enn2';
  205. publicVariableServer 'CAKE';
  206. (findDisplay 46) closeDisplay 0;
  207. };
  208. if (typeName time != 'SCALAR') then {
  209. PVOZ_enn2 = [name player,getPlayerUID player,'Global Var',format ['Time: %1',_time]];
  210. publicVariableServer 'PVOZ_enn2';
  211. call compile format ['time = %1;',_bakCLIENTT];
  212. publicVariableServer 'CAKE';
  213. (findDisplay 46) closeDisplay 0;
  214. } else {_bakCLIENTT = time};
  215. if ((str(typeName true) != str('BOOL')) || (str (true) != 'true') || !(true)) then {
  216. if !(true) exitWith {
  217. PVOZ_enn2 = [name player,getPlayerUID player,'Global Var','TRUE == FALSE'];
  218. publicVariableServer 'PVOZ_enn2';
  219. publicVariableServer 'CAKE';
  220. (findDisplay 46) closeDisplay 0;
  221. };
  222. PVOZ_enn2 = [name player,getPlayerUID player,'Global Var','TRUE =/= TRUE'];
  223. publicVariableServer 'PVOZ_enn2';
  224. publicVariableServer 'CAKE';
  225. (findDisplay 46) closeDisplay 0;
  226. };
  227. _obj = toArray(str player);
  228. if ((_obj select 0 == 66)&&(_obj select 1 == 32)&&(_obj select 2 == 49)&&(_obj select 3 == 45)&&(_obj select 4 == 50)&&(_obj select 5 == 45)&&(_obj select 6 == 54)&&(_obj select 7 == 58)&& (_obj select 8 == 49)) then {
  229. PVOZ_enn2 = [name player,getPlayerUID player,'Global Var',format ['Player Object: %1(%2)',str player,typeOf player]];
  230. publicVariableServer 'PVOZ_enn2';
  231. publicVariableServer 'CAKE';
  232. (findDisplay 46) closeDisplay 0;
  233. };
  234. for '_i' from 0 to ((count _dis) - 1) do {
  235. _display = (_dis select _i);
  236. if !(str(toArray(getText((configfile >> _display >> 'onLoad')))) in ["[]","[]","[]","[]","[]","[95,100,117,109,109,121,32,61,32,91,95,116,104,105,115,44,32,39,67,65,95,86,79,95,73,110,105,116,39,93,32,99,97,108,108,32,99,111,109,112,105,108,101,32,112,114,101,112,114,111,99,101,115,115,70,105,108,101,32,39,92,99,97,92,117,105,92,115,99,114,105,112,116,115,92,72,105,100,101,86,105,100,101,111,79,112,116,105,111,110,115,46,115,113,102,39,59,32,39,100,121,110,97,109,105,99,66,108,117,114,39,32,112,112,69,102,102,101,99,116,65,100,106,117,115,116,32,91,48,93,59,39,100,121,110,97,109,105,99,66,108,117,114,39,32,112,112,69,102,102,101,99,116,67,111,109,109,105,116,32,48,46,48,59,39,100,121,110,97,109,105,99,66,108,117,114,39,32,112,112,69,102,102,101,99,116,69,110,97,98,108,101,32,102,97,108,115,101,59,32,95,100,117,109,109,121,32,61,32,91,95,116,104,105,115,44,32,39,111,110,77,111,117,115,101,66,117,116,116,111,110,68,111,119,110,39,93,32,101,120,101,99,86,77,32,39,92,99,97,92,117,105,92,115,99,114,105,112,116,115,92,85,73,83,105,122,101,86,105,100,101,111,79,112,116,105,111,110,115,46,115,113,102,39,59,32,95,100,117,109,109,121,59]","[]","[]","[]","[]","[]","[]","[]","[]","[]","[117,105,110,97,109,101,115,112,97,99,101,32,115,101,116,118,97,114,105,97,98,108,101,32,91,39,66,73,83,95,82,115,99,77,105,110,105,77,97,112,39,44,95,116,104,105,115,32,115,101,108,101,99,116,32,48,93,59,32,95,116,104,105,115,32,99,97,108,108,32,99,111,109,112,105,108,101,32,112,114,101,112,114,111,99,101,115,115,102,105,108,101,108,105,110,101,110,117,109,98,101,114,115,32,39,99,97,92,117,105,92,115,99,114,105,112,116,115,92,77,105,110,105,77,97,112,46,115,113,102,39,59]","[117,105,110,97,109,101,115,112,97,99,101,32,115,101,116,118,97,114,105,97,98,108,101,32,91,39,66,73,83,95,82,115,99,77,105,110,105,77,97,112,83,109,97,108,108,39,44,95,116,104,105,115,32,115,101,108,101,99,116,32,48,93,59]","[]","[]","[]","[112,114,105,118,97,116,101,32,91,39,95,100,117,109,109,121,39,93,59,32,95,100,117,109,109,121,32,61,32,91,95,116,104,105,115,44,39,111,110,108,111,97,100,39,93,32,99,97,108,108,32,99,111,109,112,105,108,101,32,112,114,101,112,114,111,99,101,115,115,102,105,108,101,32,39,92,99,97,92,117,105,92,115,99,114,105,112,116,115,92,115,101,114,118,101,114,95,105,110,116,101,114,102,97,99,101,46,115,113,102,39,59]","[112,114,105,118,97,116,101,32,91,39,95,100,117,109,109,121,39,93,59,32,95,100,117,109,109,121,32,61,32,91,95,116,104,105,115,44,39,111,110,108,111,97,100,39,93,32,99,97,108,108,32,99,111,109,112,105,108,101,32,112,114,101,112,114,111,99,101,115,115,102,105,108,101,32,39,92,99,97,92,117,105,92,115,99,114,105,112,116,115,92,115,101,114,118,101,114,95,105,110,116,101,114,102,97,99,101,46,115,113,102,39,59,32,95,116,104,105,115,32,115,112,97,119,110,32,123,32,119,104,105,108,101,32,123,32,33,105,115,78,117,108,108,32,40,102,105,110,100,68,105,115,112,108,97,121,32,53,51,41,32,125,32,100,111,32,123,32,99,116,114,108,65,99,116,105,118,97,116,101,32,40,40,95,116,104,105,115,32,115,101,108,101,99,116,32,48,41,32,100,105,115,112,108,97,121,67,116,114,108,32,49,41,59,32,115,108,101,101,112,32,48,46,49,59,32,125,59,32,125,59]","[]","[]","[95,116,104,105,115,32,99,97,108,108,32,99,111,109,112,105,108,101,32,112,114,101,112,114,111,99,101,115,115,102,105,108,101,108,105,110,101,110,117,109,98,101,114,115,32,39,99,97,92,117,105,92,115,99,114,105,112,116,115,92,117,105,95,108,111,97,100,105,110,103,84,101,120,116,46,115,113,102,39,59]","[]"]) then {
  237. PVOZ_enn2 = [name player,getPlayerUID player,'Memory Hack','onLoad'+_display];
  238. publicVariableServer 'PVOZ_enn2';
  239. publicVariableServer 'CAKE';
  240. (findDisplay 46) closeDisplay 0;
  241. };
  242. if !(str(toArray(getText((configfile >> _display >> 'onUnload')))) in ["[]","[]","[]","[]","[]","[105,102,32,33,40,105,115,78,117,108,108,32,112,108,97,121,101,114,41,32,116,104,101,110,32,123,39,100,121,110,97,109,105,99,66,108,117,114,39,32,112,112,69,102,102,101,99,116,69,110,97,98,108,101,32,116,114,117,101,59,32,39,100,121,110,97,109,105,99,66,108,117,114,39,32,112,112,69,102,102,101,99,116,65,100,106,117,115,116,32,91,49,46,54,93,59,39,100,121,110,97,109,105,99,66,108,117,114,39,32,112,112,69,102,102,101,99,116,67,111,109,109,105,116,32,48,59,125,59]","[]","[]","[]","[]","[]","[]","[]","[]","[99,97,108,108,32,117,105,95,99,104,97,110,103,101,68,105,115,112,108,97,121,59]","[117,105,110,97,109,101,115,112,97,99,101,32,115,101,116,118,97,114,105,97,98,108,101,32,91,39,66,73,83,95,82,115,99,77,105,110,105,77,97,112,39,44,110,105,108,93,59]","[117,105,110,97,109,101,115,112,97,99,101,32,115,101,116,118,97,114,105,97,98,108,101,32,91,39,66,73,83,95,82,115,99,77,105,110,105,77,97,112,83,109,97,108,108,39,44,110,105,108,93,59]","[]","[]","[]","[]","[]","[]","[]","[]","[]"]) then {
  243. PVOZ_enn2 = [name player,getPlayerUID player,'Memory Hack','onUnload'+_display];
  244. publicVariableServer 'PVOZ_enn2';
  245. publicVariableServer 'CAKE';
  246. (findDisplay 46) closeDisplay 0;
  247. };
  248. };
  249. sleep 5;
  250. };
  251. };
  252. [] spawn {
  253. if (isNil 'inSafeZone') then {inSafeZone=false};
  254. if (isNil 'canBuild') then {canBuild=true};
  255. _rndoloyolo = floor(random 99999999);
  256. _WL_DISP = [];
  257. _WL_DISP = _WL_DISP + [420420,41144,20001,6903,4631,7331,106,64,-1];
  258. _OK_DISP = '(';
  259. _cnt = 0;
  260. {
  261. _OK_DISP = _OK_DISP + '(isNull (findDisplay '+str _x+'))';
  262. if (_cnt != (count _WL_DISP - 1)) then {_OK_DISP = _OK_DISP + '&&'} else {_OK_DISP = _OK_DISP + ')'};
  263. _cnt = _cnt + 1;
  264. } forEach _WL_DISP;
  265. PVOZ_clic_DIS_CHK = compile _OK_DISP;
  266. if (isNil 'ASDF123') then {ASDF123 = 0};
  267. while {1 == 1} do {
  268. if (!isNull (uiNamespace getVariable 'RscDisplayRemoteMissions')) then {closeDialog 0;PVOZ_enn2 = [name player,getPlayerUID player,'Hack Menu','DISPLAY -1 (RscDisplayRemoteMissions)'];publicVariableServer 'PVOZ_enn2';(findDisplay 46) closeDisplay 0};
  269. if (!isNull (findDisplay 17)) then {closeDialog 0;PVOZ_enn2 = [name player,getPlayerUID player,'Hack Menu','DISPLAY 17 (RscDisplayServer)'];publicVariableServer 'PVOZ_enn2';publicVariableServer 'CAKE';(findDisplay 46) closeDisplay 0};
  270. if (!isNull (findDisplay 2929)) then {closeDialog 0;PVOZ_enn2 = [name player,getPlayerUID player,'Hack Menu','DISPLAY 2929 (RscFunctionsViewer)'];publicVariableServer 'PVOZ_enn2';publicVariableServer 'CAKE';(findDisplay 46) closeDisplay 0};
  271. if (!isNull (findDisplay 3030)) then {closeDialog 0;PVOZ_enn2 = [name player,getPlayerUID player,'Hack Menu','DISPLAY 3030 (RscConfigEditor_Main)'];publicVariableServer 'PVOZ_enn2';publicVariableServer 'CAKE';(findDisplay 46) closeDisplay 0};
  272. if ((call PVOZ_clic_DIS_CHK)&&!(ctrlEnabled 1900)) then {closeDialog 0};
  273. {
  274. if (!isNull (findDisplay _x)) then {
  275. (findDisplay _x) displayRemoveAllEventHandlers 'KeyDown';
  276. (findDisplay _x) displayRemoveAllEventHandlers 'KeyUp';
  277. if !(_x in [-1,106]) then {
  278. (findDisplay _x) displayRemoveAllEventHandlers 'MouseButtonDown';
  279. (findDisplay _x) displayRemoveAllEventHandlers 'MouseButtonUp';
  280. };
  281. };
  282. } forEach [-1,12,18,24,49,63,106,129,7331];
  283. buttonSetAction [104,''];
  284. ((findDisplay 12) displayCtrl 51) ctrlRemoveAllEventHandlers 'MouseButtonDown';
  285. ((findDisplay 12) displayCtrl 51) ctrlRemoveAllEventHandlers 'MouseButtonUp';
  286. (findDisplay 46) displayRemoveAllEventHandlers 'KeyDown';
  287. (findDisplay 46) displayRemoveAllEventHandlers 'KeyUp';
  288. if ((!isNil 'bis_fnc_halo_para_loop')||(!isNil 'bis_fnc_halo_clouds')||(!isNil 'bis_fnc_halo_para_vel')) then {
  289. BIS_fnc_halo_keydown_eh = (finddisplay 46) displayAddEventHandler ['keydown','_this call BIS_fnc_halo_keydown;'];
  290. BIS_fnc_halo_para_mousemoving_eh = (finddisplay 46) displayAddEventHandler ['mousemoving','_this call BIS_fnc_halo_para_loop;'];
  291. BIS_fnc_halo_para_mouseholding_eh = (finddisplay 46) displayAddEventHandler ['mouseholding','_this call BIS_fnc_halo_para_loop;'];
  292. BIS_fnc_halo_para_keydown_eh = (finddisplay 46) displayAddEventHandler ['keydown','_this call BIS_fnc_halo_para_keydown;'];
  293. };
  294. (findDisplay 46) displayAddEventHandler ['KeyDown','_this call dayz_spaceInterrupt'];
  295. sleep 5;
  296. };
  297. };
  298. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement