Thread: [help]

Results 1 to 5 of 5
  1. #1
    dugindog's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    jasper mn
    Posts
    189
    Reputation
    7
    Thanks
    7
    My Mood
    Twisted

    [help]

    ok so i got this from Finish [topblast i think]
    Code:
    void __cdecl PushToConsole(char* szVal, float value)
    {
        void* vSetVar = (void*)0x0046F620;
        
        char scom[50];
        sprintf(scom,"%s %d",szVal,value);
    
          _asm
        {
            push scom
            call vSetVar
            add esp, 4
        }
        
    }  
    
    
    PushToConsole("Command here", progressor);
    PushToConsole("Command here", control);
    
    if (GetAsyncKeyState(VK_UP)<0)
            progressor+=50;
    if(GetAsyncKeyState(VK_DOWN)<0)
            progressor-=50;
    if(GetAsyncKeyState(VK_LEFT)<0)
            control+=50;
    if(GetAsyncKeyState(VK_RIGHT)<0)
            control-=50;
    ok so
    Code:
    PushToConsole("Command here", progressor);
    
    = if (GetAsyncKeyState(VK_UP)<0)
            progressor+=50;
    ???????
    help me please

    so "Command here" is the offset value????

    credits:
    • Finish
    Last edited by dugindog; 08-11-2010 at 01:51 PM.

  2. #2
    flameswor10's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    12,528
    Reputation
    981
    Thanks
    10,404
    My Mood
    In Love
    LEarn to C++ First
    No I do not make game hacks anymore, please stop asking.


    Been MPGH Minion: 6 July 2011 - 1 August 2012

  3. #3
    dugindog's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    jasper mn
    Posts
    189
    Reputation
    7
    Thanks
    7
    My Mood
    Twisted
    i did but i dont understand please just help

  4. #4
    J's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    East Coast
    Posts
    2,159
    Reputation
    379
    Thanks
    5,760
    My Mood
    In Love
    Use 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;
    		}
    	}
    }
    Example of usage:

    Code:
    PushToConsole("DrawGuns 0");
    Keep me motivated for my hack development!

  5. The Following User Says Thank You to J For This Useful Post:

    Sh3hw4z (08-11-2010)

  6. #5
    |Drake™|'s Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    365
    Reputation
    10
    Thanks
    84
    Quote Originally Posted by Blood View Post
    Use 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;
    		}
    	}
    }
    Example of usage:

    Code:
    PushToConsole("DrawGuns 0");


    He just basically gave you A C+P source , use it , thank him

Similar Threads

  1. [Help Request] Combat arms Vid help
    By djw111 in forum Combat Arms Help
    Replies: 4
    Last Post: 12-24-2011, 06:06 PM
  2. [Help Request] AFK Bot [help]
    By fet in forum Combat Arms Help
    Replies: 7
    Last Post: 04-28-2011, 04:17 AM
  3. [Help Request] Injector Admin help
    By asdfgas in forum Combat Arms Help
    Replies: 4
    Last Post: 04-27-2011, 07:12 PM
  4. [Help Request] Ajuda / Help
    By - Battery' in forum Combat Arms BR Coding Help
    Replies: 3
    Last Post: 04-22-2011, 08:15 PM
  5. [Help Request] Help my!
    By Windowns7 in forum Combat Arms BR Coding Help
    Replies: 2
    Last Post: 04-18-2011, 02:41 PM