[RELEASE] Mpgh CrossFire Hack Base

Posts 46–60 of 135 · Page 4 of 9
Need German explain :/
Someone needs to get OverDrivejt in here and add some support for those who are trying to get it working...I'm 98% to getting it running, and now I'm getting an error that I have no clue as to fix...
Quote Originally Posted by J View Post
Mpgh CrossFire Hack Base



Features:
  • "PushToConsole" Function Configured For CrossFire
  • Easy To Read And Configure
  • Hack Examples (Hotkeys With On\Off Functions)


Code:
Coded By [MPGH]Blood For www.Mpgh.net
 
  Credits:
 
[MPGH]Blood
[MPGH]Zoom
[MPGH]Void
[MPGH]Why06
Swiftdude
mmbob
Gellin
VirusTotal
Jotti's
awsome hanks m8
Looky looky!



Hurray!

Now that I KNOW I know what I'm doing, I'm going to see about this cshell.dll thing and tinker with some other commands...^~^
Can u help me. im very new at coding. i added white walls. i compiled. everything went great but it sais '_asm' undeclared (first use this function) im using dev-C++
Quote Originally Posted by Dread929 View Post
Can u help me. im very new at coding. i added white walls. i compiled. everything went great but it sais '_asm' undeclared (first use this function) im using dev-C++
add another " _ " at the start of it...
Oooh ur my smart cookie can i add u?

Uh oh then err nvm ima just give u this.

Code:
/*******************************************************************/
/*																   */
/*			   Coded By [MPGH]Blood For www.Mpgh.net			   */
/*																   */
/*																   */
/*  Credits:													   */
/*		[MPGH]Blood												   */
/*		[MPGH]Zoom												   */
/*		[MPGH]Void				    							   */
/*		[MPGH]Why06 			    							   */
/*		Swiftdude				    							   */
/*		mmbob   				    							   */
/*		Gellin  				    							   */
/*******************************************************************/

#include <Windows.h>

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

BOOL WINAPI Main (LPVOID)
{
	bool boxes = false;
	bool nosky = false;
	bool worldframe = false;
	bool playerframe = false;
	bool nogun = false;
	bool whitewalls = false;
	while(1)
	{
		if(GetAsyncKeyState(VK_NUMPAD1)&1)
		{
			boxes = !boxes;
		}
		if(GetAsyncKeyState(VK_NUMPAD2)&1)
		{
			nosky = !nosky;
		}
		if(GetAsyncKeyState(VK_NUMPAD3)&1)
		{
			worldframe = !worldframe;
		}
		if(GetAsyncKeyState(VK_NUMPAD4)&1)
		{
			playerframe = !playerframe;
		}
		if(GetAsyncKeyState(VK_NUMPAD5)&1)
		{
			nogun = !nogun;
		}

		if  (boxes)
			PushToConsole("ModelDebug_DrawBoxes 1");
		else
			PushToConsole("ModelDebug_DrawBoxes 0");

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

		if  (worldframe)
			PushToConsole("WireFrame 1");
		else
			PushToConsole("WireFrame 0");

		if  (playerframe)
			PushToConsole("WireFrameModels 1");
		else
			PushToConsole("WireFrameModels 0");

		if  (nogun)
			PushToConsole("DrawGuns 0");
		else
			PushToConsole("DrawGuns 1")
  
        if  (whitewalls)
            PushToConsole("DrawFlat 0")
        else
            PushToConsole("DrawFlat 1")



		Sleep(100);
	}
}

bool Ready(void)
{
    if( GetModuleHandleA("CShell.dll")!= false)
        return true;
    return false;
}

DWORD WINAPI dwMainThread(LPVOID)
{
	while (!Ready())
		Sleep(200);
	CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Main, NULL, NULL, NULL);
	return 0;
}

BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
	DisableThreadLibraryCalls(hDll);
	if ( dwReason == DLL_PROCESS_ATTACH )
	{
		MessageBoxA(0, "Mpgh.net CrossFire Hack Base \n\n\nCoded By [MPGH]Blood", "Injected", 0);
		system("start http://www.mpgh.net");
		CreateThread(NULL, NULL, dwMainThread, NULL, NULL, NULL);
	}
	return TRUE;
}
the ) below _asm_ is errored. wht now? :<
[php] _asm_
)
push szVal;
call CONoff;
add esp, 4;
}
[/php]
You don't know how bad this made me laugh... :3

1) Your braces are incorrect. You have it ) ), in stead of ( )...your asm code is floating in limbo.

Fixed...

[php]
__asm // <--- That should still work fine. If it doesn't, then try _asm_
{
push szVal
call CONoff
add esp, 4
}

[/php]
and dont use dev c++ that one doesnt work well with cshell.dll
how the hell can i use this
Quote Originally Posted by bmwforever View Post
how the hell can i use this
yeah i need a explain too. /
can you add preview please
Hmm then wha should i use instead ofdev??

Yeah the bracket is still being a douchenozzle :<
Quote Originally Posted by Dread929 View Post
Hmm then wha should i use instead ofdev??

Yeah the bracket is still being a douchenozzle :<
get like 2008 or 2010 express /yea
yeah im doing that now. and its actually giving me net framework 4 ive been stuck with 2 the whole time :<
Posts 46–60 of 135 · Page 4 of 9
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us