Advertisement
Guest User

Untitled

a guest
May 22nd, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.85 KB | None | 0 0
  1. void EYOT()
  2. {
  3. DWORD adrMin1 = 0;
  4. DWORD ROS = (DWORD)GetModuleHandleA("ros.exe");
  5.  
  6. if (opt.d3d.Chams == 1)
  7. {
  8. *(byte*)(ROS + Chamsxx) = 25;
  9. }
  10.  
  11. if (opt.d3d.Chams == 2)
  12. {
  13. *(byte*)(ROS + Chamsxx) = 50;
  14. }
  15.  
  16. if (opt.d3d.Chams == 3)
  17. {
  18. *(byte*)(ROS + Chamsxx) = 75;
  19. }
  20.  
  21. if (opt.d3d.Chams == 4)
  22. {
  23. *(byte*)(ROS + Chamsxx) = 100;
  24. }
  25.  
  26. if (opt.d3d.Chams == 5)
  27. {
  28. *(byte*)(ROS + Chamsxx) = 125;
  29. }
  30.  
  31. if (opt.d3d.Chams == 6)
  32. {
  33. *(byte*)(ROS + Chamsxx) = 150;
  34. }
  35.  
  36. if (opt.d3d.Chams == 7)
  37. {
  38. *(byte*)(ROS + Chamsxx) = 175;
  39. }
  40.  
  41. if (opt.d3d.Chams == 8)
  42. {
  43. *(byte*)(ROS + Chamsxx) = 200;
  44. }
  45.  
  46. if (opt.d3d.Chams == 9)
  47. {
  48. *(byte*)(ROS + Chamsxx) = 225;
  49. }
  50.  
  51. if (opt.d3d.Chams == 10)
  52. {
  53. *(byte*)(ROS + Chamsxx) = 255;
  54. }
  55.  
  56. if (opt.player.superjump > 0)
  57. {
  58. if (GetAsyncKeyState(VK_SPACE) & 1)
  59. {
  60.  
  61. *(float*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(ROS + physics) + 0x0) + 0x40) + 0x4) + 0x10) + 0x9c) = 105.0f;
  62. }
  63. }
  64.  
  65. if (opt.player.superman)
  66. {
  67. if (ROS > 0)
  68. {
  69. adrMin1 = ROS + (DWORD)supermanhero;
  70. Write1((void *)(adrMin1), (void*)(PBYTE)"\x00\x00\xA0\x41", 4);
  71. }
  72. }
  73. if (!opt.player.superman)
  74. {
  75. if (ROS > 0)
  76. {
  77. adrMin1 = ROS + (DWORD)supermanhero;
  78. Write1((void *)(adrMin1), (void*)(PBYTE)"\xCD\xCC\x4C\x3D", 4);
  79. }
  80. }
  81.  
  82. if (opt.player.nofall)
  83. {
  84. if (ROS > 0)
  85. {
  86. adrMin1 = ROS + (DWORD)nofalldamage;
  87. Write1((void *)(adrMin1), (void*)(PBYTE)"\xF6\xC2\x06", 3);
  88. }
  89. }
  90. if (!opt.player.nofall)
  91. {
  92. if (ROS > 0)
  93. {
  94. adrMin1 = ROS + (DWORD)nofalldamage;
  95. Write1((void *)(adrMin1), (void*)(PBYTE)"\xF6\xC2\x02", 3);
  96. }
  97. }
  98.  
  99. if (opt.player.prone)
  100. {
  101. if (ROS > 0)
  102. {
  103. adrMin1 = ROS + (DWORD)Prone;
  104. Write1((void *)(adrMin1), (void*)(PBYTE)"\x18\xFE\x8A\x87", 4);
  105. }
  106. }
  107. if (!opt.player.prone)
  108. {
  109. if (ROS > 0)
  110. {
  111. adrMin1 = ROS + (DWORD)Prone;
  112. Write1((void *)(adrMin1), (void*)(PBYTE)"\xF3\x0F\x11\x87", 4);
  113. }
  114. }
  115.  
  116. if (opt.player.textture)
  117. {
  118. if (ROS > 0)
  119. {
  120. adrMin1 = ROS + (DWORD)flatflatbelat;
  121. Write1((void *)(adrMin1), (void*)(PBYTE)"\x90\x90\x90\x90\x90\x90\x90\x8B\xCE", 9);
  122. }
  123. }
  124. if (!opt.player.textture)
  125. {
  126. if (ROS > 0)
  127. {
  128. adrMin1 = ROS + (DWORD)flatflatbelat;
  129. Write1((void *)(adrMin1), (void*)(PBYTE)"\x0F\x11\x85\x58\xFE\xFF\xFF\x8B\xCE", 9);
  130. }
  131. }
  132.  
  133. if (opt.player.noground == 1)
  134. {
  135. Write1((void *)(ROS + 0xC9B932), (int*)(PBYTE)"\x44\x5F", 2);
  136. }
  137. if (opt.player.noground == 0)
  138. {
  139. Write1((void *)(ROS + 0xC9B932), (int*)(PBYTE)"\xFF\x5F", 2);
  140. }
  141.  
  142. if (opt.player.paracute == 1)
  143. {
  144. if (GetAsyncKeyState(VK_F10) & 1)
  145. {
  146. *(float*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(ROS + physics) + 0x0) + 0x40) + 0x4) + 0x10) + 0x54) + 0x0) = 0.0f;
  147. *(float*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(ROS + physics) + 0x0) + 0x40) + 0x4) + 0x10) + 0x50) = 900.0f;
  148. }
  149. if (opt.player.paracute == 0)
  150. {
  151. *(float*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(ROS + physics) + 0x0) + 0x40) + 0x4) + 0x10) + 0x54) + 0x0) = 0.0f;
  152. *(float*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(ROS + physics) + 0x0) + 0x40) + 0x4) + 0x10) + 0x50) = 450.0f;
  153. }
  154. }
  155.  
  156. if (opt.player.climb == 1)
  157. {
  158. if (GetAsyncKeyState('H') & 1)
  159. {
  160. *(float*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(ROS + physics) + 0x0) + 0x40) + 0x4) + 0x10) + 0x6C) + 0x0) = 0.0f;
  161. *(float*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(ROS + physics) + 0x0) + 0x40) + 0x4) + 0x10) + 0x68) = 111.0f;
  162. }
  163. if (opt.player.climb == 0)
  164. {
  165. *(float*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(ROS + physics) + 0x0) + 0x40) + 0x4) + 0x10) + 0x6C) + 0x0) = 0.0f;
  166. *(float*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(ROS + physics) + 0x0) + 0x40) + 0x4) + 0x10) + 0x68) = 2.0f;
  167. }
  168. }
  169.  
  170. if (opt.player.NoSpread == 1)
  171. {
  172. PacthHook((void *)(ROS + Norecoil), (int*)(PBYTE)"\xF2\x0F\x5E\x0D", 4);
  173. }
  174. if (opt.player.NoSpread == 0)
  175. {
  176. PacthHook((void *)(ROS + Norecoil), (int*)(PBYTE)"\xF2\x0F\x5E\x05", 4);
  177. }
  178.  
  179. if (opt.player.grass)
  180. {
  181. *(PFLOAT)(ROS + NoGrass) = -243773.5938;
  182. }
  183.  
  184. if (opt.player.wlkwtw)
  185. {
  186. *(PFLOAT)(ROS + addyWalkInsdWtr) = 2.031882773E-43;
  187. }
  188.  
  189. if (opt.weapon.zoom == 1)
  190. {
  191. *(PFLOAT)(ROS + zoomhack) = 0.00545329228;
  192. }
  193. if (opt.weapon.zoom == 2)
  194. {
  195. *(PFLOAT)(ROS + zoomhack) = 0.004f;
  196. }
  197.  
  198. if (opt.player.wlkthru)
  199. {
  200. *(PFLOAT)(ROS + addyGhostMode) = -0.89999998f;
  201. }
  202.  
  203. if (opt.player.nofog)
  204. {
  205. *(PFLOAT)(ROS + fog) = -1.775704964E-30;
  206. }
  207.  
  208. if (opt.player.speed == 1)
  209. {
  210. *(PFLOAT)(ROS + addySpeed) = 90.0f;
  211. }
  212. if (opt.player.speed == 2)
  213. {
  214. *(PFLOAT)(ROS + addySpeed) = 100.0f;
  215. }
  216. if (opt.player.speed == 3)
  217. {
  218. *(PFLOAT)(ROS + addySpeed) = 110.0f;
  219. }
  220. if (opt.player.speed == 4)
  221. {
  222. *(PFLOAT)(ROS + addySpeed) = 120.0f;
  223. }
  224. if (opt.player.speed == 5)
  225. {
  226. *(PFLOAT)(ROS + addySpeed) = 130.0f;
  227. }
  228. if (opt.player.speed == 6)
  229. {
  230. *(PFLOAT)(ROS + addySpeed) = 140.0f;
  231. }
  232. if (opt.player.speed == 7)
  233. {
  234. *(PFLOAT)(ROS + addySpeed) = 150.0f;
  235. }
  236.  
  237. if (opt.player.spectator)
  238. {
  239. *(BYTE*)(ROS + Spectate) = 2;
  240. }
  241.  
  242. //default values
  243. //grass default
  244. //foliage default
  245.  
  246.  
  247. if (!opt.player.spectator)
  248. {
  249. *(BYTE*)(ROS + Spectate) = 1;
  250. }
  251.  
  252. if (!opt.player.grass)
  253. {
  254. *(PFLOAT)(ROS + NoGrass) = -3.407189846;
  255. }
  256.  
  257. // remove water default
  258. if (!opt.player.wlkwtw)
  259. {
  260. *(PFLOAT)(ROS + addyWalkInsdWtr) = 2.017869789E-43;
  261. }
  262.  
  263. // speed hack default
  264. if (!opt.player.speed)
  265. {
  266. *(PFLOAT)(ROS + addySpeed) = 60.0f;
  267. }
  268.  
  269. //no fog default
  270. if (!opt.player.nofog)
  271. {
  272. *(PFLOAT)(ROS + fog) = -2.709510748E-35;
  273. }
  274.  
  275. //zoom hack default
  276. if (!opt.weapon.zoom)
  277. {
  278. *(PFLOAT)(ROS + zoomhack) = 0.0174532924;
  279. }
  280.  
  281. //wtw default
  282. if (!opt.player.wlkthru)
  283. {
  284. *(PFLOAT)(ROS + addyGhostMode) = -0.500f;
  285. }
  286. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement