Guest User

Untitled

a guest
Mar 19th, 2019
63
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #pragma once
  2.  
  3. #define WIN32_LEAN_AND_MEAN
  4.  
  5. #include <windows.h>
  6. #include <TlHelp32.h>
  7. #include <ctime>
  8. #include <iostream>
  9. #include <fstream>
  10. #include <stdio.h>
  11. #include <tchar.h>
  12. #include <string>
  13. #include <sstream>
  14. #include <math.h>
  15. #include <random>
  16. #include <conio.h>
  17. #include <stdint.h>
  18. #include <thread>
  19. #include <stdlib.h>
  20. #include <process.h>
  21. #include <unordered_map>
  22.  
  23.  
  24. #include "vector.h"
  25.  
  26. #include "xor.h"
  27.  
  28. #define DEG2RAD( x ) ( ( float )( x ) * ( float )( ( float )( M_PI ) / 180.0f ) )
  29. #define RAD2DEG( x ) ( ( float )( x ) * ( float )( 180.0f / ( float )( M_PI ) ) )
  30. #define M_RADPI 57.295779513082f
  31. #define M_PI 3.14159265358979323846f
  32.  
  33. #pragma warning(disable:4996)
  34. #pragma warning(disable:4018)
  35. #pragma warning(disable:4244)
  36. #pragma warning(disable:4172)
  37.  
  38. using namespace std;
  39.  
  40. enum ItemDefinitionIndex
  41. {
  42. WEAPON_NONE,
  43. WEAPON_DEAGLE = 1,
  44. WEAPON_ELITE = 2,
  45. WEAPON_FIVESEVEN = 3,
  46. WEAPON_GLOCK = 4,
  47. WEAPON_AK47 = 7,
  48. WEAPON_AUG = 8,
  49. WEAPON_AWP = 9,
  50. WEAPON_FAMAS = 10,
  51. WEAPON_G3SG1 = 11,
  52. WEAPON_GALILAR = 13,
  53. WEAPON_M249 = 14,
  54. WEAPON_M4A1 = 16,
  55. WEAPON_MAC10 = 17,
  56. WEAPON_P90 = 19,
  57. WEAPON_UMP45 = 24,
  58. WEAPON_XM1014 = 25,
  59. WEAPON_BIZON = 26,
  60. WEAPON_MAG7 = 27,
  61. WEAPON_NEGEV = 28,
  62. WEAPON_SAWEDOFF = 29,
  63. WEAPON_TEC9 = 30,
  64. WEAPON_TASER = 31,
  65. WEAPON_HKP2000 = 32,
  66. WEAPON_MP7 = 33,
  67. WEAPON_MP9 = 34,
  68. WEAPON_NOVA = 35,
  69. WEAPON_P250 = 36,
  70. WEAPON_SCAR20 = 38,
  71. WEAPON_SG556 = 39,
  72. WEAPON_SSG08 = 40,
  73. WEAPON_KNIFEGG = 41,
  74. WEAPON_KNIFE = 42,
  75. WEAPON_FLASHBANG = 43,
  76. WEAPON_HEGRENADE = 44,
  77. WEAPON_SMOKEGRENADE = 45,
  78. WEAPON_MOLOTOV = 46,
  79. WEAPON_DECOY = 47,
  80. WEAPON_INCGRENADE = 48,
  81. WEAPON_C4 = 49,
  82. WEAPON_KNIFE_T = 59,
  83. WEAPON_M4A1_SILENCER = 60,
  84. WEAPON_USP_SILENCER = 61,
  85. WEAPON_CZ75A = 63,
  86. WEAPON_R8REVOLVER = 64,
  87. WEAPON_KNIFE_BAYONET = 500,
  88. WEAPON_KNIFE_FLIP = 505,
  89. WEAPON_KNIFE_GUT = 506,
  90. WEAPON_KNIFE_KARAMBIT = 507,
  91. WEAPON_KNIFE_M9_BAYONET = 508,
  92. WEAPON_KNIFE_TACTICAL = 509,
  93. WEAPON_KNIFE_FALCHION = 512,
  94. WEAPON_KNIFE_BUTTERFLY = 515,
  95. WEAPON_KNIFE_PUSH = 516
  96. };
  97.  
  98. extern DWORD LocPlayer;
  99. extern DWORD EntList;
  100. extern DWORD attackAddr;
  101. extern DWORD jumpAddr;
  102. extern DWORD m_dwGlowObject;
  103. extern DWORD m_dwClientState;
  104. extern DWORD m_dwViewAngles;
  105. extern DWORD m_iCrossHairID;
  106. extern DWORD bSendPackets;
  107. extern DWORD m_dwViewMatrix;
  108.  
  109. extern DWORD m_fFlags;
  110. extern DWORD m_bSpotted;
  111. extern DWORD m_hActiveWeapon;
  112. extern DWORD m_iTeamNum;
  113. extern DWORD m_iHealth;
  114. extern DWORD m_vecOrigin;
  115. extern DWORD m_vecVelocity;
  116. extern DWORD m_vecPunch;
  117. extern DWORD m_iClip1;
  118. extern DWORD m_dwBoneMatrix;
  119. extern DWORD m_lifeState;
  120. extern DWORD m_vecViewOffset;
  121. extern DWORD m_iShotsFired;
  122. extern DWORD m_bDormant;
  123. extern DWORD m_flFlashMaxAlpha;
  124. extern DWORD m_iGlowIndex;
  125. extern DWORD m_flNextPrimaryAttack;
  126. extern DWORD m_bIsScoped;
  127. extern DWORD m_iFOV;
  128. extern DWORD m_nModelIndex;
  129. extern DWORD m_iItemDefinitionIndex;
  130. extern DWORD m_iViewModelIndex;
  131. extern DWORD m_iWorldModelIndex;
  132. extern DWORD m_iWorldDroppedModelIndex;
  133. extern DWORD tempWeap;
  134.  
  135. extern float old[2];
  136.  
  137. extern DWORD ClientDLL;
  138. extern DWORD ClientDLL_Size;
  139. extern DWORD EngineDLL;
  140. extern DWORD EngineDLL_Size;
  141.  
  142. extern RECT rc;
RAW Paste Data