OldSchoolHack

Registrieren / Anmelden Deutsch

Warrock No Menu tutorial C++


icon Warrock No Menu tutorial C++ #1

Anmeldungsdatum: Nov 2009

Beiträge: 1

How to create a NoMenu hack in C++

Create a new project ->Name it -> Dll -> Empty Project -> Project -> add new iten -> add a .cpp and call it main.cpp

then add this code
But change the Adress List to the currently Addy
TEXT Code:
  1.  
  2. //BigHig\'s Public No Menu Hook//
  3.  
  4. #include <windows.h>
  5. #include <stdio.h>
  6.  
  7. ////////////Address list\\\\\\\\\\\\
  8.  
  9. #define Playerpointer 0x00CC4778
  10. #define Serverpointer 0x00BCE110
  11. #define Fast_Ammo 0x00B04250
  12. #define Fast_Health 0x00B04254
  13. #define Fast_Repair 0x00B04258
  14. #define Fast_Flag 0x00B0425C
  15. #define No_Spread 0x00B042B0
  16. #define Speed 0x009A7E04
  17. #define Stamina_OffSet 0x10
  18. #define NoRecoil_1_OffSet 0x0
  19. #define NoRecoil_2_OffSet 0x4
  20. #define NoRecoil_3_OffSet 0x8
  21. #define OFS_X 0x23C
  22. #define OFS_Y 0x244
  23. #define OFS_Z 0x240
  24. #define Slot5_OffSet 0xE0ABC
  25. #define NFD_Player_OffSet 0x308
  26. #define Premium_OffSet 0x374
  27.  
  28. DWORD *ingame= (DWORD*)Playerpointer;
  29. DWORD *outgame= (DWORD*)Serverpointer;
  30.  
  31. //////////// Hack Codes \\\\\\\\\\\\
  32.  
  33. void FastAll ()
  34. {
  35. DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
  36. if(dwPlayerPtr != 0)
  37. {
  38. *(float*)Fast_Repair = 10;
  39. *(float*)Fast_Health = 5;
  40. *(float*)Fast_Flag = 10;
  41. *(float*)Fast_Ammo = 5;
  42. }}
  43.  
  44. void speedon ()
  45. {
  46. if(GetAsyncKeyState(VK_NUMPAD1) &1)
  47. {
  48. *(float*)(Speed) = 300;
  49. }
  50. }
  51.  
  52. void speedoff ()
  53. {
  54. if(GetAsyncKeyState(VK_NUMPAD0) &1)
  55. {
  56. *(float*)(Speed) = 100;
  57. }
  58. }
  59.  
  60. void jump ()
  61. {
  62. if(GetAsyncKeyState(VK_CONTROL) &1)
  63. {
  64. DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
  65. if(dwPlayerPtr != 0)
  66. {
  67. *(float*)(dwPlayerPtr+OFS_Z) = 1000;
  68. }
  69. }
  70. }
  71.  
  72. void stamina () /////Unl.Stamina
  73. {
  74. DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
  75. if(dwPlayerPtr != 0)
  76. {
  77. *(float*)(dwPlayerPtr+Stamina_OffSet) = 100;
  78. }
  79. }
  80.  
  81. void norecoil () /////No Recoil
  82. {
  83. DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
  84. if(dwPlayerPtr != 0)
  85. {
  86. *(float*)(dwPlayerPtr+0x00) = 0;
  87. *(float*)(dwPlayerPtr+0x04) = 0;
  88. *(float*)(dwPlayerPtr+0x08) = 0;
  89. }
  90. }
  91.  
  92. void nfd () /////No Fall Damage
  93. {
  94. DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
  95. if(dwPlayerPtr != 0)
  96. {
  97. *(float*)(dwPlayerPtr+NFD_Player_OffSet) = -20000;
  98. }
  99. }
  100.  
  101. void premium () //Gold Premium
  102. {
  103. DWORD dwPlayerPtr = *(DWORD*)Serverpointer;
  104. if(dwPlayerPtr != 0)
  105. {
  106. *(long*)(dwPlayerPtr+Premium_OffSet) = 3, 10; /////3 = Gold Premium
  107. }
  108. }
  109.  
  110. void spread () /////No Spread
  111. {
  112. *(float*) No_Spread = 0;
  113. }
  114.  
  115. void Slots5 ()
  116. {
  117. DWORD dwPlayerPtr = *(DWORD*)Serverpointer;
  118. if(dwPlayerPtr != 0)
  119. {
  120. *(long*)(dwPlayerPtr+Slot5_OffSet) = 1;
  121. }
  122. }
  123.  
  124. /////////hackthread\\\\\\\\\\
  125.  
  126. void HackThread()
  127. {
  128. for(;; )
  129. {
  130. if(*ingame)
  131. {
  132. jump();
  133. nfd();
  134. premium();
  135. spread();
  136. norecoil();
  137. stamina();
  138. speedon();
  139. speedoff();
  140. FastAll();
  141. Slots5();
  142. }
  143. if(*outgame)
  144. {
  145. premium();
  146. Slots5();
  147. }
  148. }
  149. Sleep(200);
  150. }
  151.  
  152. BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpReserved)
  153. {
  154. if(dwReason == DLL_PROCESS_ATTACH)
  155. {
  156. CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread, 0, 0, 0); //create the hackthread
  157. }
  158. return TRUE;
  159. }
Than press F7 no Errors? Good Work you Coded a Hack

__________________

Warrock the best Gameeeee!I am coding free Hacks ! Ask me for a Hack
icon #2

Anmeldungsdatum: Nov 2009

Beiträge: 3

"Than press F7 no Errors? Good Work you Coded a Hack "

You mean
"Than press F7 no Errors? Good Work you Copy&Pasted a Hack "

Great Tut btw
icon #3

Anmeldungsdatum: Feb 2009

Beiträge: 4

Hey Guys
I coded vb6 hacks 2 years ago do c++ hacks recommend a bypass or somthing like in vb?

__________________

cheers
D3rarsch

People who had helped me to learn vb6 coding:
bobi1234
KN4CK3R
Gordon
4narchist
~unknow/name~

Unlucky i heard  that vb6 isn't anymore possible for UD warrock coding!
now 2 years later I'm back and I'll try to code UD WarRock hacks.
What programming language is now recommended?!
Starting from.......NOW!!!