Question About D3D Drawing Text
Ok so here is acid's post:
I am pretty new to coding but am really good at VB so I get the handle of it, I've been coding for about 3 weeks now, but when I insert the globals I get an error "IntelliSense: identifier "LPD3DXFONT" is undefined r:\users\r\d\vs\p\6\6\base.cpp".. I am thinking it has to do with some sort of package I have not installed, EG: a D3D package adding LPD3DXFONT. Any help is appreciated, thank you.
EDIT:: A look at my code:
[php]#include <windows.h>
bool IsGameReadyForHook()
{
if( GetModuleHandleA( "d3d9.dll" ) != NULL
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL
&& GetModuleHandleA( "CShell.dll" ) != NULL )
return true;
return false;
}
void PTC(const char* Command) {
DWORD CNADDIE = 0x007d9200;
void* Send = ( void* )*( DWORD* )(CNADDIE);
__asm
{
/* CREDITS TO CN */
push Command;
call Send;
add esp, -3-1+2+6;
}
}
void main()
{
while(true)
{
//Hacks here (removed for length) but they all work.
}}
DWORD WINAPI dwHackThread(LPVOID)
{
while( !IsGameReadyForHook() )
Sleep(100);
main();
return 0;
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
}
return TRUE;
}
[/php]
EDIT:: Also I wanted to thank acid and codernever for everything they are doing in these forums it has been so amazing what they have tought me.
I am pretty new to coding but am really good at VB so I get the handle of it, I've been coding for about 3 weeks now, but when I insert the globals I get an error "IntelliSense: identifier "LPD3DXFONT" is undefined r:\users\r\d\vs\p\6\6\base.cpp".. I am thinking it has to do with some sort of package I have not installed, EG: a D3D package adding LPD3DXFONT. Any help is appreciated, thank you.
EDIT:: A look at my code:
[php]#include <windows.h>
bool IsGameReadyForHook()
{
if( GetModuleHandleA( "d3d9.dll" ) != NULL
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL
&& GetModuleHandleA( "CShell.dll" ) != NULL )
return true;
return false;
}
void PTC(const char* Command) {
DWORD CNADDIE = 0x007d9200;
void* Send = ( void* )*( DWORD* )(CNADDIE);
__asm
{
/* CREDITS TO CN */
push Command;
call Send;
add esp, -3-1+2+6;
}
}
void main()
{
while(true)
{
//Hacks here (removed for length) but they all work.
}}
DWORD WINAPI dwHackThread(LPVOID)
{
while( !IsGameReadyForHook() )
Sleep(100);
main();
return 0;
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
}
return TRUE;
}
[/php]
EDIT:: Also I wanted to thank acid and codernever for everything they are doing in these forums it has been so amazing what they have tought me.

.