Injected, Engine runs, CA doesn't load.
I inject my dll i made, engine runs, but CA never loads. /
[PHP]#include <windows.h>
#define RECOIL1 0x3745BC20 //flameswor told me in VM, ty ^^
#define RECOIL2 0x372315E9
#define RECOIL3 0x3745BC34
#define RECOIL4 0x3745BC37
#define RECOIL5 0x3745BC40
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
void __cdecl Push(const char* pushCommand)
{
DWORD *LTClient = (DWORD*)(0x377ED910);
void* CONoff = (void*)*( DWORD* )( *LTClient + 0x208 );
__asm
{
push pushCommand;
call CONoff;
add esp, 4;
}
}
bool GameReady()
{
if(GetModuleHandleA("d3d9.dll")!=NULL && GetModuleHandleA("ClientFX.fxd")!=NULL && GetModuleHandleA("CShell.dll")!=NULL)
return true;
return false;
}
bool Memoria( void * pDest, char * szPatch, size_t sSize )
{
DWORD dwOrgProtect = NULL;
if ( !VirtualProtect ( pDest, sSize, PAGE_EXECUTE_READWRITE, &dwOrgProtect ))
return FALSE;
memcpy( pDest, szPatch, sSize );
VirtualProtect( pDest, sSize, dwOrgProtect, NULL );
return TRUE;
}
//---------------------------------------------------------------------------------
//---------------------------------------------------------------------------------
bool __stdcall DllMain(HINSTANCE hInst,DWORD reas,void* reserved)
{
while(GameReady() != 1)
{
Sleep(100);
}
Push("ShowFps 1"); //fps
Push("ActivationDistance 9001"); //far reach, its over 9000
Push("FogEnable 1"); //nofog
Push("SkelModelStencil 1"); //nx chams
//Spped
Push("BaseMoveAccel 3000.000000");
Push("StartAccel 560.000000");
Push("MaxAccel 3000.000000");
Push("AccelInc 6000.000000");
Push("WalkVel 110.000000");
Push("FRunVel 320.000000");
Push("BRunVel 320.000000");
Push("SRunVel 320.000000");
Push("DuckVel 100.000000");
//no recoil, ty flameswor
Memoria((LPVOID)(RECOIL1), "\x90\x90\x90", 3);
Memoria((LPVOID)(RECOIL2), "\x90\x90\x90", 3);
Memoria((LPVOID)(RECOIL3), "\x90\x90\x90", 3);
Memoria((LPVOID)(RECOIL4), "\x90\x90\x90", 3);
Memoria((LPVOID)(RECOIL5), "\x90\x90\x90", 3);
//no spread
Push("PerturbRotationEffect 0.000000" );
Push("PerturbIncreaseSpeed 0.000000" );
Push("PerturbWalkPercent 0.000000" );
Push("PerturbFiringIncreaseSpeed 0.000000" );
Push("PerturbRecoil 0.000000" );
Push("FireMovePerturb 0.000000" );
Push("ZoomedFireMoveDuckPerturb 0.000000" );
Push("ZoomedFireMovePerturb 0.000000" );
Push("ZoomedFireDuckPerturb 0.000000" );
//nosway
Push("WeaponSway 0.000000" );
}
[/PHP]

[PHP]#include <windows.h>
#define RECOIL1 0x3745BC20 //flameswor told me in VM, ty ^^
#define RECOIL2 0x372315E9
#define RECOIL3 0x3745BC34
#define RECOIL4 0x3745BC37
#define RECOIL5 0x3745BC40
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
void __cdecl Push(const char* pushCommand)
{
DWORD *LTClient = (DWORD*)(0x377ED910);
void* CONoff = (void*)*( DWORD* )( *LTClient + 0x208 );
__asm
{
push pushCommand;
call CONoff;
add esp, 4;
}
}
bool GameReady()
{
if(GetModuleHandleA("d3d9.dll")!=NULL && GetModuleHandleA("ClientFX.fxd")!=NULL && GetModuleHandleA("CShell.dll")!=NULL)
return true;
return false;
}
bool Memoria( void * pDest, char * szPatch, size_t sSize )
{
DWORD dwOrgProtect = NULL;
if ( !VirtualProtect ( pDest, sSize, PAGE_EXECUTE_READWRITE, &dwOrgProtect ))
return FALSE;
memcpy( pDest, szPatch, sSize );
VirtualProtect( pDest, sSize, dwOrgProtect, NULL );
return TRUE;
}
//---------------------------------------------------------------------------------
//---------------------------------------------------------------------------------
bool __stdcall DllMain(HINSTANCE hInst,DWORD reas,void* reserved)
{
while(GameReady() != 1)
{
Sleep(100);
}
Push("ShowFps 1"); //fps
Push("ActivationDistance 9001"); //far reach, its over 9000
Push("FogEnable 1"); //nofog
Push("SkelModelStencil 1"); //nx chams
//Spped
Push("BaseMoveAccel 3000.000000");
Push("StartAccel 560.000000");
Push("MaxAccel 3000.000000");
Push("AccelInc 6000.000000");
Push("WalkVel 110.000000");
Push("FRunVel 320.000000");
Push("BRunVel 320.000000");
Push("SRunVel 320.000000");
Push("DuckVel 100.000000");
//no recoil, ty flameswor

Memoria((LPVOID)(RECOIL1), "\x90\x90\x90", 3);
Memoria((LPVOID)(RECOIL2), "\x90\x90\x90", 3);
Memoria((LPVOID)(RECOIL3), "\x90\x90\x90", 3);
Memoria((LPVOID)(RECOIL4), "\x90\x90\x90", 3);
Memoria((LPVOID)(RECOIL5), "\x90\x90\x90", 3);
//no spread
Push("PerturbRotationEffect 0.000000" );
Push("PerturbIncreaseSpeed 0.000000" );
Push("PerturbWalkPercent 0.000000" );
Push("PerturbFiringIncreaseSpeed 0.000000" );
Push("PerturbRecoil 0.000000" );
Push("FireMovePerturb 0.000000" );
Push("ZoomedFireMoveDuckPerturb 0.000000" );
Push("ZoomedFireMovePerturb 0.000000" );
Push("ZoomedFireDuckPerturb 0.000000" );
//nosway
Push("WeaponSway 0.000000" );
}
[/PHP]


