NEW admin tool and antihack

This commit is contained in:
fallingsheep 2015-02-09 20:06:49 +11:00
parent fa83b04381
commit 8cc9c1f588
4 changed files with 4787 additions and 10 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,175 @@
/*
"_OPEN_ADMIN_MENU_KEY": Key to open the menu
google DIK_KeyCodes (0x3C is F2)
*/
_OPEN_ADMIN_MENU_KEY = 0x3C;
_adminLevel1_UIDs = SUPERADMIN_LIST;
_adminLevel1 =
[
'spectating','adminconsole','Delete Vehicle','FlyUp','TpDirection','EjectTarget','ToggleVehLock','ShowGear',
'HealSelf','HealRepairNear','AddAmmoSelf','AdminStart',
'==== Weapons ====','==== Magazines ====','==== Vehicles ====','==== Loadouts ====','==== AltisLife Money ====',
'Teleport Target To Me','Teleport To', 'Revive','Heal','Repair','Move In My Vehicle','Move In Target Vehicle',
'Spawn UAV','Spawn Epoch_Cloak_F','Spawn Sapper_F','Spawn GreatWhite_F','Eject','Eject Crew','Kill','Zeus',
'Force Disconnect','Kick','TempBan','Box-ESP','Map-Icons','PlotPole Marker','Construction Marker','DeadPlayer Marker',
'God Mode','Vehicle God Mode','Lower Terrain','Vehboost','UnlimAmmo','noRecoil','FastFire','Stealth / Invisible',
'Disable Announces','Show FPS','Give All Liscenses','Mass Message','DayTime','NightTime','Add 2500 Crypto',
'Spawn Box','Spawn Epoch-Box','Spawn Ammo'
];
_adminLevel2_UIDs = ADMIN_LIST;
_adminLevel2 =
[
'spectating','adminconsole','Delete Vehicle','FlyUp','TpDirection','EjectTarget','ToggleVehLock','ShowGear',
'HealSelf','HealRepairNear','AddAmmoSelf','AdminStart',
'==== Weapons ====','==== Magazines ====','==== Vehicles ====','==== Loadouts ====','==== AltisLife Money ====',
'Teleport Target To Me','Teleport To', 'Revive','Heal','Repair','Move In My Vehicle','Move In Target Vehicle',
'Spawn UAV','Spawn Epoch_Cloak_F','Spawn Sapper_F','Spawn GreatWhite_F','Eject','Eject Crew','Kill','Zeus',
'Force Disconnect','Kick','TempBan','Box-ESP','Map-Icons','PlotPole Marker','Construction Marker','DeadPlayer Marker',
'God Mode','Vehicle God Mode','Lower Terrain','Vehboost','UnlimAmmo','noRecoil','FastFire','Stealth / Invisible',
'Disable Announces','Show FPS','Give All Liscenses','Mass Message','DayTime','NightTime','Add 2500 Crypto',
'Spawn Box','Spawn Epoch-Box','Spawn Ammo'
];
_adminLevel3_UIDs = MOD_LIST;
_adminLevel3 =
[
'spectating','adminconsole','Delete Vehicle','FlyUp','TpDirection','EjectTarget','ToggleVehLock','ShowGear',
'HealSelf','HealRepairNear','AddAmmoSelf','AdminStart',
'==== Weapons ====','==== Magazines ====','==== Vehicles ====','==== Loadouts ====','==== AltisLife Money ====',
'Teleport Target To Me','Teleport To', 'Revive','Heal','Repair','Move In My Vehicle','Move In Target Vehicle',
'Spawn UAV','Spawn Epoch_Cloak_F','Spawn Sapper_F','Spawn GreatWhite_F','Eject','Eject Crew','Kill','Zeus',
'Force Disconnect','Kick','TempBan','Box-ESP','Map-Icons','PlotPole Marker','Construction Marker','DeadPlayer Marker',
'God Mode','Vehicle God Mode','Lower Terrain','Vehboost','UnlimAmmo','noRecoil','FastFire','Stealth / Invisible',
'Disable Announces','Show FPS','Give All Liscenses','Mass Message','DayTime','NightTime','Add 2500 Crypto',
'Spawn Box','Spawn Epoch-Box','Spawn Ammo'
];
_BlackList = BANNED_LIST;
/* Forbid VON Sidechat */ _VON = true; /* true or false */ /* recommended: true */ /* talking on sidechat will put out a warning and kick if continue */
/* Use Anti Teleport */ _UAT = true; /* true or false */ /* recommended: true */
/* Chat-Vote Day/Night */ _VDN = true; /* true or false */ /* recommended: true */
/* CommandingMenu Check */ _CMC = true; /* true or false */ /* recommended: true */
/* _cMenu: ALLOWED Commanding Menus */
_cMenu =
[
'',
'RscMainMenu','RscMoveHigh','#WATCH','#WATCH0','RscWatchDir','RscWatchMoveDir','#GETIN','#RscStatus','RscCallSupport','#ACTION',
'RscCombatMode','RscFormations','RscTeam','RscSelectTeam','RscReply','#User:BIS_Menu_GroupCommunication','#CUSTOM_RADIO',
'RscRadio','RscGroupRootMenu','RscMenuReply','RscMenuStatus','#User:BIS_fnc_addCommMenuItem_menu','RscMenuMove','RscMenuFormations'
];
/* Use Dialog Whitelist ? */ _UDW = true; /* true or false */ /* recommended: true */
/* _allowedDialogs: Insert IDDs here to prevent them from being closed! Default ArmA3 and Altis-Life idds should be in already. */
_allowedDialogs = [-1,602];
/* _badDialogsBAN: Forbidden Dialog Idds that will get you Banned by the AH */
_badDialogsBAN = [17,19,30,32,45,56,64,69,71,125,132,155,156,157,162,165,1320,1321,2727,2928,2929,3030,316000];
/* _badDialogsClose: Forbidden Dialog Idds that will get closed by the AH */
_badDialogsClose =
[
2,3,7,17,19,25,26,27,28,29,30,31,32,37,40,41,43,44,45,51,52,53,74,85,
106,126,127,129,131,132,146,147,148,150,151,152,153,154,159,163,164,262,
314,632,1320,2121
];
/* Use Vehicle Check */ _UVC = true; /* true or false */ /* recommended: true */
_ForbiddenVehicles =
[
'B_Heli_Light_01_armed_F','B_Heli_Attack_01_F','B_Plane_CAS_01_F','B_APC_Tracked_01_rcws_F','B_APC_Tracked_01_CRV_F','B_APC_Tracked_01_AA_F','B_MBT_01_cannon_F',
'B_MBT_01_arty_F','B_MBT_01_mlrs_F','B_Boat_Armed_01_minigun_F','B_UAV_02_F','B_UAV_02_CAS_F','B_MRAP_01_gmg_F','B_MRAP_01_hmg_F','B_G_Offroad_01_armed_F',
'B_APC_Wheeled_01_cannon_F','B_MBT_01_TUSK_F','O_Heli_Light_02_F','O_Heli_Attack_02_F','O_Heli_Attack_02_black_F','O_Plane_CAS_02_F','O_APC_Tracked_02_cannon_F',
'O_APC_Tracked_02_AA_F','O_MBT_02_cannon_F','O_MBT_02_arty_F','O_Boat_Armed_01_hmg_F','O_UAV_02_CAS_F','O_UAV_02_F','O_MRAP_02_hmg_F','O_MRAP_02_gmg_F','O_G_Offroad_01_armed_F',
'O_APC_Wheeled_02_rcws_F','O_UGV_01_rcws_F','B_UGV_01_rcws_F','I_UGV_01_rcws_F','I_APC_Wheeled_03_cannon_F','I_MRAP_03_gmg_F','I_MRAP_03_hmg_F','I_G_Offroad_01_armed_F',
'I_UAV_02_CAS_F','I_UAV_02_F','I_Boat_Armed_01_minigun_F','I_MBT_03_cannon_F','I_APC_tracked_03_cannon_F','I_Plane_Fighter_03_AA_F','I_Plane_Fighter_03_CAS_F','I_Heli_light_03_F',
'B_HMG_01_F','O_HMG_01_F','I_HMG_01_F','B_HMG_01_high_F','O_HMG_01_high_F','I_HMG_01_high_F','B_HMG_01_A_F','O_HMG_01_A_F','I_HMG_01_A_F','B_Mortar_01_F','O_Mortar_01_F',
'I_Mortar_01_F','I_G_Mortar_01_F','B_G_Mortar_01_F','O_G_Mortar_01_F','B_GMG_01_F','O_GMG_01_F','I_GMG_01_F','B_GMG_01_high_F','O_GMG_01_high_F','I_GMG_01_high_F','B_GMG_01_A_F',
'O_GMG_01_A_F','I_GMG_01_A_F','B_static_AA_F','O_static_AA_F','I_static_AA_F','B_static_AT_F','O_static_AT_F','I_static_AT_F'
];
/* Use Item Check */ _UFI = true; /* true or false */ /* recommended: true */
_ForbiddenItems =
[
'autocannon_Base_F','autocannon_30mm','autocannon_35mm','autocannon_40mm_CTWS','autocannon_30mm_CTWS','Bomb_04_Plane_CAS_01_F',
'Bomb_03_Plane_CAS_02_F','cannon_105mm','cannon_120mm','cannon_120mm_long','cannon_125mm','Cannon_30mm_Plane_CAS_02_F','gatling_20mm',
'gatling_25mm','gatling_30mm','Gatling_30mm_Plane_CAS_01_F','GBU12BombLauncher','GMG_20mm','GMG_40mm','GMG_UGV_40mm','HMG_127_MBT',
'HMG_127','HMG_127_APC','HMG_01','HMG_M2','HMG_NSVT','LMG_Minigun2','LMG_RCWS','LMG_M200','LMG_Minigun','LMG_Minigun_heli','LMG_coax',
'Missile_AGM_02_Plane_CAS_01_F','Missile_AA_04_Plane_CAS_01_F','Missile_AA_03_Plane_CAS_02_F','Missile_AGM_01_Plane_CAS_02_F','missiles_DAGR',
'missiles_DAR','missiles_ASRAAM','missiles_SCALPEL','missiles_titan','missiles_titan_static','missiles_Zephyr','Mk82BombLauncher','mortar_82mm',
'mortar_155mm_AMOS','rockets_Skyfire','rockets_230mm_GAT','Rocket_04_HE_Plane_CAS_01_F','Rocket_04_AP_Plane_CAS_01_F','Rocket_03_HE_Plane_CAS_02_F',
'Rocket_03_AP_Plane_CAS_02_F','Twin_Cannon_20mm'
];
_ForbiddenAmmo =
[
'200Rnd_65x39_Belt','200Rnd_65x39_Belt_Tracer_Red','200Rnd_65x39_Belt_Tracer_Green','200Rnd_65x39_Belt_Tracer_Yellow','2000Rnd_65x39_Belt','2000Rnd_65x39_Belt_Green',
'2000Rnd_65x39_Belt_Yellow','1000Rnd_65x39_Belt','1000Rnd_65x39_Belt_Green','1000Rnd_65x39_Belt_Yellow','2000Rnd_65x39_Belt_Tracer_Red','2000Rnd_65x39_Belt_Tracer_Green',
'2000Rnd_65x39_Belt_Tracer_Yellow','1000Rnd_65x39_Belt_Tracer_Red','1000Rnd_65x39_Belt_Tracer_Green','1000Rnd_65x39_Belt_Tracer_Yellow','500Rnd_127x99_mag','500Rnd_127x99_mag_Tracer_Red',
'500Rnd_127x99_mag_Tracer_Green','500Rnd_127x99_mag_Tracer_Yellow','200Rnd_127x99_mag','200Rnd_127x99_mag_Tracer_Green','200Rnd_127x99_mag_Tracer_Yellow',
'450Rnd_127x108_Ball','150Rnd_127x108_Ball','50Rnd_127x108_Ball','8Rnd_82mm_Mo_shells','8Rnd_82mm_Mo_guided','8Rnd_82mm_Mo_LG','24Rnd_PG_missiles','12Rnd_PG_missiles','200Rnd_20mm_G_belt',
'40Rnd_20mm_g_belt','96Rnd_40mm_G_belt','64Rnd_40mm_G_belt','32Rnd_40mm_G_belt','60Rnd_40mm_GPR_shells','60Rnd_40mm_GPR_Tracer_Red_shells','60Rnd_40mm_GPR_Tracer_Green_shells',
'60Rnd_40mm_GPR_Tracer_Yellow_shells','40Rnd_40mm_APFSDS_shells','40Rnd_40mm_APFSDS_Tracer_Red_shells','40Rnd_40mm_APFSDS_Tracer_Green_shells','40Rnd_40mm_APFSDS_Tracer_Yellow_shells',
'140Rnd_30mm_MP_shells','140Rnd_30mm_MP_shells_Tracer_Red','140Rnd_30mm_MP_shells_Tracer_Green','140Rnd_30mm_MP_shells_Tracer_Yellow','60Rnd_30mm_APFSDS_shells',
'60Rnd_30mm_APFSDS_shells_Tracer_Red','60Rnd_30mm_APFSDS_shells_Tracer_Green','60Rnd_30mm_APFSDS_shells_Tracer_Yellow','2000Rnd_20mm_shells','1000Rnd_20mm_shells','300Rnd_20mm_shells',
'250Rnd_30mm_HE_shells','250Rnd_30mm_APDS_shells','2Rnd_AAA_missiles','2Rnd_AAA_missiles_MI02','4Rnd_AAA_missiles','4Rnd_AAA_missiles_MI02','2Rnd_LG_scalpel','8Rnd_LG_scalpel',
'6Rnd_LG_scalpel','2Rnd_GAT_missiles','5Rnd_GAT_missiles','4Rnd_GAA_missiles','4Rnd_Titan_long_missiles','14Rnd_80mm_rockets','38Rnd_80mm_rockets','32Rnd_120mm_APFSDS_shells',
'32Rnd_120mm_APFSDS_shells_Tracer_Red','32Rnd_120mm_APFSDS_shells_Tracer_Green','32Rnd_120mm_APFSDS_shells_Tracer_Yellow','30Rnd_120mm_APFSDS_shells','30Rnd_120mm_APFSDS_shells_Tracer_Red',
'30Rnd_120mm_APFSDS_shells_Tracer_Green','30Rnd_120mm_APFSDS_shells_Tracer_Yellow','30Rnd_120mm_HE_shells','30Rnd_120mm_HE_shells_Tracer_Red','30Rnd_120mm_HE_shells_Tracer_Green',
'30Rnd_120mm_HE_shells_Tracer_Yellow','16Rnd_120mm_HE_shells','16Rnd_120mm_HE_shells_Tracer_Red','16Rnd_120mm_HE_shells_Tracer_Green','16Rnd_120mm_HE_shells_Tracer_Yellow',
'1000Rnd_25mm_shells','300Rnd_25mm_shells','680Rnd_35mm_AA_shells','680Rnd_35mm_AA_shells_Tracer_Red','680Rnd_35mm_AA_shells_Tracer_Green','680Rnd_35mm_AA_shells_Tracer_Yellow',
'32Rnd_155mm_Mo_shells','2Rnd_155mm_Mo_guided','2Rnd_155mm_Mo_LG','6Rnd_155mm_Mo_mine','2Rnd_155mm_Mo_Cluster','6Rnd_155mm_Mo_AT_mine','1Rnd_GAT_missiles','1Rnd_GAA_missiles',
'2Rnd_GBU12_LGB','2Rnd_GBU12_LGB_MI10','2Rnd_Mk82','2Rnd_Mk82_MI08','12Rnd_230mm_rockets','140Rnd_30mm_MP_shells','140Rnd_30mm_MP_shells_Tracer_Red','140Rnd_30mm_MP_shells_Tracer_Green',
'140Rnd_30mm_MP_shells_Tracer_Yellow','60Rnd_30mm_APFSDS_shells','60Rnd_30mm_APFSDS_shells_Tracer_Red','60Rnd_30mm_APFSDS_shells_Tracer_Green','60Rnd_30mm_APFSDS_shells_Tracer_Yellow',
'28Rnd_120mm_APFSDS_shells','28Rnd_120mm_APFSDS_shells_Tracer_Red','28Rnd_120mm_APFSDS_shells_Tracer_Green','28Rnd_120mm_APFSDS_shells_Tracer_Yellow','14Rnd_120mm_HE_shells',
'14Rnd_120mm_HE_shells_Tracer_Red','14Rnd_120mm_HE_shells_Tracer_Green','14Rnd_120mm_HE_shells_Tracer_Yellow','24Rnd_125mm_APFSDS','24Rnd_125mm_APFSDS_T_Red','24Rnd_125mm_APFSDS_T_Green',
'24Rnd_125mm_APFSDS_T_Yellow','12Rnd_125mm_HE','12Rnd_125mm_HE_T_Red','12Rnd_125mm_HE_T_Green','12Rnd_125mm_HE_T_Yellow','12Rnd_125mm_HEAT','12Rnd_125mm_HEAT_T_Red','12Rnd_125mm_HEAT_T_Green',
'12Rnd_125mm_HEAT_T_Yellow','2000Rnd_20mm_shells','1000Rnd_20mm_shells','300Rnd_20mm_shells','1000Rnd_Gatling_30mm_Plane_CAS_01_F','2Rnd_Missile_AA_04_F','6Rnd_Missile_AGM_02_F',
'7Rnd_Rocket_04_HE_F','7Rnd_Rocket_04_AP_F','2Rnd_Bomb_03_F','4Rnd_Bomb_04_F','4Rnd_Missile_AGM_01_F','20Rnd_Rocket_03_HE_F','500Rnd_Cannon_30mm_Plane_CAS_02_F','20Rnd_Rocket_03_AP_F',
'2Rnd_Missile_AA_03_F','500Rnd_127x99_mag','500Rnd_127x99_mag_Tracer_Red','500Rnd_127x99_mag_Tracer_Green','500Rnd_127x99_mag_Tracer_Yellow','200Rnd_127x99_mag',
'200Rnd_127x99_mag_Tracer_Red','200Rnd_127x99_mag_Tracer_Green','200Rnd_127x99_mag_Tracer_Yellow','40Rnd_105mm_APFSDS','40Rnd_105mm_APFSDS_T_Red','40Rnd_105mm_APFSDS_T_Green',
'40Rnd_105mm_APFSDS_T_Yellow','20Rnd_105mm_HEAT_MP','20Rnd_105mm_HEAT_MP_T_Red','20Rnd_105mm_HEAT_MP_T_Green','20Rnd_105mm_HEAT_MP_T_Yellow'
];
_admins = _adminLevel1_UIDs + _adminLevel2_UIDs + _adminLevel3_UIDs;
diag_log format['Bob.de %1 - run.sqf - including AntiHack',time];
#include "A3AH.sqf"
diag_log format['Bob.de %1 - run.sqf - AntiHack included!',time];
diag_log format['Bob.de %1 - run.sqf - including AdminTools',time];
#include "A3AT.sqf"
diag_log format['Bob.de %1 - run.sqf - AdminTools included!',time];
/* ********************************************************************************* */
/* *********************************www.Bob.de********************************* */
/* *******************Developed by Bob (Bob23@gmail.com)****************** */
/* ******************Copyright © 2014 Bob all rights reserved****************** */

View File

@ -1,7 +1,26 @@
//Admin list
ADMIN_LIST = ["76561198087015545","0","0"];
SUPERADMIN_LIST = [
"76561198087015545",
"0"
];
ADMIN_LIST = [
"0",
"0"
];
MOD_LIST = [
"0",
"0"
];
MASTERADMIN_LIST = SUPERADMIN_LIST + ADMIN_LIST + MOD_LIST;
BANNED_LIST = [
"0","76561198059930120","76561198134916119","76561198130615382","76561198000135158","76561198098132364","76561198127436055",
"76561198120497784","76561198151285096","76561198037143375","76561198053362106","76561197960693668","76561198150211409","76561198118994984",
"76561198150211409","76561198118066332","76561198148495214","76561198124727926","76561198087505309","76561198106834234","76561198056113988",
"76561198153161518","76561198077972256","76561198144416171","76561198151661947","76561198075411542","76561198106140797","76561198118378695",
"76561198062509950","76561198080657666","76561198156021205","76561198126816660","76561197979392398","76561197969005505","76561197978751247",
"76561197971107759","76561197967087500","76561197995117205","76561197964338716","76561198128229370","76561198141766032","76561198131838128",
"76561198037171839","76561198137119508","76561198077957452","76561198055161991","76561198089299178","76561198129631838"
];
//Status Bar
[] execVM "custom\fn_statusBar.sqf";
@ -9,8 +28,7 @@ ADMIN_LIST = ["76561198087015545","0","0"];
[] execVM "custom\welcome.sqf";
//Admin Menu
execVM "adminmenu\activate.sqf";
execVM "adminmenu\loop.sqf";
[] execVM "adminmenu\run.sqf";
//Loadouts
@ -18,19 +36,19 @@ execVM "adminmenu\loop.sqf";
//Custom LOOT
if (isServer) then {
fn_getBuildingstospawnLoot = compile preProcessFileLineNumbers "custom\LSpawner\fn_LSgetBuildingstospawnLoot.sqf";
LSdeleter = compile preProcessFileLineNumbers "custom\LSpawner\LSdeleter.sqf";
execVM "custom\LSpawner\Lootspawner.sqf";
fn_getBuildingstospawnLoot = compile preProcessFileLineNumbers "LSpawner\fn_LSgetBuildingstospawnLoot.sqf";
LSdeleter = compile preProcessFileLineNumbers "LSpawner\LSdeleter.sqf";
execVM "LSpawner\Lootspawner.sqf";
};
//BUILD BIKE
if (("ItemScraps" in magazines player)&&("ToolKit" in magazines player)) then{
player addaction [("<t color=""#0074E8"">" + ("Build Bike") +"</t>"),"custom\Bike.sqf","",5,false,true,"",""];
act = player addaction [("<t color=""#0074E8"">" + ("Build Bike") +"</t>"),"custom\Bike.sqf","",5,false,true,"",""];
};
//BUILD CHOPPER
if (("ItemScraps" in magazines player)&&("jerrycan_epoch" in magazines player)&&("CircuitParts" in magazines player)&&("VehicleRepair" in magazines player)) then {
player addaction [("<t color=""#0074E8"">" + ("Build Chopper") +"</t>"),"custom\chopper.sqf","",5,false,true,"",""];
act = player addaction [("<t color=""#0074E8"">" + ("Build Chopper") +"</t>"),"custom\chopper.sqf","",5,false,true,"",""];
};
//PACK BIKE
_target = cursorTarget;