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 › CrossFire Hacks & Cheats › CrossFire Hack Coding / Programming / Source Code › Bypass Client Error 31_0

Bypass Client Error 31_0

Posts 1–15 of 40 · Page 1 of 3
Biesi
Biesi
Bypass Client Error 31_0
This bypass works by detouring the client error checks to a backuped piece of memory

Things needed to backup weapons
Code:
typedef struct _WEAPON
{
    unsigned char Data[0x4000];
} WEAPON, *PWEAPON;

PWEAPON pOldWeapons[1600];
Creating the backup to detour the client error check
Code:
void CreateBackup(DWORD dwCShell, DWORD dwWeaponMgr)
{
    DWORD pWeaponMgr = *(DWORD*)(dwCShell + dwWeaponMgr );
    for(int i = 0; i < 1600; i++)
    {
        DWORD dwWeapon = *(DWORD*)(pWeaponMgr + (4 * i));
        if (dwWeapon)
        {
            pOldWeapons[i] = new WEAPON;
            memcpy(pOldWeapons[i], (void*)(dwWeapon), sizeof(WEAPON));
        }
    }
}
Our custom GetWeaponByIndex function to return a pointer to the weapon backup instead of the modified one
Code:
PWEAPON GetWeaponByIndex(int index)
{
    return pOldWeapons[index];
}
Calling our custom GetWeaponByIndex instead of the one in CShell
Code:
DWORD dwBypassWeaponHack = FindPattern(dwCShellBase, 0xFFFFFF, (PBYTE)"\xE8\x00\x00\x00\x00\x83\xC4\x04\x85\xC0\x74\x48\x8B\x0D\x00\x00\x00\x00\x8B\x11", "x????xxxxxxxxx????xx");

DWORD dwOldProtect;
VirtualProtect((void*)(dwBypassWeaponHack + 0x1), sizeof(DWORD), PAGE_EXECUTE_READWRITE, &dwOldProtect);
*(DWORD*)(dwBypassWeaponHack + 0x1) = (DWORD)GetWeaponByIndex - dwBypassWeaponHack - 5;
VirtualProtect((void*)(dwBypassWeaponHack + 0x1), sizeof(DWORD), dwOldProtect, NULL);
 
asm
Code:
1053A94A | 50                       | push eax                                |
1053A94B | C7 44 24 14 00 00 00 00  | mov dword ptr ss:[esp+14],0             |
1053A953 | E8 F8 95 DD FF           | call cshell.10313F50                    |
1053A958 | 83 C4 04                 | add esp,4                               |
1053A95B | 85 C0                    | test eax,eax                            |
1053A95D | 74 48                    | je cshell.1053A9A7                      |
1053A95F | 8B 0D D8 22 A1 10        | mov ecx,dword ptr ds:[10A122D8]         |
1053A965 | 8B 11                    | mov edx,dword ptr ds:[ecx]              |
1053A967 | 8D 5C 24 10              | lea ebx,dword ptr ss:[esp+10]           |
1053A96B | 05 FC 15 00 00           | add eax,15FC                            |
1053A970 | 53                       | push ebx                                |
1053A971 | 50                       | push eax                                |
1053A972 | 8B 42 2C                 | mov eax,dword ptr ds:[edx+2C]           |
1053A975 | FF D0                    | call eax                                |


You can now edit the PViewSkinFileName of weapons without getting 31_0
#1 · 10y ago
dreek1
dreek1
Nice Work Bro!!!
#2 · 10y ago
NIgga*
NIgga*
perfect bro , thx for sharing
#3 · 10y ago
ZF
zFreeLove
Thanks for sharing, GOd Job
#4 · 10y ago
XS
xSiiGN4TuR3x
need help ... my english is not so good is here a german?
#5 · 10y ago
I2espect
I2espect
same as the old bypass but use different hook ?
anyway thanks for sharing
#6 · 10y ago
_Mike92
_Mike92
Working for error 28_3?
#7 · 10y ago
Biesi
Biesi
Quote Originally Posted by _Mike92 View Post
Working for error 28_3?
Yea you just have to use another address
#8 · 10y ago
N1ceB0y
N1ceB0y
How to call this function?
#9 · 10y ago
_Mike92
_Mike92
Quote Originally Posted by Biesi View Post
add eax,15FC
Why is red?
thank u for sharing, that works fo me!
#10 · edited 10y ago · 10y ago
Biesi
Biesi
Quote Originally Posted by _Mike92 View Post
Why is red?
thank u for sharing, that works fo me!
That's the offset for PViewSkinFileName
#11 · 10y ago
ES
EssamDevil
i want to know how to download it plz guys
#12 · edited 10y ago · 10y ago
6I
6ixth

Works fine, GJ! @Biesi

#13 · edited 10y ago · 10y ago
PU
punkhead
can someone make a video how to use all this codes plz ?
#14 · 10y ago
Biesi
Biesi
Quote Originally Posted by punkhead View Post
can someone make a video how to use all this codes plz ?
No, you either learn programming on your own or you get out of the SOURCE CODE section.
#15 · 10y ago
Posts 1–15 of 40 · Page 1 of 3

Post a Reply

Similar Threads

  • Client Error 31_0By iNeedHax* in CrossFire Help
    8Last post 14y ago
  • Bypass Client Error :)By alexisbetco08 in CrossFire Discussions
    5Last post 13y ago
  • Client Error BypassBy HackerMaybe in CrossFire Hack Coding / Programming / Source Code
    12Last post 13y ago
  • Need help with client error bypassBy dakr54 in Crossfire Coding Help & Discussion
    9Last post 13y ago
  • Endereço Client Error 22_2 (OHK Knife) BypassBy luizimloko in CrossFire Latin America / Brazil Hack Source Code
    92Last post 14y ago

Tags for this Thread

None