SolvedPushToConsole Command not working

Posts 15 of 5 · Page 1 of 1
PushToConsole Command not working
Hey,
is the pushtoconsole command not working anymore ???

Here's my code,

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


PTC...
void __cdecl PushToConsole( const char* szCommand )
{
    DWORD *LTClient = ( DWORD* )( 0x377C9B80 );
 __asm pushad;
    void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
 
 
    __asm
    {
        push    szCommand;
        call    CONoff;
        add     esp, 4;
    }
	__asm popad;
}


Calling it in EndScene || Thread
PushToConsole("SkelModelStencil 1");
I don't get any crashe's or what so ever.
Just no results. :S
Any advice?
Quote Originally Posted by lunatik21 View Post
Hey,
is the pushtoconsole command not working anymore ???

Here's my code,

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


PTC...
void __cdecl PushToConsole( const char* szCommand )
{
    DWORD *LTClient = ( DWORD* )( 0x377C9B80 );
 __asm pushad;
    void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
 
 
    __asm
    {
        push    szCommand;
        call    CONoff;
        add     esp, 4;
    }
	__asm popad;
}


Calling it in EndScene || Thread
PushToConsole("SkelModelStencil 1");
I don't get any crashe's or what so ever.
Just no results. :S
Any advice?


fly speed and super jump and tracers and fps require a Addy nx chams and no fog just put + in front of the command

PushToConsole("+SkelModelStencil 1");
there is a set Variable method you can use that has been posted recently,

Code:
template<class t>
void SetVariable(DWORD Address, t Value)
{
*(t*)Address = Value;
}

#define Jump 		0x377B6B0C
#define ActivationDistance 	0x377B69C8//Unsure
#define WalkVel 	0x377B6A7C
#define FRunVel 	0x377B6AA0
#define BRunVel 	0x377B6AC4
#define SRunVel 	0x377B6AE8
#define DuckVel 	0x377B6B30
#define Tracers 	0x377BEA7C
Credits: arun823


Used: SetVariable(Tracers, 1);//ON
SetVariable(Tracers, 0);//OFF
Quote Originally Posted by juggalo200 View Post
fly speed and super jump and tracers and fps require a Addy nx chams and no fog just put + in front of the command

PushToConsole("+SkelModelStencil 1");
Doesn't work either. I get no result In-Game.

Quote Originally Posted by OpKilts View Post
there is a set Variable method you can use that has been posted recently,

Code:
template<class t>
void SetVariable(DWORD Address, t Value)
{
*(t*)Address = Value;
}

#define Jump 		0x377B6B0C
#define ActivationDistance 	0x377B69C8//Unsure
#define WalkVel 	0x377B6A7C
#define FRunVel 	0x377B6AA0
#define BRunVel 	0x377B6AC4
#define SRunVel 	0x377B6AE8
#define DuckVel 	0x377B6B30
#define Tracers 	0x377BEA7C
Credits: arun823


Used: SetVariable(Tracers, 1);//ON
SetVariable(Tracers, 0);//OFF
Thanks but that function is not really needed.
Can you help with the rest of the commands ?
Posts 15 of 5 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?