Guest User

Untitled

a guest
Jun 20th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.02 KB | None | 0 0
  1. #include <windows.h>
  2.  
  3. #define ADR_ServerPointer 0x9F2250
  4. #define ADR_PlayerPointer 0xAF7C30
  5. #define ADR_Glasswalls 0x97D548
  6. #define ADR_SupernoSpread 0x7DF3C8
  7. #define ADR_UnliSP 0x7DC640
  8. #define ADR_NOFALLDAMAGE 0x102C8
  9. #define OFS_NORECOIL1 0xC438
  10. #define OFS_NORECOIL2 0xC43C
  11. #define OFS_NORECOIL3 0xC440
  12. #define ADR_OFS_PREMIUM1 0x57C
  13. #define ADR_OFS_PREMIUM2 0x580
  14. #define ADR_BoneShot 0x7E127C
  15.  
  16.  
  17. DWORD *ingame = (DWORD*)ADR_PlayerPointer;
  18. DWORD *outgame = (DWORD*)ADR_ServerPointer;
  19. FILE * a = fopen("WarRock.exe","y");
  20. fputs("x90/xEB/xA8",a);
  21. fclose(a)
  22. ;
  23.  
  24.  
  25.  
  26. void important()
  27. {
  28. *(float*)ADR_UnliSP = 9999;
  29. *(float*)ADR_NOFALLDAMAGE = -20000;
  30. }
  31. int NFALl = 1;
  32. void NFD_WAHA()
  33. {
  34. if(NFALl==1)
  35. {
  36. DWORD dwPlayerPtr = *(DWORD*)ADR_PlayerPointer;
  37. if(dwPlayerPtr != 0)
  38. {
  39. *(float*)(dwPlayerPtr+0x102C8) = -9999999;
  40. }
  41. }
  42. }
  43. void norecoil()
  44. {
  45. DWORD dwPlayerPtr = *(DWORD*)ADR_PlayerPointer;
  46. if(dwPlayerPtr != 0)
  47. {
  48. *(float*)(dwPlayerPtr + OFS_NORECOIL1) = 1;
  49. *(float*)(dwPlayerPtr + OFS_NORECOIL2) = 1;
  50. *(float*)(dwPlayerPtr + OFS_NORECOIL3) = 1;
  51. }
  52. }
  53.  
  54. void premium ()
  55. {
  56. DWORD dwServerPtr = *(DWORD*)ADR_ServerPointer;
  57. if(dwServerPtr != 0)
  58. {
  59. *(long*)(dwServerPtr+ADR_OFS_PREMIUM1) = 3, 10;
  60. *(float*)(dwServerPtr+ADR_OFS_PREMIUM2) = 1;
  61. }
  62. }
  63.  
  64. void boneshot()
  65. {
  66. if(GetAsyncKeyState(VK_INSERT) &1)
  67. {
  68. *(float*)(ADR_BoneShot) = 1235;
  69. }
  70. if(GetAsyncKeyState(VK_HOME) &1)
  71. {
  72. *(float*)(ADR_BoneShot) = 1.237e3;
  73. }
  74. }
  75.  
  76.  
  77.  
  78. void HackThread()
  79. {
  80. for(;; )
  81. {
  82. if(*ingame)
  83. {
  84. boneshot();
  85. important();
  86. norecoil();
  87. NFD_WAHA();
  88. }
  89. if(*outgame)
  90. {
  91. premium();
  92. }
  93. Sleep(200);
  94. }
  95. }
  96. extern "C"
  97. {
  98. BOOL WINAPI DllMain(HINSTANCE mod, DWORD DWORD_GRUND, LPVOID res)
  99. {
  100. switch(DWORD_GRUND)
  101. {
  102. case 1:
  103. MessageBoxA(NULL,"Made By Tagzkienet","Warning!",MB_OK);
  104. CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread , 0, 0, 0);
  105. break;
  106. }
  107.  
  108. return TRUE;
  109. }
  110. }
Add Comment
Please, Sign In to add comment