My First Menu Hack is Having Problems

Posts 16–18 of 18 · Page 2 of 2
You got to put it in notepad. o.o
Quote Originally Posted by msulaimain View Post
Hi guys, I'm almost done with my first menu hack and when I inject it, it causes combat arms to shut down before it even reaches the login screen. Can someone suggest what a problem could be? Maybe detours or hook? I'm pretty sure that my hook is working, but I'm not so sure about my detours.

The Hook that I'm using as of right now is:

Code:
DWORD cBase::GetPointer(int inicio)
{
	DWORD* Device = ***(DWORD****)0x0090AF20; // Device Game Address; Changes after all updates, but just change this: 0090AF20

	if( Device == NULL ) 
		return 0;

	return Device[inicio];
}

bool cBase::IsGameReadyForHook()
{
    if( GetModuleHandle( "d3d9.dll"     ) != NULL 
     && GetModuleHandle( "ClientFX.fxd" ) != NULL 
     && GetModuleHandle( "CShell.dll"   ) != NULL )
    return true;
    return false;

}

DWORD WINAPI dwMainThread(LPVOID)
{
	while ( !Base.IsGameReadyForHook() )
		Sleep(iWaitTime);

	Directx.Hook();

	return 0;
}
If anyone can TeamViewer me right now, then that would be really helpful as well.
Code:
:00587061                 mov     ecx, offset dword_90BF60
Device Game is: 0x90BF60

Code:
DWORD cBase::GetPointer(int inicio)
{
	DWORD* Device = ***(DWORD****)0x90BF60;
	if( Device == NULL ) 
		return 0;

	return Device[inicio];
}
Quote Originally Posted by Alessandro10 View Post
Code:
:00587061                 mov     ecx, offset dword_90BF60
Device Game is: 0x90BF60

Code:
DWORD cBase::GetPointer(int inicio)
{
	DWORD* Device = ***(DWORD****)0x90BF60;
	if( Device == NULL ) 
		return 0;

	return Device[inicio];
}
I updated the Device Game Pointer addy and I changed my pointer to the above and it is still causing combat arms to shut down before it even reaches the log in screen. Can an experienced coder please TV me? This is my first menu hack and I believe if someone shows me the problem and solution that I can further my knowledge that way.

Thanks!
Posts 16–18 of 18 · Page 2 of 2

Post a Reply

Tags for this Thread

None

Talk with us