Results 1 to 12 of 12
  1. #1
    Marcelis02's Avatar
    Join Date
    Jun 2014
    Gender
    male
    Posts
    33
    Reputation
    10
    Thanks
    71
    My Mood
    Devilish

    Post BFH - Simple NoRecoil & NoSpread & NoBreath (c++)

    Only works for weapons that you use. So when you change weapons, you must restart. The reason is that "without loop" study. This is a very good idea!. Because, write only once in memory and shuts down. Thus, the probability of being detected by the PB is reduced. And you only need to copy and paste. That's all...

    Offset new (01.03.2016) and only X64 (DWORD64)

    OFFSET_ANGLES : 0x1425CCEB0
    OFFSET_GAMECONTEXT : 0x14289F480


    Code:
    #include <iostream>
    #include <Windows.h>
     
    class Mem
    {
    private:
    	DWORD pid;
    	HANDLE Handle;
    	DWORD64 value;
    public:
    	inline bool OpenTargetProcess(char * windowName)
    	{
    		HWND Hwnd = FindWindowA(NULL, windowName);
    		if (!Hwnd) return false;
    		GetWindowThreadProcessId(Hwnd, &pid);
    		Handle = OpenProcess(PROCESS_ALL_ACCESS, false, pid);
    		return Handle;
    	}
    	inline Mem *Read(DWORD64 address)
    	{
    		this->value = address;
    		return (this->r(0));
    	}
    	inline Mem *r(DWORD64 ofs)
    	{
    		if (!this || !value)
    			return 0;
     
    		if (!ReadProcessMemory(Handle, (void*)(value + ofs), &value, sizeof(DWORD64), 0))
    			return 0;
     
    		return this;
    	}
    	template <typename T>
    	inline bool Get(DWORD64 ofs, LPVOID buffer)
    	{
    		if (Handle == 0 || !value)
    			return false;
     
    		if (!ReadProcessMemory(Handle, (void*)(value + ofs), (LPVOID)(buffer), sizeof(T), 0))
    			return false;
     
    		return true;
    	}
    	template <typename T>
    	inline bool Write(DWORD64 ofs, T buffer)
    	{
    		if (Handle == 0 || !value)
    			return false;
     
    		if (!WriteProcessMemory(Handle, (void*)(value + ofs), &buffer, sizeof(T), 0))
    			return false;
     
    		return true;
    	}
    };
     
    int main()
    {
    	Mem m;
    	if (!m.OpenTargetProcess("Battlefield Hardline"))
    	{
    		printf("Fail to open the process");
    		return 0;
    	}
    	else{
    		printf("OK BFH...\n");
    	}
    	if (m.Read(0x1425CCEB0)->r(0x49C8)->r(0x78)->r(0x8)) // OFFSET_ANGLES
    	{
    	        m.Write<float>(0x0360, 0.0f);  // NoRecoil
    		m.Write<float>(0x0364, 0.0f);  // NoSpread
    		m.Write<float>(0x0368, 0.0f);  // NoSpread
    		m.Write<float>(0x036C, 0.0f);  // NoSpread
    		m.Write<float>(0x0374, 0.0f);  // NoRecoil
    		m.Write<float>(0x0370, 100.0f);// NoRecoil
    	}
    	if (m.Read(0x14289F480)->r(0x60)->r(0x540)->r(0x1680)->r(0x0648)) // OFFSET_GAMECONTEXT 
    	{
    		m.Write<float>(0x58, 0.0f); // No Breath  
    	}
    	else
    	{
    		printf("Fail...");
    	}
    	Sleep(100);
    	return 0;
    }


    Aalternative just for NoRecoil

    Delete this code:

    C++:
    Code:
    m.Write<float>(0x0364, 0.0f);  // NoSpread
    m.Write<float>(0x0368, 0.0f);  // NoSpread
    m.Write<float>(0x036C, 0.0f);  // NoSpread
    Last edited by Marcelis02; 03-12-2016 at 01:44 PM.

  2. #2
    cheeseygrapes's Avatar
    Join Date
    Mar 2015
    Gender
    male
    Posts
    36
    Reputation
    10
    Thanks
    0
    where do i post this to make it work

  3. #3
    Marcelis02's Avatar
    Join Date
    Jun 2014
    Gender
    male
    Posts
    33
    Reputation
    10
    Thanks
    71
    My Mood
    Devilish
    Quote Originally Posted by cheeseygrapes View Post
    where do i post this to make it work
    you have to use visuel studio C++ and compile it to a .exe then it will work

  4. #4
    Mayion's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Location
    Bed
    Posts
    13,504
    Reputation
    4018
    Thanks
    8,372
    My Mood
    Twisted
    Quote Originally Posted by Marcelis02 View Post
    The reason is that "without loop" study. This is a very good idea!. Because, write only once in memory and shuts down. Thus, the probability of being detected by the PB is reduced.
    If the main block is detected already, re-injection shouldn't increase the chance of it actually getting detected?
    Theoretically, seems valid. But not sure if it does actually has an effect, if any.
    I do not use any type of messenger outside of MPGH.
    Inactive but you can reach me through VM/PM.










     

    Donator - 30 August 2013
    Battlefield Minion - 26 October 2013

    Blackshot Minion - 14 January 2014/16 September 2014
    Minecraft Minion - 7 February 2014/16 September 2014
    WarRock Minion - 23 February 2014
    League of Legends Minion - 21 March 2014

    Minion+ - 15 May 2014
    Other Semi-Popular First Person Shooter Minion - 8 August 2014
    CrossFire Minion - 23 October 2014
    Programming Section Minion - 13 November 2014
    Marketplace Minion - 7 December 2014

    Official Middleman - 7 December 2014 - 27 June 2015
    Moderator - 29 December 2014
    Project Blackout Minion - 10 January 2015
    News Force Interviewer - January 2015
    Steam Games Minion - 21 March 2015
    Dragon Nest Minion - 31 March 2015
    Publicist - April 2015 - 21 September 2015
    Global Moderator - 25 August 2015
    Super User - 13 August 2016



  5. #5
    Marcelis02's Avatar
    Join Date
    Jun 2014
    Gender
    male
    Posts
    33
    Reputation
    10
    Thanks
    71
    My Mood
    Devilish
    Quote Originally Posted by Mayion View Post

    If the main block is detected already, re-injection shouldn't increase the chance of it actually getting detected?
    Theoretically, seems valid. But not sure if it does actually has an effect, if any.
    your right i have been using it for over 8 months and still no Ban i dont now but its still undetected lets stay it that way

  6. #6
    dawind's Avatar
    Join Date
    Oct 2015
    Gender
    male
    Posts
    12
    Reputation
    10
    Thanks
    0
    hi can you give us a step by step guide i already downloaded visual studio and cant compile the file to .exe

  7. #7
    syfydupasmiecie's Avatar
    Join Date
    Mar 2016
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0
    Try harder.
    Last edited by syfydupasmiecie; 04-05-2016 at 03:45 AM. Reason: delete my post please

  8. #8
    nikkoward's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Location
    Buenos Aires.
    Posts
    19
    Reputation
    10
    Thanks
    0
    My Mood
    Relaxed
    It still work?

  9. #9
    Marcelis02's Avatar
    Join Date
    Jun 2014
    Gender
    male
    Posts
    33
    Reputation
    10
    Thanks
    71
    My Mood
    Devilish
    Quote Originally Posted by nikkoward View Post
    It still work?
    yes it still works

    - - - Updated - - -

    add me on skype i can help you skype:marcel.dierijck you see someone called Shadow Reaper thats me see on skype

  10. #10
    JoeDirtXXL's Avatar
    Join Date
    Apr 2016
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    what are the files and locations to change?

  11. #11
    reyizimsi's Avatar
    Join Date
    Mar 2015
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0
    My Mood
    Drunk
    Can anybody teach me how to do this?

  12. #12
    Marcelis02's Avatar
    Join Date
    Jun 2014
    Gender
    male
    Posts
    33
    Reputation
    10
    Thanks
    71
    My Mood
    Devilish
    Updated version for people that cant code i made compiled in a .exe for all of you that cant code https://www.mpgh.net/forum/showthread...0#post11572240

Similar Threads

  1. [Detected] BFH - Simple NoRecoil & NoSpread & NoBreath
    By Marcelis02 in forum Battlefield Hardline Hacks & Cheats
    Replies: 12
    Last Post: 05-24-2016, 01:21 AM
  2. [Outdated] NoRecoil + NoSpread + NoBreath + MiniMap Spotting + External Radar.
    By wyvern1990 in forum Battlefield 4 Hacks & Cheats
    Replies: 44
    Last Post: 10-27-2015, 04:06 AM
  3. [Detected] Battlefield 4 External NoRecoil + NoSpread + NoBreath!
    By ZusCoo in forum Battlefield 4 Hacks & Cheats
    Replies: 10
    Last Post: 02-25-2014, 07:26 AM
  4. [Patched] Battlefield 4 External NoRecoil + NoSpread + NoBreath
    By Mareek89 in forum Battlefield 4 Hacks & Cheats
    Replies: 78
    Last Post: 01-30-2014, 10:59 AM
  5. [Outdated] Battlefield 4 External NoRecoil + NoSpread + NoBreath
    By Veritas in forum Battlefield 4 Hacks & Cheats
    Replies: 79
    Last Post: 01-14-2014, 07:10 AM