Geez - simple debugging. (function modulesLoaded())
I have been using Hans and Gellins base combined for a long time now. I tried it in D3D test aplication but the menu did not appear! Does anyone know how to fix this?
Geez - simple debugging. (function modulesLoaded())
Help him then!
lol. free I actually need help with this! are you talking about:
[php]bool cBase::IsGameReadyForHook(void)
{
if( GetModuleHandleA( "d3d9.dll" ) != NULL
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL
&& GetModuleHandleA( "CShell.dll" ) != NULL )
return true;
return false;
}[/php]
Yes, that's what he's talking about.
What do I change?
It's quite obvious. The function checks to see if ClientFX.fxd and CShell.dll are loaded. A D3D9 environment doesn't have ClientFX.fxd and CShell.
So make it?
[php]bool cBase::IsGameReadyForHook(void)
{
if( GetModuleHandleA( "CShell.dll" ) != NULL )
return true;
return false;
}[/php]
I meant:
[php]bool cBase::IsGameReadyForHook(void)
{
if( GetModuleHandleA( "d3d9.dll" ) != NULL )
return true;
return false;
} [/php]
Marko™ (10-03-2010)