Fix my base

Posts 1–9 of 9 · Page 1 of 1
Fix my base
He don't work ingam!

what wrong?

Code:
#include <WINDOWS.H>

DWORD Base;
DWORD Wep;
DWORD Wep1;
float WepReload;
void BRHack(){	
	Base=(DWORD)GetModuleHandle("CShell.dll");
	Wep=(DWORD)(Base+0xA68F90);

	if(Wep){
		
		for(int indice=NULL;indice<=(600-1);indice++){

			Wep1=(DWORD)(Wep+((5-1)*indice));
			WepReload=(float)(Wep1+0x269C);
			if(Wep1){
WepReload=100.0f;
}
		}
	}
}
void Check(){
Base=(DWORD)GetModuleHandle("CShell.dll");
if(Base!=NULL)
{
	 CreateThread(NULL,NULL,(LPTHREAD_START_ROUTINE)BRHack,NULL,NULL,NULL);
	 MessageBox(NULL,"BR Hack 1.0","Success!",NULL);
}
else
	MessageBox(NULL,"No BR Hack 1.0","Error!",NULL);
return;
}

BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ){
DisableThreadLibraryCalls(hDll);
   
   if ( dwReason == DLL_PROCESS_ATTACH ){
        CreateThread(NULL,NULL,(LPTHREAD_START_ROUTINE)Check,NULL,NULL,NULL);
   }
   return 1;
}
almost everything is wrong, should read C + + again
where is your hook?
Quote Originally Posted by StarModz View Post
where is your hook?
You don´t need a hook for every hack
You did not define the pointers...i think
@badboy3 he doesnt need to when he instead of Defining NoReload blabla
writes the offset.
@Fly3r

I'm new
Man are us shure u didnt get this base and C+P from an other site casue I think is off date... Try to make ur own base
Why are you doing (5-1)? 5-1 is alway's 4.
And 600 - 1 is alway's 599.

You can't make a thread with a void, or can you?
Make it for example:

Code:
DWORD WINAPI Check() {

}
Then you can return on every event a other value. And you can make a thread with this. For the rest.. don't have a IDE here. So I can't cheak your code.
Posts 1–9 of 9 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us