/*===============================================
*Author : Ovenran & Sir Lauwy (For the Source Code)
*Codes For : Crossfire PH
*If you want this make it into NA or PH Here is the LT pointer:
*PH : 0x9CEE8
*NA : 0x299D40
* Features Will be:
* Chams
* Boxes
* NoSmoke
* NoSky
*================================================*/
#include "stdafx.h"
#include <windows.h>
#include <iostream>
#include <d3d9.h>
using namespace std;
#define GR_BL (m_Stride == 40 || m_Stride == 44)// Define Players
int Start() {
if( GetModuleHandleA("CShell.dll")!= NULL) {
return true;
} else {
return false;
}
}
void __cdecl PushToConsole(char* command ) {
DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll");
if( dwCShell != NULL )
{
DWORD *LTClient = ( DWORD* )( (dwCShell + 0x9CEE8) );
void* sec2 = ( void* )*( DWORD* )( *LTClient + 0x1F8 );
_asm
{
push command;
call sec2;
add esp, 4;
}
}
}
void main() {
Sleep(8000);
bool chubby = true;
bool box = true;
bool smoker = true;
bool skies = true
while(true) {
if(GetAsyncKeyState (VK_F2)&1){
chubby = true;
}else{
chubby = false;
}
if(GetAsyncKeyState (VK_F3)&1){
box = true;
}else{
box = false;
}
if(GetAsyncKeyState (VK_F4)&1){
smoker = true;
}else{
smoker = false;
}
if(GetAsyncKeyState (VK_F5)&1){
skies = true;
}else{
skies = false;
}
if(chubby){
if(GR_BL){
pDevice->SetTexture(0, Blue);
}
}
if (box){
PushToConsole("ModelDebug_DrawBoxes 1");
}else{
PushToConsole("ModelDebug_DrawBoxes 0");
}
if (smoker){
PushToConsole("DrawParticles 0");
}else{
}
PushToConsole("DrawParticles 1");
if (skies){
PushToConsole("DrawSky 0");
}else{
PushToConsole("DrawSky 1");
}
Sleep(120);
}
}
DWORD WINAPI Ready(LPVOID)
{
while (!Start())
Sleep(100);
main();
return 0;
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
MessageBoxA(0, "More Hacks at vipcoder**** or learncpp****", "Hack Success", 0);
CreateThread(NULL, NULL, Ready, NULL, NULL, NULL);
}
return TRUE;
}
DD