Das Urheberrecht dieses Beitrags liegt bei Hashcat, am 15. Juli 2015!
Zitat von HashcatAlles anzeigen
In folgendem findet ihr eine alte Version des G-e-F Antihacks vom November 2014. Vielleicht kann jemand von euch etwas damit anfangen.
README:
Code[/b]Einen neuen Ordner in @life_server erstellen@life_server\addons\life_server\Functions\MISCDort die ganzen Dateien einfügen________________________________________________________________________________________________Als erstes geht in euren @life_serversucht die config.cpp ersetzt das________________________________________________________________________________________________ class Life_System { tag = "life"; class Wanted_Sys { file = "\life_server\Functions\WantedSystem"; class wantedFetch {}; class wantedPerson {}; class wantedBounty {}; class wantedTicket {}; class wantedPardon {}; class wantedRemove {}; class wantedAdd {}; class wantedPunish {}; }; class Misc { file = "\life_server\Functions\MISC"; class tabletFunc {}; class ClientAH {}; class ServerAH {}; class Anticheat {}; class Antihack2 {}; class Antihack3 {}; class Antihack4 {}; class Antihack5 {}; class Antihack6 {}; class Ban {}; class initSafeCode {postInit=1;}; }; class Jail_Sys { file = "\life_server\Functions\Jail"; class jailSys {}; }; class Client_Code { file = "\life_server\Functions\Client"; }; };________________________________________________________________________________________________In eurer Missiondatei in den Core Ordner gehen und dort die init.sqf öffnenüber Zeile 15 einfügen waitUntil {(!isNil {fnc_setupFuncs})}; _handle = [] spawn fnc_setupFuncs; waitUntil {scriptDone _handle;};[b]
fn_Anticheat.sqfCode[/b]#include <macro.h>_Enabled = true;_Use_Life_fnc_MP = true;_DetectedFiles = ["420\init.sqf","JM3.paa","JM3.sqf","LystoArma3\start.sqf","scr\start.sqf","vet@folder\[email protected]","Wookie_Bete\start.sqf","wookie_wuat\RUN.sqf", "WookieMenu.sqf","WookieMenuFinal.sqf","WookieMenuV5.sqf","jestersMENU\infiSTAR\setup\startup.sqf","wuat\screen.sqf","scripts\defaultmenu.sqf", "menu\initmenu.sqf","scr\exec.sqf","scripts\exec.sqf","menu\exec.sqf","\monkified.sqf","civ_clothing\oki.sqf","\mhm.sqf","wuat\exec.sqf", "crinkly\keymenu.sqf","scripts\ajmenu.sqf","startup.sqf","wookie_wuat\startup.sqf","Wookie_Beta\exec.sqf","Wookie\exec.sqf", "Wookie\antiantihax.sqf","Wookie_Beta\antiantihax.sqf","@DevCon\DevCon.pbo","addons\@DevCon\DevCon.pbo","DevCon.pbo","@DevCon\addons\DevCon.pbo", "ShadowyFaze\exec.sqf","monkified.sqf","\wuat\screen.sqf","\scripts\defaultmenu.sqf","\menu\initmenu.sqf","\scr\exec.sqf","\scripts\exec.sqf", "\menu\exec.sqf","\wuat\exec.sqf","\crinkly\keymenu.sqf","\scripts\ajmenu.sqf","\startup.sqf","\wookie_wuat\startup.sqf","\Wookie_Beta\exec.sqf", "\Wookie\exec.sqf","\Wookie\antiantihax.sqf","\Wookie_Beta\antiantihax.sqf","\@DevCon\DevCon.pbo","\addons\@DevCon\DevCon.pbo","\DevCon.pbo", "\ShadowyFaze\exec.sqf","\scripts\defaultmenu.sqf","\menu\initmenu.sqf","\scr\exec.sqf","crinkly\keymenu.sqf","\menu\exec.sqf","\wuat\exec.sqf","\XMENU\script.dll", "\crinkly\keymenu.sqf","\scripts\ajmenu.sqf","\startup.sqf","\exec.sqf","\wookie_wuat\startup.sqf","Wookie_Beta\exec.sqf","\Wookie\exec.sqf","\script.dll", "\Wookie\antiantihax.sqf","\Wookie_Beta\antiantihax.sqf","\@DevCon\DevCon.pbo","\addons\@DevCon\DevCon.pbo","\DevCon.pbo","\shadowyFaze\exec.sqf","XMENU\init.sqf", "\@civ_clothing\Addons\init.sqf"];////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// _DetectedVariables = ["JxMxE_hide","JME_Keybinds","JME_has_yet_to_fuck_this_shit","JME_deleteC","JME_Tele","JME_ANAL_PLOW","JME_M_E_N_U_initMenu","JME_M_E_N_U_hax_toggled","W_O_O_K_I_E_FUD_Pro_RE","W_O_O_K_I_E_FUD_Car_RE","W_O_O_K_I_E_FUD_Car_RE", "JxMxE_Veh_M","JxMxE_LifeCash500k","W_O_O_K_I_E_FUD_FuckUp_GunStore","W_O_O_K_I_E_FUD_M_E_N_U_initMenu","W_O_O_K_I_E_FuckUp_GunStore_a","JME_KillCursor","JME_OPTIONS","JME_M_E_N_U_fill_TROLLmenu","ASSPLUNGE","FOXBYPASS","POLICE_IN_HELICOPTA", "JxMxE_EBRP","W_O_O_K_I_E_M_E_N_U_funcs_inited","Menu_Init_Lol","E_X_T_A_S_Y_Atm","W_O_O_K_I_E_Pro_RE","W_O_O_K_I_E_Debug_Mon","W_O_O_K_I_E_Debug_1337","Veh_S_P_A_W_N_Shitt","sfsefse","tw4etinitMenu","tw4etgetControl", "JxMxEsp","JxMxE_GOD","JxMxE_Heal","efr4243234","sdfwesrfwesf233","sdgff4535hfgvcxghn","adadawer24_1337","lkjhgfuyhgfd","E_X_T_A_S_Y_M_E_N_U_funcs_inited","dayz_serverObjectMonitor","fsfgdggdzgfd","fsdddInfectLOL","Wookie_List", "JxMxE_TP","Wookie_Pro_RE","Wookie_Car_RE","Wookie_Debug_Mon","faze_funcs_inited","advertising_banner_infiSTAR","atext_star_xa","Monky_hax_dbclick","qopfkqpofqk","debug_star_colorful","AntiAntiAntiAntiHax","antiantiantiantih4x", "JxMxE_Infect","hub","scrollinit","gfYJV","Lystic_LMAOOOOOOOOOOOOOOOOOOO","Lystic_Re","Lysto_Lyst","E_X_T_A_S_Y_Keybinds","Menulocations","Lystic_Init","scroll_m_init_star","exstr1","pathtoscrdir3","Monky_funcs_inited", "JxMxE_secret","Monky_initMenu","player_zombieCheck","E_X_T_A_S_Y_Recoil","godlol","playericons","abcdefGEH","wierdo","go_invisible_infiSTAR","serverObjectMonitor","enamearr","initarr3","locdb","sCode","infAmmoIndex", "nukeDONEstar","Wookie_List","Wookie_Pro_RE","FUCKTONIC","E_X_T_A_S_Y_FuckUp_GunStore_a","E_X_T_A_S_Y_Cash_1k_t","E_X_T_A_S_Y_Cash_a","E_X_T_A_S_Y_LicenseDrive","E_X_T_A_S_Y_Menu_LOOOOOOOOOL","Metallica_vehicleg0dv3_infiSTAR", "JJJJ_MMMM___EEEEEEE_INIT_MENU","JJJJ_MMMM___EEEEEEE_GAPER","JJJJ_MMMM___EEEEEEE_SMOKExWEEDxEVERYDAY_BUM_RAPE","JJJJ_MMMM___EEEEEEE_OPTIONS","JJJJ_MMMM___EEEEEEE_M_E_N_U_fill_Target","E3p", "Jesus_MODE","ESP","MissileStrike","AL_Liscenses","NoIllegal","NoWeight","m0nkyaatp_sadksadxa","m0nkyaatp_RANDSTR","myvar23","player_adminlevel","TNK","I_like_turtles", "BIGM","Does_Tonic_Like_to_take_Turtle_penis_in_the_ass_LODESTARS","Does_Tonic_Like_to_take_Turtle_penis_in_the_ass_LODESTAR1","GMod","No_No_No_Tonic_likes_A_Big_Fat_Sheep_Cock_Right_in_the_bum_G0d_Mode", "Sload","T3le","life_no_injection","Tonic_has_a_gaping_vagina","my_anus_hurtz","aKFerm","aKMMenu","aKTitans","aKLikeaG0d","riasgremory_G0d_Mode","aKCarG0d","riasgremory_Car_Jesus","aKE5p","riasgremory_isseilol","aKPMark", "riasgremory_Noobs","riasgremory_Bitches","riasgremory_Map_Markers","aKUnMmo","jenesuispasuncheateur_unamo","aKVoit","Loljesaispasquoiecriremdr","isseigremory","gremorysama","aKTaCu","aKCardetroy","aKGetKey","aKKillcursor", "aKNoEscort","aKEscort","aKtroll","aKTPall","aKUnrestrain","aKNoEscortMe","aKNoTaze","aKJailplayer","aKLisense","riasgremory_titans_shit_reold","Tonic_merde","jaimepaslepoisin_HLEAL","TTTT_IIII___TTTTTTT_RAP_FR","TTTT_IIII___TTTTTTT_REPGA", "TTTT_IIII___TTTTTTT_REPGAs","jaimepaslepoisin_HLEAL","Root_Main4","Root_Pistol4","Root_Rifle4","Root_Machinegun4","Root_Sniper4","Root_Launcher4","Root_Attachement4", "pic","veh","wuat_fpsMonitor","unitList","list_wrecked","p","fffffffffff","markPos","pos","marker","TentS","VL","MV", "mk2","i","j","fuckmegrandma","mehatingjews","scode","TTT5OptionNR","igodokxtt","omgwtfbbq","namePlayer","thingtoattachto","HaxSmokeOn","v", "antiloop","ARGT_JUMP","selecteditem","moptions","delaymenu","gluemenu","spawnweapons1","abcd","skinmenu","playericons","changebackpack","keymenu", "img","surrmenu","footSpeedIndex","ctrl_onKeyDown","plrshldblcklst","musekeys","dontAddToTheArray","morphtoanimals","playerDistanceScreen","pm", "debugConsoleIndex","MY_KEYDOWN_FNC","TAG_onKeyDown","changestats","helpmenu","unitsmenu","xZombieBait","shnmenu","slag","xtags","tempslag", "dayzRespawn2","dayzRespawn3","hangender","addgun","ESP","BIS_fnc_3dCredits_n","ViLayer","maphalf","activeITEMlist","activeITEMlistanzahl","xyzaa", "iBeFlying","rem","DAYZ_CA1_Lollipops","bowonky","HMDIR","HDIR","Monky_funcs_inited","atext","boost","Ug8YtyGyvguGF","inv","rspwn","nd","qofjqpofq", "invall","initarr","reinit","byebyezombies","keymenu2","hotkeymenu","letmeknow","Listw","mahcaq","mapm","weapFun","firstrun","take1","dwarden","bowonky", "bowen","monky","pic","god","toggle_keyEH","drawic","mk2","i","j","ptags","abox1","dayz_godmode","testIndex","g0d","g0dmode","zeus","zeusmode","cargod", "qopfkqpofqk","monkytp","pbx","playershield","zombieDistanceScreen","theKeyControl","plrshldblckls","zombieshield","pathtoscrdir","footSpeedKeys","wl", "spawnitems1","lmzsjgnas","vm","Monky_hax_toggled","pu","nb","vspeed","godlol","aesp","godall","initarr3","initarr2","DEV_ConsoleOpen","LOKI_GUI_Key_Color", "W_O_O_K_I_E_FUD_Pro_RE","W_O_O_K_I_E_FUD_Car_RE","W_O_O_K_I_E_FUD_Car_RE","W_O_O_K_I_E_FUD_FuckUp_GunStore","W_O_O_K_I_E_FUD_M_E_N_U_initMenu", "W_O_O_K_I_E_FuckUp_GunStore_a","W_O_O_K_I_E_M_E_N_U_funcs_inited","Menu_Init_Lol","W_O_O_K_I_E_Pro_RE","W_O_O_K_I_E_Debug_Mon","W_O_O_K_I_E_Debug_1337", "Veh_S_P_A_W_N_Shitt","sfsefse","tw4etinitMenu","tw4etgetControl","efr4243234","sdfwesrfwesf233","sdgff4535hfgvcxghn","adadawer24_1337","lkjhgfuyhgfd", "dayz_serverObjectMonitor","fsfgdggdzgfd","fsdddInfectLOL","Wookie_List","Wookie_Pro_RE","Wookie_Car_RE","Wookie_Debug_Mon","faze_funcs_inited", "advertising_banner_infiSTAR","atext_star_xa","Monky_hax_dbclick","debug_star_colorful","AntiAntiAntiAntiHax","antiantiantiantih4x","hub","scrollinit", "gfYJV","Lystic_LMAOOOOOOOOOOOOOOOOOOO","Lystic_Re","Lysto_Lyst","Menulocations","Lystic_Init","scroll_m_init_star","exstr1","pathtoscrdir3", "Monky_initMenu","player_zombieCheck","abcdefGEH","wierdo","go_invisible_infiSTAR","serverObjectMonitor","enamearr","locdb","infAmmoIndex","nukeDONEstar", "g00d_Metallica","tphigh_choice_infistar","tphigh_menu_Metallica_menu","E_X_T_A_S_Y_Atm","E_X_T_A_S_Y_M_E_N_U_funcs_inited","E_X_T_A_S_Y_Keybinds", "E_X_T_A_S_Y_Recoil","FUCKTONIC","E_X_T_A_S_Y_FuckUp_GunStore_a","E_X_T_A_S_Y_Cash_1k_t","E_X_T_A_S_Y_Cash_a","E_X_T_A_S_Y_LicenseDrive", "E_X_T_A_S_Y_Menu_LOOOOOOOOOL","FOXBYPASS","Dayz_GUI_R","dayz_originalPlayer","zeus_star","_infiSTAR","ppe","ppe2","willschabppe33", "j___m___e____i_masterbate_to_bum_rape___hovering","j___m___e____i_masterbate_to_bum_rape___BelieveIcanFly","JJJJ_MMMM___EEEEEEE_INIT_MENU","JJJJ_MMMM___EEEEEEE_fly", "JJJJ_MMMM___EEEEEEE_NoRecoil","JJJJ_MMMM___EEEEEEE_CLIP","JJJJ_MMMM___EEEEEEE_Invisable","JJJJ_MMMM___EEEEEEE_GiantCock","JJJJ_MMMM___EEEEEEE_JetBus","JJJJ_MMMM___EEEEEEE_BoxQuad", "JJJJ_MMMM___EEEEEEE_SpawnCrate","JJJJ_MMMM___EEEEEEE_JJJJ_MMMM___EEEEEEE_to_Swastika","JJJJ_MMMM___EEEEEEE_Cash_1mill","JJJJ_MMMM___EEEEEEE_Cash_5mill", "JJJJ_MMMM___EEEEEEE_Cash_1mill_t","JJJJ_MMMM___EEEEEEE_Cash_5mill_t","JJJJ_MMMM___EEEEEEE_JesusMode_t","Does_Tonic_Like_to_take_Turtle_penis_in_the_ass_LODESTARS", "JJJJ_MMMM___EEEEEEE_M_E_N_U_fill_All","JJJJ_MMMM___EEEEEEE_M_E_N_U_initMenu","JJJJ_MMMM___EEEEEEE_OPTIONS","JJJJ_MMMM___EEEEEEE_PLAYERLOL", "No_No_No_Tonic_likes_A_Big_Fat_Sheep_Cock_Right_in_the_bum_G0d_Mode","HAAJASDOKAD_keyp","HAAJASDOKAD_keybinds","HAAJASDOKAD_targetkey","HAAJASDOKAD_escorttt", "HAAJASDOKAD_tepe","HAAJASDOKAD_ladida","HAAJASDOKAD_RANDOM_VARIABLE_killAnnoying","HAAJASDOKAD_annoyingLock","HAAJASDOKAD_annoyingPlayer","HAAJASDOKAD_playersToGod", "HAAJASDOKAD_countedPlayersGod","HAAJASDOKAD_ANUS_FINGER_BANG","HAAJASDOKAD_suicide","HAAJASDOKAD_destroyall","HAAJASDOKAD_destroyallsure","HAAJASDOKAD_healallsure","HAAJASDOKAD_teleportallsure", "HAAJASDOKAD_healall","HAAJASDOKAD_tepall","HAAJASDOKAD_cashall","HAAJASDOKAD_turtlespawn","HAAJASDOKAD_HAAJASDOKAD_invisibleit","HAAJASDOKAD_kick","HAAJASDOKAD_invisible", "HAAJASDOKAD_hakenkreuz","HAAJASDOKAD_e5p","HAAJASDOKAD_mape5p","HAAJASDOKAD_cash","HAAJASDOKAD_night","HAAJASDOKAD_alllicenses","HAAJASDOKAD_misseles", "HAAJASDOKAD_jetbus","HAAJASDOKAD_fly","HAAJASDOKAD_nyan","HAAJASDOKAD_DAHUGETHINGG","HAAJASDOKAD_3Dtext","HAAJASDOKAD_boxquad","HAAJASDOKAD_erdbeben", "HAAJASDOKAD_altilife","HAAJASDOKAD_spawnvehs","HAAJASDOKAD_troll","HAAJASDOKAD_main_menu","nuke_vars","TONIC_HAS_A_GAPER_NUKE_2", "mdh_nuke_destruction_zone","mdh_nuke_camshake","mdh_nuke_ash","mdh_nuke_colorcorrection","mdh_nuke_removecorrection","mdh_nuke_removeash","nukepos", "jaimepaslepoisin_HLEAL","Root_Main4","Root_Pistol4","Root_Rifle4","Root_Machinegun4","Root_Sniper4","Root_Launcher4","Root_Attachement4","fuckfest", "JME_M_E_N_U_getControl","G_E_F___GLOBAL","G_E_F___BYPASS","G_E_F___ALTISLIFEH4X","G_E_F___OwnScripts"];_DetectedMenus = [3030];_toCompilableString = { _code = _this select 0; _string = ""; if(typename _code == "CODE") then { _string = str(_code); _arr = toArray(_string); _arr set[0,32]; _arr set[count(_arr)-1,32]; _string = toString(_arr); }; _string;};BIS_fnc_MP = compileFinal ([BIS_fnc_MP] call _toCompilableString);BIS_fnc_MPExec = compileFinal ([BIS_fnc_MPExec] call _toCompilableString);if(_Use_Life_fnc_MP) then { Life_fnc_MP = compileFinal ([Life_fnc_MP] call _toCompilableString); AH_fnc_MP = compileFinal ([Life_fnc_MP] call _toCompilableString); life_fnc_tazed = compileFinal ([life_fnc_tazed] call _toCompilableString);} else { AH_fnc_MP = compileFinal ([BIS_fnc_MP] call _toCompilableString);};if(isDedicated) then { diag_log "<ANTICHEAT>: Initialized!"; Notify_Kick = compileFinal ' diag_log "<ANTICHEAT> Kicked User"; diag_log str(_this); diag_log "<ANTICHEAT> End Kicked"; [_this,"Receive_Notify",true,false] call AH_fnc_MP; '; Notify_Load = compileFinal ' diag_log format["<ANTICHEAT> %1",_this]; '; [] spawn { while{true} do { { _x hideObjectGlobal false; } forEach playableUnits; _time = time + 2; waitUntil{time >= _time}; }; }; } else { waitUntil{!isnull player}; waitUntil{alive player}; Receive_Notify = compileFinal " hint format['%1 was kicked for %2. Notify an admin!',_this select 0,_this select 2]; "; Kick = compileFinal " endMission 'FAIL'; for '_i' from 0 to 100 do {(findDisplay _i) closeDisplay 0;}; disableUserInput false; "; [_DetectedFiles] spawn { _name = name player; _uid = getPlayerUID player; _BanID = BanID; loadFile ""; { _text = loadFile _x; _numLetters = count(toArray(_text)); if(_numLetters > 0) exitWith { dialog ["Antihack: Banned Player(%1) by Antihack 5 DETECTED FILE (%3)",name player, _DetectedFiles]; _endM = compile PreProcessFileLineNumbers "\a3\functions_f\Misc\fn_endMission.sqf"; ["SpyGlass",false,false] call _endM; disableUserInput true; }; } foreach (_this select 0); }; [_DetectedVariables] spawn { _name = name player; _uid = getPlayerUID player; _BanID = BanID; { _x spawn { waitUntil{!isNil _this}; dialog ["Antihack: Banned Player(%1) by Antihack 5 DETECTED Variable (%2)",name player,_DetectedVariables]; _endM = compile PreProcessFileLineNumbers "\a3\functions_f\Misc\fn_endMission.sqf"; ["SpyGlass",false,false] call _endM; disableUserInput true; }; } forEach (_this select 0); }; [_DetectedMenus] spawn { _name = name player; _uid = getPlayerUID player; _BanID = BanID; { _x spawn { waitUntil{!isNUll (findDisplay _this)}; dialog ["Antihack: Banned Player(%1) by Antihack 5 DETECTED MENU (%2)",name player,_DetectedMenus]; _endM = compile PreProcessFileLineNumbers "\a3\functions_f\Misc\fn_endMission.sqf"; ["SpyGlass",false,false] call _endM; disableUserInput true; }; } forEach (_this select 0); }; [] spawn { while{true} do { waitUntil{!isNull (findDisplay 49)}; ((findDisplay 49) displayCtrl 2) ctrlEnable false; ((findDisplay 49) displayCtrl 2) ctrlSetText "Willkommen bei:"; ((findDisplay 49) displayCtrl 103) ctrlEnable false; ((findDisplay 49) displayCtrl 103) ctrlSetText "Irrenanstalt"; ((findDisplay 49) displayCtrl 122) ctrlEnable false; ((findDisplay 49) displayCtrl 122) ctrlShow false; ((findDisplay 49) displayCtrl 523) ctrlSetText "3.1.4.8"; waitUntil{isNull (findDisplay 49)} }; }; [] spawn { _name = name player; _uid = getPlayerUID player; while{true} do { if(unitRecoilCoefficient player < 1) exitWith { dialog ["Antihack: Banned Player(%1) by Antihack 5 NO RECOIL",name player]; _endM = compile PreProcessFileLineNumbers "\a3\functions_f\Misc\fn_endMission.sqf"; ["SpyGlass",false,false] call _endM; disableUserInput true; }; _time = time + 5; setTerrainGrid 25; _nearObjects = vehicle player nearObjects 50; { vehicle player enableCollisionWith _x; } forEach _nearObjects; waitUntil{time >= _time}; }; }; [] spawn { while{true} do { onMapSingleClick ''; player allowDamage true; vehicle player allowDamage true; }; };};[b]
fn_Antihack2.sqfCode[/b]#include <macro.h>waitUntil {!isnull player && player == player};waitUntil {!isNil {life_fnc_broadcast}};private["_cfg","_patches","_sel","_name","_patches","_reason","_BanID","_endM"];_endM = compile PreProcessFileLineNumbers "\a3\functions_f\Misc\fn_endMission.sqf";_cfg = configFile >> "CfgPatches";_patches = [];for "_i" from 0 to count (_cfg)-1 do{ _sel = _cfg select _i; if(isClass _sel) then { _name = configName _sel; _patches set[count _patches,_name]; };};if("DevCon" in _patches) then{ dialog ["Antihack: Banned Player(%1) by Antihack 2 Devcon",name player]; _endM = compile PreProcessFileLineNumbers "\a3\functions_f\Misc\fn_endMission.sqf"; ["SpyGlass",false,false] call _endM; disableUserInput true;};[] spawn { while {true} do { waitUntil {!isNull (findDisplay 3030)}; dialog ["Antihack: Banned Player(%1) by Antihack 2 MenuBasedHack_DISPLAY_3030",name player]; _endM = compile PreProcessFileLineNumbers "\a3\functions_f\Misc\fn_endMission.sqf"; ["SpyGlass",false,false] call _endM; disableUserinput true; closeDialog 0; };};[] spawn{ while {true} do { waitUntil {!isNull ((findDisplay 64) displayCtrl 101)}; dialog ["Antihack: Banned Player(%1) by Antihack 2 MenuBasedHack_DISPLAY_64_C_101",name player]; _endM = compile PreProcessFileLineNumbers "\a3\functions_f\Misc\fn_endMission.sqf"; ["SpyGlass",false,false] call _endM; disableUserinput true; closeDialog 0; };};[] spawn{ while {true} do { waitUntil {!isNull (findDisplay 162)}; dialog ["Antihack: Banned Player(%1) by Antihack 2 MenuBasedHack_DISPLAY_162",name player]; _endM = compile PreProcessFileLineNumbers "\a3\functions_f\Misc\fn_endMission.sqf"; ["SpyGlass",false,false] call _endM; disableUserinput true; ctrlactivate ((findDisplay 162) displayCtrl 2); closeDialog 0; };};[] spawn{ while {true} do { waitUntil {!isNull (findDisplay 129)}; closeDialog 0; };};[] spawn{ while {true} do { waitUntil {!isNull (uiNamespace getVariable "RscDisplayRemoteMissions")}; dialog ["Antihack: Banned Player(%1) by Antihack 2 MenuBasedHack_RscDisplayRemoteMissions",name player]; _endM = compile PreProcessFileLineNumbers "\a3\functions_f\Misc\fn_endMission.sqf"; ["SpyGlass",false,false] call _endM; disableUserinput true; closeDialog 0; };};[] spawn{ waitUntil {(unitRecoilCoefficient player) < 1}; dialog ["Antihack: Banned Player(%1) by Antihack 2 RecoilBasedHack",name player]; _endM = compile PreProcessFileLineNumbers "\a3\functions_f\Misc\fn_endMission.sqf"; ["SpyGlass",false,false] call _endM; disableUserinput true;};[b]
[/b]
fn_Antihack3.sqfCode[/b]#include <macro.h>private ["_cfg","_patches","_sel","_name","_patches","_reason","_endM"];_cfg = configFile >> "CfgPatches";_endM = compile PreProcessFileLineNumbers "\a3\functions_f\Misc\fn_endMission.sqf";_patches = [];for "_i" from 0 to count (_cfg)-1 do { _sel = _cfg select _i; if (isClass _sel) then { _name = configName _sel; _patches set [count _patches,_name]; };};if ("DevCon" in _patches) then { diag_log ["Antihack: Banned Player(%1) by Antihack 3 DevCon",name player]; _endM = compile PreProcessFileLineNumbers "\a3\functions_f\Misc\fn_endMission.sqf"; ["SpyGlass",false,false] call _endM; disableUserinput true;};[] spawn { while {true} do { waitUntil {sleep 5; !isNull (findDisplay 3030)}; diag_log format ["Antihack: Banned Player(%1) by Antihack 3 MenuBasedHack_DISPLAY_3030",name player]; _endM = compile PreProcessFileLineNumbers "\a3\functions_f\Misc\fn_endMission.sqf"; ["SpyGlass",false,false] call _endM; disableUserinput true; closeDialog 0; };};[] spawn { while {true} do { waitUntil {sleep 5; !isNull ((findDisplay 64) displayCtrl 101)}; diag_log ["Antihack: Banned Player(%1) by Antihack 3 MenuBasedHack_DISPLAY_64_C_101",name player]; _endM = compile PreProcessFileLineNumbers "\a3\functions_f\Misc\fn_endMission.sqf"; ["SpyGlass",false,false] call _endM; disableUserinput true; closeDialog 0; };};[] spawn { while {true} do { waitUntil {sleep 5; !isNull (findDisplay 129)}; closeDialog 0; };};[] spawn { while {true} do { waitUntil {sleep 5; !isNull (uiNamespace getVariable "RscDisplayRemoteMissions")}; diag_log ["Antihack: Banned Player(%1) by Antihack 3 MenuBasedHack_RscDisplayRemoteMissions",name player]; _endM = compile PreProcessFileLineNumbers "\a3\functions_f\Misc\fn_endMission.sqf"; ["SpyGlass",false,false] call _endM; disableUserinput true; closeDialog 0; };};"G_E_F_Window" addPublicVariableEventHandler { [] spawn (_this select 1) };G_E_F_WP = player;publicVariableServer "G_E_F_WP";waitUntil { (!isNil {G_E_F_Window}) };[b]
fn_Antihack4.sqfCode[/b]G_E_F_ANTIHACK = { diag_log "ANTI-HACK 0.6.3 starting..."; if (isServer) exitWith {}; _commonPaths = ["used for hacking", "wuat\screen.sqf", "scripts\defaultmenu.sqf", "menu\initmenu.sqf", "scr\exec.sqf", "scripts\exec.sqf", "menu\exec.sqf", "wuat\exec.sqf", "crinkly\keymenu.sqf", "scripts\ajmenu.sqf", "startup.sqf", "wookie_wuat\startup.sqf" ]; { _contents = format["", loadFile _x]; if (_contents != "") then { diag_log "ANTI-HACK 0.6.3: hacker?!"; GefFlag = [player, "hack menu", _x]; publicVariableServer "GefFlag"; sleep 5; for "_i" from 0 to 99 do { (findDisplay _i) closeDisplay 0; }; }; } forEach _commonPaths; [] spawn { private["_keyDownHandlerCount", "_keyUpHandlerCount", "_ctrlDrawHandlerCount"]; while { true } do { (findDisplay 46) displayRemoveAllEventHandlers "KeyUp"; ((findDisplay 12) displayCtrl 51) ctrlRemoveAllEventHandlers "Draw"; if (!(isNull findDisplay 3030) || !(isNull findDisplay 155)) then { GefFlag = [player, "hack menu", _x]; publicVariableServer "GefFlag"; sleep 5; for "_i" from 0 to 99 do { (findDisplay _i) closeDisplay 0; }; }; sleep 5; }; }; [] spawn { private["_sleepGodModeCheck", "_terrainGrid", "_recoilSettings", "_zombieCheck", "_damageHandler", "_unconsciousFunction"]; _sleepGodModeCheck = 5; _terrainGrid = 25; _recoilSettings = unitRecoilCoefficient player; diag_log "ANTI-HACK 0.6.3: Godmode check started!"; while { true } do { if (unitRecoilCoefficient player != _recoilSettings) exitWith { GefFlag = [player, "no recoil", "null"]; publicVariableServer "GefFlag"; sleep 5; for "_i" from 0 to 99 do { (findDisplay _i) closeDisplay 0; }; }; setTerrainGrid _terrainGrid; sleep _sleepGodModeCheck; }; };};"GefFlag"addPublicVariableEventHandler { _array = _this select 1; _player = _array select 0; _hackType = _array select 1; _hackValue = format["", _array select 2]; diag_log format["ANTI-HACK: () was detected for with the value ''", name _player, getPlayerUID _player, _hackType, _hackValue]; serverCommand format["#kick ", name _player]; serverCommand format["#exec ban ", name _player];};"GefStarted"addPublicVariableEventHandler { _client = _this select 1; (owner _client) publicVariableClient "G_E_F_ANTIHACK"; diag_log format["Starting Anti-hack on client #", owner _client];};[b]
[/b]
fn_Antihack5.sqfCode[/b]// ********** Disclaimer *********** //// Script by G-e-F // Nur mit genehmigung von // G-e-F nutzbar// ********** Disclaimer *********** //if (playerSide == west)exitwith {};if (playerSide == east)exitwith {};[]spawn {if (vehicle player == player) then{ while {true} do { removeAllActions player; sleep 25; // Alle 60 Sekunden werden alle Aktionen des Spielers entfernt }; };}; [b]
[/b]
fn_Antihack6.sqfCode[/b]/* Filename: fn_Antihack6.sqf Author: G-e-F*/private["_variables"];_variables = ["life_revive_fee","life_gangPrice","life_gangUpgradeBase","life_enableFatigue","life_paycheck_period","life_vShop_rentalOnly","sell_array","buy_array","life_weapon_shop_array","life_garage_prices","life_garage_sell","life_houseLimit","life_gangUpgradeMultipler","life_impound_car","life_impound_boat","life_impound_air"];{ if(!isNil {(missionNamespace getVariable _x)}) exitWith { sleep 0.5; _reason = format ["Antihack: Banned Player(%1) by Antihack 6 Variable Modifikation | BanID = (%2)",name player, BanID]; disableUserInput true; };} foreach _variables;[b]
fn_initSafeCode.sqfCode[/b]/*Name: fn_initSafeCode.sqfAuthor: G-e-F*/fnc_compileFinal = { private ["_var","_ns","_code","_arr"]; _var = [_this,0,"",[""]] call BIS_fnc_param; _ns = [_this,1,missionNamespace,[missionNamespace]] call BIS_fnc_param; _code = _ns getVariable [_var, 0]; if (typeName _code != typeName {}) exitWith {false}; _arr = toArray str _code; _arr set [0,32]; _arr set [count _arr - 1,32]; _code = compileFinal toString _arr; _ns setVariable [_var, _code]; true};fnc_setupFuncs = { life_publicVarList = ["Antihack2","Antihack3","Antihack4","Antihack5","Antihack6","Anticheat"]; if(!isServer) then { diag_log "::Life Client:: Loading Secret Code V2.1"; cutText["Loading server side functions, please wait","BLACK FADED"]; { waitUntil {!(isNil format["life_fnc_%1",_x]);}; } forEach life_publicVarList; } else { { [format["life_fnc_%1",_x]] call fnc_compileFinal; publicVariable format["life_fnc_%1",_x]; } forEach life_publicVarList; };};["fnc_setupFuncs"] call fnc_compileFinal;publicVariable "fnc_setupFuncs";[] spawn fnc_setupFuncs;[b]
macro.hCode[/b]#define __CONST__(var1,var2) var1 = compileFinal (if(typeName var2 == "STRING") then {var2} else {str(var2)}) //Quick macro for creating a constant variable#define __GETC__(var) (call var) //Quick clean macro for getting a value of a constant / compileFinal variable. i.e if(__GETC__(numberone) == 1) then {}//Control Macros#define getControl(disp,ctrl) ((findDisplay ##disp) displayCtrl ##ctrl)#define getSelData(ctrl) (lbData[##ctrl,(lbCurSel ##ctrl)])[b]
[/b]