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 › Some D3D Features

Some D3D Features

Posts 1–14 of 14 · Page 1 of 1
Swag
Swag
Some D3D Features
Hey guys,
Here are some D3D codes (use them in DIP)
Enjoy!

Strides:
Code:
36 = Weapon
24 = Map
28 = Sky - walls
44 = Body
40 = Head
In Globals:
Code:
LPDIRECT3DTEXTURE9 Red,Yellow,Green,Blue,Purple,Pink,Orange,White,Black;
(myDIP = name of my hook)
Code:
void myDIP(LPDIRECT3DDEVICE9 pDevice, D3DPRIMITIVETYPE Type,INT BaseVertexIndex,UINT MinVertexIndex,UINT NumVertices,UINT startIndex,UINT primCount)
{
IDirect3DVertexBuffer9* pStreamData = NULL;
UINT iOffsetInBytes,iStride;
pDevice->GetStreamSource(0,&pStreamData,&iOffsetInBytes,&iStride);
Wallhack:
Code:
if ((iStride==36)||(iStride==40)||(iStride==44)) {
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE );
pDevice->SetRenderState(D3DRS_ZFUNC,   D3DCMP_NEVER);
}
No Fog:
Code:
pDevice->SetRenderState(D3DRS_FOGENABLE, false);
Fullbright:
Code:
if ((iStride==36)||(iStride==40)||(iStride==44)) {
pDevice->SetRenderState(D3DRS_LIGHTING, false); //fullbright  
pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255,255,255,255));
}
Crosshair:
Code:
int size = 8, strong = 1;
			D3DVIEWPORT9 viewP; 
			pDevice->GetViewport( &viewP );
			int iCenterX = (viewP.Width / 2) -0;
			int iCenterY = (viewP.Height / 2)-0;
			if( iCenterX < 20 && iCenterY < 20 )
			{
				iCenterX = ( GetSystemMetrics( 0 ) / 2 );
				iCenterY = ( GetSystemMetrics( 1 ) / 2 );
			}
			D3DRECT rec2 = { iCenterX- size, iCenterY, iCenterX+ size, iCenterY+ strong};
			D3DRECT rec3 = { iCenterX, iCenterY- size, iCenterX+ strong,iCenterY+ size};
			pDevice->Clear(1, &rec2, D3DCLEAR_TARGET, D3DCOLOR_ARGB(255,255,0,0), 0,  0);
			pDevice->Clear(1, &rec3, D3DCLEAR_TARGET, D3DCOLOR_ARGB(225,255,0,0), 0,  0);
		}
Player Wireframe:
Code:
if ((iStride==36)||(iStride==40)||(iStride==44)) {
pDevice->SetRenderState( D3DRS_FILLMODE, D3DFILL_WIREFRAME );
}
World Wireframe:
Code:
if ((iStride==24)||(iStride==28)) {
pDevice->SetRenderState( D3DRS_FILLMODE, D3DFILL_WIREFRAME );
}
C4 Wallhack: (Thanks to @Brimir)
Code:
if(iStride==32 && NumVertices == 448 ) {
}
Asus Wallhack:
Code:
if )(iStride==28)) {
pDevice->SetRenderState( D3DRS_SRCBLEND, 3 );
pDevice->SetRenderState( D3DRS_DESTBLEND, 4 );
pDevice->SetRenderState( D3DRS_ALPHABLENDENABLE, true );
}
X-ray:
Code:
if ((iStride==28)) {
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
}
#1 · 14y ago
[G]a[M]e[R]
[G]a[M]e[R]
pls remove the source or got the patched faster and many leecher post and dont give crediz
#2 · 14y ago
Swag
Swag
Quote Originally Posted by [G]a[M]e[R] View Post
pls remove the source or got the patched faster and many leecher post and dont give crediz
They need a hook..
#3 · 14y ago
[G]a[M]e[R]
[G]a[M]e[R]
i know but the hook can all google it and -.- patched ...
#4 · 14y ago
heshmesh
heshmesh
what is the c4 wallhack?
#5 · 14y ago
[G]a[M]e[R]
[G]a[M]e[R]
Quote Originally Posted by heshmesh View Post
what is the c4 wallhack?
you can see the C4 trough walls
#6 · 14y ago
heshmesh
heshmesh
Quote Originally Posted by [G]a[M]e[R] View Post
you can see the C4 trough walls
lol that is kinda wierd and new!

---------- Post added at 06:12 PM ---------- Previous post was at 06:10 PM ----------

Quote Originally Posted by [G]a[M]e[R] View Post
you can see the C4 trough walls
why there isnt put c4 in walls LOL
#7 · 14y ago
[G]a[M]e[R]
[G]a[M]e[R]
search the Thread and look the pic
#8 · 14y ago
CFhackerfree
CFhackerfree
Wallhack working too so:

Code:
 if (  iStride == 44 &&Waller==1)
  {
		pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
  }
#9 · 14y ago
Swag
Swag
Quote Originally Posted by CFhackerfree View Post
Wallhack working too so:

Code:
 if (  iStride == 44 &&Waller==1)
  {
		pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
  }
Ok, thanks for info
#10 · 14y ago
Assassin's Creed
Assassin's Creed
Nice...thx @Swag....so what kind of hook do i need?? midfunction?

---------- Post added at 06:36 PM ---------- Previous post was at 06:35 PM ----------

Quote Originally Posted by heshmesh View Post
what is the c4 wallhack?
when some 1 plants C4 in S&D...U dont have to search for it...u just look at walls and u find it./..
#11 · 14y ago
RL
rlenskens
Soryy als ik 'off-topic' ben ofzo, maar heb jij op het moment een werkende hack, @Swag ?

(yes, that is dutch)
#12 · 14y ago
CFhackerfree
CFhackerfree
you need a pointer for DIP
and Hook
#13 · 14y ago
Swag
Swag
Quote Originally Posted by Assassin's Creed View Post
Nice...thx @Swag....so what kind of hook do i need?? midfunction?

---------- Post added at 06:36 PM ---------- Previous post was at 06:35 PM ----------


when some 1 plants C4 in S&D...U dont have to search for it...u just look at walls and u find it./..
You need a midfunction hook for dip

---------- Post added at 07:33 AM ---------- Previous post was at 07:32 AM ----------

Quote Originally Posted by rlenskens View Post
Soryy als ik 'off-topic' ben ofzo, maar heb jij op het moment een werkende hack, @Swag ?

(yes, that is dutch)
Yes, but u don't release because i'm busy
#14 · 14y ago
Posts 1–14 of 14 · Page 1 of 1

Post a Reply

Similar Threads

  • Some D3D Source that I hackedBy phoenixraider in C++/C Programming
    12Last post 17y ago
  • Pub Hack plus some VIP featuresBy king4940 in Combat Arms Hacks & Cheats
    1Last post 16y ago
  • SOME HACK FEATURESBy Kaldra in Combat Arms Hacks & Cheats
    2Last post 17y ago
  • [Tut] Some Functions for D3DBy Offbeat Ninja in Combat Arms Hack Coding / Programming / Source Code
    16Last post 16y ago
  • Some features don't work for me , Help?By hamada008 in CrossFire Hacks & Cheats
    8Last post 17y ago

Tags for this Thread

None