Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › MultiPlayer Game Hacks & Cheats › Battlefield Hacks & Cheats › Battlefield 4 Hacks & Cheats › BF4 Attachment Unlocker

BF4 Attachment Unlocker

Posts 1–5 of 5 · Page 1 of 1
xlolxapplex
xlolxapplex
BF4 Attachment Unlocker
0x1421968A8 and 0x54

thats all...

Warning: Do not use DICE skins! Attachments only. Using guns you haven't unlocked will spawn you without gun.

Quote Originally Posted by Cultist Turtleist View Post
Is-is this a fucking joke? Can we get more than this?
lel fine F10-Unlock F11-Disable F12-Quit
C++
Code:
#include "stdafx.h"

#include <windows.h>
#include <psapi.h>
#include <tlhelp32.h>


BOOL Unlock( HANDLE hProcess, BOOL status )
{
    // Dereference static pointer

    uintptr_t SyncedSettings = NULL;

    if ( !ReadProcessMemory( hProcess, reinterpret_cast<LPCVOID>( 0x1421968A8 ), &SyncedSettings, sizeof( PVOID ), NULL ) )
    {
        printf( "[!] Failed to call ReadProcessMemory( ), GetLastError( )=%d\n", GetLastError( ) );
        return FALSE;
    }

    // Add offset

    uintptr_t UnlockOffset = SyncedSettings + 0x54;
    byte enabled;

    if ( status )
        enabled = 1;
    else
        enabled = 0;

    if ( !WriteProcessMemory( hProcess, reinterpret_cast<LPVOID>( UnlockOffset ), &enabled, sizeof( enabled ), NULL ) )
    {
        printf( "[!] Failed to call WriteProcessMemory( ), GetLastError( )=%d\n", GetLastError( ) );
        return FALSE;
    }

    printf( "[+] Unlock flag has been set to: %d\n", status );

    return TRUE;
}

DWORD GetProcessByName( LPTSTR lpExeName )
{
    HANDLE hSnapShot = CreateToolhelp32Snapshot( TH32CS_SNAPPROCESS, 0 );

    if ( hSnapShot == INVALID_HANDLE_VALUE )
    {
        printf( "[!] Failed to call CreateToolhelp32Snapshot, GetLastError( ) = %d\n", GetLastError( ) );    
        return NULL;
    }

    PROCESSENTRY32 pe = { 0 };
    pe.dwSize = sizeof( PROCESSENTRY32 );

    for ( BOOL success = Process32First( hSnapShot, &pe ); success == TRUE; success = Process32Next( hSnapShot, &pe ) )
    {
        if ( wcscmp( lpExeName, pe.szExeFile ) == 0 )
        {
            CloseHandle( hSnapShot );
            return pe.th32ProcessID;
        }
    }

    CloseHandle( hSnapShot );
    return NULL;
}

int _tmain( int argc, _TCHAR* argv[] )
{
    printf( "[+] BF4 Unlocker\n" );
    printf( "[+] Waiting for BF4.exe...\n" );

    // Find BF4 in the process list
        
    DWORD dwPid = NULL;

    while( !dwPid )
        dwPid = GetProcessByName( L"bf4.exe" );

    printf( "[+] BF4.exe 0x%X\n", dwPid );
    
    HANDLE hProcess = OpenProcess( PROCESS_ALL_ACCESS, FALSE, dwPid );

    if ( !hProcess )
        printf( "[!] Failed to call OpenProcess( ), GetLastError( )=%d\n", hProcess );

    while( 1 )
    {
        if ( GetAsyncKeyState( VK_F10 ) )
            Unlock( hProcess, TRUE );

        if ( GetAsyncKeyState( VK_F11 ) )
            Unlock( hProcess, FALSE );

        if ( GetAsyncKeyState( VK_F12 ) )
            break;

        Sleep( 100 );
    }

    return 0;
}
#1 · edited 11y ago · 11y ago
CU
Cultist Turtleist
Is-is this a fucking joke? Can we get more than this?
#2 · 11y ago
Zumorio
Zumorio


Any idea what's wrong?
#3 · 11y ago
xlolxapplex
xlolxapplex
Quote Originally Posted by Zumorio View Post


Any idea what's wrong?
Try
#4 · 11y ago
CU
Cultist Turtleist
I appreciate you adding more, I will try this out and post feedback.
#5 · 11y ago
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

  • need like a all the attachments unlockedBy urmoms in Call of Duty Modern Warfare 2 Help
    1Last post 16y ago
  • Attachment UnlockerBy Asianator in Call of Duty Modern Warfare 2 Help
    5Last post 16y ago
  • K-Volt attachment unlocks!!!By Cezad in Crysis 2 Help
    3Last post 15y ago
  • [SOLVED]Attachment unlockBy dobrique24 in Call of Duty Modern Warfare 2 Help
    2Last post 16y ago
  • [script] Changing Weapon Attachment Unlock RequirementsBy lolocauster in Crysis 2 Hacks / Cheats
    13Last post 15y ago

Tags for this Thread

#attachment#bf4