Working PTC Method! (25.10.10)

Posts 31–45 of 46 · Page 3 of 4
Quote Originally Posted by T0y View Post
Anything from NeoIII would be 105% working.
Show me you got that working instead of defending your great NeoIII.
Quote Originally Posted by anaestheist View Post
Then why make a thread about "Working PTC Method!" And not just write "HALF Working PTC Method!" ??
Nothing is half working.

It is patched, or detected.
Quote Originally Posted by Stephen View Post


Nothing is half working.

It is patched, or detected.
Hmm yeah, my bad. lol
Quote Originally Posted by T0y View Post
Full credits: NeoIII

Code:
void __cdecl PTC( const char* szCommand ) 
{ 
    if( !eng.IsReady || dwpLTClient == NULL ) 
        return; 

    DWORD dwConsoleFunc = *( DWORD* )( dwpLTClient + 0x208 ); 
    DWORD dwRealCallA    = ( dwConsoleFunc + 0x26 );//JMP to real func 
    DWORD dwRealCallB    = *(DWORD*)( dwRealCallA + 0x1 ); 
    DWORD dwRealCall    = ( dwRealCallA + dwRealCallB + 0x5 ); 

    if( *(BYTE*)dwRealCallA == 0xE9 ) 
        dwConsoleFunc = dwRealCall; 

    __asm 
    { 
        push szCommand; 
        call dwConsoleFunc; 
        add esp, 4; 
    } 
} 

//cmd
PTC("ScreenGlowEnable 1");
Good job on releasing a working PTC method to the noob coders. :-/
2 Errors.

1>c:\users\HIdden\documents\visual studio 2008\projects\ca hack\ca hack\base.cpp(13) : error C2065: 'Engine' : undeclared identifier

1>c:\users\Hidden\documents\visual studio 2008\projects\ca hack\ca hack\base.cpp(13) : error C2228: left of '.IsReady' must have class/struct/union

I bet I'm gonna get alot of troll since I don't know this.
/
Quote Originally Posted by HiddenoO View Post
2 Errors.

1>c:\users\HIdden\documents\visual studio 2008\projects\ca hack\ca hack\base.cpp(13) : error C2065: 'Engine' : undeclared identifier

1>c:\users\Hidden\documents\visual studio 2008\projects\ca hack\ca hack\base.cpp(13) : error C2228: left of '.IsReady' must have class/struct/union

I bet I'm gonna get alot of troll since I don't know this.
/
I dont think you know what a troll even is.
Quote Originally Posted by HiddenoO View Post
2 Errors.

1>c:\users\HIdden\documents\visual studio 2008\projects\ca hack\ca hack\base.cpp(13) : error C2065: 'Engine' : undeclared identifier

1>c:\users\Hidden\documents\visual studio 2008\projects\ca hack\ca hack\base.cpp(13) : error C2228: left of '.IsReady' must have class/struct/union

I bet I'm gonna get alot of troll since I don't know this.
/
change it with IsGameReadyForHook or gamestatus.
i need a help here is it my entire code but when i try compile it i know where is it the error but dont know how to fix it #include <windows.h>
bool IsGameReadyForHook()
{
if( GetModuleHandleA( "d3d9.dll" ) != NULL
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL
&& GetModuleHandleA( "CShell.dll" ) != NULL )
return true;
return false;
void PushToConsole(char* Command)
{

there is it the error can any one help me pls >typedef int (__cdecl* RunConsoleCommand_t)(char* cmd);
RunConsoleCommand_t RCC = (RunConsoleCommand_t)LTC;//Engine LTC
RCC(szCommand);
}

PushToConsole("Show FPS 1")
PushToConsole("SkelModelStencil 1 ");
PushToConsole("FogEnable 1" );
PushToConsole("ModelDebug_DrawBoxes 1" );
PushToConsole("PlayerGravity -800.000000" );
PushToConsole("WeaponSway 99.000000" );
PushToConsole("ActivationDistance 999999" );
PushToConsole("Jumpvel 600.000000");
PushToConsole("KnockBack 1" );
PushToConsole("ReloadSpeed 999.000000" );
PushToConsole("FireSpeed 999.999999" );
PushToConsole("NightVision 1");
PushToConsole("CrossHairR 255");
PushToConsole("InfiniteAmmo 1");
PushToConsole("ShowTiming 1");
PushToConsole("FreeVoteKickRatio 999.000000");
PushToConsole("Firemode 999.999999");
PushToConsole("FreeVoteKickNullTicketRatio 1");
PushToConsole("HeadPitchUpRatio 1");
PushToConsole("PusherMaxYVelocity 3000.000000");
PushToConsole("BaseMoveAccel 3000.000000");
PushToConsole("StartAccel 30000.000000");
PushToConsole("MaxAccel 30000.000000");
PushToConsole("AccelInc 30000.000000");
PushToConsole("WalkVel 30000.000000");
PushToConsole("FRunVel 30000.000000");
PushToConsole("BRunVel 30000.000000");
PushToConsole("SRunVel 30000.000000");
PushToConsole("JumpVel 30000.000000");
PushToConsole("DuckVel 30000.000000");
PushToConsole("FallDamageMinHeight 1.000000");
PushToConsole("FallDamageMaxHeight 700.000000");
PushToConsole("FallDamageMin 2.000000");
PushToConsole( "FallDamageMax 1000.000000");


}
}
bool memoria( void * pDest, char * szPatch, size_t sSize ) //Nopping Method
{
DWORD dwOrgProtect = NULL;
if ( !VirtualProtect ( pDest, sSize, PAGE_EXECUTE_READWRITE, &dwOrgProtect ))
return FALSE;

memcpy( pDest, szPatch, sSize );
VirtualProtect( pDest, sSize, dwOrgProtect, NULL );
return TRUE;
memoria((LPVOID)(0x37465A60),"x90\x90\x90",3);
memoria((LPVOID)(0x37234EB9),"x90\x90\x90",3);
memoria((LPVOID)(0x37465A74),"x90\x90\x90",3);
memoria((LPVOID)(0x37465A77),"x90\x90\x90",3);
memoria((LPVOID)(0x37465A80),"x90\x90\x90",3);
memcpy((LPVOID)(0x374AB714),"x90\x90\x90",3);
memoria((LPVOID)(0x373FDDD9),"x90\x90\x90\x90",4);
memoria((LPVOID)(0x37712984),"x90\x90\x90\x90\x90\ x90",6);
memoria((LPVOID)(0x374E6416),"x90\x90\x90\x90\x90\ x90",6);
memcpy((LPVOID)(0x007D8FF8),"x90\x90\x90",3);
memcpy((LPVOID)(0x377191E0),"x90\x90\x90",3);
memcpy((LPVOID)(0x377191D0),"x90\x90\x90",3);
memcpy((LPVOID)(0x377191C0),"x90\x90\x90",3);

}

void main()
{
while(true)
{

}
}
DWORD WINAPI dwHackThread(LPVOID)
{
while( !IsGameReadyForHook() )
Sleep(100);
main();
return 0;
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
}
return TRUE;
}
Quote Originally Posted by aronxhellfire View Post
void PushToConsole(char* Command)
{

there is it the error can any one help me pls >typedef int (__cdecl* RunConsoleCommand_t)(char* cmd);
RunConsoleCommand_t RCC = (RunConsoleCommand_t)LTC;//Engine LTC
RCC(szCommand);
}

PushToConsole("Show FPS 1")
i have very little experience with c++ and this was easy to spot
where it says PushToConsole you need to cange to RCC

i bolded and underlined what it says and what you need to change it to
Quote Originally Posted by fondelz View Post
i have very little experience with c++ and this was easy to spot
where it says PushToConsole you need to cange to RCC

i bolded and underlined what it says and what you need to change it to
He's obtaining errors while compiling..If he compiled it that would not matter..It's other things he's missing.
/
dude you didnt even define your engineltc! ENGLTC = 0x4A4750 (i think i still dont know the right address thats what im looking for.. cred - HiddenoO)
Does anybody have the ENG class?? I think thats is what is needed to make this work :O
Quote Originally Posted by vinay478 View Post
Does anybody have the ENG class?? I think thats is what is needed to make this work :O
bool IsGameReadyForHook()
{
if( GetModuleHandleA( "d3d9.dll" ) != NULL
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL
&& GetModuleHandleA( "CShell.dll" ) != NULL )
return true;

return false;
}

Replace !eng.ready

for !IsGameReadyForHook()

You've been spoonfeed /
Quote Originally Posted by anaestheist View Post
Code:
bool IsGameReadyForHook() 
{ 
    if( GetModuleHandleA( "d3d9.dll"     ) != NULL  
    && GetModuleHandleA( "CShell.dll"   ) != NULL ) 
        return true; 

    return false; 
}
Replace !eng.ready

for !IsGameReadyForHook()

You've been spoonfeed /
why get Client.fxd if it is not used?
and next time use [code] tags to make it easier to read
Posts 31–45 of 46 · Page 3 of 4
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us