[help]PushToConsole

Posts 111 of 11 · Page 1 of 1
[help]PushToConsole
hey guys i was wondering if you could post other push to console methods


i know you guys are gona say good = friend
im just wondering
There is the standard PTC method, then there is CNs, then there is mmbobs(you have to be smart to get it to work), and then there is a little secret one I have that I aint sharing /

Standard:
Code:
void __cdecl PushToConsole( const char* szCommand )
{
	DWORD *LTClient = ( DWORD* )( 0x377E7810 );
	void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
 
	__asm
	{
		push szCommand;
		call CONoff;
		add esp, 4;
	}
}
Console Push(CoderNever):
Code:
void ConsolePush(const char* Command) {
DWORD CNADDIE = 0x007d9200;
void* Send = ( void* )*( DWORD* )(CNADDIE);
__asm
{
/* CREDITS TO CN */
push Command;
call Send; 
add esp, -3-1+2+6;
}
}
http://www.mpgh.net/forum/207-combat...nsolepush.html


PopFromConsole(mmbob):

Code:
float PopFromConsole(const char* Name)
	DWRD L.T.Client = *(DWORD* 0x12345678
	typedef void* *_Fn1)(const char*
	_Fn1 Fn1 = *(_Fn1* (L.T.Client + 0x104)
	DWRD vTable = *DWORD*) L.T.Client
	typdef float (__stdcall *_Fn2void*)
	_Fn2 Fn2 = *(_Fn2*) (vTable + 0x5C)
	return Fn2(Fn1(Name))
http://www.mpgh.net/forum/207-combat...omconsole.html
Quote Originally Posted by CodeDemon View Post
There is the standard PTC method, then there is CNs, then there is mmbobs(you have to be smart to get it to work), and then there is a little secret one I have that I aint sharing /

Standard:
Code:
void __cdecl PushToConsole( const char* szCommand )
{
	DWORD *LTClient = ( DWORD* )( 0x377E7810 );
	void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
 
	__asm
	{
		push szCommand;
		call CONoff;
		add esp, 4;
	}
}
Console Push(CoderNever):
Code:
void ConsolePush(const char* Command) {
DWORD CNADDIE = 0x007d9200;
void* Send = ( void* )*( DWORD* )(CNADDIE);
__asm
{
/* CREDITS TO CN */
push Command;
call Send; 
add esp, -3-1+2+6;
}
}
http://www.mpgh.net/forum/207-combat...nsolepush.html


PopFromConsole(mmbob):

Code:
float PopFromConsole(const char* Name)
	DWRD L.T.Client = *(DWORD* 0x12345678
	typedef void* *_Fn1)(const char*
	_Fn1 Fn1 = *(_Fn1* (L.T.Client + 0x104)
	DWRD vTable = *DWORD*) L.T.Client
	typdef float (__stdcall *_Fn2void*)
	_Fn2 Fn2 = *(_Fn2*) (vTable + 0x5C)
	return Fn2(Fn1(Name))
http://www.mpgh.net/forum/207-combat...omconsole.html
Mine is for getting the value from the console >_>. It's not a PTC.
Code:
class cILTClient
{
public:
    char offset[520];
    int ( *RunConsoleCommand ) ( char* szCommand );
};

cILTClient *ILTClient = *(cILTClient**)0xILTCLIENTADDRESS;
ILTClient->RunConsoleCommand("ShowFps 1");
That's how I do it.
Quote Originally Posted by Crash View Post
Code:
class cILTClient
{
public:
    char offset[520];
    LTRESULT ( *RunConsoleCommand ) ( const char* szCommand );
};

cILTClient *ILTClient = *(cILTClient**)0xILTCLIENTADDRESS;
ILTClient->RunConsoleCommand("ShowFps 1");
That's how I do it.
/ .
Quote Originally Posted by mmbob View Post
/ .
Screw you it still works for me
Code:
void main()
{   
     bool chams = false;
     while (true)
     {
     if(GetAsyncKeyState(VK_NUMPAD1)&1)
     {
             chams = !chams;
     }
     if(chams)
     {
             PushToConsole("SkelModelStencil 1 ");
     }else{
             PushToConsole("SkelModelStencil 0 ");
     }
   }
}
This is eXaLtIc™'s PushToConsole Method hes a great help to noobs.
Quote Originally Posted by Aveda View Post
Code:
void main()
{   
     bool chams = false;
     while (true)
     {
     if(GetAsyncKeyState(VK_NUMPAD1)&1)
     {
             chams = !chams;
     }
     if(chams)
     {
             PushToConsole("SkelModelStencil 1 ");
     }else{
             PushToConsole("SkelModelStencil 0 ");
     }
   }
}
This is eXaLtIc™'s PushToConsole Method hes a great help to noobs.
We're not talking about that, it's the actual function PushToConsole...
Oh ok
Dam thats easy i cant believe he doesnt know the push to console method its so easy just download an updated base and look at the top in base.cpp
Quote Originally Posted by Aveda View Post
Oh ok
Dam thats easy i cant believe he doesnt know the push to console method its so easy just download an updated base and look at the top in base.cpp
i do "leecher" only way you know is to c+p???
adn i do know how to id just like to see how other people do it i like crashes way
soooooooooooooo
Posts 111 of 11 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?