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 › Programming › C++/C Programming › [ODBG] Anti flash/stun

[ODBG] Anti flash/stun

Posts 1–7 of 7 · Page 1 of 1
why06
why06
[ODBG] Anti flash/stun
Leech Approved by: Hell_Demon

First thing you'll have to do is load up iw4mp.exe in ollydbg.
Next, find -> all referenced text strings.

Step 1:
Search for -> drawDamageFlash


Step 2:
Follow it by pressing enter or double clicking the line


Step 3:
As can be seen in the picture
MOV DWORD PTR DS:[7F0C60], EAX
was what we were looking for.
So, lets go to that addy


Step 4:
Now that we're at the location where this dvar is stored, we'll have to find references to it.


Step 5:
You'll end up with 3 refs.
First one is where we came from(MOV DWORD PTR DS:[7F0C60], EAX)
The second is where we'll want to go
The third is the location of the cvar(from where we found the referece).
So, right click the 2nd entry and click follow in disassembler.


Step 6:
In the function where we now arrived, the value of drawDamageFlash is compared to 0(off), if it is it makes a jump.
Now there's two things we could do.
1 is we change the JE(jump if equal) to JMP(always jump) to remove the flashbang effect
or 2, we pray that this function handles all flash related stuff(so stun grenades too) and return 0 at the top.
I chose for #2, so writeprocessmemory the following to the start of the function to disable flash and stun effects:
B8 00 00 00 00 C3 90
B8 00 00 00 00 is MOV EAX, 0
EAX is the register used for return values.
C3 = return
90 is a nop(no operation), since the original command was 7 bytes long.


Hope this helped

__________________________________________________ ____

All credits to Hell_Demon ofcourse. Thanks bud.
#1 · 16y ago
Retoxified
Retoxified
Awsome! I got stuck on noflash since cg_drawshellshock method was patched
Thanks for this ill look into it some more as I noticed it doesn't remove the slow movement while being stunned
#2 · 16y ago
XG
XGelite
this is nice. Thanks.
#3 · 16y ago
|-|3|_][({}PT3R12
|-|3|_][({}PT3R12
CA? Or what game, i tried using some console command like that but it didn't work =\
#4 · 16y ago
Retoxified
Retoxified
Quote Originally Posted by |-|3|_][({}PT3R12 View Post
CA? Or what game, i tried using some console command like that but it didn't work =\
modern warfare 2
#5 · 16y ago
Zoom
Zoom
Good job hell_demon and why!
#6 · 16y ago
falzarex
falzarex
Glad to see that the Hell_Demon lives on
of course there are a whole list of engine console commands somewhere on the web
#7 · 16y ago
Posts 1–7 of 7 · Page 1 of 1

Post a Reply

Similar Threads

  • How do you do Anti flash?By Synns in Visual Basic Programming
    15Last post 16y ago
  • anti-flash goggles or patriot mask?By Shame in Combat Arms Discussions
    17Last post 15y ago
  • [OllyDBG]No flash/partial stunBy Hell_Demon in Call of Duty Modern Warfare 2 Coding / Programming / Source Code
    2Last post 16y ago
  • Flash MxBy Harvo in Spammers Corner
    9Last post 18y ago
  • HW Man's anti-vehicle minesBy poiu123 in WarRock - International Hacks
    1Last post 20y ago

Tags for this Thread

None