Results 1 to 7 of 7
  1. #1
    failnoobgamer's Avatar
    Join Date
    Dec 2014
    Gender
    male
    Location
    china #1
    Posts
    533
    Reputation
    10
    Thanks
    5,878
    My Mood
    Happy

    My DLL keeps crashing after around 5minutes of gameplay. Can someone help me?

    Code:
    #include <Windows.h>
    
    void TotalItem1()
    {
    	{
    		*(BYTE*)0x004F137F = 0x84;
    		*(BYTE*)0x008B17B1 = 0x6E;
    	}
    }
    
    
    void TotalItem2()
    {
    	{
    		*(BYTE*)0x004F137F = 0x85;
    		*(BYTE*)0x008B17B1 = 0x6D;
    	}
    }
    
    
    void MainLoop()
    {
    	while (1)
    	{
    
    		if (GetKeyState(VK_HOME)<0) 
    		{ 
    			TotalItem1(); 
    		}
    		if (GetKeyState(VK_END)<0) 
    		{ 
    			TotalItem2(); 
    		}
    
    		if (GetAsyncKeyState(VK_F5))
    		{
    			*(DWORD*)(*(DWORD*)(*(DWORD*)(0x00994D18) + 0xdf8) + 0x188) = 3;	// okay 2
    			*(DWORD*)(*(DWORD*)(*(DWORD*)(0x00994D18) + 0xdf8) + 0x169) = 00;	// okay 2
    			*(DWORD*)(*(DWORD*)(*(DWORD*)(0x00994D18) + 0xdf8) + 0x21f) = 101;	// okay 2
    
    		}
    		if (GetAsyncKeyState(VK_F7))
    		{
    			DWORD ak471 = *(DWORD*)(*(DWORD*)(0x00994D18) + 0xdf8);
    			*(float*)(ak471 + 0x178) = 3000.0f; // Speed Hack
    		}
    
    		if (GetAsyncKeyState(VK_SPACE)) //FLY HACK
    		{
    			if (GetAsyncKeyState(VK_CAPITAL))
    
    				*(DWORD*)(*(DWORD*)(*(DWORD*)(0x0099A0AC) + 0x3c) + 0x3bf) = 68;
    
    
    
    		}
    		
    		Sleep(100);
    	}
    }
    
    BOOL WINAPI DllMain(HMODULE hModule, DWORD dwReason, LPVOID lpvReserved)
    {
    	if (dwReason == DLL_PROCESS_ATTACH) {
    		CreateThread(0, 0, (LPTHREAD_START_ROUTINE)MainLoop, 0, 0, 0);
    		//MessageBox(NULL, TEXT("Addresses by Cyrax. Compiled by FailNoobGamer"), TEXT("SUCCESS"), 0);
    	}
    	return 1;
    }
    Last edited by failnoobgamer; 02-29-2016 at 06:11 AM.

  2. #2
    failnoobgamer's Avatar
    Join Date
    Dec 2014
    Gender
    male
    Location
    china #1
    Posts
    533
    Reputation
    10
    Thanks
    5,878
    My Mood
    Happy
    @yulu is there any error in my coding? Thanks in advance.

  3. #3
    Obliteration's Avatar
    Join Date
    Jan 2015
    Gender
    male
    Posts
    707
    Reputation
    154
    Thanks
    646
    Quote Originally Posted by failnoobgamer View Post
    @yulu is there any error in my coding? Thanks in advance.
    are you using extreme injector?

  4. #4
    failnoobgamer's Avatar
    Join Date
    Dec 2014
    Gender
    male
    Location
    china #1
    Posts
    533
    Reputation
    10
    Thanks
    5,878
    My Mood
    Happy
    Quote Originally Posted by Obliteration View Post
    are you using extreme injector?
    Yeah. /msg2short

  5. #5
    Obliteration's Avatar
    Join Date
    Jan 2015
    Gender
    male
    Posts
    707
    Reputation
    154
    Thanks
    646
    Quote Originally Posted by failnoobgamer View Post
    Yeah. /msg2short
    extreme injector is detected lol.
    use another injector and it'll work.

  6. #6
    failnoobgamer's Avatar
    Join Date
    Dec 2014
    Gender
    male
    Location
    china #1
    Posts
    533
    Reputation
    10
    Thanks
    5,878
    My Mood
    Happy
    Quote Originally Posted by Obliteration View Post
    extreme injector is detected lol.
    use another injector and it'll work.
    Alright. thanks got any injectors to recommend?
    Last edited by failnoobgamer; 03-01-2016 at 03:33 AM.

  7. #7
    Smoke's Avatar
    Join Date
    Nov 2014
    Gender
    male
    Posts
    11,899
    Reputation
    2661
    Thanks
    4,610
    My Mood
    Amazed
    Quote Originally Posted by failnoobgamer View Post
    Alright. thanks got any injectors to recommend?
    There are many injectors in the "Blackshot Injectors & Tools" section located here:
    https://www.mpgh.net/forum/forumdisplay.php?f=813

    Seems this has been solved.

    /Closed.


    CLICK TO BUY NOW!!


    Quote Originally Posted by Liz View Post
    This is my first vouch, ever. Rapidgator account worked perfectly. Would buy in the future.

Similar Threads

  1. [Help] Game keep crashing after inject
    By Wrahul666 in forum Battlefield Play4Free Hacks
    Replies: 3
    Last Post: 01-06-2014, 04:43 AM
  2. keeps crashing after i log on
    By hydrohead79 in forum Combat Arms Help
    Replies: 2
    Last Post: 11-21-2012, 01:18 AM
  3. Replies: 9
    Last Post: 06-12-2012, 02:29 AM
  4. [Info] the old mlang.dll still works after today patch!!!! i still can wall, why is that?
    By phillyfunguy in forum CrossFire Discussions
    Replies: 10
    Last Post: 02-02-2012, 09:07 AM
  5. Game Keeps crashing after playing for a few seconds with hacks
    By mattskate19 in forum Battlefield Heroes Hacks
    Replies: 4
    Last Post: 12-17-2011, 07:06 PM