Because there's nothign TO show.
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?
Call your hacks in EndScene.
EDIT: Nvm , you got a hotkey hack,
EDIT 2: Go to this thread -> https://www.mpgh.net/forum/207-combat...s-pointer.html
Works for me .
so where im i supposed to add that method?
im confused and im getting erorrs, can u just edit the post its and ill see wat u did
you never declared a drawbox function so nothing will show untill you do