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 4 - Modern Warfare (MW) Hacks › No Smoke Code

No Smoke Code

Posts 1–4 of 4 · Page 1 of 1
bender99
bender99
No Smoke Code
:P

Code:
HRESULT WINAPI DrawIndexedPrimitive_Detour(LPDIRECT3DDEVICE9 Device_Interface, D3DPRIMITIVETYPE Type, INT BaseIndex, 
                                           UINT MinIndex, UINT NumVertices, UINT StartIndex, UINT PrimitiveCount)
{
	LPDIRECT3DVERTEXBUFFER9 Stream_Data;
	PDWORD IsInGame = 
		(PDWORD)0x0074E35C;
	D3DVIEWPORT9 Vwp;
	UINT Offset = 0;
	UINT Stride = 0;

	if(Device_Interface->GetStreamSource(0, &Stream_Data, &Offset, &Stride) == D3D_OK)
		Stream_Data->Release();

	Device_Interface->GetViewport( &Vwp );

	if( NumVertices == 16384 && StartIndex && PrimitiveCount && *IsInGame && Stride == 32 )
	{
		return D3D_OK;
	}

  return DrawIndexedPrimitive_Pointer(Device_Interface, Type, BaseIndex, MinIndex, NumVertices, StartIndex, PrimitiveCount);
}
[img]http://i988.photobucke*****m/albums/af1/FireTube2010/shot0116_zps3b84f56a.jpg[/img]




NOT DOWLOAD THE ATTAC!
#1 · edited 13y ago · 13y ago
MR
MrZaneMan
Alright so I'm kinda new to CoD4 hacks and I was wondering what exactly do I do with the source code? Like how do I use it? Can someone link me to, or make, a tutorial? Thanks
#2 · 13y ago
AraaasH
AraaasH
Quote Originally Posted by MrZaneMan View Post
Alright so I'm kinda new to CoD4 hacks and I was wondering what exactly do I do with the source code? Like how do I use it? Can someone link me to, or make, a tutorial? Thanks
You need some knowledge in coding and a compiler. Maybe in 6 months you will understand something.
#3 · 13y ago
SC
Schorle
i know how to unlock dvars and cvars so i dont need this )
#4 · 13y ago
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

  • No flash and No smoke codeBy CrossRaiders in CrossFire Hack Coding / Programming / Source Code
    22Last post 15y ago
  • a Couple WPE Weapon codes?By phil823 in WarRock - International Hacks
    16Last post 20y ago
  • m60, smoke and p90 packetsBy carloshax in WarRock - International Hacks
    8Last post 20y ago
  • Pre-Regerstration - E3 CodesBy Dave84311 in WarRock - International Hacks
    67Last post 20y ago
  • hi can any1 help me make or find a cheat codeBy CrUsHa in WarRock - International Hacks
    3Last post 20y ago

Tags for this Thread

None