Nope ^^ Now After I Deleted the 2 lines after i build the dll and that failed...
Heh, why do i even bother helping, this guy probably didn't read what the hell i said.
Eh anyways.
._.
Knock yourself out trying to listen to BloodSkin.
Don't Click This Link! It's a free V.i.P. Did You Click?
----------------------------------------------
(\_/) Status:
(0_0) Awesome Project [63%]
('')('')
----------------------------------------------
Nope ^^ Now After I Deleted the 2 lines after i build the dll and that failed...
GrimReap3r WTF Is The UPX? ?? i download that and i click that and that did nothing o-o just open dos window and close o-o
UPX is a packer. Add your .dll file to it, and then click compress, after that, inject the hack into CA
Don't Click This Link! It's a free V.i.P. Did You Click?
----------------------------------------------
(\_/) Status:
(0_0) Awesome Project [63%]
('')('')
----------------------------------------------
Odd.... I Dont Do That At AllCode:#include <windows.h> bool IsGameReadyForHook() { if( GetModuleHandleA( "d3d9.dll" ) != NULL && GetModuleHandleA( "ClientFX.fxd" ) != NULL && GetModuleHandleA( "CShell.dll" ) != NULL ) return true; return false; } void PushToConsole(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;
THIS OLD DUE TO C & P ERS
'Code:void __cdecl PushToConsole( const char* szCommand ) { DWORD *LTClient = ( DWORD* )( LTC ); void* CONoff = ( void* )*( DWORD* )( *LTClient + 0xblaa); __asm { push szCommand; call CONoff; add esp, 4; } }
thats how i do mine
listen to the coders they are right and learn c++ if u get errors u can google them or search on a c++ site
Last edited by EDWINSEE; 07-24-2010 at 07:02 PM.
Try This, Next Time Learn C++, and Pack With UPX
Code:#include <windows.h> bool IsGameReadyForHook() { if( GetModuleHandleA( "d3d9.dll" ) != NULL && GetModuleHandleA( "ClientFX.fxd" ) != NULL && GetModuleHandleA( "CShell.dll" ) != NULL ) return true; return false; } void PushToConsole(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) { if(GetAsyncKeyState(VK_NUMPAD1)< 0) { PushToConsole("SkelModelStencil 0"); } else{ PushToConsole("SkelModelStencil 1"); } if(GetAsyncKeyState(VK_INSERT)< 0) { PushToConsole("ShowFps 0"); } else{ PushToConsole("ShowFps 1"); } if(GetAsyncKeyState(VK_DELETE)< 0) { PushToConsole("FogEnable 0"); } else{ PushToConsole("FogEnable 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; }
Yeah idk think he knows c++, also i think he copied and paste
Can i have a cookie?
Lol, i swear i helped you enough..
Add a sleep timer, and at the end pack it with UPX.
Don't Click This Link! It's a free V.i.P. Did You Click?
----------------------------------------------
(\_/) Status:
(0_0) Awesome Project [63%]
('')('')
----------------------------------------------