SHARE
TWEET

Untitled

a guest Sep 15th, 2019 94 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /* ********************************************************************************* */
  2. /*            many checks should be set to true instead of false.                    */
  3. /*     These are just diabled because the average user doesn't read this file..      */
  4. /* ********************************************************************************* */
  5. /*  Items Added Check    */ _IAC = false;   /* true or false */ /* checks if Items are being added unrightful! */
  6. /*  Local Vehicle Check  */ _LVC = true;    /* true or false */
  7. /*  unitRecoil checks    */ _URC = false;   /* true or false */ /* checks unitRecoilCoefficient and resets default unitRecoilCoefficient */
  8. /*  Notification check   */ _UNC = false;   /* true or false */ /* _UNC = false; on AltisLife! - showNotification check */
  9. /*  Use MPInterrupt check*/ _UMP = false;   /* true or false */
  10. /*  Check BTTNs on D49   */ _B49 = false;   /* true or false */ /* will announce: BadButton on 49 */
  11. /*  whitelist for _B49   */ _excludedButtons = [];  /* Will Kick for BadButton XYZ if a customnized button is not white-listed here. Example: _excludedButtons = [1010]; */
  12. /*  Block Hold Actions   */ _BHA = true;    /* true or false */ /* recommended:  true  Used for Hackmenus. */
  13. /*  Check Actions Plr    */ _CAP = false;   /* true or false */ /* "Actions: xxx/xxx possible scroll menu hack (or you added custom actions..)" */
  14. /*  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 */
  15. /*  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 */
  16. /*  Check Attached Objs  */ _CAO = false;   /* true or false */ /* needs to be  false  when using e.g. IgiLoad */
  17. /*  Use Anti Teleport    */ _UAT = false;   /* true or false */ /* might need to be set to false on other mods than Epoch! */
  18. /*  Chat-Vote Day/Night  */ _VDN = true;    /* true or false */
  19. /*  Check Vision Mode    */ _CVM = false;   /* true or false */
  20. /*  check view distance  */ _CVD = false;   /* true or false */ /* if the viewdistance is not 1600 - ban. */
  21. /*  check cameraOn       */ _CCO = false;   /* true or false */ /* needs to be false for UAV drones and such things.. */
  22. /*  Map Icon Check       */ _MIC = false;   /* true or false */ /* Needs to be  false  on some WasteLand versions */
  23. /*  Remove All Mines     */ _RAM = false;   /* true or false */
  24. /*  Remove All UAVs      */ _RUS = false;   /* true or false */
  25. /*  custom HandleDamage  */ _CHD = {};      /* this needs to be CODE */
  26. /*  Revert allowDamage   */ _RAD = false;   /* true or false */ /* if you have safezones using "player allowDamage false;" or similar.. set _RAD = false; */
  27. /*  Revert HandleDamage  */ _RHD = false;   /* true or false */ /* Needs to be  false  for Paintball script */
  28. /*  EH_Draw3D check      */ _C3D = false;   /* true or false */ /* announces: "EH_Draw3D x should be y" */
  29. /*  Revert KeyUp         */ _RUK = false;   /* true or false */ /* recommended:  true  Removes custom KeyUps and sets back the default ones (false with Task Force Radio ?) */
  30. /*  Revert KeyDown       */ _RDK = false;   /* true or false */ /* recommended:  true  Removes custom KeyDowns and sets back the default ones (false with Task Force Radio ?) */
  31. /*  Check Keybinds       */ _CKB = false;   /* true or false */ /* recommended:  true  _RKB needs to be true! Checks Keybinds, if it finds added ones it shows: "KeyBinds added   %1 should be %2" */
  32. /*  check MapSingleClick */ _OMC = false;   /* true or false */ /* announces: "MapSingleClick modified", if modification is found - NEEDS _MBC to be true! */
  33. /*  Remove Hit Handler   */ _REH = false;   /* true or false */ /* Needs to be  false  for Paintball script */
  34. /*  Revert InventoryOpen */ _RIO = false;   /* true or false */ /* AltisLife only: Sets the custom InventoryOpened Handler */
  35. /*  Revert Killed EH     */ _RKH = false;   /* true or false */
  36. /*  check for RscDisplayArsenal */ _checkRscDisplayArsenal = true;  /* true or false */
  37.  
  38.  
  39. /*
  40.     this needs to be CODE
  41.     Example:
  42.     _customOnPlayerConnected = {
  43.         params['_id','_uid','_name','_jip','_owner'];
  44.         diag_log format['%1(%2) connected!',_name,_uid];
  45.     };
  46. */
  47. _customOnPlayerConnected = {}; 
  48.  
  49.  
  50.  
  51.  
  52. /* ------- MONEY CHECKS - BELOW ------- */
  53. _USE_MONEY_CHECKS = false;          // Enable/disable these checks (off by default)
  54.  
  55. _LIFE_CASH_VAR = "life_cash";
  56. _LIFE_CASH_ADD_LOG = 5000;          // Log if x was added within 0.1 seconds
  57. _LIFE_CASH_ADD_KICK = 5000;         // Kick if x was added within 0.1 seconds
  58.  
  59. _LIFE_BANK_VAR = "life_bank";
  60. _LIFE_BANK_ADD_LOG = 5000;          // Log if x was added within 0.1 seconds
  61. _LIFE_BANK_ADD_KICK = 5000;         // Kick if x was added within 0.1 seconds
  62. /* ------- MONEY CHECKS - ABOVE ------- */
  63.  
  64.  
  65.  
  66. /* ------- SOME EPOCH ONLY FUNCTIONS - BELOW ------- */
  67. /*  Use CombatLog checks */ _CLG = false;   /* true or false */ /* "PLAYERNAME CombatLogged GPS X/Y find the dead body!"
  68. /*  Use Anti Glitch      */ _UAG = true;    /* true or false */ /* a try to stop glitching through walls on Doors/Walls */
  69. /*  Use Anti Wall Look   */ _AWL = false;   /* true or false */ /* *experimental* a try to stop people from watching through Epoch Doors/Walls */
  70. /*  MPHit Log            */ _MPH = false;   /* true or false */ /* will create a A3_MPHIT.txt file where logs hits on players */
  71. /* ------- SOME EPOCH ONLY FUNCTIONS - ABOVE ------- */
  72.  
  73.  
  74.  
  75.  
  76. /* *** ROPING OPTIONS *** */
  77. /*
  78.     "_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.
  79.     That will allow players to Lift but they won't be able to drop cars full of people anywhere
  80. */
  81. /* "_KFR": Will not allow any Rope attached to Vehicle Player - Needs to be  false  for some "towing" scripts.. */
  82. _KFR = false;   /* true or false */
  83.  
  84. /* "_RVR": Will delete any Rope attached to Vehicle Player and close ones - Needs to be  false  for some "towing" scripts.. */
  85. _RVR = false;   /* true or false */
  86.  
  87. /* "_RPR": Will only delete Ropes if the roped object has a crew! */
  88. _RPR = false;   /* true or false */
  89.  
  90.  
  91. /*  CommandingMenu Check */ _CMC = true;    /* true or false */
  92. /*  Close ALL CMD-Menus  */ _KCM = true;    /* true or false */ /* Just closes All Commandingmenus (ignores the white-list below) */
  93. /* _cMenu: if '_CMC = true;' then this array holds the ALLOWED Commanding Menus */
  94. _cMenu =
  95. [
  96.     '',
  97.     'RscMainMenu','RscMoveHigh','#WATCH','#WATCH0','RscWatchDir','RscWatchMoveDir','#GETIN','#RscStatus','RscCallSupport','#ACTION',
  98.     'RscCombatMode','RscFormations','RscTeam','RscSelectTeam','RscReply','#User:BIS_Menu_GroupCommunication','#CUSTOM_RADIO',
  99.     'RscRadio','RscGroupRootMenu','RscMenuReply','RscMenuStatus','#User:BIS_fnc_addCommMenuItem_menu','RscMenuMove','RscMenuFormations'
  100. ];
  101.  
  102.  
  103. /*  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 */
  104. /*  Check Local Markers  */ _CLM = false;   /* true or false */ /* false if you do not want LocalMarker to be checked. */
  105. /*  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 */
  106. /* _aLocalM: if '_CLM' && _UMW - this array of names will be allowed */
  107. _aLocalM =
  108. [
  109.     'sek_','_marker','marker_','house_','_dead_marker','_gpstracker','cop','Marker200',
  110.     'SEM_','Plane','Bandit','Strange'
  111. ];
  112.  
  113.  
  114. /*
  115.     if somebody talks on one of the following channels, his channel will be switched to "direct" channel
  116.     0 = Global
  117.     1 = Side
  118.     2 = Command
  119.     3 = Group
  120.     4 = Vehicle
  121.     5 = Direct <-- this is where people get switched too if they talk in one of the blacklisted channels!
  122.     6-15 = Custom Radio (see radioChannelCreate)
  123. */
  124. _disAllowVon = [0,1,2];
  125.  
  126.  
  127.  
  128.  
  129. /* _badIDDsToKick will be checked before _badIDDsToClose, _badIDDsToClose will be checked before _allowedIDDs */
  130. /* _badIDDsToKick: Forbidden Idds that will get you Kicked by the AH */
  131. _badIDDsToKick = [-1337,133,167,1340,1341,1342,1343,1344,1345,1346,1347];
  132.  
  133. /* _badIDDsToClose: Forbidden Idds that will get closed by the AH */
  134. _badIDDsToClose =
  135. [
  136.     2,3,7,17,19,25,26,27,28,29,30,31,32,37,40,41,43,44,45,51,52,53,56,74,85,
  137.     106,126,127,132,146,147,150,151,152,153,154,155,159,162,164,262,
  138.     314,632,1320,2121,148,163,129,169,157,69,
  139.     312 // Zeus Menu
  140. ];
  141.  
  142. /* Use IDD White-List ? */ _UDW = false;    /* true or false */
  143. /* _allowedIDDs: Insert IDDs here to prevent them from being closed! */
  144. _allowedIDDs =
  145. [
  146.     // Displays whitelisted for Epoch
  147.     -3000,-1900,-1500,-1338,-1300,-1200,-13,-8,-7,-6,-5,
  148.     0,4,5,6,8,12,18,24,46,49,50,54,55,63,70,72,129,131,148,151,154,163,169,174,262,602,999,
  149.     66600,77700,316000,
  150.    
  151.     // Different Displays from different mods/additions
  152.     // (might not be needed at all but I've gotten so many emails like "INFISTAR CLOSES ATM MENU ON ALTIS LIFE.. people need to read this file..)
  153.     160,
  154.     9990,9992,9993,99440,
  155.     -1,-2,-3,-4,-5,-9,-10,-11,-12,-14,-15,-666,300,301,302,303,304,13377,
  156.     2620,2629,2621,2622,2624,2625,2630,2631,2632,601,2520,2523,2522,
  157.     2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2300,2400,2600,
  158.     2650,2700,2800,2900,3000,3100,3500,7300,38200,38300,38400,38500,39400
  159. ];
  160.  
  161.  
  162.  
  163.  
  164. /*  Use Memoryhack check */ _UMH = true;    /* true or false */
  165. /*  Use on(Un)Load check */ _UOL = true;    /* true or false */
  166. /* _onLoadUnload1: The AntiHack will test if the client has the same entry as the server. (only if _UOL = true;)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top