Advertisement
Guest User

run.sqf

a guest
Apr 30th, 2015
299
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 32.97 KB | None | 0 0
  1. /*
  2. File: run.sqf
  3. Author: Chris(tian) "infiSTAR" Lorenzen
  4. Contact: infiSTAR23@gmail.com
  5.  
  6. Description:
  7. Arma AntiHack & AdminTools - infiSTAR.de
  8. -
  9. Make sure to have proper settings!
  10. */
  11. /* *******************Developer : infiSTAR (infiSTAR23@gmail.com)******************* */
  12. /* **************infiSTAR Copyright®© 2011 - 2015 All rights reserved.************** */
  13. /* *********************************www.infiSTAR.de********************************* */
  14. /* ********************************************************************************* */
  15. /* ********************************************************************************* */
  16. /* **********************************READ PLEASE************************************ */
  17. /* ********************************************************************************* */
  18. /*
  19. Default settings are for Arma3 Epoch v0.2.5 with lower security.
  20. Vehicle check, Item Check, Ammo Check - should all be true if you ask me.
  21. But they are false by default, so change them to true if you think like me.
  22.  
  23. Some checks are false even though they would work very well, if they were running (true).
  24. Simply because some people don't take the time to read the settings/look into this file
  25. and message me ten times with questions like "tanks explode when normal players join them".
  26. Yes. If the Vehicle Check "_UVC" is true it destroys vehicles that are used by "normal players",
  27. when they are in the "_ForbiddenVehicles" array (This array should be working fine for Epoch 0.2.5).
  28.  
  29. So to get this running you need either some experience or a bit time to figure things out.
  30. Oh and don't forget to read the readme.txt
  31. */
  32. /* ********************************************************************************* */
  33. /* **********************************ADMIN CONFIG*********************************** */
  34. /* ********************************************************************************* */
  35.  
  36.  
  37. /* "_MOD": Can be 'Epoch', 'AltisLife', 'KOTH', 'Other' */
  38. _MOD = 'Epoch';
  39. /* "_OPEN_ADMIN_MENU_KEY": Key to open the menu (google DIK_KeyCodes (0x3B is F1)) */
  40. _OPEN_ADMIN_MENU_KEY = 0x3B;
  41. /* What ESCAPE Menu shows */
  42. _ESCMNUTOP = 'AntiHack & AdminTools';
  43. _ESCMNUBOT = 'by infiSTAR.de';
  44. _BRIEFING_MSG = false; /* use mission briefing message: if "_BRIEFING_MSG = false;" then the message will be replaced by infiSTAR */
  45.  
  46.  
  47. /* shows RESTART IN X MINS */
  48. _USE_RESTART_TIMER = false; /* true or false */
  49. _RESTART_TIME_IN_M = 180; /* restart time in minutes */
  50. _SHOW_TIMER_IN_MIN = [1,2,3,5,10]; /* minutes before restart, when message is shown */
  51.  
  52.  
  53. /*
  54. "_LogAdminActions": Sends actions done by each admin to the server to log it to the .txt file and .rpt file + sends it back to all other admins.
  55. */
  56. _LogAdminActions = true; /* true or false */
  57. _enableIngameLogs = true; /* true or false */
  58.  
  59.  
  60. /*
  61. "_startAsNormal": if you add admin UIDs in here as well, they will start as almost "normal" player instead of with admin menu and such.
  62. */
  63. _startAsNormal =
  64. [
  65. '0','0','0'
  66. ];
  67. /*
  68. if one of the admins with the UIDs in "_startAsNormal" uses the !admin command to login as admin, it will be announced to ANYONE on the server if "_announce_adminstate_changed" is true.
  69. */
  70. _announce_adminstate_changed = false; /* true or false */
  71.  
  72.  
  73. /* "_passwordAdmin": Taken from the servers config.cfg, needed for servercommands */
  74. _passwordAdmin = 'EnterAdminPasswordFromYourConfigHere';
  75. _adminLevel1_UIDs =
  76. [
  77. '0','0','0'
  78. ];
  79. _adminLevel1 =
  80. [
  81. 'Teleport On Map Click','Teleport - Target To Me','Teleport - Me To Target','Teleport In Facing Direction (10m steps)',
  82. 'spectating','adminconsole','Delete Vehicle','FlyUp','EjectTarget','ToggleVehLock','ShowGear',
  83. 'HealSelf','HealRepairNear','AddAmmoSelf','AdminStart','AdminLog',
  84. '==== Weapons ====','==== Magazines ====','==== Bags ====','==== Vehicles ====','==== Objects ====','==== Loadouts ====','==== AltisLife Money ====',
  85. 'Remove Gear','Revive','Heal','Repair','Move In My Vehicle','Move In Target Vehicle',
  86. 'Spawn UAV','Spawn Cloak','Spawn Sapper','Spawn SapperB',
  87. 'Eject','Eject Crew','Kill','Explode','Zeus','Force Disconnect',
  88. 'Kick (Silent)','Kick (Announce)','Ban (Silent)','Ban (Announce)',
  89. 'infiSTAR Player ESP','infiSTAR Dead ESP','infiSTAR AI ESP','Epoch Player ESP','Epoch Vehicle ESP',
  90. 'infiSTAR MapIcons','PlotPole Marker','Vehicle Marker','Construction Marker','LockBox Marker','DeadPlayer Marker',
  91. 'God Mode','Vehicle God Mode','Lower Terrain','Vehboost','UnlimAmmo','noRecoil','FastFire','Stealth / Invisible',
  92. 'Disable Announces','Show FPS','Give All Liscenses','Call EMP','Mass Message','DayTime','NightTime','change crypto',
  93. 'Spawn Epoch-Box','Spawn Support-Box1','Spawn Support-Box2','Spawn Support-Box3',
  94. 'Spawn Ammo','showinfo','Login as Arma Admin','FreeRoam Cam (RightClick to exit)'
  95. ];
  96. _adminLevel2_UIDs =
  97. [
  98. '0','0','0'
  99. ];
  100. _adminLevel2 =
  101. [
  102. 'Teleport On Map Click','Teleport - Target To Me','Teleport - Me To Target','Teleport In Facing Direction (10m steps)',
  103. 'spectating','adminconsole','Delete Vehicle','FlyUp','EjectTarget','ToggleVehLock','ShowGear',
  104. 'HealSelf','HealRepairNear','AddAmmoSelf','AdminStart','AdminLog',
  105. '==== Weapons ====','==== Magazines ====','==== Bags ====','==== Vehicles ====','==== Objects ====','==== Loadouts ====','==== AltisLife Money ====',
  106. 'Remove Gear','Revive','Heal','Repair','Move In My Vehicle','Move In Target Vehicle',
  107. 'Spawn UAV','Spawn Cloak','Spawn Sapper','Spawn SapperB',
  108. 'Eject','Eject Crew','Kill','Explode','Zeus','Force Disconnect',
  109. 'Kick (Silent)','Kick (Announce)','Ban (Silent)','Ban (Announce)',
  110. 'infiSTAR Player ESP','infiSTAR Dead ESP','infiSTAR AI ESP','Epoch Player ESP','Epoch Vehicle ESP',
  111. 'infiSTAR MapIcons','PlotPole Marker','Vehicle Marker','Construction Marker','LockBox Marker','DeadPlayer Marker',
  112. 'God Mode','Vehicle God Mode','Lower Terrain','Vehboost','UnlimAmmo','noRecoil','FastFire','Stealth / Invisible',
  113. 'Disable Announces','Show FPS','Give All Liscenses','Call EMP','Mass Message','DayTime','NightTime','change crypto',
  114. 'Spawn Epoch-Box','Spawn Support-Box1','Spawn Support-Box2','Spawn Support-Box3',
  115. 'Spawn Ammo','showinfo','Login as Arma Admin','FreeRoam Cam (RightClick to exit)'
  116. ];
  117. _adminLevel3_UIDs =
  118. [
  119. '76561198077971485'
  120. ];
  121. _adminLevel3 =
  122. [
  123. 'Teleport On Map Click','Teleport - Target To Me','Teleport - Me To Target','Teleport In Facing Direction (10m steps)',
  124. 'spectating','adminconsole','Delete Vehicle','FlyUp','EjectTarget','ToggleVehLock','ShowGear',
  125. 'HealSelf','HealRepairNear','AddAmmoSelf','AdminStart','AdminLog',
  126. '==== Weapons ====','==== Magazines ====','==== Bags ====','==== Vehicles ====','==== Objects ====','==== Loadouts ====','==== AltisLife Money ====',
  127. 'Remove Gear','Revive','Heal','Repair','Move In My Vehicle','Move In Target Vehicle',
  128. 'Spawn UAV','Spawn Cloak','Spawn Sapper','Spawn SapperB',
  129. 'Eject','Eject Crew','Kill','Explode','Zeus','Force Disconnect',
  130. 'Kick (Silent)','Kick (Announce)','Ban (Silent)','Ban (Announce)',
  131. 'infiSTAR Player ESP','infiSTAR Dead ESP','infiSTAR AI ESP','Epoch Player ESP','Epoch Vehicle ESP',
  132. 'infiSTAR MapIcons','PlotPole Marker','Vehicle Marker','Construction Marker','LockBox Marker','DeadPlayer Marker',
  133. 'God Mode','Vehicle God Mode','Lower Terrain','Vehboost','UnlimAmmo','noRecoil','FastFire','Stealth / Invisible',
  134. 'Disable Announces','Show FPS','Give All Liscenses','Call EMP','Mass Message','DayTime','NightTime','change crypto',
  135. 'Spawn Epoch-Box','Spawn Support-Box1','Spawn Support-Box2','Spawn Support-Box3',
  136. 'Spawn Ammo','showinfo','Login as Arma Admin','FreeRoam Cam (RightClick to exit)'
  137. ];
  138. /* ********************************************************************************* */
  139. /* many checks should be set to true instead of false. */
  140. /* they are just false to make it more easy to run with AltisLife */
  141. /* ********************************************************************************* */
  142. /* Use Loaded Check(s) */ _AHL = false; /* true or false */ /* "AH NOT LOADED ON PLAYER" - Recommended strongly to use but might kick gameboy players. */
  143. /* _timedif for _AHL */ _TDI = 65; /* 45 - 300 */ /* only used if "_AHL = true;" -> takes longer to detect if the AH is loaded on a player or not. */
  144.  
  145. /* Local Vehicle Check */ _LVC = true; /* true or false */ /* 10.03.2015 - changed the Local Vehicle Chech (has always been on true by default so far) */
  146. /* check Addons/Patches */ _CPC = false; /* true or false */ /* gets all running addons from their config entries on the server and checks if each client has the same. CBA/Soundmods might need this disabled. */
  147. /* unitRecoil checks */ _URC = true; /* true or false */ /* checks unitRecoilCoefficient and resets default unitRecoilCoefficient */
  148. /* Use BadFile check */ _UBF = false; /* true or false */ /* Scriptscan pops up with message: "Scan completed, badcontent.sqf not found" */
  149. /* Use BadVar check */ _UBV = false; /* true or false */
  150. /* Use Second Var check */ _UV2 = true; /* true or false */ /* *experimental* - checks vars */
  151. /* _UV2 content scan */ _V2C = false; /* true or false */ /* *experimental* - checks the content of vars */
  152. /* Use Controls Check */ _CC2 = true; /* true or false */ /* *experimental* - checks controls */
  153. /* Use CheatEngine check*/ _UCE = true; /* true or false */
  154. /* Use on(Un)Load check */ _UOL = false; /* true or false */
  155. /* Use Memoryhack check */ _UMH = true; /* true or false */
  156. /* Notification check */ _UNC = true; /* true or false */ /* _UNC = false; on AltisLife! */
  157. /* Use MPInterrupt check*/ _UMP = false; /* true or false */
  158. /* Check GearMenu CTRLs */ _GCC = false; /* true or false */ /* Will announce BadControls count on D602 - if the gear menu has an increased or lower control count (Epoch = 87, AltisLife = 82) */
  159. /* Check CTRLs on D00 */ _C00 = false; /* true or false */ /* *experimental* - will announce BadControls count on IDD 0 or BadControl and a number */
  160. /* Check CTRLs on D12 */ _C12 = false; /* true or false */ /* *experimental* - will announce BadControls count on IDD 12 or BadControl and a number */
  161. /* Check CTRLs on D18 */ _C18 = false; /* true or false */ /* *experimental* - will announce BadControls count on IDD 18 or BadControl and a number */
  162. /* Check CTRLs on D24 */ _C24 = false; /* true or false */ /* *experimental* - will announce BadControls count on IDD 24 or BadControl and a number */
  163. /* Check CTRLs on D46 */ _C46 = false; /* true or false */ /* *experimental* - will announce BadControls count on IDD 46 or BadControl and a number */
  164. /* Check CTRLs on D70 */ _C70 = false; /* true or false */ /* *experimental* - will announce BadControls count on IDD 70 or BadControl and a number */
  165. /* Change MpFramework */ _MPF = true; /* true or false */ /* Esepcially important to protect AltisLife */
  166. /* Check Actions Plr */ _CAP = false; /* true or false */ /* *experimental* - only logs to Surveillancelog so far */
  167. /* Remove Actions Plr */ _OAP = false; /* true or false */ /* Remove ALL Actions on Player Object: (mousewheel actions) needs to be false for AltisLife for e.g. gathering */
  168. /* Remove Actions Objs */ _OAO = false; /* true or false */ /* Remove ALL Actions on Objects near Player: (mousewheel actions) needs to be false when using e.g. IgiLoad */
  169. /* Check Attached Objs */ _CAO = false; /* true or false */ /* needs to be false when using e.g. IgiLoad */
  170. /* Forbid VON Sidechat */ _VON = false; /* true or false */ /* talking on sidechat will put out a warning and punish the player */
  171. /* Use Anti Teleport */ _UAT = true; /* true or false */ /* _UAT = false; on AltisLife! */
  172. /* Chat-Vote Day/Night */ _VDN = false; /* true or false */
  173. /* Check Vision Mode */ _CVM = true; /* true or false */
  174. /* Force Terrain Grid ? */ _FTG = 45; /* 50, 25, 12.5 */ /* if set to 50 grass will be very low for better client FPS.. default is 25 ~45 is good performance and grass :) */
  175. /* check view distance */ _CVD = true; /* true or false */ /* if the viedistance is not 1600 - ban. */
  176. /* check cameraOn */ _CCO = true; /* true or false */ /* Needs to be false so cops on AltisLife can use UAV/drones */
  177. /* Use check_player.dll */ _KKC = false; /* true or false */ /* VAC BAN CHECK: get the dll here www.killzonekid.com/arma-scripting-tutorials-get_friends-check_player-logic/ and put it into the arma3 folder on the server (probably the root). implemented it cause several people asked me to.. credits to kkid! */
  178. /* Use Anti Glitch */ _UAG = true; /* true or false */ /* a try to stop glitching through walls on Epoch */
  179. /* Remove MapClick */ _OMC = true; /* true or false */ /* recommended: true Removes custom MapClick -> "onMapSingleClick '';" */
  180. /* Revert Keybinds */ _RCK = true; /* true or false */ /* recommended: true Removes custom Keybinds and sets back the default ones */
  181. /* Revert MouseWheel */ _RMW = true; /* true or false */ /* recommended: true Removes custom MouseWheelbins and sets back the default ones */
  182. /* revert onEachFrame */ _REF = true; /* true or false */ /* AltisLife uses this for PlayerTags - so it should be _REF = false; on AltisLife */
  183. /* Map Icon Check */ _MIC = true; /* true or false */ /* Needs to be false on some WasteLand versions */
  184. /* Remove All Mines */ _RAM = false; /* true or false */
  185. /* Remove All UAVs */ _RUS = false; /* true or false */
  186. /* onEachFrame function */ _rOEF = {}; /* this needs to be CODE */
  187.  
  188. /* revert allowDamage */ _RAD = false; /* true or false */ /* if you have safezones using "player allowDamage false;" or similar.. set _RAD = false; */
  189. /* HandleDamage check */ _HDC = false; /* true or false */ /* *experimental + Epoch only* - probably publicVariableServer spam but no more godmode hackers. */
  190. /* Revert HandleDamage */ _RHD = false; /* true or false */ /* Needs to be false for Paintball script */
  191. /* Use EH_Fired check */ _EHF = false; /* true or false */ /* Some mods revert the EventHandlers by default and can cause problems with this check. Tested on Epoch and AltisLife. */
  192. /* custom _EHF Function */ _customFiredEventhandler = {}; /* this needs to be CODE */
  193. /* Remove Hit Handler */ _REH = true; /* true or false */ /* Needs to be false for Paintball script */
  194. /* Revert InventoryOpen */ _RIO = true; /* true or false */ /* Sets the custom InventoryOpened Handler for AltisLife only - don't mind this option if you are on a different mod. */
  195. /* Revert Killed EH */ _RKH = true; /* true or false */
  196. /* "" Respawn Handler */ _RRH = true; /* true or false */ /* Needs to be false for some custom loadout scripts */
  197.  
  198. /* mod PlayerDisconnect */ _OPD = true; /* true or false */
  199. /* mod PlayerConnect */ _OPC = true; /* true or false */
  200. /* custom _OPC Function */ _customOnPlayerConnected = ''; /* this needs to be a STRING - Example: _customOnPlayerConnected = '[_uid] spawn YOUR_FUNCTION;'; */
  201.  
  202.  
  203.  
  204. /* *** ROPING OPTIONS *** */
  205. /*
  206. "_KFR" and "_RVR" can run together (both be true) but it is recommended to have both options to false and use "_RPR" with "true" state.
  207. That will allow players to Lift but they won't be able to drop cars full of people anywhere
  208. */
  209. /* "_KFR": Will not allow any Rope attached to Vehicle Player - Needs to be false for some "towing" scripts.. */
  210. _KFR = false; /* true or false */
  211.  
  212. /* "_RVR": Will delete any Rope attached to Vehicle Player and close ones - Needs to be false for some "towing" scripts.. */
  213. _RVR = false; /* true or false */
  214.  
  215. /* "_RPR": Will only delete Ropes if the roped object has a crew! */
  216. _RPR = false; /* true or false */
  217.  
  218.  
  219.  
  220. /* "_EpochIndestructible": Make Epoch Buildings indestructible on ServerStart! */
  221. _EpochIndestructible = true;
  222.  
  223.  
  224. /* CommandingMenu Check */ _CMC = true; /* true or false */
  225. /* _cMenu: if '_CMC = true;' then this array holds the ALLOWED Commanding Menus */
  226. _cMenu =
  227. [
  228. '',
  229. 'RscMainMenu','RscMoveHigh','#WATCH','#WATCH0','RscWatchDir','RscWatchMoveDir','#GETIN','#RscStatus','RscCallSupport','#ACTION',
  230. 'RscCombatMode','RscFormations','RscTeam','RscSelectTeam','RscReply','#User:BIS_Menu_GroupCommunication','#CUSTOM_RADIO',
  231. 'RscRadio','RscGroupRootMenu','RscMenuReply','RscMenuStatus','#User:BIS_fnc_addCommMenuItem_menu','RscMenuMove','RscMenuFormations'
  232. ];
  233.  
  234.  
  235. /* Check Global Markers */ _CGM = false; /* true or false */ /* you may need to disable this check for A.I. Missions - or whitelist the used Markers in the _aLocalM Array beneath */
  236. /* Check Local Markers */ _CLM = false; /* true or false */
  237. /* Use _aLocalM array */ _UMW = false; /* true or false */ /* use allowed marker array from below (for example AltisLife uses house_ and others in there) or A.I. Missions */
  238. /* _aLocalM: if '_CLM' && _UMW - this array of names will be allowed */
  239. _aLocalM =
  240. [
  241. 'sek_','_marker','marker_','house_','_dead_marker','_gpstracker','cop','Marker200',
  242. 'SEM_','Plane','Bandit','Strange'
  243. ];
  244.  
  245.  
  246.  
  247. /* Use allowed Dialogs ? */ _UDW = true; /* true or false */
  248. /* _allowedDialogs: Insert IDDs here to prevent them from being closed! Default ArmA3 and Altis-Life idds should be in already. */
  249. _allowedDialogs = [-1,602];
  250. /* 5001, -3: Zupas New Hud (Hud-Builder) - https://github.com/DevZupa/ZHB-A3 */
  251. _allowedDialogs pushBack 5001;
  252. _allowedDialogs pushBack -3;
  253. /* 37400: Custom Menu from AltisLife used on some Epoch Servers */
  254. _allowedDialogs pushBack 37400;
  255.  
  256.  
  257. /* _badDialogsKICK: Forbidden Dialog Idds that will get you Kicked by the AH */
  258. _badDialogsKICK = [-1337];
  259.  
  260.  
  261. /* _badDialogsClose: Forbidden Dialog Idds that will get closed by the AH */
  262. /*
  263. 131 Change Keybinds
  264. 148 Controller Menu
  265. */
  266. _badDialogsClose =
  267. [
  268. 2,3,7,17,19,25,26,27,28,29,30,31,32,37,40,41,43,44,45,51,52,53,74,85,
  269. 106,126,127,129,132,146,147,150,151,152,153,154,159,164,262,
  270. 314,632,1320,2121
  271. ];
  272.  
  273.  
  274.  
  275. _UVC = false; /* Use Vehicle Check(s) */
  276. _UVW = false; /* if "_UVW = true;" then it checks all vehicles on the map. If their type is not in "_VehicleWhiteList", they are flagged as hacked in and destroyed. */
  277. _VehicleWhiteList =
  278. [
  279. 'AllowThisVehicle1','AllowThisVehicle2'
  280. ];
  281. _ForbiddenVehicles =
  282. [
  283. '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',
  284. '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',
  285. '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',
  286. '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',
  287. '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',
  288. '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',
  289. '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',
  290. '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',
  291. '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'
  292. ];
  293.  
  294.  
  295. _UFI = false; /* Use "_ForbiddenItems"/Item Check(s) */
  296. _UIW = false; /* if "_UIW = true;" then it checks if the items the individual player has are in "_ItemWhiteList" */
  297. _ItemWhiteList =
  298. [
  299. 'AllowThisItem1','AllowThisItem2'
  300. ];
  301. _ForbiddenItems =
  302. [
  303. 'autocannon_Base_F','autocannon_30mm','autocannon_35mm','autocannon_40mm_CTWS','autocannon_30mm_CTWS','Bomb_04_Plane_CAS_01_F',
  304. 'Bomb_03_Plane_CAS_02_F','cannon_105mm','cannon_120mm','cannon_120mm_long','cannon_125mm','Cannon_30mm_Plane_CAS_02_F','gatling_20mm',
  305. 'gatling_25mm','gatling_30mm','Gatling_30mm_Plane_CAS_01_F','GBU12BombLauncher','GMG_20mm','GMG_40mm','GMG_UGV_40mm','HMG_127_MBT',
  306. 'HMG_127','HMG_127_APC','HMG_01','HMG_M2','HMG_NSVT','LMG_Minigun2','LMG_RCWS','LMG_M200','LMG_Minigun','LMG_Minigun_heli','LMG_coax',
  307. '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',
  308. 'missiles_DAR','missiles_ASRAAM','missiles_SCALPEL','missiles_titan','missiles_titan_static','missiles_Zephyr','Mk82BombLauncher','mortar_82mm',
  309. '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',
  310. 'Rocket_03_AP_Plane_CAS_02_F','Twin_Cannon_20mm'
  311. ];
  312. /*
  313. "_ForbiddenOnEpochOnly" Array has some items that Epoch devs removed and/or replaced with their own items.
  314. Hackers still have them in their loadouts. Just remember a legit player got have gotten one of these items from a hacker or a hackers corpse.
  315. So you might want to leave this empty.
  316. */
  317. _ForbiddenOnEpochOnly =
  318. [
  319. 'NVGoggles','optic_Nightstalker'
  320. ];
  321.  
  322.  
  323. _UFA = false; /* Use Ammo Check(s) */
  324. _UAW = false; /* if "_UAW = true;" then it checks if the ammo used by the individual player is in "_AmmoWhiteList" */
  325. _AmmoWhiteList =
  326. [
  327. 'AllowThisAmmo1','AllowThisAmmo2'
  328. ];
  329. _ForbiddenAmmo =
  330. [
  331. '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',
  332. '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',
  333. '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',
  334. '500Rnd_127x99_mag_Tracer_Green','500Rnd_127x99_mag_Tracer_Yellow','200Rnd_127x99_mag','200Rnd_127x99_mag_Tracer_Green','200Rnd_127x99_mag_Tracer_Yellow',
  335. '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',
  336. '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',
  337. '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',
  338. '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',
  339. '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',
  340. '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',
  341. '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',
  342. '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',
  343. '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',
  344. '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',
  345. '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',
  346. '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',
  347. '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',
  348. '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',
  349. '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',
  350. '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',
  351. '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',
  352. '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',
  353. '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',
  354. '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',
  355. '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',
  356. '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'
  357. ];
  358.  
  359.  
  360. /*
  361. custom Box content:
  362. just an item like it is in the example with 'ItemMap' will put the item once in the box.
  363. if an array is used like the ['ItemGPS',5] example, well I assume you could guess what it will do.
  364. */
  365. _SupportBox1Content =
  366. [
  367. 'ItemMap',['ItemGPS',5],'ItemWatch'
  368. ];
  369.  
  370. _SupportBox2Content =
  371. [
  372. ['MortarBucket',40],['CinderBlocks',80]
  373. ];
  374.  
  375. _SupportBox3Content =
  376. [
  377. ['FoodSnooter',15],['FoodWalkNSons',15],['FoodBioMeat',15],['ItemSodaOrangeSherbet',15],['ItemSodaPurple',15],['ItemSodaMocha',15],['ItemSodaBurst',15],['ItemSodaRbull',15],['honey_epoch',15],['emptyjar_epoch',15],['sardines_epoch',15],['meatballs_epoch',15],['scam_epoch',15],['sweetcorn_epoch',15],['WhiskeyNoodle',15],['ItemCoolerE',15]
  378. ];
  379.  
  380.  
  381.  
  382. /*
  383. "_badpeople": Most of these IDs belong to known hackers or those that have been caught and reported to me.
  384. This is not some kind of personal blacklist of myself (some people asked about that).
  385. The 4 Epoch Ids there should be deleted if you are "official host" or they will be upset about not being able
  386. to connect to your server. They are in there because of this vote: www.strawpoll.me/3138630/r
  387. */
  388. _badpeople =
  389. [
  390. '76561197993400942', /* Epoch Sequisha */
  391. '76561198052912993', /* Epoch Axle */
  392. '76561198042281363', /* Epoch Mr. CopyPaste aka Skarokid */
  393. '76561197960406763', /* Epoch [VB]AWOL */
  394. '0'
  395. ];
  396. /* ********************************************************************************* */
  397. /* ********************************************************************************* */
  398. /* ********************************************************************************* */
  399. /* ********************************************************************************* */
  400. /* ********************************************************************************* */
  401. /* ********************************************************************************* */
  402. /* ********************************************************************************* */
  403. /* ********************************************************************************* */
  404. /* ********************************************************************************* */
  405. /* ********************************************************************************* */
  406. /* ********************************************************************************* */
  407. /* ********************************************************************************* */
  408. /* ********************************************************************************* */
  409. /* ********************************************************************************* */
  410. /* ********************************************************************************* */
  411. /* ********************************************************************************* */
  412. /* ********************************************************************************* */
  413. /* ********************************************************************************* */
  414. /* ********************************************************************************* */
  415. /* ********************************************************************************* */
  416. /* ********************************************************************************* */
  417. /* ********************************************************************************* */
  418. /* ********************************************************************************* */
  419. /* ********************************************************************************* */
  420. /* ********************************************************************************* */
  421. /* ********************************************************************************* */
  422. /* ********************************************************************************* */
  423. /* ********************************************************************************* */
  424. /* ********************************************************************************* */
  425. /* ********************************************************************************* */
  426. /* ********************************************************************************* */
  427. /* ********************************************************************************* */
  428. /* ********************************************************************************* */
  429. /* ********************************************************************************* */
  430. /* ********************************************************************************* */
  431. /* ********************************************************************************* */
  432. /* ********************************************************************************* */
  433. /* ********************************************************************************* */
  434. /* ********************************************************************************* */
  435. /* ********************************************************************************* */
  436. /* ********************************************************************************* */
  437. /* ********************************************************************************* */
  438. /* ********************************************************************************* */
  439. /* ********************************************************************************* */
  440. /* ********************************************************************************* */
  441. /* ********************************************************************************* */
  442. /* ********************************************************************************* */
  443. /* ******************************DO NOT TOUCH BELOW********************************* */
  444. if(!isNil 'infiSTAR_IS_RUN_ON_THIS_SERVER') exitWith {
  445. diag_log format['<infiSTAR.de> %1 - is already started %1 seconds ago..',time - infiSTAR_IS_RUN_ON_THIS_SERVER];
  446. };
  447. infiSTAR_IS_RUN_ON_THIS_SERVER = time;
  448. if(_MOD != 'Epoch') then
  449. {
  450. _CVD = false;
  451. _HDC = false;
  452. };
  453. if(_MOD == 'AltisLife') then
  454. {
  455. _UMW = true;
  456. _UNC = false;
  457. _CAO = false;
  458. _CAP = false;
  459. _OAP = false;
  460. _OAO = false;
  461. _UAT = false;
  462. };
  463. EPOCH_server_isPAdmin=compileFinal 'true';
  464. diag_log format['<infiSTAR.de> %1 - run.sqf - finaled EPOCH_server_isPAdmin: %2',time,EPOCH_server_isPAdmin];
  465. /* ********************************************************************************* */
  466. /* #617 */
  467. /* ********************************************************************************* */
  468. comment 'Antihack & AdminTools - Christian Lorenzen - www.infiSTAR.de - License: (CC)';
  469. diag_log format['<infiSTAR.de> %1 - run.sqf - including AntiHack',time];
  470. #include "A3AH.sqf"
  471. diag_log format['<infiSTAR.de> %1 - run.sqf - AntiHack included!',time];
  472.  
  473. diag_log format['<infiSTAR.de> %1 - run.sqf - including AdminTools',time];
  474. #include "A3AT.sqf"
  475. diag_log format['<infiSTAR.de> %1 - run.sqf - AdminTools included!',time];
  476. /* ********************************************************************************* */
  477. /* *********************************www.infiSTAR.de********************************* */
  478. /* *******************Developed by infiSTAR (infiSTAR23@gmail.com)****************** */
  479. /* **************infiSTAR Copyright®© 2011 - 2015 All rights reserved.************** */
  480. /* ****DayZAntiHack.com***DayZAntiHack.de***ArmaAntiHack.com***Arma3AntiHack.com**** */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement