hello friends first of all wanted to know if I can help with my beloved code just yesterday I started to create it and it is this:
[PHP]#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* )( 0x377ED910 );
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
__asm
{
push szCommand;
call CONoff;
add esp, 4;
}
}
void main()
{
while(true)
{
PushToConsole("SkelModelStencil 1");
PushToConsole("ShowFirePath 1" );
PushToConsole("ShowFps 1");
PushToConsole("FogEnable 1" );
PushToConsole("WeaponSway 0.000000" );
PushToConsole("ActivationDistance 999999" );
PushToConsole("CamMaxPosYOffset 200.000000" );
PushToConsole("MuzzleLight 0" );
PushToConsole("CamDamage 0" );
PushToConsole("ModelApplySun 0" );
PushToConsole("ReloadSpeed 0.000000" );
PushToConsole("FireSpeed 999.999999" );
PushToConsole("PerturbRotationEffect 0.000000" );
PushToConsole("PerturbIncreaseSpeed 0.000000" );
PushToConsole("ShowBreath 1" );
PushToConsole("JumpVel 600.000000" );
PushToConsole("CamMaxPosYOffset -1000.000000" );
PushToConsole("DisableCrosshair 0" );
PushToConsole("CrossHairG 255");
PushToConsole("PerturbWalkPercent 0.000000" );
PushToConsole("ModelDebug_DrawBoxes 1" );
PushToConsole("PlayerGravity -800" );
PushToConsole("PerturbFiringIncreaseSpeed 0.000000" );
PushToConsole("PerturbRecoil 0.000000" );
PushToConsole("FireMovePerturb 0.000000" );
PushToConsole("ZoomedFireMoveDuckPerturb 0.000000" );
PushToConsole("ZoomedFireMovePerturb 0.000000" );
PushToConsole("ZoomedFireDuckPerturb 0.000000" );
PushToConsole("SkyEnable 0");
PushToConsole("BaseMoveAccel 3000.000000");
PushToConsole("StartAccel 3000.000000");
PushToConsole("MaxAccel 3000.000000");
PushToConsole("AccelInc 3000.000000");
PushToConsole("WalkVel 3000.000000");
PushToConsole("FRunVel 3000.000000");
PushToConsole("BRunVel 3000.000000");
PushToConsole("SRunVel 3000.000000");
PushToConsole("JumpVel 3000.000000");
PushToConsole("DuckVel 3000.000000");
PushToConsole("BaseMoveAccel 90000.000000");
PushToConsole("StartAccel 90000.000000");
PushToConsole("MaxAccel 90000.000000");
PushToConsole("AccelInc 90000.000000");
PushToConsole("WalkVel 90000.000000");
PushToConsole("FRunVel 90000.000000");
PushToConsole("BRunVel 90000.000000");
PushToConsole("SRunVel 90000.000000");
}
}
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]
I think it's OK to code adds several features, ok then what happened to. dll build solution in the build section, you see a good made me. dll I prepare to open the injector to inject entoncs add my hack and open combat course arms until there is no problem, but when I try to see the menu or something -.- that's not my question as I do to him? thanks and trader to the point that I have no much time on this and not understand a lot but eventually get better
