help with base

Posts 18 of 8 · Page 1 of 1
help with base
this is my base

[HTML]
#include "stdafx.h"
#include "Hook.h"
#include <windows.h>
#define Engine 0x4A4830

typedef int (__cdecl* RunConsoleCommand_t)(char* cmd);
RunConsoleCommand_t PushToConsole = (RunConsoleCommand_t)0x00485E10;

bool Tracers = false;


HRESULT WINAPI hkPresent(LPDIRECT3DDEVICE9 pDevice,CONST RECT *pSourceRect, CONST RECT *pDestRect, HWND hDestWindowOverride, CONST RGNDATA *pDirtyRegion){
_asm PUSHAD;


if(GetAsyncKeyState(VK_NUMPAD1)<0)
if(Tracers){
PushToConsole("ShowFirePath 1" );
Tracers = true;
}else{
PushToConsole("ShowFirePath 0" );
Tracers = false;
}


_asm POPAD;
return oPresent(pDevice, pSourceRect, pDestRect, hDestWindowOverride, pDirtyRegion);
}


HRESULT WINAPI hkReset(LPDIRECT3DDEVICE9 pDevice, D3DPRESENT_PARAMETERS* Parametri)

{
_asm NOP;



HRESULT hTorna = oReset(pDevice, Parametri);

if(SUCCEEDED(hTorna)){

}
return hTorna;
}




DWORD WINAPI Wait(LPVOID lpArgs){
DWORD dwD3D9 = NULL;
while(!dwD3D9){
Sleep(20);
dwD3D9 = (DWORD)GetModuleHandleA("d3d9.dll");
}

DWORD dwVTable[3] = {0};
CreateDev( dwVTable );
oReset = ( tReset ) Salta(( PBYTE ) dwVTable[0], ( PBYTE ) &hkReset ,5);
oPresent = ( tPresent )Salta(( PBYTE ) dwVTable[1], ( PBYTE ) &hkPresent ,5);

return FALSE;
}
[/HTML]


it does compile and give me the dll but it doesnt work ingame.......
all PTC method has ben patched
are u serious, will which methods work??
Quote Originally Posted by qcethe View Post
are u serious, will which methods work??
I'm serious
Gordon's works, just D/C about 5 minutes in :S
Quote Originally Posted by _Fk127_ View Post
Gordon's works, just D/C about 5 minutes in :S
DONT WORKS I TESTED IT

5 minutes = NO HACKS :P
so which methods work ppl
/MOVED TO HELP SECTION
Posts 18 of 8 · Page 1 of 1

Post a Reply

Tags for this Thread

None

Need help?