still not work

Posts 1–15 of 16 · Page 1 of 2
still not work
Code:
 /*/

/*/
/ : Defines the exported functions for the DLL application.
//

#include "stdafx.h"
#include "targetver.h"

#define WeaponMgr 0xAB2940
#define Norecoil 0x53C || 0x6A4 || 0x1958 || 0x1B34 || 0x1FC0 || 0x2128 || 0x2290





void Hack ()
{
	DWORD Cshell = *(DWORD*)GetModuleHandleA("Cshell.dll");
	DWORD pWeaponMgr = *(DWORD*)(Cshell + WeaponMgr);


bool NoRecoil =1,
	WallHack ;
	
			if ( pWeaponMgr) 
	{
			for(int i=0; i<999; i++)
			{ 
				
				*(float*)(WeaponMgr + 0x26C4) = 99.0f;
				*(float*)(WeaponMgr + Norecoil) = 0.0f;
			}
	}
	}



BOOL APIENTRY DllMain( HMODULE hModule, DWORD  ul_reason_for_call, LPVOID lpReserved )
{
	switch (ul_reason_for_call)
	{
		DisableThreadLibraryCalls(hModule);
	case DLL_PROCESS_ATTACH:
		Beep(1000,500);
		Hack();
	case DLL_THREAD_ATTACH:
	case DLL_THREAD_DETACH:
	case DLL_PROCESS_DETACH:
		break;
	}
	return TRUE;
}
i hear beep soudn but no effect ingame
first the weapon loop is 630 not 999 and you need to calculate the Weapon to so try this

DWORD Weapon = (*(DWORD*)(pWeaponMgr + (szd*i)));
*(float*)(Weapon + Norecoil) = 0.0f;
Quote Originally Posted by bandi12 View Post
first the weapon loop is 630 not 999 and you need to calculate the Weapon to so try this

DWORD Weapon = (*(DWORD*)(pWeaponMgr + (szd*i)));
*(float*)(Weapon + Norecoil) = 0.0f;
oh i forget i*4 tnx

---------- Post added at 10:36 AM ---------- Previous post was at 10:31 AM ----------

not work
still no effect

---------- Post added at 10:55 AM ---------- Previous post was at 10:36 AM ----------

someone ??

---------- Post added at 11:24 AM ---------- Previous post was at 10:55 AM ----------

..............................

---------- Post added at 11:24 AM ---------- Previous post was at 11:24 AM ----------

bump.......
Just because you hear the beep doesn't mean anything, by looking at your code your beep is right after the dll gets attached so you will hear this whether the hack works or doesn't in your case "no effect in game". Your thread must be getting killed somehow because there is no attaching errors if you hear the beeping...
@BlackLite some peole say that Xtrap blocks the calling from outside treads... you need create thread i think in this way baasic player info and PTC should work
how do i make this hack base works ?? i need it for brazilo cf
Quote Originally Posted by DiogoMAT View Post
how do i make this hack base works ?? i need it for brazilo cf
idk i dont have my pc now
lol only dllmain don't work for a long time its work but today its doesn't work try to encrypt cshell in another void and made a createthread i have fix it and work i try all hooks from mpgh and fix it for myself
Quote Originally Posted by giniyat101 View Post
@BlackLite
you must wait for both cshell and clientfx.fxd
I added Sleep(9900); but still nothing happens in my base.
Quote Originally Posted by desertflame View Post
I added Sleep(9900); but still nothing happens in my base.
sleeping != waiting for cshell
obviously... thats why i said i put it in. Are you angry all the time? I'm just asking a question because im a beginner. Everyone started off as a beginner, i didn't wake up and suddenly knew c++.
Quote Originally Posted by giniyat101 View Post
sleeping != waiting for cshell
Quote Originally Posted by desertflame View Post
obviously... thats why i said i put it in. Are you angry all the time? I'm just asking a question because im a beginner. Everyone started off as a beginner, i didn't wake up and suddenly knew c++.
sorry for that..
just use this dllmain instead:
Code:
BOOL APIENTRY DllMain( HMODULE hModule, DWORD  ul_reason_for_call, LPVOID lpReserved )
{
	switch (ul_reason_for_call)
	{
		DisableThreadLibraryCalls(hModule);
	case DLL_PROCESS_ATTACH:
	case DLL_THREAD_ATTACH:
	case DLL_THREAD_DETACH:
       if (GetModuleHandleA("ClientFx.Fxd") { Beep(1000,500);
		Hack(); }
	case DLL_PROCESS_DETACH:
		break;
	}
	return TRUE;
}
and i give you an advice.. master c++ basics before making a simple hack..
Quote Originally Posted by giniyat101 View Post
sorry for that..
just use this dllmain instead:
Code:
BOOL APIENTRY DllMain( HMODULE hModule, DWORD  ul_reason_for_call, LPVOID lpReserved )
{
	switch (ul_reason_for_call)
	{
		DisableThreadLibraryCalls(hModule);
	case DLL_PROCESS_ATTACH:
	case DLL_THREAD_ATTACH:
	case DLL_THREAD_DETACH:
       if (GetModuleHandleA("ClientFx.Fxd") { Beep(1000,500);
		Hack(); }
	case DLL_PROCESS_DETACH:
		break;
	}
	return TRUE;
}
and i give you an advice.. master c++ basics before making a simple hack..
np, and thank you for all the help you've given me. Only problem now, is i get a hack tool detected error ingame (even if i name the dll SndDrv or something) xD
Quote Originally Posted by desertflame View Post
np, and thank you for all the help you've given me. Only problem now, is i get a hack tool detected error ingame (even if i name the dll SndDrv or something) xD

hey did it worked for you ??, please can you PM me and tell me what the way you used to fix it ?
Posts 1–15 of 16 · Page 1 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us