The PushToConsole method is probably detected.
hey all i followed a tut on here about makeing ur frist hack and well i actualy read it and then learned that the LTClient was out of date well crash posted the new one i wish i new how to find it on my own yes iam new to this and all i really want is jest Sat chams and no recole but i think frist i should get the sat chames to work this is wat i got from the code
#include <windows.h>
bool IsGameReadyForHook()
{
if( GetModuleHandleA( "d3d9.dll" ) != NULL
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL
&& GetModuleHandleA( "CShell.dll" ) != NULL )
return true;
return false;
}
void __cdecl PushToConsole( const char* szCommand )
{
DWORD *LTClient = ( DWORD* )( 0x377E7810 );
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
__asm
{
push szCommand;
call CONoff;
add esp, 4;
}
}
void main()
{
while(true)
{
PushToConsole("SkelModelStencil 1" );
}
}
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;
}
ok well when i build the dll and inject it it works for about 30 once iam in a game then it jest closes CA wat might i be doing worng here iam kinda new to this so i beleave if iam shown how this is done like also putting a base in to the dll to make a menu hack then i might be able to do it all my self from then on like also finding addies i dont know wat i need to open to get them enegin.exe or CShell.dll iam also running windows 7 32
[IMG]https://i855.photobucke*****m/albums/ab119/vash000/Greenskullcopy.jpg[/IMG]
The PushToConsole method is probably detected.
humm really then how would i get around that i dont know how to search for addies if thats wat u use to get around that iam usesing ida
[IMG]https://i855.photobucke*****m/albums/ab119/vash000/Greenskullcopy.jpg[/IMG]
No offense but you need to learn how to use a period. I had alot of trouble understanding what you wrote.
ok. iam sorry. but do u know wat i need to do?
[IMG]https://i855.photobucke*****m/albums/ab119/vash000/Greenskullcopy.jpg[/IMG]
First try packing your hack with something like UPX, Themida, or PEspin. Then try a different PTC method.
iam useing visual C++ express 2010. and its building that hack there in .dll but could it be that i have visual C++ open when i test the hack? also might i add that i am a NOOB at hacking.
Last edited by vash000; 08-26-2010 at 03:19 PM.
[IMG]https://i855.photobucke*****m/albums/ab119/vash000/Greenskullcopy.jpg[/IMG]
Womg u did not booled it anyway if u dont know how 2 code!
Please stop with coding hacks and start coding in C#
k well the think is that if i only knew wat it is that i need to look for. to make hacks work then i would be alright also how to look for wat i need. besides witch is better C++ or C#
[IMG]https://i855.photobucke*****m/albums/ab119/vash000/Greenskullcopy.jpg[/IMG]
use longevities RunConsoleCommand method... it is posted somewhere in the depths of the source code section
u see thats the thing. everybody wonts teli kill or opk all i really want is nx chams and no recoile thats it
[IMG]https://i855.photobucke*****m/albums/ab119/vash000/Greenskullcopy.jpg[/IMG]