Código Hacker CrossFire
Programas :
Microsoft Visual C++ 2010
Microsoft DirectX SDK (June 2010)
Tópico para inciantes.
http://www.mpgh.net/forum/578-crossf...-em-hacks.html
http://www.mpgh.net/forum/615-crossf...de-hacker.html
Tópicos Relacionado ao assunto.
http://www.mpgh.net/forum/615-crossf...e-de-cfal.html
http://www.mpgh.net/forum/615-crossf...m-hackers.html
http://www.mpgh.net/forum/615-crossf...-ternaria.html
http://www.mpgh.net/forum/615-crossf...05-2013-a.html
http://www.mpgh.net/forum/615-crossf...m-hackers.html
http://www.mpgh.net/forum/615-crossf...03-2013-a.html
Utilize de sua criatividade para entender os código.
Código para hook D3D.
Define
Code:
LPDIRECT3DDEVICE9 pDevice;
Code:
pDevice->SetRenderState( D3DRS_ZENABLE, D3DZB_FALSE );
Code:
pDevice->SetRenderState(D3DRS_LIGHTING, false);
Code:
pDevice->SetRenderState(D3DRS_FILLMODE,D3DFILL_WIREFRAME);
Code:
pDevice->SetRenderState(D3DRS_FOGENABLE, false);
Code:
pDevice->SetRenderState( D3DRS_SRCBLEND, 3 ); pDevice->SetRenderState( D3DRS_DESTBLEND, 4 ); pDevice->SetRenderState( D3DRS_ALPHABLENDENABLE, true );
Define
Code:
LPDIRECT3DDEVICE9 pDevice;
Code:
IDirect3DVertexBuffer9* pStreamData = NULL; UINT iOffsetInBytes,iStride; pDevice->GetStreamSource(0,&pStreamData,&iOffsetInBytes,&iStride);
WallHack
Code:
if (iStride == 44||iStride == 39 || iStride == 40||iStride==32||iStride==34||iStride==42)
{
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_NEVER);
}
Code:
if (iStride == 44||iStride == 39 || iStride == 40||iStride==32||iStride==34||iStride==42){
pDevice->SetRenderState(D3DRS_LIGHTING, false); //fullbright
pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255,255,255,255));
}
Code:
if (iStride == 44||iStride == 39 || iStride == 40||iStride==32||iStride==34||iStride==42){
pDevice->SetRenderState(D3DRS_FILLMODE,D3DFILL_WIREFRAME);
}
Code:
pDevice->SetRenderState(D3DRS_FOGENABLE, false);
Code:
if (iStride == 44||iStride == 39 || iStride == 40||iStride==32||iStride==34||iStride==42){
pDevice->SetRenderState( D3DRS_SRCBLEND, 3 );
pDevice->SetRenderState( D3DRS_DESTBLEND, 4 );
pDevice->SetRenderState( D3DRS_ALPHABLENDENABLE, true );
}
Dividida em dois tipo:
Jogador (Player)
Arma(Weapon)
Defines:
Code:
DWORD CShell = (DWORD)GetModuleHandleA( "CShell.dll" ); DWORD pWeaponMgr = *(DWORD*)(CShell + AddressWeaponMgr); DWORD Weapon = (*(DWORD*)( pWeaponMgr + (4*i)) ); DWORD BasicPlayerInfo = *(DWORD*)(CShell + AddressPlayerMgr); for(int icontador = 0; contador <= 1000; contador++)
NoWeaponRaload
Code:
*(float*)(Weapon + AddressNoreload) = 100.0f;
Code:
*(float*)(Weapon + AddressRecoil1 + contador*4) = 0.0f; *(float*)(Weapon + AddressRecoil2 + contador*4) = 0.0f; *(float*)(Weapon + AddressRecoil3 + contador*4) = 0.0f; *(float*)(Weapon + AddressRecoil4 + contador*4) = 0.0f; *(float*)(Weapon + AddressRecoil5 + contador*4) = 0.0f; *(float*)(Weapon + AddressRecoil6 + contador*4) = 0.0f; *(float*)(Weapon + AddressRecoil7 + contadorl*4) = 0.0f;
Weapon Damanage
Code:
*(float*)(Weapon + AddressDamanage) = 99999.0f;
Code:
*(float*)(Weapon + AddressKnifeNormalAniRate+(4*contador)) = 2.0f;
Jogador (Player)
Seeghost
Code:
*(float*)(BasicPlayerInfo + 0x88) = (float)300; *(float*)(BasicPlayerInfo + 0x8C) = (float)300; *(float*)(BasicPlayerInfo + 0x90) = (float)300;
C4FastPlant
Code:
*(float*)(BasicPlayerInfo + AddresFastPlant) = 1.6f;
Code:
*(float*)(BasicPlayerInfo + AddresFastDefuse) = 1.6f;
Source code Classe Hack
Tutorial:http://www.mpgh.net/forum/615-crossf...layerinfo.html
Dividida em dois tipo:
Jogador (Player)
Arma(Weapon)
Define:
Code:
DWORD CShell = (DWORD)GetModuleHandleA( "CShell.dll ); BasicPlayerInfo *BasicPlayerInfoPointer = *(BasicPlayerInfo **)(CShell + AddressPlayerMgr); WeaponManager *WeaponManagerPointer = *(WeaponManager **)(CShell + AddressWeaponMgr);
C4FastDefuse:
Code:
BasicPlayerInfoPointer->C4DefuseTime = 1.6f;
Code:
BasicPlayerInfoPointer->C4PlantTime = 1.6f;
Code:
BasicPlayerInfoPointer->MovementDuckWalkRate = 1.7f;
Code:
BasicPlayerInfoPointer->MovementWalkRate= 1.7f;
MaxC4Distancedefuse
Code:
BasicPlayerInfoPointer->MaxCanDefuseDistance= 999999.0f;
Code:
WeaponManagerPointer->Knife360° =(float) valor;
Code:
WeaponManagerPointer->FastKnife_1 =(float) valor; WeaponManagerPointer->FastKnife_2 =(float) valor; WeaponManagerPointer->FastKnife_3 =(float) valor;
Code:
WeaponManagerPointer->NoWeight =(float) valor;
Créditos:
@Rullez
@We11
@dreek1
@XarutoUsoCrack
@FooChaos
@luizimloko
@Pingo
@V1
@6ixth @backdoor @HackFail
Agradeça se foi útil á você.


