hack not showing

Posts 112 of 12 · Page 1 of 1
hack not showing
The game isnt d/c but the hack isnt showing, c++ didnt give erorrs, where did i go wrong

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

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)(const char* szCommand);
static RunConsoleCommand_T RCC = (RunConsoleCommand_T) 0x485E10;

RCC(szCommand);
}
void main()
{


while(!IsGameReadyForHook()){
Sleep(200);
}
bool Tracers = false;

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


}
DWORD WINAPI dwHackThread(LPVOID) {
while( !IsGameReadyForHook() )
Sleep(300);
main();
return 0;
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
MessageBoxA( NULL, "qcethe Hoyt Key V.1|\n" "qcethe @ MPGH ONLY", "MPGH qcethe", MB_YESNO| MB_ICONWARNING);
{
CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
}
return TRUE;
}

[/HTML]
Because there's nothign TO show.
lol, wat about the tracers?!?



if(GetAsyncKeyState(VK_NUMPAD1)<0)
if(Tracers){
PushToConsole("ShowFirePath 1" );
Tracers = true;
}else{
PushToConsole("ShowFirePath 0" );
Tracers = false;
}
You need to call the PPushToConsole function from within a Combat Arms internal function, like EndScene(), or your command will not pass internal game checks and will be dropped.
so i only have to add the p for pushconsole functions?
Quote Originally Posted by qcethe View Post
so i only have to add the p for pushconsole functions?
Of course.
Quote Originally Posted by NOOB View Post


Of course.
but it wouldnt except it as a function, its giving me the red line erorr thingy
so where im i supposed to add that method?
Quote Originally Posted by qcethe View Post
so where im i supposed to add that method?
Before your void . i just use the case 5 and at end of turning on , i put else if case 1 , turn off hack.
im confused and im getting erorrs, can u just edit the post its and ill see wat u did
jfios
you never declared a drawbox function so nothing will show untill you do
Posts 112 of 12 · Page 1 of 1

Post a Reply

Tags for this Thread

None

Need help?