Results 1 to 14 of 14
  1. #1
    Sydney's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Germany...
    Posts
    1,358
    Reputation
    37
    Thanks
    1,144
    My Mood
    Amused

    Bases Problem /Patched Base

    Hay...
    I cant get any Bases Woking and i am trieng to Fix some Bases And to Mix some...
    But i cant get it working ...
    So Please Help me...And say what i have to Change/Add...

    Thanks

    Code:

    Code:
    #define LTClient_Adress 0x377CC790
    #include <windows.h>
    
    
    
    bool IsGameReadyForHook()
    {
    if( GetModuleHandleA( "d3d9.dll"    ) != NULL
    && GetModuleHandleA( "ClientFX.fxd" ) != NULL
    && GetModuleHandleA( "CShell.dll"  ) != NULL )
    return true;
    return false;
    }
    void __cdecl PushToConsole( const char* szCommand )
    {
    	DWORD *LTClient = ( DWORD* )( LTClient_Adress );
    void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
    __asm
    {
    push szCommand;
    call CONoff;
    add esp, 4;
    }
    }   
    void main()
    {
    
    
    
    			
    		while(true)
    	{
    		PushToConsole("ShowFps 1");
    
    			}
    		
    		{
    }
    }
    DWORD WINAPI dwHackThread(LPVOID)
    {
    while( !IsGameReadyForHook() )
    Sleep(25);
    main();
    return 0;
    }
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    DisableThreadLibraryCalls(hDll);
    if ( dwReason == DLL_PROCESS_ATTACH )
    {
    	if( MessageBox(0, TEXT("Inject Hack Now?"), TEXT("Inject"), MB_YESNO)==IDYES){
    CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
    }
    return TRUE;
    }
    
    }
    Thanks...

    Thanks Cosmos


  2. #2
    _-Blazin-_'s Avatar
    Join Date
    Jan 2009
    Gender
    male
    Location
    Australia
    Posts
    428
    Reputation
    10
    Thanks
    28
    My Mood
    Hot
    Is your LT client updated? Your hooking method is patched.. I think.. Even though I know probably just as much as you :P

  3. #3
    Sydney's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Germany...
    Posts
    1,358
    Reputation
    37
    Thanks
    1,144
    My Mood
    Amused
    Quote Originally Posted by _-Blazin-_ View Post
    Is your LT client updated? Your hooking method is patched.. I think.. Even though I know probably just as much as you :P
    Ik...Yes newest LTC....And yes...Patched...But i need to Fix it then i can release new Hacks

    Thanks Cosmos


  4. #4
    _-Blazin-_'s Avatar
    Join Date
    Jan 2009
    Gender
    male
    Location
    Australia
    Posts
    428
    Reputation
    10
    Thanks
    28
    My Mood
    Hot
    Quote Originally Posted by kongamonga View Post
    Ik...Yes newest LTC....And yes...Patched...But i need to Fix it then i can release new Hacks
    0x3778CFB0?

  5. #5
    Sydney's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Germany...
    Posts
    1,358
    Reputation
    37
    Thanks
    1,144
    My Mood
    Amused
    Quote Originally Posted by _-Blazin-_ View Post
    0x3778CFB0?
    No...There are two LTC...

    Thanks Cosmos


  6. #6
    ★Rusty's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    My House/CShell Codes: C++
    Posts
    111
    Reputation
    14
    Thanks
    297
    My Mood
    Psychedelic
    Your hook method is patched.
    And why did you define the L.T.Client? lol
    Get rid of your #Define
    and

    Replace this:

    Code:
    void __cdecl PushToConsole( const char* szCommand )
    {
    	DWORD *LTClient = ( DWORD* )( LTClient_Adress );
    void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
    __asm
    {
    push szCommand;
    call CONoff;
    add esp, 4;
    }
    }

    With this:
    Code:
    void __cdecl PushToConsole(const char* szCommand )
    {
    	DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll");
    	if( dwCShell != NULL )
    	{
    		DWORD *LTClient = ( DWORD* )( 0x3778CFB0 );
    		void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
    		__asm
    		{
    			push szCommand;
    			call CONoff;
    			add esp, 4;
    		}
    	}
    }
    Thank me if i helped.

  7. The Following 2 Users Say Thank You to ★Rusty For This Useful Post:

    Sydney (08-17-2010),_-Blazin-_ (08-16-2010)

  8. #7
    ac1d_buRn's Avatar
    Join Date
    Aug 2009
    Gender
    female
    Location
    CA Source Section
    Posts
    3,406
    Reputation
    157
    Thanks
    3,991
    My Mood
    Flirty
    Quote Originally Posted by ★Rusty View Post
    Your hook method is patched.
    And why did you define the L.T.Client? lol
    Get rid of your #Define
    and

    Replace this:

    Code:
    void __cdecl PushToConsole( const char* szCommand )
    {
    	DWORD *LTClient = ( DWORD* )( LTClient_Adress );
    void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
    __asm
    {
    push szCommand;
    call CONoff;
    add esp, 4;
    }
    }

    With this:
    Code:
    void __cdecl PushToConsole(const char* szCommand )
    {
    	DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll");
    	if( dwCShell != NULL )
    	{
    		DWORD *LTClient = ( DWORD* )( 0x3778CFB0 );
    		void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
    		__asm
    		{
    			push szCommand;
    			call CONoff;
    			add esp, 4;
    		}
    	}
    }
    Thank me if i helped.
    Does that even work with CA O.o

  9. The Following User Says Thank You to ac1d_buRn For This Useful Post:

    _-Blazin-_ (08-16-2010)

  10. #8
    ★Rusty's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    My House/CShell Codes: C++
    Posts
    111
    Reputation
    14
    Thanks
    297
    My Mood
    Psychedelic
    Works for me
    I thought thats how everyone else did it? What do you use?

  11. The Following User Says Thank You to ★Rusty For This Useful Post:

    _-Blazin-_ (08-16-2010)

  12. #9
    ac1d_buRn's Avatar
    Join Date
    Aug 2009
    Gender
    female
    Location
    CA Source Section
    Posts
    3,406
    Reputation
    157
    Thanks
    3,991
    My Mood
    Flirty
    i use:

    Code:
    void __cdecl Push(char* szVal)
    {
        void* vSetVar = (void*)0x0046F620;
        _asm
        {
            push szVal
            call vSetVar
            add esp, 4
        }
    }
    Been using it for AGES

  13. The Following User Says Thank You to ac1d_buRn For This Useful Post:

    _-Blazin-_ (08-16-2010)

  14. #10
    Sydney's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Germany...
    Posts
    1,358
    Reputation
    37
    Thanks
    1,144
    My Mood
    Amused
    Works for Ca Eu to ?

    Thanks Cosmos


  15. #11
    _-Blazin-_'s Avatar
    Join Date
    Jan 2009
    Gender
    male
    Location
    Australia
    Posts
    428
    Reputation
    10
    Thanks
    28
    My Mood
    Hot
    Quote Originally Posted by kongamonga View Post
    No...There are two LTC...
    Yes ikt. I'm just saying you should use that one. Btw, since you didn't thank those guys, Im going to go through and do it for you.

  16. #12
    -ExileD-'s Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    http://mpgh.net Posts: 25,987
    Posts
    552
    Reputation
    32
    Thanks
    794
    My Mood
    Lurking
    Rusty what do you have your Detour method set as?

    NOP_JMP?

  17. #13
    Stephen's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Engine.exe
    Posts
    4,690
    Reputation
    184
    Thanks
    1,147
    My Mood
    Aggressive
    I write my own detours

  18. #14
    Yepikiyay's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    320
    Reputation
    10
    Thanks
    35
    My Mood
    Drunk
    Quote Originally Posted by kongamonga View Post
    Works for Ca Eu to ?
    should work for both

    I Hate You
    Current Status: Online Playing MineCraft

Similar Threads

  1. patched Bases Problem
    By Sydney in forum Combat Arms EU Hack Coding/Source Code
    Replies: 18
    Last Post: 09-07-2010, 03:18 AM
  2. Replies: 1
    Last Post: 08-25-2010, 04:50 PM
  3. bases Problem
    By Sydney in forum Combat Arms EU Hack Coding/Source Code
    Replies: 3
    Last Post: 08-16-2010, 12:23 AM
  4. Menu code problem. Cannot open include file: 'Base.h'
    By westomat in forum Combat Arms Help
    Replies: 12
    Last Post: 08-02-2010, 06:34 AM