QuestionWorking code ?

Posts 113 of 13 · Page 1 of 1
Working code ?
[html]#include <windows.h>
#include <iostream>

using namespace std;

DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll");

DWORD WINAPI HOOK(LPVOID param) {
while(GetModuleHandleA("CShell.dll") == NULL ) {
Sleep(7000);
}

bool OneHit = false; //By Xaruto: True for AutoOn False for Numpad Keys

while(1) {

if(GetAsyncKeyState(VK_F10) &1){OneHit = !OneHit;}
if(OneHit){

DWORD dwWeapon = *(DWORD*)( dwCShell + 0xA2A7E8 );

if ( dwWeapon ){
for( int i=0 ; i < 512 ; i++)
{
DWORD Weapon = *(DWORD*)( dwWeapon + i * 4 );

if ( Weapon ) continue;

*(float*)( Weapon + 0x7F8 ) = 99999.0f;
}

}
}
}
}

BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
MessageBoxA(0, "This hack its for the MPGH dont LEECH this hack ANTI LEECH CODE v1", "Injected", 0);
CreateThread(NULL, NULL,HOOK, NULL, NULL, NULL);
}
return TRUE;
}[/html]
Didn't Check But ... Don't post to public
ahhhahhah

MessageBoxA(0, "This hack its for the MPGH dont LEECH this hack ANTI LEECH CODE v1", "Injected", 0);

no anti leech code haha


*(float*)( Weapon + 0x7F8 ) = 99999.0f;

delete .0f

and check addy's

value 9999 not 99999

base not patcht

swiftdude base (leeched)


and check base on errors like .0f
At the end of the loop you should put Sleep, else it will slow down the computer.

if ( Weapon ) continue;
^
I would do a else too xD
Quote Originally Posted by jpjb5138 View Post
ahhhahhah

MessageBoxA(0, "This hack its for the MPGH dont LEECH this hack ANTI LEECH CODE v1", "Injected", 0);

no anti leech code haha


*(float*)( Weapon + 0x7F8 ) = 99999.0f;

delete .0f

and check addy's

value 9999 not 99999

base not patcht

swiftdude base (leeched)


and check base on errors like .0f

Wow i see you cant code..
why delete .0f? lool
@jpjb5138
Quote Originally Posted by jpjb5138 View Post
ahhhahhah

MessageBoxA(0, "This hack its for the MPGH dont LEECH this hack ANTI LEECH CODE v1", "Injected", 0);

no anti leech code haha


*(float*)( Weapon + 0x7F8 ) = 99999.0f;

delete .0f

and check addy's

value 9999 not 99999

base not patcht

swiftdude base (leeched)


and check base on errors like .0f

No its not, idiot. U create your own hack. I would like to see how much you fail
? OHK will never work use this


Dword pWeaponMgr ..

Code:
 DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);
Source Code

Code:
f(OneHit)
	{
		if (pWeaponMgr)
        {
            for(int i=0; i<445; i++)
        {
		   if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) != NULL)
		        *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + WeaponDamage) = +  999999;
        }
        }
	}
Now Code Working 100%
wait i debugg fore you

Quote Originally Posted by Dark Side View Post
? OHK will never work use this


Dword pWeaponMgr ..

Code:
 DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);
Source Code

Code:
f(OneHit)
	{
		if (pWeaponMgr)
        {
            for(int i=0; i<445; i++)
        {
		   if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) != NULL)
		        *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + WeaponDamage) = +  999999;
        }
        }
	}
Now Code Working 100%

dark forget i at the 1 title


eddit : debug failed
@SwiftdudeJr come help ur fello leecher =)
he should knw best cuz its his base =P
yea like royku says dont delete the .0f adn @Royku arent you banned since 2013 LOL ?
No im not banned ?
lol it whas a Post ban :3
Quote Originally Posted by Royku View Post
No im not banned ?
lol it whas a Post ban :3
hes kidding
he said 2013 lol
Posts 113 of 13 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?