Plz HElp WHit working BAse

Posts 1–2 of 2 · Page 1 of 1
Plz HElp WHit working BAse
Hey i have a good base
Ant it works Fine
But when i use my hack my Crossfire lags
I use GameBooster
i have a gooD + Fast Pc so it need to be the hack
This is my Source
Code:
#include <windows.h>
#include <iostream>

using namespace std;

void __cdecl PushToConsole(char* szVal ) {
	DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll");
	if( dwCShell != NULL )
	{
		DWORD *LTClient = ( DWORD* )( (dwCShell + 0x299D40) );
		void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x1F8 );
		_asm
		{
			push szVal;
			call CONoff;
			add esp, 4;
		}
	}
}

void hjk() {
	Sleep(3000);
	bool boxes = true; 
	bool nosky = true;

	for(;;) {
						
			if  (boxes) {
				PushToConsole("ModelDebug_DrawBoxes 1");
			}
			else {
				PushToConsole("ModelDebug_DrawBoxes 0");
			}

			if  (nosky) {
				PushToConsole("DrawSky 0");
			}
			else {
				PushToConsole("DrawSky 1");
			}	
	}
}

DWORD WINAPI das(LPVOID) {
	while(GetModuleHandleA("cshell.dll") == NULL ) {
		Sleep(100); 
	}
	hjk();
	return 0;
}

BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
	DisableThreadLibraryCalls(hDll);
	if ( dwReason == DLL_PROCESS_ATTACH )
	{
		MessageBoxA(0, "Coded By Royku", "Injected", 0);
		CreateThread(NULL, NULL,das, NULL, NULL, NULL);
	}
	return TRUE;
}
So can somwhan help me Plz??
Learn c++ , Don t get on our nerves!!
Posts 1–2 of 2 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us