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 › Call of Duty Hacks & Cheats › Call of Duty 8 - Modern Warfare 3 (MW3) Hacks & Cheats › Call of Duty Modern Warfare 3 Coding, Programming & Source Code › Fullbright with inline ASM

Fullbright with inline ASM

Posts 1–12 of 12 · Page 1 of 1
inmate
inmate
Fullbright with inline ASM
Hello guys

I have a problem... since a few days i play with ASM and i try to make a simple Fullbright cheat with inline ASM. (with dll injection)

But mw3 crash everytime when i inject the .dll.

My Code:

Code:
#include "stdafx.h"
#include <Windows.h>


void Fullbright(){
	DWORD dwFullbright = 0x06098CEC; 

	__asm{
		PUSH 0
			CALL [dwFullbright]
		MOV ESP, 9

	}

}
DWORD WINAPI Init(LPVOID unused)
{
   
    Fullbright();

}

BOOL WINAPI DllMain(HINSTANCE mod, DWORD DWORD_INITALIZE, LPVOID res)
{
    switch(DWORD_INITALIZE)
    {
    case DLL_PROCESS_ATTACH:  
        CreateThread(0, 0, &Init , 0, 0, 0); 

		 MessageBoxA(0, "Fullbright enabled", "Gangnamstyle is shit",0); 

        break;
     
     case DLL_PROCESS_DETACH:
 
                             MessageBoxA(0, "Fullbright disabled", "Gangnamstyle is very shit",0); 

        break;
    }
    return TRUE;
}

It would be nice if someone can tell me what i do wrong .


Thanks.

cheers =))
#1 · edited 13y ago · 13y ago
KE
Kenshin13
Is that how you create a thread? I think that may be incorrect...
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)Init, 0, 0, 0);

And try testing it without the breaks.
#2 · 13y ago
MarkHC
MarkHC
The create thread isn't the problem... I think :P

I'm not really good with asm, but I think "MOV dwFullBright, 4" should work.

Code:
void Fullbright(){
	DWORD dwFullbright = 0x06098CEC; 

        __asm MOV dwFullbright, 4

}
#3 · edited 13y ago · 13y ago
inmate
inmate
Thanks for the answers

with:

Code:
DWORD dwFullbright = 0x06098CEC; 

	__asm{
			
		MOV dwFullbright, 9

	}
mw3 don´t crash, but the fullbright doesn´t work :/.

I dont know why...

cheers
#4 · 13y ago
MarkHC
MarkHC
Quote Originally Posted by inmate View Post
Thanks for the answers

with:

Code:
DWORD dwFullbright = 0x06098CEC; 

	__asm{
			
		MOV dwFullbright, 9

	}
mw3 don´t crash, but the fullbright doesn´t work :/.

I dont know why...

cheers
9 is the default value... Write 4 for FullBright
#5 · 13y ago
inmate
inmate
Ohh i fail

Yeah thats right, but even when i write 4 it doesn´t work :O.

cheers
#6 · 13y ago
MarkHC
MarkHC
Got it to work(on 4D1) with:

Code:
void Loop(){
	DWORD Fb = 0x5F9690C;
	while(true){
		__asm MOV EAX, Fb
		__asm MOV DWORD PTR[EAX], 4
		Sleep(1000);
	}
}
Just change the offset :P
#7 · 13y ago
Eidolon
Eidolon
Pushes / calls you only use when you are using a FUNCTION
For an address simply use MOV as the guy up here said...
Although this doesn't help simplifying your code a thing since it will probably be compiled as a tbyte
Code:
B8 09 00 00 00; MOV EAX, 9
A3 EC 8C 09 06; MOV DWORD PTR DS[06098CEC], EAX
So nothing different.

Though nice that somebody finally takes up real coding challenges instead of making trainers all time with jorndel's class
#8 · edited 13y ago · 13y ago
inmate
inmate


Thank you very much Insane & Anonymouss =)

+rep

cheers :P
#9 · 13y ago
master131
[MPGH]master131
You don't need to use inline asm... You're only making it more complicated just to set a value inside an array... You could just use this (offsets for 1.9.453):
Code:
DWORD* mapLighting = (DWORD*)0x06098CEC;

void EnableFullbright()
{
    mapLighting[0] = 4;
    mapLighting[1] = 2; // Bonus: disables fog
}

void ResetLighting()
{
    mapLighting[0] = 9;
    mapLighting[1] = 5;
}
Credits to BaberZz and CoMPStR. I only updated the address.
#10 · 13y ago
MarkHC
MarkHC
Quote Originally Posted by master131 View Post
You don't need to use inline asm... You're only making it more complicated just to set a value inside an array... You could just use this (offsets for 1.9.453):
Code:
DWORD* mapLighting = (DWORD*)0x06098CEC;

void EnableFullbright()
{
    mapLighting[0] = 4;
    mapLighting[1] = 2; // Bonus: disables fog
}

void ResetLighting()
{
    mapLighting[0] = 9;
    mapLighting[1] = 5;
}
Credits to BaberZz and CoMPStR. I only updated the address.
Pretty sure he knows that... he's just "practicing" his asm, which is good
#11 · 13y ago
KI
killstreak
Quote Originally Posted by -InSaNe- View Post
Pretty sure he knows that... he's just "practicing" his asm, which is good
It's always better to not use asm, if he really needs to practice asm he should practice with something that he really needs to use it lol
#12 · 13y ago
Posts 1–12 of 12 · Page 1 of 1

Post a Reply

Similar Threads

  • [Help]Using BIOS interrupt 10h using inline asm crashesBy Kallisti in Assembly
    14Last post 15y ago
  • // What's wrong with this ASM addy for Unlimited Ammo ? //By AlvinGenius in Alliance of Valiant Arms (AVA) Help
    7Last post 13y ago
  • inline asm, jumping.By mavi2k in C++/C Programming
    5Last post 15y ago
  • [BIG RELEASE] Wr-Source Public with ASM HacksBy Evilbot in WarRock - International Hacks
    27Last post 18y ago
  • Help with ASM in module...By gbitz in Visual Basic Programming
    3Last post 18y ago

Tags for this Thread

None