bigode94 (10-23-2015),blablabl2 (01-01-2015),COD3RIN (01-01-2015),Cookiedarkfinger (03-31-2015),nikazizi97 (09-10-2015),qwerty1244 (01-05-2015),Rullez (04-02-2015),vitinho231 (10-05-2015)
Hey MPGH, today I will be teaching you how to make the HP Hack using C++.
I'm using Visual Studio Desktop 2013. So I do not know about others... Should be okay.
-
Set Up
1. Create a New Project
2. Choose Console Application
3. Click DLL and Empty Project.
4. Click Finish.
-
I'll be using @Coder.Anonymous HP Address
If you like to view the post it will be here
https://www.mpgh.net/forum/showthread.php?t=875468
-
The address is 101E15B0.
-
1. Do the Include thing
2. Add the addressCode:#include <Windows.h>
3.Copy this.Code:#define HP 0x101E15B0
4. Add the HotkeyCode:BOOL Trigger; void Name(DWORD dwH, DWORD dwA){ *(DWORD*)dwH = dwA; }
Code:void Init_Hack() { while(1) { if(GetAsyncKeyState(VK_INSERT)&1) _Health(HP, 999); _Health(HP, 999); _Health(HP, 999); Trigger = !Trigger; } Sleep(10); } BOOL WINAPI DllMain(HMODULE hModule, DWORD dwReason, LPVOID lpReserved) { UNREFERENCED_PARAMETER(lpReserved); if (dwReason == DLL_PROCESS_ATTACH) { CreateThread(0, 0, (LPTHREAD_START_ROUTINE)Init_Hack, 0, 0, 0); } return (TRUE); }
Beginning of a journey is easy, but when your on the middle of the journey challenges appears.
bigode94 (10-23-2015),blablabl2 (01-01-2015),COD3RIN (01-01-2015),Cookiedarkfinger (03-31-2015),nikazizi97 (09-10-2015),qwerty1244 (01-05-2015),Rullez (04-02-2015),vitinho231 (10-05-2015)
HaruShots (01-02-2015),qwerty1244 (01-05-2015)
Thank You VeryMuch
- - - Updated - - -
marcelorougue (01-23-2015),Mr_Biel (02-26-2015)
nikazizi97 (11-23-2015)
Really good job !!
HaruShots (05-17-2015)
I think it doesn't work anymore due to the address. It will work if there is an address update.
Beginning of a journey is easy, but when your on the middle of the journey challenges appears.
@loko978 It will work if you update the address but it will not work if you use the old one.
Last edited by HaruShots; 05-17-2015 at 03:54 PM.
Writing to pointer shouldnt require a tutorial xD
Progress with my game - "Disbanded"
- Fixed FPS lag on spawning entities due to the ent_preload buffer!
- Edit the AI code to get some better pathfinding
- Fixed the view bug within the sniper scope view. The mirror entity is invisible now!
- Added a new silencer for ALL weapons. Also fixed the rotation bugs
- Added a ton of new weapons and the choice to choose a silencer for every weapon
- Created a simple AntiCheat, noobs will cry like hell xD
- The name will be Disbanded, the alpha starts on the 18th august 2014
Some new physics fun (Serversided, works on every client)
My new AI
https://www.youtube.com/watch?v=EMSB1GbBVl8
And for sure my 8 months old gameplay with 2 friends
https://www.youtube.com/watch?v=Na2kUdu4d_k
I copied everything... Build and it came out alot of errors in VS... _Health is undefined, lol... Do you need define it or what?
Last edited by royalace1991; 09-07-2015 at 03:02 AM.