[source] boxes nosmoke

Posts 1–15 of 22 · Page 1 of 2
[source] boxes nosmoke
Code:
#include "stdafx.h"
#include <windows.h>
#include <iostream>

using namespace std;

bool IsGameReadyForHook()
{
	if( GetModuleHandleA( "CShell.dll"  ) != NULL ) {
		return true;
	} else {
		return false;
	}
}

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


void main() {
	Sleep(8000);
	bool dozen = false;
	bool nosmoke = false;


	while("why" == "why" ) {
		if(GetAsyncKeyState(VK_F10)<0){
			dozen = !dozen;
		}
		if(GetAsyncKeyState(VK_F9)<0){
			nosmoke = !nosmoke;
		}

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

		if(nosmoke) {
			PushToConsole("DrawParticles 0");
		} else {
			PushToConsole("DrawParticles 1");
		}
		Sleep(120);
	}
}

DWORD WINAPI yhd(LPVOID) {
	while(IsGameReadyForHook() )
	Sleep(125);
	main();
	return 0;
}

BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ) {
	DisableThreadLibraryCalls(hDll);
	if ( dwReason == DLL_PROCESS_ATTACH ) {
		MessageBoxA(0, "Coded By lauwy\nMPGH\nWindows 7 only", "Injected", 0);
		CreateThread(NULL, NULL, yhd, NULL, NULL, NULL);
	}
	return true;
}
Added anti leeche protection
Why realse when its protection?!
edit some parts, change them then it works
this is only for C++ coders bcause beginners don't know how to edit
uhhhh .. i want to know how to code .. even simple box hack i dont know how to code T_T pls help me lauwy help me and overan
yay! I could edit it xD
FAIL anti leach,u gave us the code lol, and why did u put ('why' == 'why') , that made me lol like RAZY :P, i would refrence two different functions that have the same return value if u wanted to make it confusing ..lol
thx i edit it successfully! and work 100%
how to edit [why why]?? what do i change?
plsss say that! what i edit?

("why" == "why" ) what i do?
Quote Originally Posted by mechanical2015 View Post
plsss say that! what i edit?

("why" == "why" ) what i do?
It's easy just figure it out. I barely know anything of C++ and I got it working lol.
I will not say anything with this post
Posts 1–15 of 22 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us