Page 1 of 2 12 LastLast
Results 1 to 15 of 26
  1. #1
    cryptobeen's Avatar
    Join Date
    Nov 2016
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    2

    No Recoil - After November 15

    Thank you for help of numerous members of this site!

    Bellow, my code for NoRecoil after November 15 update.

    #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™ 1"))
    {
    printf("Fail to open the process");
    return 0;
    }

    //norecoil
    // Gamecontex-Localplyaer-ClientSoldierEntity-ClientSoldierWeapon-ClientWeapon-WeaponFiringData-GunSwayData
    if (m.Read(0x1434156D0)->r(0x68)->r(0x578)->r(0x1D48)->r(0x0670)->r(0x4a18)->r(0x18)->r(0x38))
    {
    //float m_ShootingRecoilDecreaseScale; // 0x03C8
    //float m_FirstShotNoZoomDispersionMultiplier; // 0x03CC
    //float m_FirstShotZoomDispersionMultiplier; // 0x03D0
    //float m_FirstShotRecoilMultiplier; // 0x03D4
    //float m_PowerOfDispersionRandom; // 0x03D8
    m.Write<float>(0x03C8, 100.0f);
    m.Write<float>(0x03CC, 0.0f);
    m.Write<float>(0x03D0, 0.0f);
    m.Write<float>(0x03D4, 0.0f);
    m.Write<float>(0x03D8, 0.0f);
    printf("\nNoRecoil...");
    }
    return 0;
    }

    Attached Thumbnails Attached Thumbnails
    GunSwayData.PNG  


  2. The Following 2 Users Say Thank You to cryptobeen For This Useful Post:

    db86 (2 Days Ago),JohnDoe1335 (2 Weeks Ago)

  3. #2
    janek333's Avatar
    Join Date
    Nov 2016
    Gender
    male
    Posts
    5
    Reputation
    10
    Thanks
    0
    How to use it cause still get "fail to open process"

  4. #3
    cryptobeen's Avatar
    Join Date
    Nov 2016
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    2
    Verify if your proccess have this name "Battlefield™ 1". Tested on Windows 10 64x. Works fine!
    Last edited by cryptobeen; 2 Weeks Ago at 07:42 AM.

  5. #4
    janek333's Avatar
    Join Date
    Nov 2016
    Gender
    male
    Posts
    5
    Reputation
    10
    Thanks
    0
    Yes have Battlefield™ 1 but still get error... Started game and code and still error.

    Edit.

    Now it's working heh... Forgot start program via exe after compilation it in Dec-C++ <shame on me> I tried run it via Dec-C++ then i saw error "fail bla bla"
    Last edited by janek333; 2 Weeks Ago at 05:26 AM.

  6. #5
    ardentangel's Avatar
    Join Date
    Nov 2016
    Gender
    female
    Posts
    2
    Reputation
    10
    Thanks
    0
    hey can you get banned for this?

  7. #6
    JohnDoe1335's Avatar
    Join Date
    Jun 2015
    Gender
    male
    Posts
    23
    Reputation
    10
    Thanks
    2
    My Mood
    Blah
    Would it be possible to compile this into an AHK? It works great, thank you.
    Last edited by JohnDoe1335; 2 Weeks Ago at 08:17 PM.

  8. #7
    Patriot99's Avatar
    Join Date
    Apr 2016
    Gender
    male
    Posts
    19
    Reputation
    10
    Thanks
    2
    Quote Originally Posted by JohnDoe1335 View Post
    Would it be possible to compile this into an AHK? It works great, thank you.
    yeah AHK would be nice as i'm a bit more familiar with it. I have no clue what anything above means lol thanks

  9. The Following User Says Thank You to Patriot99 For This Useful Post:

    ercivan (2 Weeks Ago)

  10. #8
    JohnDoe1335's Avatar
    Join Date
    Jun 2015
    Gender
    male
    Posts
    23
    Reputation
    10
    Thanks
    2
    My Mood
    Blah
    C++ is quite complicated anyway, basically all this is doing is reading the Bf1 process, and countering the in game code by writing to it. I prefer AHK because you don't need an EXE and is more simple than c++. This can get you banned for sure because the recoil is 0, there is no pixel movement on screen when a shot is taken, FairFight can pick it up and flag you for it if you hit the same location multiple times. I noticed that it still has some spread though and that might save you, just don't use this all the time.

  11. #9
    cryptobeen's Avatar
    Join Date
    Nov 2016
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    2
    Quote Originally Posted by ardentangel View Post
    hey can you get banned for this?
    I am using this code since BF4. I just adapted this for BF1.

  12. #10
    cryptobeen's Avatar
    Join Date
    Nov 2016
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    2
    Quote Originally Posted by JohnDoe1335 View Post
    C++ is quite complicated anyway, basically all this is doing is reading the Bf1 process, and countering the in game code by writing to it. I prefer AHK because you don't need an EXE and is more simple than c++. This can get you banned for sure because the recoil is 0, there is no pixel movement on screen when a shot is taken, FairFight can pick it up and flag you for it if you hit the same location multiple times. I noticed that it still has some spread though and that might save you, just don't use this all the time.
    Don't worry! I don't removed the spread. So, there some movements on the screen. This is a "unloop cheat" and implicates that not writing all the time on memory. So it's very safe to use.

  13. #11
    taps's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    singapore
    Posts
    9
    Reputation
    10
    Thanks
    2
    Hi! Thanks for sharing!

    Anyway sorry for being a noob but once I've Compiled & Run the .exe is it done?
    Or is there a hotkey to hit in-game to activate

    Dec-c++
    "Process exit after ___ seconds with return value 0. Press any key to continue"

    Am I doing it right?
    Last edited by taps; 1 Week Ago at 11:16 AM. Reason: I'm a noob

  14. #12
    janek333's Avatar
    Join Date
    Nov 2016
    Gender
    male
    Posts
    5
    Reputation
    10
    Thanks
    0
    Dont run it in Dev C++ (had same problem), run game, minimalize, start compiled .exe as admin and check it

  15. #13
    taps's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    singapore
    Posts
    9
    Reputation
    10
    Thanks
    2
    Oh thanks!

  16. #14
    Patriot99's Avatar
    Join Date
    Apr 2016
    Gender
    male
    Posts
    19
    Reputation
    10
    Thanks
    2
    So what do you do with the code? I'm clueless to this stuff, help a noob, thanks

  17. #15
    lumpi999's Avatar
    Join Date
    Oct 2013
    Gender
    male
    Posts
    45
    Reputation
    10
    Thanks
    10
    My Mood
    Amused
    well your code or copy it?
    btw


    if (m.Read(0x1434156D0)->r(0x68)->r(0x578)->r(0x1D48)->r(0x658))
    {
    m.Write<float>(0x58, 0.0f);
    }
    add this for no breath
    btw. after every change player clas you must start the app new!!

Page 1 of 2 12 LastLast

Similar Threads

  1. [Outdated] No Recoil after patch update 28-04
    By bobcarlson in forum Heroes & Generals Hacks & Cheats
    Replies: 5
    Last Post: 05-01-2015, 04:34 AM
  2. [Detected] AVA public hack- no recoil, no spread, damage maximization - (November 29 2012)
    By ccman32 in forum Alliance of Valiant Arms (AVA) Hacks & Cheats
    Replies: 115
    Last Post: 12-04-2012, 11:00 AM
  3. [Solved] Hacks after the 8th November 2012 patch
    By incorporal in forum Alliance of Valiant Arms (AVA) Help
    Replies: 2
    Last Post: 11-09-2012, 02:02 PM
  4. Non working injectors after Vind EU patch 2th of november
    By BennieFris in forum Vindictus Help
    Replies: 15
    Last Post: 11-04-2011, 04:31 AM
  5. ANyone has Chams and no recoil hack?after 4/9/10
    By KorAxity in forum Combat Arms Hacks & Cheats
    Replies: 25
    Last Post: 04-09-2010, 05:08 PM