Old PTC SOURCE CODE !!WARNING: OUT DATED!!

Posts 1–15 of 17 · Page 1 of 2
Old PTC SOURCE CODE !!WARNING: OUT DATED!!
Here You go Guys:
Code:
#include <windows.h>
#include <iostream>

using namespace std;

void __cdecl PushToConsole(char* szVal )
{
DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll");
if( dwCShell != NULL )
{
DWORD *LTClient = ( DWORD* )( (dwCShell + 0x299D40) );
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x1F8 );
_asm
{
push szVal;
call CONoff;
add esp, 4;
}
}
}

BOOL WINAPI Main (LPVOID)
{
bool boxes = true;
bool nosky = false;
bool worldframe = false;
bool playerframe = false;
bool nogun = false;
bool Skeleton = false;
bool FogEnable = false;
bool CursorCenter = false;

while(1)
{
__asm pushad;
if(GetAsyncKeyState(VK_NUMPAD1)&1)
{
boxes = !boxes;
}
if(GetAsyncKeyState(VK_NUMPAD2)&1)
{
nosky = !nosky;
}
if(GetAsyncKeyState(VK_NUMPAD3)&1)
{
worldframe = !worldframe;
}
if(GetAsyncKeyState(VK_NUMPAD4)&1)
{
playerframe = !playerframe;
}
if(GetAsyncKeyState(VK_NUMPAD5)&1)
{
nogun = !nogun;
}
if(GetAsyncKeyState(VK_NUMPAD6)&1)
{
Skeleton = !Skeleton;
}
if(GetAsyncKeyState(VK_NUMPAD7)&1)
{
FogEnable = !FogEnable;
}
if(GetAsyncKeyState(VK_NUMPAD8)&1)
{
CursorCenter = !CursorCenter;
}

if (CursorCenter)
PushToConsole("CursorCenter 1");
else 
PushToConsole("CursorCenter 0");

if (FogEnable)
PushToConsole("FogEnable 1");
else
PushToConsole("FogEnable 0");

if (Skeleton) {
PushToConsole("ModelDebug_DrawSkeleton 1"); 
}
else {
PushToConsole("ModelDebug_DrawSkeleton 0"); 
}
if (boxes)
PushToConsole("ModelDebug_DrawBoxes 1");
else
PushToConsole("ModelDebug_DrawBoxes 0");

if (nosky)
PushToConsole("DrawSky 0");
else
PushToConsole("DrawSky 1");

if (worldframe)
PushToConsole("WireFrame 1");
else
PushToConsole("WireFrame 0");

if (playerframe)
PushToConsole("WireFrameModels 1");
else
PushToConsole("WireFrameModels 0");

if (nogun)
PushToConsole("DrawGuns 0");
else
PushToConsole("DrawGuns 1");
__asm popad;

Sleep(100);
}
if( GetModuleHandleA("CShell.dll")!= NULL)
return true;
return false;
DWORD WINAPI dwMainThread(LPVOID)
{
while (!Ready())
Sleep(200);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Main, NULL, NULL, NULL);
return 0;
}

BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
MessageBoxA(0, "", "", 0);
CreateThread(NULL, NULL, dwMainThread, NULL, NULL, NULL);
}
return TRUE;
}
Why The Fuck do you post this its like 1 year old?
Why did u post this, lol
PTC isn´t useful any more
What does PTC stand for?
Quote Originally Posted by Codemunkie View Post
What does PTC stand for?
PTC= PushToConsole
An old method which is patched
This Was Good When It worked Dont Work No More Tho
To Works Download ByPass Code Patched for one year
Which Bypass Source code u talking about?
well who cares if its old if ya know how to code ya can easily update sht very easily also if ya kno how to dump dlls etc
Quote Originally Posted by TheRealVB View Post
well who cares if its old if ya know how to code ya can easily update sht very easily also if ya kno how to dump dlls etc
But you can´t update the PTC for Boxes and so one...
Quote Originally Posted by A$IAN View Post

But you can´t update the PTC for Boxes and so one...
@A$IAN

well thats where d3d coding comes in handy? (: also make it use the addies instead of PTC (:
Quote Originally Posted by TheRealVB View Post
@A$IAN

well thats where d3d coding comes in handy? (: also make it use the addies instead of PTC (:
yeah, But u never can use boxes in PTC. In D3d u can of cource
Quote Originally Posted by A$IAN View Post

yeah, But u never can use boxes in PTC. In D3d u can of cource
@A$IAN yea but see im sure u can easily replace the PTC codes wit the addies n such n easily implement the addies 1 way (: correct me if im wrong? :P
Quote Originally Posted by TheRealVB View Post
@A$IAN yea but see im sure u can easily replace the PTC codes wit the addies n such n easily implement the addies 1 way (: correct me if im wrong? :P
Ur right but soon it will get patched too cuz there are so many leechers on MPGH now
Posts 1–15 of 17 · Page 1 of 2

Post a Reply

Tags for this Thread

None

Talk with us