Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    Stephen's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Engine.exe
    Posts
    4,690
    Reputation
    184
    Thanks
    1,147
    My Mood
    Aggressive
    You got to put it in notepad. o.o

  2. #17
    LionelMessi10's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    MPGH.NET
    Posts
    6,125
    Reputation
    114
    Thanks
    4,545
    My Mood
    Aggressive
    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];
    }
    Last edited by LionelMessi10; 06-07-2011 at 11:02 AM.

  3. #18
    msulaimain's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    MPGH
    Posts
    10
    Reputation
    10
    Thanks
    0
    My Mood
    Fine
    Quote Originally Posted by Alessandra 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!














    [CENTER]------------------------------------------------------------------------------------------------------[CENTER]

    Coding Knowledge:
    C++ BEGINNER
    VB INTERMEDIATE
    WIND-RIVER WORKBENCH (ROBOTICS) MASTERED
    [CENTER]------------------------------------------------------------------------------------------------------[CENTER]

Page 2 of 2 FirstFirst 12