Originally Posted by
luccss
Galera nunca criei um hack e com ajuda de vcs cheguei até uma source , so que ela nao funciona será que tem como vcs me da uma luz e me dize onde eu to errando !!!
Codigo
#include <windows.h>
#define Engine 0x377FD9F0 //Replace 0x000 to Engine LTC
bool IsGameReadyForHook()
{
if( GetModuleHandleA( "d3d9.dll" ) != NULL
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL
&& GetModuleHandleA( "CShell.dll" ) != NULL )
return true;
return false;
}
void __cdecl PushToConsole(char *szCommand)
{
typedef int (__cdecl* RunConsoleCommand_t)(char* cmd);
RunConsoleCommand_t RCC = (RunConsoleCommand_t)Engine //EngineLTC;
;RCC(szCommand);
}
void main()
{
while(!IsGameReadyForHook()){
Sleep(200);
}
bool FPS = false;
while(true)
{
if(GetAsyncKeyState(VK_NUMPAD1)<0)
if(FPS){
PushToConsole("ShowFPS 0");
FPS = false;
}else{
PushToConsole("ShowFPS 1");
FPS = true;
}
}
}
BOOL APIENTRY DllMain( HMODULE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved)
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)&main, NULL, 0,NULL);
break;
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}
fui olhando os topicos e cheguei até esse código um hot de fps correto , mas quando aperto nunpad 1 ele da dc se alguem puder me da uma força ai eu agradeço Obrigado !!!
a é pra CABR
abraçosss