[Release] Working PTC
Added Gordon's method at main post, his method gives better result for me but u decide which one is better.
hf, im out.
hf, im out.
Don't work i've tried many ways and it either doesn't do anything or makes me crash right when the little white guy loads.
Globals
Hack Part
and i've tried it without this------
Globals
Code:
#include "Base.h"
#include "Menu.h"
#include <time.h>
#define Y_Offset 0xCC
#define X_Offset 0xC8
#define Z_Offset 0xD0
#define charposoffset 0x66F34//player pointer
#define otherplyrptr 0x37835328//random player pointer
//0x37835328 original random player pointer
#define posyoffset 0xCC
#define yoffset 0xCC
#define posxoffset 0xC8
#define xoffset 0xC8
#define poszoffset 0xD0
#define zoffset 0xD0
DWORD posptr;//Telekill and OPK
DWORD posy;
DWORD playertarget;
DWORD posptr2;//Teleport
DWORD posy2;
DWORD playertarget2;
DWORD posptr3;//X offset for telekill and OPk
DWORD posx;
DWORD playertarget3;
DWORD posptr4;//Z offset for telekill and OPk
DWORD posz;
DWORD playertarget4;
int fopk;
float x;
float y;
float z;
int CA_opk = 0;
int CA_telekill = 0;
typedef int (__cdecl* RunConsoleCommand_t)(char* cmd);
RunConsoleCommand_t pRunConsoleCommand = (RunConsoleCommand_t)0x00485E10;
LPDIRECT3DDEVICE9 g_pDevice = 0;
cBase Base;
void __cdecl cBase::PushToConsole(char* szVal)
{
void* vSetVar = (void*)0x4A4750;
_asm
{
push szVal
call vSetVar
add esp, 4
}
}
Code:
void cBase::Update(void)
{
while(1)
{
if( Menu.mOpt[1].nopt > 0 )
{
pRunConsoleCommand("ShowFPS 1");
}else{
pRunConsoleCommand("ShowFPS 0");
}
}
OTHER HACK STUFF/////////////////////////////////////////////
/
/
/
/////////////////////////////////////
if( Menu.mOpt[16].nopt > 0 )
{
exit(1);
Sleep(400);
}
Sleep(400);
}
Sleep(400);
}
DWORD cBase::GetPointer(int index)
{
DWORD* devicePtr = ***(DWORD****)0x00909F20;
if( devicePtr == NULL )
return 0;
return devicePtr[index];
}
bool cBase::IsGameReadyForHook(void)
{
if( GetModuleHandleA( "d3d9.dll" ) != NULL
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL
&& GetModuleHandleA( "CShell.dll" ) != NULL )
return true;
return false;
}
DWORD WINAPI dwMainThread(LPVOID)
{
while ( !Base.IsGameReadyForHook() )
Sleep(400);
Directx.Hook();
return 0;
}
DWORD WINAPI dwHackThread(LPVOID)
{
while( !Base.IsGameReadyForHook() )
Sleep(iWaitTime);
Base.Update();
return 0;
}
DWORD WINAPI dwOpkThread(LPVOID)
{
while( !Base.IsGameReadyForHook() )
Sleep(iWaitTime);
Base.Opk();
return 0;
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
MessageBoxA(0, "Hack Has Successfully Injected","Hack Has Been Created By ~~~~|{[Scorpoistak]}|~~~~", 0);
CreateThread(NULL, NULL, dwMainThread, NULL, NULL, NULL);
CreateThread(NULL, NULL, dwOpkThread, NULL, NULL, NULL);
CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
}
return TRUE;
}
Code:
void __cdecl cBase::PushToConsole(char* szVal)
{
void* vSetVar = (void*)0x4A4750;
_asm
{
push szVal
call vSetVar
add esp, 4
}
}
lol ok ska
i dont even know why people flame hahaz even those Aka Pro Coders from mpgh well they think they are pro because they know how to use google lol well TopBlast?Crash and many otheres who allready posted here havent release a hack in this or other sites since Nexon Patched but they lied saying they did now watch them come back to the releases saying is their pwn PTC method lol
Bro u mad? i know you copy pasted this fkn noob you dont know shit about C++ why use such a name and act cool when you just copy pasted this method lawl fkn kids
you should thank him he is the reason why noobs like you can make a CA hack and include superbullets in it /yea
Bro u mad? i know you copy pasted this fkn noob you dont know shit about C++ why use such a name and act cool when you just copy pasted this method lawl fkn kids
you should thank him he is the reason why noobs like you can make a CA hack and include superbullets in it /yeaI don't know if its the PTC method or the base, but it's laggy each time we add something.
I wouldn't recommend gordons, sometimes you can't join a game because it's looping and looping and looping on searching and pasting.. :P
This thread is closed for replies.
Similar Threads
Combat Arms Coding Help & DiscussionDO NOT RELEASE ANY WORKING PTC FUNCTIONS
71 WarRock - International Hacks[RELEASE] Working Speedhack
18 WarRock - International Hacks[RELEASE] Working AimBot
28 WarRock - International Hacks[RELEASE] Working Addeys
40 WarRock - International Hacks[RELEASE] Working Bypass (30 min)
26



