Results 1 to 6 of 6
  1. #1
    BlackLite's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Posts
    547
    Reputation
    58
    Thanks
    1,035
    My Mood
    Aggressive

    Combat Arms PushToConsole Base

    When i inject automatic with FaithInjector , CA-EU close
    i'm New Combat arms coder , i'm Cross Fire coder
    Code:
    #include <Windows.h>
    
    #define LTClient 0x377F1D68 //MOV ECX,DWORD PTR DS:[377F1D68]
    bool WhiteWalls = false;
    
    void __cdecl PushToConsole(  char* szCommand)
    {
    	typedef int (__cdecl* PTC_t)(char* cmd); 
        PTC_t RCC = (PTC_t)	LTClient;
        RCC(szCommand); 
    }
    
    
    void HackThread (void)
    {
    	for(;;) 
    	{
    	__asm pushad;
    // just an example .. only
    		bool Wireframe = 1;
    			if (Wireframe==1)
    {		           
    PushToConsole("WireFrame 1");
    	}
    
    	__asm popad;
       }
    }
    
    
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    	DisableThreadLibraryCalls(hDll);
    	if ( dwReason == DLL_PROCESS_ATTACH )
    	{
          Beep(1000,500);
    	  CreateThread(NULL,NULL,(LPTHREAD_START_ROUTINE)HackThread,NULL,NULL,NULL);
    	}
    	return TRUE;
    }


    ---------- Post added at 12:10 PM ---------- Previous post was at 12:09 PM ----------

    Edit : i saw 0x208 on OllyDebug , have i use it ?

  2. #2
    iDarkness's Avatar
    Join Date
    Jan 2012
    Gender
    male
    Location
    the NetherLands
    Posts
    154
    Reputation
    10
    Thanks
    27
    My Mood
    Amazed
    LtClient + 0x208...

    "Just a Legend!"
    - B.Obama

    Get my newest WarRock Hack! The Obur Hack:

    __________________________________________________ __________________________________________________ _______
    Rescue the INTERNET!
    FUCK SOPA - WE WONT GIVE UP!


  3. The Following User Says Thank You to iDarkness For This Useful Post:

    BlackLite (06-01-2012)

  4. #3
    BlackLite's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Posts
    547
    Reputation
    58
    Thanks
    1,035
    My Mood
    Aggressive
    Quote Originally Posted by iDarkness View Post
    LtClient + 0x208...

    Code:
    #include <Windows.h>
    
    #define LTClient 0x377F1D68 //MOV ECX,DWORD PTR DS:[377F1D68]
    bool WhiteWalls = false;
    
    void __cdecl PushToConsole(char* szVal ) {
    	DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll");
    	if( dwCShell != NULL )
    	{
    
    		DWORD *LTClient2 = ( DWORD* )( (dwCShell + LTClient) );
    		void* CONoff = ( void* )*( DWORD* )( *LTClient2 + 0x208 );
    		_asm
    		{
    			push szVal;
    			call CONoff;
    			add esp, 4;
    		}
    	}
    }
    
    
    void HackThread (void)
    {
    	for(;;) 
    	{
    	__asm pushad;
    	if(GetAsyncKeyState(VK_F9)&1) {
    			WhiteWalls = !WhiteWalls;
    		}
    if  (WhiteWalls) {
    			PushToConsole("DrawFlat 0");
    		}
    		else {
    			PushToConsole("DrawFlat 1");
    		}
    
    	__asm popad;
       }
    }
    
    
    
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    	DisableThreadLibraryCalls(hDll);
    	if ( dwReason == DLL_PROCESS_ATTACH )
    	{
          Beep(1000,500);
    	  CreateThread(NULL,NULL,(LPTHREAD_START_ROUTINE)HackThread,NULL,NULL,NULL);
    	}
    	return TRUE;
    }

  5. #4
    Shadow`'s Avatar
    Join Date
    Nov 2011
    Gender
    male
    Location
    MN
    Posts
    636
    Reputation
    74
    Thanks
    3,014
    My Mood
    Relaxed
    You're missing so many functions it would be better to just trash your code and restart.

  6. #5
    BlackLite's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Posts
    547
    Reputation
    58
    Thanks
    1,035
    My Mood
    Aggressive
    Quote Originally Posted by Shadow` View Post
    You're missing so many functions it would be better to just trash your code and restart.
    i still don't know to much about Combat Arms , but i can code Cross Fire and work's with Same Source below,
    if someone will help me i'll hopefully good with him

  7. #6
    FallenDark's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    96
    Reputation
    19
    Thanks
    65
    Updated Addies gone wrong ?!!!!
    We are The contributor Force
    U Tottaly Jelly amiright ?
    Need Help VB.Net Just Ask

Similar Threads

  1. [Help Request] combat arms Undected base
    By ramindx1 in forum Combat Arms Coding Help & Discussion
    Replies: 3
    Last Post: 03-31-2012, 06:53 AM
  2. [Release] Combat Arms VIP Base
    By CodeDark in forum Combat Arms EU Hack Coding/Source Code
    Replies: 5
    Last Post: 01-26-2011, 11:27 AM
  3. [Release] Combat Arms Base
    By hackme4sure in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 53
    Last Post: 01-18-2011, 07:32 PM
  4. COMBAT ARMS HACK BASE by: Gellin08
    By why06 in forum C++/C Programming
    Replies: 24
    Last Post: 12-22-2009, 09:40 PM
  5. [Release] Combat arms mpgh based Virtual Jump
    By tabbyowns in forum Combat Arms Hacks & Cheats
    Replies: 32
    Last Post: 09-22-2009, 08:33 PM