PTC - Push To Console

Posts 1–15 of 40 · Page 1 of 3
PTC - Push To Console
I haven't found any tutorials explaining this, so ill just explain it

The Push To Console thread :

Code:
VOID WINAPIV PushToConsole( CHAR* sVal)
{
	DWORD CShell

	if( CShell != NULL )
	{
		DWORD *zAddress = (DWORD*)( CShell + 0x600BEC ); //Push to Console
		void* szConsole = (void*)*(DWORD*)( *zAddress + 0x204 ); //Push to Console Offset

		_asm
		{
			PUSH sVal
			CALL szConsole		
			ADD ESP, 0x4
		}
	}
}
Few Console Commands : (all of these are on)
No World :
Code:
PushToConsole("DrawWorld 0");
Player Wire Frame :
Code:
PushToConsole("WireframeModels 1");
White Players :
Code:
PushToConsole("TextureModels 0");
White World :
Code:
PushToConsole("DrawFlat 1")
To turn off, change values :
0 -> 1 (No World, White Players)
1 -> 0 (Player Wire frame, White World)

To use with hotkeys ~~
Code:
           bool NoWorld;

	   if(GetAsyncKeyState(VK_F7)){
		   NoWorld = !NoWorld;
		   Sleep(300);
	   }

	   if(NoWorld){
		   PushToConsole("DrawWorld 0");
	   }
	   else{
		   PushToConsole("DrawWorld 1");
	   }
Credits :
@lucasheer715
Good job bro
Quote Originally Posted by zikox View Post
Good job bro
lol, this is basic SPAM DETECTION
Quote Originally Posted by lucasheer715 View Post
lol, this is basic SPAM DETECTION
Leecher Detected*
Quote Originally Posted by Mayion View Post


Leecher Detected*
Me? You mean i leecher??
maybe this work

PushToConsole("SkyScale 0");
Wow man you so prozz!!
C+P from other threads.
A way for PTC without asm:

Code:
typedef void (__cdecl *_PushToConsole)(char* Command);
_PushToConsole PushToConsole;

PushToConsole = (_PushToConsole)*(DWORD*)(*(DWORD*)(CShell + 0x600BEC) + 0x204);

if(PushToConsole!=0)
{
	if(NoWorld)
		PushToConsole("DrawWorld 0");
	else
		PushToConsole("DrawWorld 1");
}
Quote Originally Posted by -[I]fLuX View Post
A way for PTC without asm:

Code:
typedef void (__cdecl *_PushToConsole)(char* Command);
_PushToConsole PushToConsole;

PushToConsole = (_PushToConsole)*(DWORD*)(*(DWORD*)(CShell + 0x600BEC) + 0x204);

if(PushToConsole!=0)
{
	if(NoWorld)
		PushToConsole("DrawWorld 0");
	else
		PushToConsole("DrawWorld 1");
}
Open skype
Quote Originally Posted by -[I]fLuX View Post
A way for PTC without asm:

Code:
typedef void (__cdecl *_PushToConsole)(char* Command);
_PushToConsole PushToConsole;

PushToConsole = (_PushToConsole)*(DWORD*)(*(DWORD*)(CShell + 0x600BEC) + 0x204);

if(PushToConsole!=0)
{
	if(NoWorld)
		PushToConsole("DrawWorld 0");
	else
		PushToConsole("DrawWorld 1");
}
I am Using This Method Lol
Good Job @lucasheer715
Not really a tutorial..
Quote Originally Posted by Biesi View Post
Not really a tutorial..
People i have been helping on skype message me like crazy on how to do this :|
Quote Originally Posted by lucasheer715 View Post
People i have been helping on skype message me like crazy on how to do this :|
It's still code that is ready for c+p
bad tutorial ... there is a lot of threads for that -_-
Posts 1–15 of 40 · Page 1 of 3

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us