Results 1 to 7 of 7
  1. #1
    failnoobgamer's Avatar
    Join Date
    Dec 2014
    Gender
    male
    Location
    china #1
    Posts
    522
    Reputation
    10
    Thanks
    5,730
    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 07:11 AM.

  2. #2

  3. #3
    Obliteration's Avatar
    Join Date
    Jan 2015
    Gender
    male
    Posts
    696
    Reputation
    142
    Thanks
    621
    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

  5. #5
    Obliteration's Avatar
    Join Date
    Jan 2015
    Gender
    male
    Posts
    696
    Reputation
    142
    Thanks
    621
    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
    522
    Reputation
    10
    Thanks
    5,730
    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?

  7. #7
    Smoke's Avatar
    Join Date
    Nov 2014
    Gender
    male
    Posts
    7,036
    Reputation
    1975
    Thanks
    3,256
    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:
    http://www.mpgh.net/forum/forumdisplay.php?f=813

    Seems this has been solved.

    /Closed.
    My ONLY skype is "smoke.mpgh" Please Private Message me BEFORE Buying/Selling anything from me

    Quote Originally Posted by Liz View Post
    This is my first vouch, ever. Rapidgator account worked perfectly. Would buy in the future.
    MPGH History:
    Joined- November 2014
    Donator/Premium Member- October 2015
    Steam Games Hacks & Cheats Minion- December 2015
    Blackshot Minion- January 2016
    Pharaoh of the Year- 2016
    Minion+- June 2016
    Grand Theft Auto Minion- July 2016
    Official Middleman- September 2016

Similar Threads

  1. [Help] Game keep crashing after inject
    By Wrahul666 in forum Battlefield Play4Free Hacks
    Replies: 3
    Last Post: 01-06-2014, 05:43 AM
  2. keeps crashing after i log on
    By hydrohead79 in forum Combat Arms Help
    Replies: 2
    Last Post: 11-21-2012, 02:18 AM
  3. Replies: 9
    Last Post: 06-12-2012, 03: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, 10: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, 08:06 PM