Results 1 to 6 of 6
  1. #1
    Dread929's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    Visual Studio 2010 Because MPGH told me to. :/
    Posts
    106
    Reputation
    10
    Thanks
    17
    My Mood
    Breezy

    [Help] First hack help plz :/

    Hello all im about 25 minutes new to coding c++ and im usng dev-c++
    im getting errors :/

    heres the code
    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 https://www.mpgh.net");
    		CreateThread(NULL, NULL, dwMainThread, NULL, NULL, NULL);
    	}
    	return TRUE;
    }
    Error:
    C:\Documents and Settings\Nick\Desktop\CrossFire Hack Base1.cpp In function `void PushToConsole(char*)':
    C:\Documents and Settings\Nick\Desktop\CrossFire Hack Base1.cpp In function `void PushToConsole(char*)':
    (Each undeclared identifier is reported only once for each function it appears in.)
    26 C:\Documents and Settings\Nick\Desktop\CrossFire Hack Base1.cpp expected `;' before ')' token
    28 C:\Documents and Settings\Nick\Desktop\CrossFire Hack Base1.cpp `call' undeclared (first use this function)
    29 C:\Documents and Settings\Nick\Desktop\CrossFire Hack Base1.cpp `add' undeclared (first use this function)
    29 C:\Documents and Settings\Nick\Desktop\CrossFire Hack Base1.cpp expected `;' before "esp"
    29 C:\Documents and Settings\Nick\Desktop\CrossFire Hack Base1.cpp At global scope:
    32 C:\Documents and Settings\Nick\Desktop\CrossFire Hack Base1.cpp expected declaration before '}' token
    28 C:\Documents and Settings\Nick\Desktop\CrossFire Hack Base1.cpp expected `;' before "CONoff"
    __________________________________________________ _______________________________________
    I coded white walls in
    [IMG][/IMG]

  2. #2
    syberpro's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    434
    Reputation
    12
    Thanks
    222
    My Mood
    Inspired
    sorry i cant help you i know 0 about c++

  3. #3
    Boombox's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    Z OO MIN , IN THE FOreign ⛽️🚓
    Posts
    17,815
    Reputation
    3738
    Thanks
    4,105
    My Mood
    Relaxed
    I thought it already had white walls..

    Quote Originally Posted by DnsLeak View Post
    Yes I agree with this guy. Boombox is a most retard shit mpgh staff I ever know. Previously a user open scam report open on me saying that I bitcoin double spent him and this shit Boombox shit talk and agree on it.
    Quote Originally Posted by Dave84311 View Post
    hahahah boombox is a piece of shit who deserves CS

  4. #4
    [D]rUg's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    263
    Reputation
    10
    Thanks
    10
    it does what are u trying to do >?

  5. #5
    syberpro's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    434
    Reputation
    12
    Thanks
    222
    My Mood
    Inspired
    idk maybe trying to recode it :S

    explain please

  6. #6
    Dread929's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    Visual Studio 2010 Because MPGH told me to. :/
    Posts
    106
    Reputation
    10
    Thanks
    17
    My Mood
    Breezy
    err im not using dev c++ anymore and it didnt have whitewalls tbh. mine didnt. but anyways im using visual c++ express and now its saying.
    Dread929 Public CF.cpp(3): fatal error C1083: Cannot open precompiled header file: 'Debug\Dread929 Public CF.pch': No such file or directory
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    when i try to compile. help :S

    Fuck coding. i cant even do shit without errors O.o
    Last edited by Dread929; 07-29-2010 at 08:49 AM.
    [IMG][/IMG]

Similar Threads

  1. it detects my hacks now?? help plz
    By jusa1234 in forum General
    Replies: 4
    Last Post: 01-07-2009, 06:53 PM
  2. Public hack problem.Plz help!!
    By Felipeb18 in forum Combat Arms Hacks & Cheats
    Replies: 4
    Last Post: 01-07-2009, 05:47 PM
  3. v1.07 C/A Hack Help! plz help
    By Jho518 in forum Hardware & Software Support
    Replies: 5
    Last Post: 12-28-2008, 02:03 PM
  4. NEED HELP ABOUT VIP FLY HACK AND ... PLZ
    By manu123 in forum Combat Arms Hacks & Cheats
    Replies: 1
    Last Post: 12-23-2008, 09:11 AM
  5. HELP PLZ FOR HACK MAKING
    By jaanus777 in forum WarRock - International Hacks
    Replies: 1
    Last Post: 11-10-2008, 06:32 AM